private void tiposDeRacksToolStripMenuItem_Click(object sender, EventArgs e) { try { this.Cursor = Cursors.WaitCursor; RackTypeForm frmRackType = new RackTypeForm(); frmRackType.Show(); } finally { this.Cursor = Cursors.Default; } }
public RackTypeFormController(RackTypeForm instance) { this.frmRackType = instance; this.srvRackType = SamsaraAppContext.Resolve <IRackTypeService>(); this.InitializeFormControls(); }