• 设为首页
  • 点击收藏
  • 手机版
    手机扫一扫访问
    迪恩网络手机版
  • 关注官方公众号
    微信扫一扫关注
    公众号

C# action类代码示例

原作者: [db:作者] 来自: [db:来源] 收藏 邀请

本文整理汇总了C#中action的典型用法代码示例。如果您正苦于以下问题:C# action类的具体用法?C# action怎么用?C# action使用的例子?那么恭喜您, 这里精选的类代码示例或许可以为您提供帮助。



action类属于命名空间,在下文中一共展示了action类的20个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于我们的系统推荐出更棒的C#代码示例。

示例1: btnReset_Click

 private void btnReset_Click(object sender, EventArgs e)
 {
     vAction = action.Insert;
     txtID.Text = "-1";
     txtName.Clear();
     txtName.Focus();
 }
开发者ID:khaha2210,项目名称:CodeNewTeam,代码行数:7,代码来源:frmDoctorList_AU.cs


示例2: run

 /// <summary>
 /// 运行线程
 /// </summary>
 private void run()
 {
     action task, domainUnload;
     action<Exception> onError;
     Monitor.Enter(threadLock);
     try
     {
         if (this.task == null) Monitor.Wait(threadLock);
         task = this.task;
         domainUnload = this.domainUnload;
         onError = this.onError;
         this.task = null;
         this.domainUnload = null;
         this.onError = null;
     }
     finally { Monitor.Exit(threadLock); }
     while (!isStop)
     {
         if (domainUnload != null) fastCSharp.domainUnload.Add(domainUnload);
         try
         {
             task();
         }
         catch (Exception error)
         {
             if (onError != null)
             {
                 try
                 {
                     onError(error);
                 }
                 catch (Exception error1)
                 {
                     log.Default.Add(error1, null, false);
                 }
             }
             else log.Default.Add(error, null, false);
         }
         finally
         {
             if (domainUnload != null) fastCSharp.domainUnload.Remove(domainUnload, false);
         }
         threadPool.Push(this);
         Monitor.Enter(threadLock);
         try
         {
             if (this.task == null) Monitor.Wait(threadLock);
             task = this.task;
             domainUnload = this.domainUnload;
             onError = this.onError;
             this.task = null;
             this.domainUnload = null;
             this.onError = null;
         }
         finally { Monitor.Exit(threadLock); }
     }
 }
开发者ID:khaliyo,项目名称:fastCSharp,代码行数:60,代码来源:thread.cs


示例3: btnReset_Click

 private void btnReset_Click(object sender, EventArgs e)
 {
     vAction = action.Insert;
     txtID.Text = "-1";
     txtName.Clear();
     txtDesc.Clear();
     ckbValid.Checked = true;
     txtName.Focus();
 }
开发者ID:khaha2210,项目名称:CodeNewTeam,代码行数:9,代码来源:frmDeviceList_AU.cs


示例4: Awake

 // Use this for initialization
 void Awake()
 {
     gameObject.SetActive( firstActionDialogue );
     dialoguePanel = GameObject.Find( "Panel" );
     dialogueScript = dialoguePanel.GetComponent<loadDialogue>();
     GameObject actionObject = transform.Find( "Action" ).gameObject;
     Action = actionObject.GetComponent<action>();
     sceneSetUp = false;
 }
开发者ID:NamesJ,项目名称:Trypanophobia,代码行数:10,代码来源:actionDialogue.cs


示例5: ClearControl

 void ClearControl()
 {
     foreach (Control control in grpControl.Controls)
     {
         if(control is Janus.Windows.GridEX.EditControls.EditBox)
         {
             ((Janus.Windows.GridEX.EditControls.EditBox)(control)).Clear();
         }
         em_Action = action.Insert;
         txtClinicCode.Focus();
     }
 }
开发者ID:khaha2210,项目名称:CodeNewHis,代码行数:12,代码来源:frm_themmoi_noiKCBBD.cs


示例6: btnReset_Click

 private void btnReset_Click(object sender, EventArgs e)
 {
     vAction = action.Insert;
     txtID.Text = "-1";
     txtName.Clear();
     txtAbbreviation.Clear();
     txtPrice.Value = 0;
     txtDesc.Clear();
     txtSequence.Value = 0;
     ckbPrintDetail.Checked = true;
     txtSequence.Focus();
 }
开发者ID:khaha2210,项目名称:CodeNewTeam,代码行数:12,代码来源:frmTestTypeList_AU.cs


