public OpportunityStatusFormController(OpportunityStatusForm instance) { this.frmOpportunityStatus = instance; this.srvOpportunityStatus = SamsaraAppContext.Resolve <IOpportunityStatusService>(); Assert.IsNotNull(this.srvOpportunityStatus); this.InitializeFormControls(); }
private void estatusDeLaOportunidadToolStripMenuItem_Click(object sender, EventArgs e) { try { this.Cursor = Cursors.WaitCursor; OpportunityStatusForm frmOpportunityStatus = new OpportunityStatusForm(); frmOpportunityStatus.Show(); } finally { this.Cursor = Cursors.Default; } }