Ejemplo n.º 1
0
 private void menuInvoicesGenerate_ItemClick(object sender, DevExpress.XtraBars.ItemClickEventArgs e)
 {
     using (XF_InvoicesSelector form = new XF_InvoicesSelector(this.Manager))
     {
         if (form.ShowDialog() == System.Windows.Forms.DialogResult.Yes)
         {
             this.Manager.GenerateInvoices(form.CompanyIDs, form.LocationIDs, form.PeriodFrom, form.PeriodTo);
             XF_AsyncResult.ShowWindow(this.Manager);
             LoadInvoices();
         }
     }
 }
Ejemplo n.º 2
0
 private void menuInvoicesGenerate_ItemClick(object sender, DevExpress.XtraBars.ItemClickEventArgs e)
 {
     using (XF_InvoicesSelector form = new XF_InvoicesSelector(this.Manager))
     {
         if (form.ShowDialog() == System.Windows.Forms.DialogResult.Yes)
         {
             this.Manager.GenerateInvoices(form.CompanyIDs, form.LocationIDs, form.PeriodFrom, form.PeriodTo);
             XF_AsyncResult.ShowWindow(this.Manager);
             LoadInvoices();
         }
     }
 }