示例7: ClearControl

        private void ClearControl()
        {
            m_enAct = action.Insert;
            foreach (Control control in this.grpControl.Controls)
            {
                if (control is Janus.Windows.GridEX.EditControls.EditBox) control.Text = string.Empty;

            }
            txtMa.Enabled = true;
            cboKhoaNoiTru.SelectedIndex = 0;
            txtMa.Focus();
        }
开发者ID:khaha2210,项目名称:CodeNewHis,代码行数:12,代码来源:frm_Add_PhongNoiTru.cs


示例8: ActionDevice

        private void ActionDevice(action vAction)
        {
            try
            {
                if (grdDevice.CurrentRow == null && (vAction == action.Update || vAction == action.Delete)) return;

                switch (vAction)
                {
                    case action.Normal:
                        dtDevice =
                            new Select(DDeviceList.Schema.Name + ".*", TTestTypeList.Columns.TestTypeName,
                                       LManufacture.Columns.SName)
                                .From(DDeviceList.Schema.Name).
                                LeftOuterJoin(TTestTypeList.TestTypeIdColumn, DDeviceList.TestTypeIdColumn).
                                LeftOuterJoin(LManufacture.IdColumn, DDeviceList.ManufactureIdColumn).
                                ExecuteDataSet().Tables[0];
                        grdDevice.DataSource = dtDevice;
                        break;
                    case action.Delete:
                        if (
                            DDataControl.CreateQuery().WHERE(DDataControl.Columns.DeviceId,Utility.Int32Dbnull(grdDevice.GetValue("Device_ID"))).
                                GetRecordCount() > 0)
                        {
                            Utility.ShowMsg("Danh mục đang được sử dụng. Không được xóa");
                            return;
                        }
                        if (Utility.AcceptQuestion("Thực hiện xóa " + grdDevice.GetValue("Device_Name"), "Thông báo",
                                                   true))
                        {
                            new Delete().From(DDeviceList.Schema.Name).Where(DDeviceList.Columns.DeviceId).IsEqualTo(
                                Utility.Int32Dbnull(grdDevice.GetValue("Device_ID"))).Execute();
                            grdDevice.CurrentRow.Delete();
                            grdDevice.UpdateData();
                        }
                        dtDevice.AcceptChanges();
                        break;
                    default:
                        var oForm = new frmDeviceList_AU();
                        oForm.vAction = vAction;
                        oForm.drList = Utility.GetDataRow(dtDevice, DDeviceList.Columns.DeviceId,
                                                          grdDevice.GetValue("Device_ID"));
                        oForm.dtList = dtDevice;
                        oForm.ShowDialog();
                        break;
                }
            }
            catch (Exception ex)
            {
                Utility.ShowMsg(ex.Message);
            }
        }
开发者ID:khaha2210,项目名称:CodeNewTeam,代码行数:51,代码来源:frmDanhMucChung.cs


示例9: ShowInfo

 void ShowInfo()
 {
     Act = action.Insert;
     if (_ACtrl != null)
     {
         Act = action.Update;
         txtCode.Text = _ACtrl.Code;
         txtVnName.Text = _ACtrl.Vn_Name;
         txtEngName.Text = _ACtrl.En_Name;
         txtSTT.Text = _ACtrl.STT.ToString();
         txtCode.Enabled = false;
         txtVnName.Focus();
     }
 }
开发者ID:khaha2210,项目名称:radio,代码行数:14,代码来源:frm_AddNewProjection.cs


示例10: WaitRunOnce

 /// <summary>
 /// 等待单次运行
 /// </summary>
 /// <param name="runState">执行状态,0表示未运行,1表示运行中,2表示已经运行</param>
 /// <param name="run">执行委托</param>
 public static void WaitRunOnce(ref int runState, action run)
 {
     int isRun = Interlocked.CompareExchange(ref runState, 1, 0);
     if (isRun == 0)
     {
         try
         {
             run();
         }
         finally { runState = 2; }
     }
     else if (isRun == 1)
     {
         while (runState == 1) Thread.Sleep(1);
     }
 }
开发者ID:khaliyo,项目名称:fastCSharp,代码行数:21,代码来源:interlocked.cs


