예제 #1
0
 public TrayMenu(NotifyTray notifyTray)
 {
     this.notifyTray = notifyTray;
     notifyTray.SetMenu("Create Group", Create_Group_EventHandler);
     notifyTray.SetMenu("Register", Register_EventHandler);
     notifyTray.SetMenu("Add Friend", Add_Friend_EventHandler);
     notifyTray.SetMenu("Exit", Exit_EventHandler);
 }
예제 #2
0
파일: App.xaml.cs 프로젝트: ZT-/Virtion.IM
 private void OnLoaded()
 {
     //this.Hide();
     //imMagr = new ImManager();
     loginWindows = new LoginWindow();
     loginWindows.Show();
     notifyTray = new NotifyTray();
     notifyTray.InitialTray();
 }