private void tipoDeConmutadorToolStripMenuItem_Click(object sender, EventArgs e) { try { this.Cursor = Cursors.WaitCursor; CommutatorTypeForm frmCommutatorType = new CommutatorTypeForm(); frmCommutatorType.Show(); } finally { this.Cursor = Cursors.Default; } }
public CommutatorTypeFormController(CommutatorTypeForm instance) { this.frmCommutatorType = instance; this.srvCommutatorType = SamsaraAppContext.Resolve <ICommutatorTypeService>(); this.InitializeFormControls(); }