示例11: topSocket

 /// <summary>
 /// 初始化同步套接字
 /// </summary>
 /// <param name="socket">操作套接字</param>
 /// <param name="data">数据缓存</param>
 /// <param name="onClose">关闭套接字处理</param>
 /// <param name="dataPoint">数据缓存起始位置</param>
 protected topSocket(Socket socket, byte[] data, action<topSocket> onClose, byte* dataPoint = null)
 {
     if (socket == null) log.Default.Throw(null, "缺少套接字", true);
     if (data == null) log.Default.Throw(null, "缺少数据缓存", true);
     if (dataPoint != null)
     {
         fixed (byte* dataFixed = data)
         {
             if (dataFixed != dataPoint) log.Default.Throw(null, "数据缓存起始位置不正确", true);
         }
         this.dataPoint = dataPoint;
     }
     this.socket = socket;
     this.data = data;
     this.onClose = onClose;
 }
开发者ID:khaliyo,项目名称:fastCSharp,代码行数:23,代码来源:topSocket.cs


示例12: btnReset_Click

 private void btnReset_Click(object sender, EventArgs e)
 {
     vAction = action.Insert;
     txtID.Enabled = true;
     txtName.Clear();
     txtMeasureUnit.Clear();
     txtNormalLevel.Clear();
     txtNormalLevelW.Clear();
     txtDesc.Clear();
     txtSequence.Value = 0;
     txtDataPoint.Value = 0;
     ckbDataPrint.Checked = true;
     ckbDataView.Checked = true;
     txtID.Focus();
     txtID.Clear();
 }
开发者ID:khaha2210,项目名称:CodeNewTeam,代码行数:16,代码来源:frmTestDataList_AU.cs


示例13: button1_Click

        private void button1_Click(object sender, EventArgs e)
        {
            if (textBox1.Text != "")
            {

                var get_money = from m in pay_doc.Element("payments").Elements("userdata").Elements("u_paid")
                                where (string)m.Attribute("idp").Value == user_id.ToString()
                                select m;

                foreach (var m in get_money)
                {
                    money = Convert.ToInt32(m.Value);
                }

                money++;

                var inc = max_files + 5;
                max_files += 5;
                XElement ref_to_files =  pay_doc.Element("payments").Elements("userdata").Elements("u_files")
                                            .Where(id => (string)id.Attribute("idf").Value == user_id.ToString()).FirstOrDefault();

                ref_to_files.SetValue(inc.ToString());

                XElement ref_to_paid = pay_doc.Element("payments").Elements("userdata").Elements("u_paid")
                                            .Where(id => (string)id.Attribute("idp").Value == user_id.ToString()).FirstOrDefault();

                ref_to_paid.SetValue(money.ToString());

                pay_doc.Save("Payments.xml");
                file_dataclassesDataContext database = new file_dataclassesDataContext();
                action pay_act = new action
                {
                    u_id = user_id,
                    act_type = "PAY",
                    action_time = DateTime.Now
                };
                database.actions.InsertOnSubmit(pay_act);
                database.SubmitChanges();

                Close();
            }
            else
            {
                MessageBox.Show("Invalid code!", "Error");
                return;
            }
        }
开发者ID:adamekz,项目名称:mmnote,代码行数:47,代码来源:payment.cs


示例14: button1_Click

        private void button1_Click(object sender, EventArgs e)
        {
            file_dataclassesDataContext database = new file_dataclassesDataContext();
               /* var log_data = from u in database.users
                           where u.login == textBox1.Text && u.password == textBox2.Text
                           select new { u.u_id };*/
            SqlConnection conn = new SqlConnection("Data Source=.\\SQLSRVR;AttachDbFilename=G:\\GitHub\\mmnote\\Data_base\\Data_base\\files_db.mdf;Integrated Security=True;Connect Timeout=30;User Instance=True");

            SqlDataReader log_data = null;
            var ex = 0;
            string quer = "select u_id from users where login = '"+textBox1.Text+"' and password = '"+textBox2.Text+"'";

            try
            {
                conn.Open();

                SqlCommand cmd = new SqlCommand(quer, conn);

                log_data = cmd.ExecuteReader();

                while(log_data.Read())
                {
                    ex++;
                    uid = (int)log_data[0];
                }

            }
            finally
            {
                if (conn != null) conn.Close();
            }

            if (ex == 0)
            {
                label3.Text = "Inncorect login or password!";
                return;
            }
            action log_act = new action
            {
                u_id = uid,
                act_type = "LOG",
                action_time = DateTime.Now
            };
            database.actions.InsertOnSubmit(log_act);
            database.SubmitChanges();
            Close();
        }
开发者ID:adamekz,项目名称:mmnote,代码行数:47,代码来源:login.cs


