Example #1
0
 private void ShowLoginingTopForm(object sValue)
 {
     try
     {
         WaitForm waitForm = new WaitForm()
         {
             Text = string.Concat(Variable.sTitle, Variable.sVersion)
         };
         waitForm.seSkin.SkinFile = Variable.sSkinFiles[Convert.ToInt32(Variable.sSkinDataIndex)];
         waitForm.Show();
         while (this.bShow)
         {
             waitForm.lblText.Text = WaitForm.sText;
             Thread.Sleep(100);
             waitForm.TopMost = true;
             Application.DoEvents();
         }
         waitForm.Close();
         waitForm = null;
     }
     catch (ThreadAbortException threadAbortException)
     {
         Thread.Sleep(300);
         Thread.ResetAbort();
     }
     catch (Exception exception)
     {
         Record.execFileRecord("ShowLoginingTopForm", exception.Message);
     }
 }
Example #2
0
 private void doWorker()
        {
            if (this.dtText.Rows.Count == 0)
            {
                this.iNodeCnt = MainForm.myCarList.tvList.hasCarPath.Count;
            }
            else
            {
                this.iNodeCnt = this.dtText.Rows.Count;
            }
            WaitForm.Show("正在生成文本信息...", this);
            if (this.dgvCarTextList.DataSource != null)
            {
                this.dtText.Rows.Clear();
            }
            if (worker == null)
            {
                try
                {
                    worker = new BackgroundWorker();
                    worker.DoWork += new DoWorkEventHandler(this.worder_DoWork);
                    worker.RunWorkerCompleted += new RunWorkerCompletedEventHandler(this.worder_RunWorkerCompleted);
                    worker.ProgressChanged += new ProgressChangedEventHandler(this.worker_ProgressChanged);
                    worker.WorkerReportsProgress = true;
                    worker.RunWorkerAsync();
                }
                catch (Exception exception)
                {
                    Record.execFileRecord("文本位置->异步加载", exception.Message);
                }
            }
        }
Example #3
0
 private void worker_RunWorkerCompleted(object sender, RunWorkerCompletedEventArgs e)
 {
     try
     {
         if ((this.dtFlag == null) || (this.dtFlag.Rows.Count <= 0))
         {
             this.cmbFlagType.addItems("(无)", 0);
         }
         else
         {
             foreach (DataRow row in this.dtFlag.Rows)
             {
                 this.cmbFlagType.addItems(row["name"].ToString(), row["id"].ToString());
             }
             this.cmbFlagType.SelectedIndex = 0;
         }
         if ((this.dtArea != null) && (this.dtArea.Rows.Count > 0))
         {
             this.dtArea.Columns["AreaName"].ColumnName = "Display";
             this.dtArea.Columns["AreaCode"].ColumnName = "Value";
             this.cmbArea.DataSource = this.dtArea;
         }
         this.btnOK.Enabled = true;
     }
     catch (Exception exception)
     {
         MessageBox.Show(exception.Message);
         Record.execFileRecord("MapFlag->异步加裁完成事件", exception.StackTrace);
     }
     finally
     {
         this.grpPoint.Enabled = true;
         WaitForm.Hide();
     }
 }
Example #4
0
 private void ShowText(string sValue, IWin32Window iWin)
 {
     if (string.IsNullOrEmpty(sValue))
     {
         return;
     }
     WaitForm.sText = sValue;
     try
     {
         if (WaitForm.m_Form == null)
         {
             WaitForm.m_Form = new WaitForm();
         }
         WaitForm.m_Form.seSkin.SkinFile = Variable.sSkinFiles[Convert.ToInt32(Variable.sSkinDataIndex)];
         WaitForm.m_Form.TopLevel        = true;
         WaitForm.m_Form.lblText.Text    = WaitForm.sText;
         try
         {
             WaitForm.m_Form.Visible = false;
             WaitForm.m_Form.Show(iWin);
         }
         catch (ArgumentException argumentException)
         {
             WaitForm.m_Form.Show();
         }
         Application.DoEvents();
     }
     catch (Exception exception)
     {
         Record.execFileRecord("显示提示信息", exception.ToString());
     }
 }
