public WholesalerFormController(WholesalerForm instance)
 {
     this.frmWholesaler = instance;
     this.srvWholesaler = SamsaraAppContext.Resolve <IWholesalerService>();
     Assert.IsNotNull(this.srvWholesaler);
     this.InitializeFormControls();
 }
Exemplo n.º 2
0
 private void mayoristasToolStripMenuItem_Click(object sender, EventArgs e)
 {
     try
     {
         this.Cursor = Cursors.WaitCursor;
         WholesalerForm frmWholesaler = new WholesalerForm();
         frmWholesaler.Show();
     }
     finally
     {
         this.Cursor = Cursors.Default;
     }
 }