示例15: ActionDepartment

        private void ActionDepartment(action vAction)
        {
            try
            {
                if (grdDepartment.CurrentRow == null && (vAction == action.Update || vAction == action.Delete)) return;

                switch (vAction)
                {
                    case action.Normal:
                        dtDepartment = new Select().From(LDepartment.Schema.Name).ExecuteDataSet().Tables[0];
                        grdDepartment.DataSource = dtDepartment;
                        break;
                    case action.Delete:
                        if (
                            LPatientInfo.CreateQuery().WHERE(LPatientInfo.Columns.DepartmentID,
                                                             Utility.Int32Dbnull(grdDepartment.GetValue("ID"))).
                                GetRecordCount() > 0)
                        {
                            Utility.ShowMsg("Danh mục đang được sử dụng. Không được xóa");
                            return;
                        }
                        if (Utility.AcceptQuestion("Thực hiện xóa " + grdDepartment.GetValue("sName"), "Thông báo", true))
                        {
                            new Delete().From(LDepartment.Schema.Name).Where(LDepartment.Columns.Id).IsEqualTo(
                                Utility.Int32Dbnull(grdDepartment.GetValue("ID"))).Execute();
                            grdDepartment.CurrentRow.Delete();
                            grdDepartment.UpdateData();
                        }
                        dtDepartment.AcceptChanges();
                        break;
                    default:
                        var oForm = new frmDepartmentList_AU();
                        oForm.vAction = vAction;
                        oForm.drList = Utility.GetDataRow(dtDepartment, LDepartment.Columns.Id,
                                                          grdDepartment.GetValue("ID"));
                        oForm.dtList = dtDepartment;
                        oForm.ShowDialog();
                        break;
                }
            }
            catch (Exception ex)
            {
                Utility.ShowMsg(ex.Message);
            }
        }
开发者ID:khaha2210,项目名称:CodeNewTeam,代码行数:45,代码来源:frmDanhMucChung.cs


示例16: btnSave_Click

        private void btnSave_Click(object sender, EventArgs e)
        {
            try
            {
                if (!DataValid())
                {
                    return;
                }
                if (vAction==action.Insert)
                {
                    DataRow dr = m_dtResultDetail.NewRow();
                    dr[TResultDetail.Columns.TestDetailId] = -1;
                    dr[TResultDetail.Columns.TestId] = vTestID;
                    m_dtResultDetail.Rows.InsertAt(dr,0);
                    m_dtResultDetail.AcceptChanges();
                    grdResultDetail.MoveFirst();
                    //dr[TResultDetail.Columns.TestId] = Utility.Int32Dbnull(grdTestInfo.GetValue("Test_ID"));
                    //dr[TResultDetail.Columns.PatientId] = Utility.Int32Dbnull(grdPatients.GetValue("Patient_ID"));
                    //dr[TResultDetail.Columns.TestTypeId] = Utility.Int32Dbnull(grdTestInfo.GetValue("TestType_ID"));
                    //dr[TResultDetail.Columns.Barcode] = Utility.sDbnull(grdTestInfo.GetValue("Barcode"));
                }
                //drResultDetail[TResultDetail.Columns.ParaName] = txtPara_Name.Text;
                //drResultDetail[TResultDetail.Columns.NormalLevel] = txtNormal_Level.Text;
                //drResultDetail[TResultDetail.Columns.NormalLevelW] = txtNormal_LevelW.Text;
                //drResultDetail[TResultDetail.Columns.MeasureUnit] = txtMeasure_Unit.Text;
                //drResultDetail[TResultDetail.Columns.TestResult] = txtTest_Result.Text;
                //drResultDetail[TResultDetail.Columns.Note] = txtNote.Text;
                //drResultDetail[TResultDetail.Columns.DataSequence] = Utility.Int32Dbnull(txtSequence.Value);

                grdResultDetail.CurrentRow.Cells[TResultDetail.Columns.ParaName].Value = txtPara_Name.Text;
                grdResultDetail.CurrentRow.Cells[TResultDetail.Columns.NormalLevel].Value = txtNormal_Level.Text;
                grdResultDetail.CurrentRow.Cells[TResultDetail.Columns.NormalLevelW].Value = txtNormal_LevelW.Text;
                grdResultDetail.CurrentRow.Cells[TResultDetail.Columns.MeasureUnit].Value = txtMeasure_Unit.Text;
                grdResultDetail.CurrentRow.Cells[TResultDetail.Columns.TestResult].Value = txtTest_Result.Text;
                grdResultDetail.CurrentRow.Cells[TResultDetail.Columns.Note].Value = txtNote.Text;
                grdResultDetail.CurrentRow.Cells[TResultDetail.Columns.DataSequence].Value = Utility.Int32Dbnull(txtSequence.Value);
                vAction = action.ConfirmData;
                Dispose();
            }
            catch (Exception ex)
            {
                Utility.ShowMsg(ex.Message);
            }
        }
