예제 #1
0
 // ----- активация -------
 public void Activate()
 {
     if (frm == null)
     {
         frm = new DevicesForm();
         frm.FormClosing += new System.Windows.Forms.FormClosingEventHandler(frm_FormClosing);
     }
     frm.Activate();
     frm.Show();
 }
예제 #2
0
        // ----- активация -------

        public void Activate()
        {
            if (frm == null)
            {
                frm              = new DevicesForm();
                frm.FormClosing += new System.Windows.Forms.FormClosingEventHandler(frm_FormClosing);
            }
            frm.Activate();
            frm.Show();
        }
예제 #3
0
 // ----- инициализация ------
 public void Initialize(IApplication application)
 {
     frm = new DevicesForm();
     frm.FormClosing += new System.Windows.Forms.FormClosingEventHandler(frm_FormClosing);
 }
예제 #4
0
        // ----- инициализация ------

        public void Initialize(IApplication application)
        {
            frm              = new DevicesForm();
            frm.FormClosing += new System.Windows.Forms.FormClosingEventHandler(frm_FormClosing);
        }