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