示例#1
0
        public A_FrmWalkConfig_Add(A_FrmWalkConfig frm)
        {
            InitializeComponent();

            frmwc = frm;
            InitWalkConfig();
        }
        public A_FrmWalkConfig_Add(A_FrmWalkConfig frm)
        {
            InitializeComponent();

            frmwc = frm;
            InitWalkConfig();
        }
示例#3
0
        public A_FrmWalkConfig_Add(A_FrmWalkConfig frm, int intID, bool blIsUpDate)
        {
            InitializeComponent();

            frmwc          = frm;
            intOverSpeedID = intID;

            BindingWalkConfig(intOverSpeedID);

            if (blIsUpDate)                 //修改
            {
                gb_First.Enabled = false;
                gb_Last.Enabled  = false;
                bt_Reset.Enabled = false;
                this.Text        = "修改行走异常配置信息";
            }
            else                            //查看
            {
                gb_WalkInfo.Enabled = false;
                bt_Save.Enabled     = bt_Reset.Enabled = false;
                this.Text           = "查看行走异常配置信息";
            }
        }
        public A_FrmWalkConfig_Add(A_FrmWalkConfig frm,int intID,bool blIsUpDate)
        {
            InitializeComponent();

            frmwc = frm;
            intOverSpeedID = intID;

            BindingWalkConfig(intOverSpeedID);

            if (blIsUpDate)                 //修改
            {
                gb_First.Enabled = false;
                gb_Last.Enabled = false;
                bt_Reset.Enabled = false;
                this.Text = "修改行走异常配置信息";
            }
            else                            //查看
            {
                gb_WalkInfo.Enabled = false;
                bt_Save.Enabled = bt_Reset.Enabled = false;
                this.Text = "查看行走异常配置信息";
            }
        }