Example #5
0
 private void btnOk_Clicked(object Ol111O, EventArgs O)
 {
     if (this.FilterData())
     {
         string format = "delete from GpsPathRegionShowInfo where UserId = '{0}' and Type = '{2}';insert into GpsPathRegionShowInfo(UserId, Type, DotValue) values('{0}', '{2}', '{1}') ";
         //执行Sql,删除旧配置,添加新配置
         if (RemotingClient.ExecNoQuery(string.Format(format, Variable.sUserId, this.sLines, this.pathType)).ResultCode != 0L)
         {
             MessageBox.Show("参数保存数据库错误,请重新尝试。");
         }
         else
         {
             //显示线路
             if (this.pathType == 1)
             {
                 WaitForm.Show("正在更新地图路线信息,请稍候...", this);
                 MainForm.myMap.showPathMap(this.gisMap);
             }
             //显示区域
             else
             {
                 WaitForm.Show("正在更新地图区域信息,请稍候...", this);
                 MainForm.myMap.showRegionMap(this.gisMap);
             }
             base.DialogResult = DialogResult.OK;
         }
     }
 }
Example #6
0
 private void excelWorker_RunWorkerCompleted(object sender, RunWorkerCompletedEventArgs e)
 {
     if (e.Result != null)
     {
         MessageBox.Show(e.Result.ToString());
     }
     WaitForm.Hide();
 }
Example #7
0
 private void itmImportReport_FormClosing(object sender, FormClosingEventArgs e)
 {
     if (e.CloseReason != CloseReason.FormOwnerClosing)
     {
         this.m_tMapLoadedTimer.Stop();
         this.delImportWatch();
         WaitForm.Hide2();
     }
 }
Example #8
0
 private void btnOK_Click(object sender, EventArgs e)
 {
     WaitForm.Show("正在更新地图标注,请稍候...", this);
     MainForm.POITypes = this.getCheckFlagTypeName();
     MainForm.myMap.execClearAllFlag();
     MainForm.myMap.showSelectedFlagMap(this.m_CurrentMap);
     WaitForm.Hide();
     base.DialogResult = DialogResult.OK;
 }
Example #9
0
 public static new void Hide()
 {
     try
     {
         WaitForm.myWaitForm.HideImage();
         WaitForm.Hide2();
     }
     catch
     {
     }
 }
Example #10
0
 private void btnOK_Click(object sender, EventArgs e)
 {
     if ((this.cmbFlagType.SelectedValue == null) || (this.cmbArea.SelectedValue == null))
     {
         MessageBox.Show("标注类别或所属区域不能为空!");
     }
     else
     {
         string source   = this.txtAddress.Text.Trim();
         string s        = this.numLon.Value.ToString();
         string str2     = this.numLat.Value.ToString();
         string str4     = this.cmbFlagType.SelectedValue.ToString();
         string areaCode = this.cmbArea.SelectedValue.ToString();
         if (source == "")
         {
             MessageBox.Show("名称不能为空!");
         }
         else if (this.cmbFlagType.Text == "(无)")
         {
             MessageBox.Show("标注类别非法,请确定你是否有添加标注的权限!");
         }
         else
         {
             if (chkString(source))
             {
                 if (source.Length >= 50)
                 {
                     MessageBox.Show("字符长度不能超过50个!");
                     this.txtAddress.Focus();
                     return;
                 }
                 WaitForm.Show("正在更新地图标注,请稍候...", this);
                 if (RemotingClient.MapFlag_AddFlagMap(float.Parse(s), float.Parse(str2), source, areaCode, int.Parse(str4)) <= 0)
                 {
                     WaitForm.Hide();
                     MessageBox.Show("名称已存在!");
                     this.txtAddress.Focus();
                     return;
                 }
                 MainForm.myMap.showFlagMap(this.m_CurrentMap);
                 WaitForm.Hide();
                 base.DialogResult = DialogResult.OK;
             }
             else
             {
                 MessageBox.Show("不许输入特殊字符!");
                 this.txtAddress.Focus();
                 return;
             }
             base.DialogResult = DialogResult.OK;
         }
     }
 }
Example #11
0
 private void btnExportExcel_Click(object sender, EventArgs e)
 {
     try
     {
         this.ExportExcel();
     }
     catch (Exception exception)
     {
         WaitForm.Hide();
         MessageBox.Show(exception.Message + "\r\n原因:文件可能已打开!");
         Record.execFileRecord("文本界面->导出到Excel", exception.Message);
     }
 }
