private void marcasDeUPSToolStripMenuItem_Click(object sender, EventArgs e) { try { this.Cursor = Cursors.WaitCursor; UPSBrandForm frmUPSBrand = new UPSBrandForm(); frmUPSBrand.Show(); } finally { this.Cursor = Cursors.Default; } }
public UPSBrandFormController(UPSBrandForm instance) { this.frmUPSBrand = instance; this.srvUPSBrand = SamsaraAppContext.Resolve <IUPSBrandService>(); this.InitializeFormControls(); }