Exemplo n.º 1
0
        //SSITControls.WaitForm.WaitForm Wait;                 //等待窗体
        //private void ExecuteQuery()
        //{
        //    Wait = new SSITControls.WaitForm.WaitForm();
        //    ExecuteThread();
        //    // Wait.ExecuteEvent = ExecuteThread;
        //    Wait.AllowCancel = true;
        //    Wait.AllowProcess = false;
        //    Wait.AllowTimer = false;
        //    Wait.AutoMessage = true;
        //    // Wait.Execute();
        //}

        //private void ExecuteThread()
        //{
        //    try
        //    {
        //        Wait.SetLable("正在进行数据查询,请稍候...");
        //        var OrderDatas = GetDatas();
        //        Wait.SetLable("正在填充表格,请稍候...");
        //        OrderGV.FillGridByThread(OrderDatas);
        //    }
        //    catch (Exception ex)
        //    {
        //        Wait.Message = ex.Message;
        //        if (Wait.JobState == WaitState.正在操作)
        //        {
        //            Wait.Close();
        //        }
        //    }
        //}
        private void btnAdd_Click(object sender, EventArgs e)
        {
            CreateCheckOrderForm form = new CreateCheckOrderForm(SampleTypeEnum.PackagesComming);

            form.Tag = Tag;
            form.ShowDialog();
        }
Exemplo n.º 2
0
        private void btnAdd_Click(object sender, EventArgs e)
        {
            CreateCheckOrderForm form = new CreateCheckOrderForm();

            form.Tag = Tag;
            form.ShowDialog();
        }