Exemple #1
0
 private void CloseClientDialog()
 {
     _Commands.LicenseCommands.New.Enabled = true; // Enable new client command
     this.CloseModalPanel(_LicenseControl, DevComponents.DotNetBar.Controls.eSlideSide.Left);
     _LicenseControl.Commands = null;
     _LicenseControl.Dispose();
     _LicenseControl = null;
 }
Exemple #2
0
        //private void web_dummy_DocumentCompleted(object sender, WebBrowserDocumentCompletedEventArgs e)
        //{

        //}

        private void btn_tool_New_Click(object sender, EventArgs e)
        {
            _Commands.LicenseCommands.New.Enabled = false; // Disable new client command to prevent re-entrancy
            _LicenseControl      = new LicenseControl(currentUser);
            _LicenseControl.Dock = System.Windows.Forms.DockStyle.Fill;
            //this.Padding = new System.Windows.Forms.Padding(8);
            _LicenseControl.Commands = _Commands;
            this.ShowModalPanel(_LicenseControl, DevComponents.DotNetBar.Controls.eSlideSide.Left);
            _LicenseControl.tb_type.Focus();
        }