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

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

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