Esempio n. 1
0
        public void Reload()
        {
            xfmLogin _xfmLogin = this;

            _xfmLogin.Completed = (xfmLogin.CompleteEventHander)Delegate.Combine(_xfmLogin.Completed, new xfmLogin.CompleteEventHander(this.xfmLogin_Completed));
            xfmLogin _xfmLogin1 = this;

            _xfmLogin1.Databased = (xfmLogin.DatabasedEventHander)Delegate.Combine(_xfmLogin1.Databased, new xfmLogin.DatabasedEventHander(this.xfmLogin_Databased));
            this.Disable(false);
            //  this.spWait.Active = true;
            //    this.spWait.Visible = true;
            (new Thread(new ThreadStart(this.loadserver))).Start();
        }
Esempio n. 2
0
        public xfmLogin()
        {
            this.InitializeComponent();
            xfmLogin _xfmLogin = this;

            _xfmLogin.Runbuzy = (xfmLogin.RunbuzyEventHander)Delegate.Combine(_xfmLogin.Runbuzy, new xfmLogin.RunbuzyEventHander(this.xfmLogin_Runbuzy));
            xfmLogin _xfmLogin1 = this;

            _xfmLogin1.Completed = (xfmLogin.CompleteEventHander)Delegate.Combine(_xfmLogin1.Completed, new xfmLogin.CompleteEventHander(this.xfmLogin_Completed));
            xfmLogin _xfmLogin2 = this;

            _xfmLogin2.Success  = (xfmLogin.SuccessEventHander)Delegate.Combine(_xfmLogin2.Success, new xfmLogin.SuccessEventHander(this.xfmLogin_Success));
            this.cbxServer.Text = string.Concat(Environment.MachineName, "\\PERFECT");
            this.ReadCofig();
        }