Esempio n. 1
0
        public ServerConsultingFormController(ServerConsultingForm frmServerConsulting)
            : base(frmServerConsulting)
        {
            this.frmServerConsulting = frmServerConsulting;

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