Esempio n. 1
0
        /// <summary>
        /// 查看
        /// </summary>
        /// <param name="sender"></param>
        /// <param name="e"></param>
        private void hlbtnView_Click(object sender, RoutedEventArgs e)
        {
            EIMSInvoiceEntryVM selectView = this.dgQueryResult.SelectedItem as EIMSInvoiceEntryVM;
            UCViewInvoice      uc         = new UCViewInvoice(selectView.InvoiceNumber, "View");

            uc.Dialog = Window.ShowDialog("发票信息查看", uc, null, new Size(700, 350));
        }
Esempio n. 2
0
        private void SingleEdit(EIMSInvoiceEntryVM selectView)
        {
            UCViewInvoice uc = new UCViewInvoice(selectView.InvoiceNumber, "Edit");

            uc.Dialog = Window.ShowDialog("发票信息编辑", uc, (o, s) =>
            {
                if (s.isForce)
                {
                    LoadingDataEventArgs e = new LoadingDataEventArgs(this.CurrentPageIndex, this.CurrentPageSize, null, null);
                    dataGrid_LoadingDataSource(null, e);
                }
            }, new Size(700, 350));
        }