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