Esempio n. 1
0
        private void barButtonSearch_ItemClick(object sender, DevExpress.XtraBars.ItemClickEventArgs e)
        {
            ListForm lf = new ListForm();

            if (lf.ShowDialog(this) == DialogResult.OK)
            {
                this._acInvoiceXoBill = (Model.AcInvoiceXOBill)lf.SelectItem;
                this.action           = "view";
                this.Refresh();
            }
            lf.Dispose();
            GC.Collect();
        }
Esempio n. 2
0
        private void bar_ExportExcel_ItemClick(object sender, DevExpress.XtraBars.ItemClickEventArgs e)
        {
            ListForm f = new ListForm(true);

            f.ShowDialog(this);
        }