Exemple #1
0
 private void marcasDeSwitchesToolStripMenuItem_Click(object sender, EventArgs e)
 {
     try
     {
         this.Cursor = Cursors.WaitCursor;
         SwitchBrandForm frmSwitchBrand = new SwitchBrandForm();
         frmSwitchBrand.Show();
     }
     finally
     {
         this.Cursor = Cursors.Default;
     }
 }
 public SwitchBrandFormController(SwitchBrandForm instance)
 {
     this.frmSwitchBrand = instance;
     this.srvSwitchBrand = SamsaraAppContext.Resolve <ISwitchBrandService>();
     this.InitializeFormControls();
 }