Example #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);
 }
Example #2
0
 private void OnLoaded()
 {
     //this.Hide();
     //imMagr = new ImManager();
     loginWindows = new LoginWindow();
     loginWindows.Show();
     notifyTray = new NotifyTray();
     notifyTray.InitialTray();
 }