public KailleraManager(IPAddress ips, int port, string Username, KailleraTrayManager mgr = null) { TrayMgr = mgr; this.ipaddr = ips; this.port = port; username = Username; }
protected override void OnStartup(StartupEventArgs e) { TaskbarIcon tb = (TaskbarIcon)FindResource("KailleraNotifyIcon"); //Starts the tray notification manager with the default Kaillera Icon k = KailleraTrayManager.Instance; k.setIcon(tb); base.OnStartup(e); }