Example #1
0
 void buttonHub_OnSelect(object sender, EventArgs e)
 {
     if (activeWindow != null)
         activeWindow.Hide();
     activeWindow = windowHub;
     activeWindow.Show();
 }
Example #2
0
 void settings_OnSelect(object sender, EventArgs e)
 {
     if (activeWindow != null)
         activeWindow.Hide();
     activeWindow = windowSetting;
     activeWindow.Show();
 }