示例#1
0
        /*************************************/

        public TunnelHChuanEntering(TunnelHChuanManagement frmhc)
        {
            frmStop = frmhc;
            InitializeComponent();

            //窗体属性设置
            FormDefaultPropertiesSetter.SetEnteringFormDefaultProperties(this, Const_GM.TUNNEL_HCHUAN_ADD);

            //默认回采未完毕
            rbtnHChuanN.Checked = true;

            //默认工作制式选择
            if (WorkingTimeDefault.FindFirst().DefaultWorkTimeGroupId == Const_MS.WORK_GROUP_ID_38)
            {
                rbtn38.Checked = true;
            }
            else
            {
                rbtn46.Checked = true;
            }
            ////返回当前
            //cboWorkTime.Text = WorkTime.returnSysWorkTime(rbtn38.Checked ? Const_MS.WORK_TIME_38 : Const_MS.WORK_TIME_46);
            // 设置班次名称
            setWorkTimeName();
        }
示例#2
0
        public TunnelHChuanEntering(TunnelHChuan tunnelHChuanEntity, TunnelHChuanManagement frmhc)
        {
            frmStop = frmhc;
            this.tunnelHChuanEntity = tunnelHChuanEntity;
            tmpTunnelHChuanEntity   = tunnelHChuanEntity;

            InitializeComponent();

            FormDefaultPropertiesSetter.SetEnteringFormDefaultProperties(this, Const_GM.TUNNEL_HCHUAN_CHANGE);
        }