private void BtnImportClick(object sender, EventArgs e)
        {
            try
            {
                var start = dateStart.Value.ToString("yyyy-MM-dd");
                var end = dateEnd.Value.AddDays(1).ToString("yyyy-MM-dd");
                this.Enabled = false;
                this.loading = new LoadingDialog(this.Handle, "正在读取数据, 请稍等...");
                this.loading.ShowModeless(this);
                this.loading.Refresh();

                var dbMap = File.ReadAllText("FieldMaps/DatabaseTable.map");
                foreach (var k in this.tableKeys)
                {
                    var dbTable = new DBUploadDataTable(dbMap, k);
                    var table = dbTable.SelectData(start, end);
                    this.AddDataFile(new DataFile(table, k));
                }
            }
            catch (Exception)
            {
                MessageBox.Show(string.Format(Resources.ReadDataError), Resources.ErrorTitle, MessageBoxButtons.OK, MessageBoxIcon.Error);
                return;
            }
            finally
            {
                this.loading.Close();
                this.Enabled = true;
            }
        }
        private void BtnSubmitClick(object sender, EventArgs e)
        {
            if (!VerifyLoginPage()) return;

            var file = this.lstCategory.SelectedItem as DataFile;
            if (file != null)
            {
                if (!this.GetSelectedData(file.Table)) return;

                this.Enabled = false;
                this.loading = new LoadingDialog(this.Handle, Resources.Uploading);
                this.loading.ShowModeless(this);
                this.loading.Refresh();

                this.webView.ExecuteScriptAsync(Resources.RunTime);
                this.webView.FrameLoadEnd += WebViewOnFrameLoadEnd;
                this.OpenTab(file.NewStep);
            }
        }