public OperativeSystemFormController(OperativeSystemForm instance) { this.frmOperativeSystem = instance; this.srvOperativeSystem = SamsaraAppContext.Resolve <IOperativeSystemService>(); this.srvOperativeSystemType = SamsaraAppContext.Resolve <IOperativeSystemTypeService>(); this.InitializeFormControls(); }
private void sistemasOperativosToolStripMenuItem_Click(object sender, EventArgs e) { try { this.Cursor = Cursors.WaitCursor; OperativeSystemForm frmOperativeSystem = new OperativeSystemForm(); frmOperativeSystem.Show(); } finally { this.Cursor = Cursors.Default; } }