private void tipoDeCableadoToolStripMenuItem_Click(object sender, EventArgs e) { try { this.Cursor = Cursors.WaitCursor; NetworkCablingTypeForm frmNetworkCablingType = new NetworkCablingTypeForm(); frmNetworkCablingType.Show(); } finally { this.Cursor = Cursors.Default; } }
public NetworkCablingTypeFormController(NetworkCablingTypeForm instance) { this.frmNetworkCablingType = instance; this.srvNetworkCablingType = SamsaraAppContext.Resolve <INetworkCablingTypeService>(); this.InitializeFormControls(); }