private void tiposDeLíneasTelefónicasToolStripMenuItem_Click(object sender, EventArgs e) { try { this.Cursor = Cursors.WaitCursor; TelephonyLineTypeForm frmTelephonyLineType = new TelephonyLineTypeForm(); frmTelephonyLineType.Show(); } finally { this.Cursor = Cursors.Default; } }
public TelephonyLineTypeFormController(TelephonyLineTypeForm instance) { this.frmTelephonyLineType = instance; this.srvTelephonyLineType = SamsaraAppContext.Resolve <ITelephonyLineTypeService>(); this.InitializeFormControls(); }