Example #12
0
 private void ExportExcel()
 {
     int num = 0;
     foreach (DataGridViewRow row in (IEnumerable) this.dgvCarTextList.Rows)
     {
         DataGridViewCheckBoxCell cell = row.Cells["colSelect"] as DataGridViewCheckBoxCell;
         if (((cell != null) && (cell.Value != null)) && bool.Parse(cell.FormattedValue.ToString()))
         {
             num++;
         }
     }
     if (num > 0)
     {
         SaveFileDialog dialog = new SaveFileDialog {
             Filter = "Execl files (*.xls)|*.xls",
             FilterIndex = 0,
             RestoreDirectory = true,
             CreatePrompt = true,
             FileName = "文本位置-" + DateTime.Now.ToString("yyyy-MM-dd"),
             Title = "导出文件保存路径"
         };
         string fileName = "";
         if (dialog.ShowDialog() != DialogResult.OK)
         {
             return;
         }
         fileName = dialog.FileName;
         if (string.IsNullOrEmpty(fileName))
         {
             return;
         }
         WaitForm.Show("正在导出数据...", this);
         try
         {
             excelWorker = new BackgroundWorker();
             excelWorker.DoWork += new DoWorkEventHandler(this.excelWorker_DoWork);
             excelWorker.RunWorkerCompleted += new RunWorkerCompletedEventHandler(this.excelWorker_RunWorkerCompleted);
             excelWorker.RunWorkerAsync(fileName);
             return;
         }
         catch (Exception exception)
         {
             WaitForm.Hide();
             MessageBox.Show(exception.Message + "\r\n原因:文件可能已打开!");
             Record.execFileRecord("文本界面->导出到Excel", exception.Message);
             return;
         }
     }
     MessageBox.Show("没有数据可供导出,请先选中要导出的数据!");
 }
Example #13
0
 public static void Hide2()
 {
     try
     {
         if (WaitForm.m_Form != null)
         {
             WaitForm.m_Form.Close();
             WaitForm.m_Form = null;
         }
     }
     catch
     {
     }
 }
Example #14
0
 public static void Hide2()
 {
     try
     {
         if (WaitForm.m_Form != null)
         {
             WaitForm.m_Form.Close();
             WaitForm.m_Form = null;
         }
     }
     catch
     {
     }
 }
Example #15
0
 private void btnOK_Click(object sender, EventArgs e)
 {
     if (this.chkUserEmpty())
     {
         if ("1".Equals(Variable.sCheckAdc) && this.txtValidateCode.Visible)
         {
             if (string.IsNullOrEmpty(this.txtValidateCode.Text))
             {
                 MessageBox.Show(string.Format("验证码不能为空!", new object[0]));
                 this.txtValidateCode.Focus();
                 return;
             }
             if ((!Variable.sAdcNo.Equals(this.txtAdc.Text) || !Variable.sUserId.Equals(this.txtUser.Text)) || !this.sValidateCode.Equals(this.txtValidateCode.Text))
             {
                 MessageBox.Show(string.Format("验证码校验失败!", new object[0]));
                 this.txtValidateCode.Focus();
                 return;
             }
         }
         else
         {
             Variable.sPhone = this.txtUser.Text;
         }
         this.pbPicWait.Visible           = true;
         this.lblWaitText.Visible         = true;
         this.btnOK.Enabled               = false;
         this.btnSetParam.Enabled         = false;
         this.btnChangePwd.Enabled        = false;
         this.txtPassword.Enabled         = false;
         this.txtUser.Enabled             = false;
         this.txtAdc.Enabled              = false;
         this.txtValidateCode.Enabled     = false;
         this.btnSendValidateCode.Enabled = false;
         Variable.sUserId   = this.txtUser.Text;
         Variable.sAdcNo    = this.txtAdc.Text;
         Variable.sPassword = this.txtPassword.Text;
         WaitForm.ShowImageForm("正在加载画面,请稍候...");
         if (this.workerLoadData == null)
         {
             this.workerLoadData                            = new BackgroundWorker();
             this.workerLoadData.DoWork                    += new DoWorkEventHandler(this.execDataLoading);
             this.workerLoadData.RunWorkerCompleted        += new RunWorkerCompletedEventHandler(this.exedDataLoaded);
             this.workerLoadData.ProgressChanged           += new ProgressChangedEventHandler(this.setText);
             this.workerLoadData.WorkerReportsProgress      = true;
             this.workerLoadData.WorkerSupportsCancellation = true;
             this.workerLoadData.RunWorkerAsync();
         }
     }
 }
