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