Ejemplo n.º 1
0
 public new static frmNewNaucnaOblast ShowDialog()
 {
     if (_instance == null || _instance.IsDisposed)
     {
         _instance = new frmNewNaucnaOblast();
     }
     ((Form)_instance).ShowDialog();
     return(_instance);
 }
Ejemplo n.º 2
0
        public static frmNewNaucnaOblast ShowDialogWithData(TwoFieldsDto naucnaOblast = null)
        {
            if (_instance == null || _instance.IsDisposed)
            {
                _instance = new frmNewNaucnaOblast(naucnaOblast);
            }
            else
            {
                _instance.NaucnaOblast = naucnaOblast;
            }

            ((Form)_instance).ShowDialog();
            return(_instance);
        }