public ServerConsultingFormController(ServerConsultingForm frmServerConsulting) : base(frmServerConsulting) { this.frmServerConsulting = frmServerConsulting; if (LicenseManager.UsageMode != LicenseUsageMode.Designtime) { this.srvServerConsulting = SamsaraAppContext.Resolve <IServerConsultingService>(); } }
private void servidoresToolStripMenuItem_Click(object sender, EventArgs e) { try { this.Cursor = Cursors.WaitCursor; ServerConsultingForm frmServerConsulting = new ServerConsultingForm(); frmServerConsulting.Show(); } finally { this.Cursor = Cursors.Default; } }