예제 #1
0
 public static void LoadMainMenu(Views.StaffView staff)
 {
     Views.MainMenu menu = new Views.MainMenu();
     staff.Hide();
     menu.Closed += (senderObj, EventArgs) => staff.Close();
     menu.Show();
 }
예제 #2
0
 public static void LoadStaff(Views.MainMenu menu)
 {
     Views.StaffView staff = new Views.StaffView();
     menu.Hide();
     staff.Closed += (senderObj, EventArgs) => menu.Close();
     staff.Show();
 }