开发者ID:khaha2210,项目名称:CodeNewTeam,代码行数:44,代码来源:frmResultDetailInfo.cs


示例17: actionAsynchronous

 public void actionAsynchronous(action<fastCSharp.setup.cSharp.tcpBase.asynchronousReturn> _onReturn_)
 {
     bool _isCall_ = false;
     try
     {
         fastCSharp.net.tcpClient _client_ = _tcpClient_;
         if (_client_ != null)
         {
             _isCall_ = true;
             _client_.Call(new fastCSharp.setup.cSharp.tcpBase.asyncReturn { OnReturn = _onReturn_ }.CallOnReturn, _c1);
         }
     }
     catch (Exception _error_)
     {
         fastCSharp.log.Default.Add(_error_, null, false);
     }
     finally
     {
         if (!_isCall_) _onReturn_(new fastCSharp.setup.cSharp.tcpBase.asynchronousReturn{ IsReturn = false });
     }
 }
开发者ID:khaliyo,项目名称:fastCSharp,代码行数:21,代码来源:fastCSharp.testCase.tcpServer.tcpServerSegmentation.client.cs


示例18: btnSave_Click

        private void btnSave_Click(object sender, EventArgs e)
        {
            try
            {
                txtID.Text = txtID.Text.ToUpper();
                if (ValidData())
                    switch (vAction)
                    {
                        case action.Insert:
                            var obj = new LObjectType();
                            obj.SName = Utility.sDbnull(txtName.Text);
                            obj.SDesc = Utility.sDbnull(txtDesc.Text);
                            obj.IsNew = true;
                            obj.Save();

                            drList = dtList.NewRow();
                            drList[LObjectType.Columns.Id] =
                                LObjectType.CreateQuery().GetMax(LObjectType.Columns.Id);
                            ApplyData2Datarow();
                            dtList.Rows.InsertAt(drList, 0);
                            dtList.AcceptChanges();

                            txtID.Text = Utility.sDbnull(drList[LObjectType.Columns.Id]);
                            vAction = action.Update;
                            break;
                        case action.Update:
                            new Update(LObjectType.Schema.Name).Set(LObjectType.Columns.SName).EqualTo(txtName.Text).
                                Set(LObjectType.Columns.SDesc).EqualTo(txtDesc.Text).
                                Where(LObjectType.Columns.Id).IsEqualTo(Utility.Int32Dbnull(txtID.Text)).
                                Execute();
                            ApplyData2Datarow();
                            drList.AcceptChanges();
                            break;
                    }
            }
            catch (Exception ex)
            {
                Utility.ShowMsg(ex.Message);
            }
        }
开发者ID:khaha2210,项目名称:CodeNewTeam,代码行数:40,代码来源:frmObjectTypeList_AU.cs