Example #16
0
 private void myWorker_RunWorkerCompleted(object sender, RunWorkerCompletedEventArgs e)
 {
     try
     {
         if (e.Result != null && !string.IsNullOrEmpty(e.Result.ToString()))
         {
             this.setParam(e.Result.ToString());
         }
     }
     catch
     {
     }
     this.setControlEnable(true);
     WaitForm.Hide();
 }
Example #17
0
 private void doWorker()
 {
     WaitForm.Show("正在加载车辆信息...", this);
     if (this.worker == null)
     {
         try
         {
             this.worker                       = new BackgroundWorker();
             this.worker.DoWork               += new DoWorkEventHandler(this.worder_DoWork);
             this.worker.RunWorkerCompleted   += new RunWorkerCompletedEventHandler(this.worder_RunWorkerCompleted);
             this.worker.ProgressChanged      += new ProgressChangedEventHandler(this.worker_ProgressChanged);
             this.worker.WorkerReportsProgress = true;
             this.worker.RunWorkerAsync();
         }
         catch (Exception exception)
         {
             Record.execFileRecord("多路图像查询->异步加载", exception.Message);
         }
     }
 }
Example #18
0
 private void btnLoad_Click(object sender, EventArgs e)
 {
     if (this.dgvQueryResult.Rows.Count <= 0)
     {
         MessageBox.Show("日期查车结果为空,无数据可供导出!");
     }
     else
     {
         SaveFileDialog dialog = new SaveFileDialog {
             Filter           = "Execl files (*.xls)|*.xls",
             FilterIndex      = 0,
             RestoreDirectory = true,
             CreatePrompt     = true,
             FileName         = "日期查车报表-" + DateTime.Now.ToString("yyyy-MM-dd"),
             Title            = "导出文件保存路径"
         };
         string fileName = "";
         if (dialog.ShowDialog() == DialogResult.OK)
         {
             fileName = dialog.FileName;
             if (!string.IsNullOrEmpty(fileName))
             {
                 WaitForm.Show("正在导出数据...", this);
                 try
                 {
                     this.excelWorker                     = new BackgroundWorker();
                     this.excelWorker.DoWork             += new DoWorkEventHandler(this.excelWorker_DoWork);
                     this.excelWorker.RunWorkerCompleted += new RunWorkerCompletedEventHandler(this.excelWorker_RunWorkerCompleted);
                     this.excelWorker.RunWorkerAsync(fileName);
                 }
                 catch (Exception exception)
                 {
                     WaitForm.Hide();
                     MessageBox.Show(exception.Message + "\r\n原因:文件可能已打开!");
                     Record.execFileRecord("日期查车->导出到Excel", exception.Message);
                 }
             }
         }
     }
 }
Example #19
0
 private void MapFlag_Load(object sender, EventArgs e)
 {
     this.btnOK.Enabled = false;
     this.dtArea        = new DataTable();
     this.dtArea.Columns.Add("AreaName", typeof(string));
     this.dtArea.Columns.Add("AreaCode", typeof(string));
     this.grpPoint.Enabled = false;
     base.Show();
     WaitForm.Show("正在加载类别与所属区域信息...", this);
     try
     {
         this.worker.RunWorkerCompleted   += new RunWorkerCompletedEventHandler(this.worker_RunWorkerCompleted);
         this.worker.DoWork               += new DoWorkEventHandler(this.worker_DoWork);
         this.worker.WorkerReportsProgress = true;
         this.worker.RunWorkerAsync();
     }
     catch (Exception exception)
     {
         WaitForm.Hide();
         Record.execFileRecord("MapFlag->初期化", exception.ToString());
     }
 }
Example #20
0
 private void worder_RunWorkerCompleted(object sender, RunWorkerCompletedEventArgs e)
 {
     try
     {
         this.cmbCar.DataSource          = this.source;
         this.worker.DoWork             -= new DoWorkEventHandler(this.worder_DoWork);
         this.worker.RunWorkerCompleted -= new RunWorkerCompletedEventHandler(this.worder_RunWorkerCompleted);
         this.worker = null;
     }
     catch (Exception exception)
     {
         Record.execFileRecord("文本位置->异步处理完成事件", exception.Message);
     }
     finally
     {
         WaitForm.Hide();
         if (this.cmbCar.Items.Count > 0)
         {
             this.btnQuery_Click(null, null);
         }
     }
 }
