<Liquid:MainMenu x:Name="mainMenu" ItemSelected="mainMenu_ItemSelected" BorderBrush="{StaticResource boarder_10}" BorderThickness="1" Background="{StaticResource btnTextColor_10}" Canvas.Top="-37">
<local:PageSwitcher x:Name="PageSW" Height="801" Width="1203" />
PageSwitcher ps;
ps.Navigate(new ProjectsPage());
private void mainMenu_ItemSelected(object sender, Liquid.MenuEventArgs e)
{
switch (e.Tag.ToString())
{
case "Save":
saveRoutine();
break;
Now in my Save Routine I want to call the SaveProject function on the ProjectsPage: void saveRoutine()
{
MessageBox.Show("Save button was pressed!");
switch (CurrentPage)
{
case "Project":
break;
Experts Exchange always has the answer, or at the least points me in the correct direction! It is like having another employee that is extremely experienced.
When asked, what has been your best career decision?
Deciding to stick with EE.
Being involved with EE helped me to grow personally and professionally.
Connect with Certified Experts to gain insight and support on specific technology challenges including:
We've partnered with two important charities to provide clean water and computer science education to those who need it most. READ MORE