Пример #1
0
 private void исполнительToolStripMenuItem_Click(object sender, EventArgs e)
 {
     if (IspolnitelView == null)
     {
         IspolnitelView           = new IspolnitelView(this, dataSet, true);
         IspolnitelView.MdiParent = this;
         IspolnitelView.Show();
     }
     else
     {
         //IspolnitelView.Focus();
     }
 }
Пример #2
0
        public void null_child(ViewType viewType)
        {
            switch (viewType)
            {
            case ViewType.Ispolnitel:
                IspolnitelView = null;
                break;

            case ViewType.Janr:
                JanrView = null;
                break;

            case ViewType.Sotrudnik:
                SotrudnikView = null;
                break;

            default:
                ZapisView = null;
                break;
            }
        }