Exemplo n.º 1
0
 private void BtnSearch_Click(object sender, EventArgs e)
 {
     threadmethod += ReportBinding;
     using (WaitForm waitfrm = new WaitForm(() => { /*Thread.Sleep(2000);*/ dtpDate.Invoke(threadmethod); }))
     {
         waitfrm.ShowDialog(this);
     }
 }
Exemplo n.º 2
0
 private void ADateTimePicker1_ValueChanged(object sender, EventArgs e)
 {
     documentViewer1.DocumentSource = null;
     threadmethod += ReportBinding;
     using (WaitForm waitfrm = new WaitForm(() => { Thread.Sleep(2000); dtpDate.Invoke(threadmethod); }))
     {
         waitfrm.ShowDialog(this);
     }
 }
Exemplo n.º 3
0
        private void btnExecl_Click(object sender, EventArgs e) //엑셀 저장
        {
            saveFileDialog1.Filter           = "Excel Files (*.xls)|*.xls";
            saveFileDialog1.InitialDirectory = "C:";
            saveFileDialog1.Title            = "Save";
            if (saveFileDialog1.ShowDialog() == DialogResult.OK)
            {
                using (WaitForm frm = new WaitForm(ExportOrderList))
                {
                    frm.ShowDialog(this);
                }

                MessageBox.Show("엑셀 저장 완료", "엑셀 저장", MessageBoxButtons.OK, MessageBoxIcon.Information);
            }
        }