Пример #1
0
 private void ShowView(BaseView view)
 {
     if ((this.showView != null) && !this.showView.Equals(view))
     {
         this.UnvisibleShowView();
     }
     view.set_Visible(true);
     view.set_TabIndex(1);
     this.showView = view;
     this.btnSave.set_Location(new System.Drawing.Point(0x10, (int) (view.get_Height() + 8)));
     this.btnSave.set_Visible(view.ShowSaveButton);
 }
Пример #2
0
 private void ShowView(BaseView view)
 {
     Manager.ChiefMainForm.SuspendLayout();
     if ((this.showView != null) && !this.showView.Equals(view))
     {
         this.UnvisibleShowView();
     }
     view.set_TabIndex(1);
     view.set_Visible(true);
     this.showView = view;
     this.btnSave.set_Location(new System.Drawing.Point(0x10, (int) (view.get_Height() + 8)));
     this.btnSave.set_Visible(view.ShowSaveButton);
     Manager.ChiefMainForm.ResumeLayout(false);
 }