public AsesorFormController(AsesorForm instance)
 {
     this.frmAsesor = instance;
     this.srvAsesor = SamsaraAppContext.Resolve <IAsesorService>();
     Assert.IsNotNull(this.srvAsesor);
     this.InitializeFormControls();
 }
Beispiel #2
0
 private void asesorToolStripMenuItem_Click(object sender, System.EventArgs e)
 {
     try
     {
         this.Cursor = Cursors.WaitCursor;
         AsesorForm frmAsesor = new AsesorForm();
         frmAsesor.Show();
     }
     finally
     {
         this.Cursor = Cursors.Default;
     }
 }