Example #21
0
 private void worder_RunWorkerCompleted(object sender, RunWorkerCompletedEventArgs e)
 {
     try
     {
         if (this.dgvCarTextList.DataSource == null)
         {
             this.source.DataSource = this.dtText;
             this.dgvCarTextList.DataSource = this.source;
         }
         if ((this.dtText != null) && (this.dtText.Rows.Count > 0))
         {
             this.refleshData();
             this.cboxAccOn.Checked = !this.cboxAccOn.Checked;
             this.cboxAccOn.Checked = !this.cboxAccOn.Checked;
             this.lblDGVRowCount.Text = string.Format("总共 {0} 条记录", this.source.List.Count.ToString());
         }
         else
         {
             this.lblDGVRowCount.Text = "";
         }
         worker.DoWork -= new DoWorkEventHandler(this.worder_DoWork);
         worker.RunWorkerCompleted -= new RunWorkerCompletedEventHandler(this.worder_RunWorkerCompleted);
         worker = null;
         this.dgvCarTextList.ClearSelection();
         this.dgvCarTextList.CurrentCell = this.dgvCarTextList.Rows[0].Cells[this.dgvCarTextList.FirstDisplayedCell.ColumnIndex];
         this.dgvCarTextList.FirstDisplayedScrollingRowIndex = 0;
         this.dgvCarTextList.EndEdit();
         this.dgvCarTextList.Refresh();
     }
     catch (Exception exception)
     {
         Record.execFileRecord("文本位置->异步处理完成事件", exception.Message);
     }
     finally
     {
         WaitForm.Hide();
     }
 }
Example #22
0
 private void CarTextList_Load(object sender, EventArgs e)
 {
     try
     {
         this.dgvCarTextList.AutoGenerateColumns = false;
         this.initClomun();
         this.initDataTable();
         this.doWorker();
         MainForm.myMap.execStopPlayTrackLine(this.sQueryTypeValue);
         this.tGetQueryTrackInfo = new System.Timers.Timer(2000.0);
         this.tGetQueryTrackInfo.Elapsed += new ElapsedEventHandler(this.tGetQueryTrackInfo_Elapsed);
         this.tGetQueryTrackInfo.Enabled = true;
         this.myGetTrackQueryInfo = new dGetTrackQueryInfo(this.getAddress);
     }
     catch (Exception exception)
     {
         Record.execFileRecord("文本界面->初期化", exception.ToString());
     }
     finally
     {
         WaitForm.Hide();
     }
 }
Example #23
0
 private void getCarFormParam()
 {
     this.setCarValue();
     try
     {
         if (base.Controls.Count > 2)
         {
             if (this.myWorker == null)
             {
                 this.myWorker                     = new BackgroundWorker();
                 this.myWorker.DoWork             += new DoWorkEventHandler(this.myWorker_DoWork);
                 this.myWorker.RunWorkerCompleted += new RunWorkerCompletedEventHandler(this.myWorker_RunWorkerCompleted);
             }
             WaitForm.Show("正在初始化参数,请稍候...", this);
             this.setControlEnable(false);
             this.myWorker.RunWorkerAsync();
         }
     }
     catch (Exception exception)
     {
         Record.execFileRecord("取得界面参数异步", exception.Message);
     }
 }
Example #24
0
 private void btnRefresh_Click(object sender, EventArgs e)
 {
     try
     {
         this.btnRefresh.Enabled = false;
         MainForm.myMap.execStopPlayTrackLine(this.sQueryTypeValue);
         this.iCurrentCnt = 0;
         this.bRefresh = true;
         this.cboxSelectedAll.Checked = false;
         WaitForm.Show("正在刷新文本信息...", this);
         this.BindCarTextList();
         this.refleshData();
         this.lblDGVRowCount.Text = string.Format("总共 {0} 条记录", this.source.List.Count.ToString());
     }
     catch
     {
     }
     finally
     {
         this.btnRefresh.Enabled = true;
         WaitForm.Hide();
     }
 }
Example #25
0
 static WaitForm()
 {
     WaitForm.myWaitForm = new WaitForm();
     WaitForm.sText      = "";
     WaitForm.m_Form     = null;
 }
