Beispiel #1
0
 public MainForm()
 {
     //
     // The InitializeComponent() call is required for Windows Forms designer support.
     //
     InitializeComponent();
     _pleaseWait = new PleaseWaitForm();
 }
Beispiel #2
0
        void ViewDataTbClick(object sender, EventArgs e)
        {
            if (tableDataBW.IsBusy)
            {
                return;
            }

            tableDataBW.RunWorkerAsync(_selectedTableID);

            _pleaseWait = new PleaseWaitForm();
            _pleaseWait.ShowDialog();
        }
Beispiel #3
0
        private void OpenTPSFile()
        {
            if (openFileDialog1.ShowDialog() != DialogResult.OK)
            {
                return;
            }

            if (fileInfoBW.IsBusy)
            {
                return;
            }

            _tpsFilename = openFileDialog1.FileName;

            fileInfoBW.RunWorkerAsync(openFileDialog1.FileName);
            //show the please wait
            _pleaseWait = new PleaseWaitForm();
            _pleaseWait.ShowDialog();
        }
Beispiel #4
0
        void ExportToCSVBtnClick(object sender, EventArgs e)
        {
            if (exportBW.IsBusy)
            {
                return;
            }
            try{
                System.IO.FileInfo fi = new System.IO.FileInfo(_tpsFilename);
                exportFolder.SelectedPath = fi.DirectoryName;
            }catch (Exception) {}
            if (exportFolder.ShowDialog() != DialogResult.OK)
            {
                return;
            }

            exportBW.RunWorkerAsync(new object[] { _selectedTableID, exportFolder.SelectedPath });

            _pleaseWait = new PleaseWaitForm();
            _pleaseWait.ShowDialog();
        }