예제 #1
0
 public override void Close()
 {
     if (_uiChildWindowForm != null)
     {
         _uiChildWindowForm.Dispose();
         _uiChildWindowForm = null;
     }
     base.Close();
 }
예제 #2
0
 public override void Close()
 {
     if (_uiChildWindowForm != null)
     {
         _uiChildWindowForm.Dispose();
         _uiChildWindowForm = null;
     }
     base.Close();
 }
예제 #3
0
 public override bool Initialize(Framework.Interfaces.ICore core)
 {
     bool result = false;
     _uiChildWindowForm = CreateUIChildWindowForm(core);
     if (_uiChildWindowForm != null)
     {
         _uiChildWindowForm.FormClosed += new System.Windows.Forms.FormClosedEventHandler(_uiChildWindowForm_FormClosed);
         result = base.Initialize(core);
     }
     return result;
 }
예제 #4
0
        public async override Task<bool> InitializeAsync(Framework.Interfaces.ICore core)
        {
            if (UtilsSettings.Instance == null)
            {
                var p = new UtilsSettings(core);
            }

            bool result = false;
            _uiChildWindowForm = CreateUIChildWindowForm(core);
            if (_uiChildWindowForm != null)
            {
                _uiChildWindowForm.FormClosed += new System.Windows.Forms.FormClosedEventHandler(_uiChildWindowForm_FormClosed);
                result = await base.InitializeAsync(core);
            }
            return result;
        }
예제 #5
0
        public async override Task <bool> InitializeAsync(Framework.Interfaces.ICore core)
        {
            if (UtilsSettings.Instance == null)
            {
                var p = new UtilsSettings(core);
            }

            bool result = false;

            _uiChildWindowForm = CreateUIChildWindowForm(core);
            if (_uiChildWindowForm != null)
            {
                _uiChildWindowForm.FormClosed += new System.Windows.Forms.FormClosedEventHandler(_uiChildWindowForm_FormClosed);
                result = await base.InitializeAsync(core);
            }
            return(result);
        }