Example #26
0
 private void ShowText(string sValue, IWin32Window iWin)
 {
     if (string.IsNullOrEmpty(sValue))
     {
         return;
     }
     WaitForm.sText = sValue;
     try
     {
         if (WaitForm.m_Form == null)
         {
             WaitForm.m_Form = new WaitForm();
         }
         WaitForm.m_Form.seSkin.SkinFile = Variable.sSkinFiles[Convert.ToInt32(Variable.sSkinDataIndex)];
         WaitForm.m_Form.TopLevel = true;
         WaitForm.m_Form.lblText.Text = WaitForm.sText;
         try
         {
             WaitForm.m_Form.Visible = false;
             WaitForm.m_Form.Show(iWin);
         }
         catch (ArgumentException argumentException)
         {
             WaitForm.m_Form.Show();
         }
         Application.DoEvents();
     }
     catch (Exception exception)
     {
         Record.execFileRecord("显示提示信息", exception.ToString());
     }
 }
Example #27
0
 static WaitForm()
 {
     WaitForm.myWaitForm = new WaitForm();
     WaitForm.sText = "";
     WaitForm.m_Form = null;
 }
Example #28
0
 private void ShowLoginingTopForm(object sValue)
 {
     try
     {
         WaitForm waitForm = new WaitForm()
         {
             Text = string.Concat(Variable.sTitle, Variable.sVersion)
         };
         waitForm.seSkin.SkinFile = Variable.sSkinFiles[Convert.ToInt32(Variable.sSkinDataIndex)];
         waitForm.Show();
         while (this.bShow)
         {
             waitForm.lblText.Text = WaitForm.sText;
             Thread.Sleep(100);
             waitForm.TopMost = true;
             Application.DoEvents();
         }
         waitForm.Close();
         waitForm = null;
     }
     catch (ThreadAbortException threadAbortException)
     {
         Thread.Sleep(300);
         Thread.ResetAbort();
     }
     catch (Exception exception)
     {
         Record.execFileRecord("ShowLoginingTopForm", exception.Message);
     }
 }
Example #29
0
 private void excelWorker_RunWorkerCompleted(object sender, RunWorkerCompletedEventArgs e)
 {
     WaitForm.Hide();
 }
Example #30
0
 private void WebSystem_Click(object sender, HtmlElementEventArgs e)
 {
     this._main.LoadWebSystem.Set();
     WaitForm.Hide();
 }
Example #31
0
        private void setText(object sender, ProgressChangedEventArgs e)
        {
            string str  = e.UserState.ToString();
            string str2 = "6";

            if (Variable.sShippingEnable.Equals("1"))
            {
                str2 = "7";
            }
            switch (str)
            {
            case "-100":
                WaitForm.Hide();
                base.Close();
                return;

            case "-1":
                this.m_iLoginCnt++;
                if (this.m_iLoginCnt >= 3)
                {
                    MessageBox.Show("超过最大登录次数,系统退出!");
                    Record.execFileRecord("用户登录", "超过最大登录次数,系统退出!");
                    base.Close();
                }
                this.pbPicWait.Visible   = false;
                this.lblWaitText.Visible = false;
                WaitForm.Hide();
                this.btnOK.Enabled               = true;
                this.btnSetParam.Enabled         = true;
                this.btnChangePwd.Enabled        = true;
                this.btnCancel.Enabled           = true;
                this.txtPassword.Enabled         = true;
                this.txtUser.Enabled             = true;
                this.txtAdc.Enabled              = true;
                this.txtValidateCode.Enabled     = true;
                this.btnSendValidateCode.Enabled = this.iCurrentCountDown <= 0;
                return;

            case "0":
                this.lblWaitText.Text = string.Format("1/{0} 正在验证用户信息,请稍候...", str2);
                return;

            case "1":
                this.lblWaitText.Text = string.Format("2/{0} 正在进行授权验证,请稍候...", str2);
                return;

            case "2":
                this.lblWaitText.Text = string.Format("3/{0} 正在下载报警列表,请稍候...", str2);
                return;

            case "3":
                this.lblWaitText.Text = string.Format("4/{0} 正在下载区域列表,请稍候...", str2);
                return;

            case "4":
                this.lblWaitText.Text = string.Format("5/{0} 正在下载车辆列表,请稍候...", str2);
                return;

            case "5":
                this.lblWaitText.Text = string.Format("{0}/{0} 正在创建车辆列表,请稍候...", str2);
                return;

            case "6":
                this.lblWaitText.Text = string.Format("6/{0} 正在下载运单列表,请稍候...", str2);
                return;
            }
        }
Example #32
0
 private void MapFlag_FormClosing(object sender, FormClosingEventArgs e)
 {
     WaitForm.Hide2();
 }