Пример #1
0
 public TLClient_WM(string clientname, bool showarmingonmissingserver, bool handleexceptions)
     : base()
 {
     this.Text          = WMUtil.GetUniqueWindow(clientname);
     this.WindowState   = FormWindowState.Minimized;
     this.ShowInTaskbar = false;
     this.Hide();
     this.Mode(this.TLFound(), handleexceptions, showarmingonmissingserver);
 }
Пример #2
0
 public TLClient_WM(int ProviderIndex, string clientname, bool showarmingonmissingserver)
     : base()
 {
     this.Text          = WMUtil.GetUniqueWindow(clientname);
     gotFeatures       += new MessageTypesMsgDelegate(TLClient_WM_gotFeatures);
     this.WindowState   = FormWindowState.Minimized;
     this.ShowInTaskbar = false;
     this.Hide();
     this.Mode(ProviderIndex, showarmingonmissingserver);
 }
Пример #3
0
        public TLServer_WM() : base()
        {
            MinorVer = Util.BuildFromRegistry(Util.PROGRAM);

            this.Text        = WMUtil.GetUniqueWindow(WMUtil.SERVERWINDOW);
            this.WindowState = FormWindowState.Minimized;
            this.Show();
            this.ShowInTaskbar = false;
            this.Hide();
        }
Пример #4
0
        public TLServer_WM() : base()
        {
            MinorVer = Util.BuildFromRegistry(Util.PROGRAM);

            this.Text        = WMUtil.GetUniqueWindow(WMUtil.SERVERWINDOW);
            this.WindowState = FormWindowState.Minimized;
            this.Show();
            this.ShowInTaskbar = false;
            this.Hide();
            //WMUtil.SendMsg(Text, (IntPtr)WMUtil.HWND_BROADCAST, Handle, (int)MessageTypes.SERVERUP);
        }