示例19: expressionConverter

 /// <summary>
 /// 表达式转换
 /// </summary>
 protected expressionConverter()
 {
     converters = new action<converter, Expression>[Enum.GetMaxValue<ExpressionType>(-1) + 1];
     converters[(int)ExpressionType.OrElse] = convertOrElse;
     converters[(int)ExpressionType.AndAlso] = convertAndAlso;
     converters[(int)ExpressionType.Equal] = convertEqual;
     converters[(int)ExpressionType.NotEqual] = convertNotEqual;
     converters[(int)ExpressionType.GreaterThanOrEqual] = convertGreaterThanOrEqual;
     converters[(int)ExpressionType.GreaterThan] = convertGreaterThan;
     converters[(int)ExpressionType.LessThan] = convertLessThan;
     converters[(int)ExpressionType.LessThanOrEqual] = convertLessThanOrEqual;
     converters[(int)ExpressionType.Add] = convertAdd;
     converters[(int)ExpressionType.AddChecked] = convertAdd;
     converters[(int)ExpressionType.Subtract] = convertSubtract;
     converters[(int)ExpressionType.SubtractChecked] = convertSubtract;
     converters[(int)ExpressionType.Multiply] = convertMultiply;
     converters[(int)ExpressionType.MultiplyChecked] = convertMultiply;
     converters[(int)ExpressionType.Divide] = convertDivide;
     converters[(int)ExpressionType.Modulo] = convertModulo;
     converters[(int)ExpressionType.Power] = convertPower;
     converters[(int)ExpressionType.Or] = convertOr;
     converters[(int)ExpressionType.And] = convertAnd;
     converters[(int)ExpressionType.ExclusiveOr] = convertExclusiveOr;
     converters[(int)ExpressionType.LeftShift] = convertLeftShift;
     converters[(int)ExpressionType.RightShift] = convertRightShift;
     converters[(int)ExpressionType.FieldAccess] = convertFieldAccess;
     converters[(int)ExpressionType.PropertyAccess] = convertPropertyAccess;
     converters[(int)ExpressionType.Not] = convertNot;
     converters[(int)ExpressionType.Unbox] = convertUnbox;
     converters[(int)ExpressionType.Negate] = convertNegate;
     converters[(int)ExpressionType.NegateChecked] = convertNegate;
     converters[(int)ExpressionType.UnaryPlus] = convertUnaryPlus;
     converters[(int)ExpressionType.IsTrue] = convertIsTrue;
     converters[(int)ExpressionType.IsFalse] = convertIsFalse;
     converters[(int)ExpressionType.Convert] = convertConvert;
     converters[(int)ExpressionType.ConvertChecked] = convertConvert;
     converters[(int)ExpressionType.Conditional] = convertConditional;
     converters[(int)ExpressionType.Call] = convertCall;
 }
开发者ID:khaliyo,项目名称:fastCSharp,代码行数:42,代码来源:expressionConverter.cs


示例20: ThemPhieuthanhly

        /// <summary>
        /// hàm thực hiện việc thêm phiếu nhập kho thuốc
        /// </summary>
        private void ThemPhieuthanhly()
        {
            TPhieuNhapxuatthuoc objPhieuNhap = CreatePhieuNhapKho();

            ActionResult actionResult = new XuatThuoc().ThemPhieuXuatKho(objPhieuNhap, CreateArrPhieuChiTiet());
            switch (actionResult)
            {
                case ActionResult.Success:
                    txtIDPhieuNhapKho.Text = Utility.sDbnull(objPhieuNhap.IdPhieu);
                    txtMaPhieu.Text = Utility.sDbnull(objPhieuNhap.MaPhieu);
                    TPhieuNhapxuatthuoc objPhieu = TPhieuNhapxuatthuoc.FetchByID(Utility.Int32Dbnull(txtIDPhieuNhapKho.Text));
                    DataRow newDr = p_mDataPhieuNhapKho.NewRow();
                    Utility.FromObjectToDatarow(objPhieu, ref newDr);
                    TDmucKho objKho = TDmucKho.FetchByID(Utility.Int32Dbnull(cboKhohuy.SelectedValue, -1));
                    if (objKho != null)
                        newDr["ten_khoxuat"] = Utility.sDbnull(objKho.TenKho);
                    p_mDataPhieuNhapKho.Rows.Add(newDr);
                    Utility.GonewRowJanus(grdList, TPhieuNhapxuatthuoc.Columns.IdPhieu, Utility.sDbnull(txtIDPhieuNhapKho.Text));
                    //Utility.ShowMsg("Bạn thêm mới phiếu chuyển kho thành công", "Thông báo");
                    m_enAction = action.Insert;

                    b_Cancel = true;
                    this.Close();
                    break;
                case ActionResult.Error:
                    Utility.ShowMsg("Lỗi trong quá trình thêm phiếu", "Thông báo lỗi", MessageBoxIcon.Error);
                    break;
            }
        }
开发者ID:khaha2210,项目名称:CodeNewHis,代码行数:32,代码来源:frm_themmoi_phieuthanhlythuoc.cs



注:本文中的action类示例整理自Github/MSDocs等源码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。


鲜花

握手

雷人

路过

鸡蛋
该文章已有0人参与评论

请发表评论

全部评论

专题导读
上一篇:
C# agsXMPP类代码示例发布时间:2022-05-24
下一篇:
C# acUI.acUI类代码示例发布时间:2022-05-24
热门推荐
阅读排行榜

扫描微信二维码

查看手机版网站

随时了解更新最新资讯

139-2527-9053

在线客服(服务时间 9:00~18:00)

在线QQ客服
地址:深圳市南山区西丽大学城创智工业园
电邮:jeky_zhao#qq.com
移动电话:139-2527-9053

Powered by 互联科技 X3.4© 2001-2213 极客世界.|Sitemap