コード例 #1
0
ファイル: MainForm.cs プロジェクト: najeraz/samsara-projects
 private void tipoDeConmutadorToolStripMenuItem_Click(object sender, EventArgs e)
 {
     try
     {
         this.Cursor = Cursors.WaitCursor;
         CommutatorTypeForm frmCommutatorType = new CommutatorTypeForm();
         frmCommutatorType.Show();
     }
     finally
     {
         this.Cursor = Cursors.Default;
     }
 }
コード例 #2
0
 public CommutatorTypeFormController(CommutatorTypeForm instance)
 {
     this.frmCommutatorType = instance;
     this.srvCommutatorType = SamsaraAppContext.Resolve <ICommutatorTypeService>();
     this.InitializeFormControls();
 }