예제 #1
0
        public CarInfo(RMainForm rm)
        {
            _fraMinForm = rm;

            InitializeComponent();

            #region ���ش��屳��
            this.BackgroundImage = Image.FromFile(StaticParameter.Skin + "rbg.jpg");
            this.BackgroundImageLayout = ImageLayout.Stretch;
            #endregion

            strRegCarNo = "^[0-9a-zA-Z]*$";
            strPattern = @"^[0-9]*[.]{0,1}[0-9]*$";
            //�󶨳��ƺ�
            CommonMethod.ComboxBind(cbxCarNo, "VSYS_Dictionary", "BusinName", "BusinID", "BusinTypeID='1012' and Status ='����'", "BusinName", "��ѡ��", "");
            //�󶨳����ͺ�
            CommonMethod.ComboxBind(cbxCarType, "VSYS_Dictionary", "BusinName", "BusinID", "BusinTypeID='1013' and Status ='����'", "BusinName", "��ѡ���ͺ�", "");
            txtOperator.Text = StaticParameter.UserName;//������
            txtWeightTime.Text = System.DateTime.Now.ToString();//����ʱ��

            if (StaticParameter.IsVideo == "1")//����Ѿ�������Ƶ
            {
                InitVideo();//��ô��ʼ����Ƶ---��������������������ʾ��Ƶ�ؼ������ݵij�ʼ�����������ٴν�������Ƶ���õ��жϣ������Ƶû�����þͽ�����Ƶ��ʾ������
            }
            else
            {
                gbVideo.Visible = false;//�����Ƿ�����
            }

            InitPound();//�ڳ�ʼ���Ĺ������Ѿ������ӵ����ݻ�ȡ�����Ҹ�ֵ����ʾ�������ݵĿؼ���

            SetRights();//����Ȩ��
        }
        public FB_CarInfo(RMainForm rm)
        {
            _fraMinForm = rm;

            InitializeComponent();

            #region ���ش��屳��
            this.BackgroundImage = Image.FromFile(StaticParameter.Skin + "rbg.jpg");
            this.BackgroundImageLayout = ImageLayout.Stretch;
            #endregion

            txtOperator.Text = StaticParameter.UserName;//������
            txtWeightTime.Text = System.DateTime.Now.ToString();//����ʱ��

            if (StaticParameter.IsVideo == "1")//����Ѿ�������Ƶ
            {
                InitVideo();//��ô��ʼ����Ƶ---��������������������ʾ��Ƶ�ؼ������ݵij�ʼ�����������ٴν�������Ƶ���õ��жϣ������Ƶû�����þͽ�����Ƶ��ʾ������
            }
            else
            {
                gbVideo.Visible = false;//�����Ƿ�����
            }

            InitPound();//�ڳ�ʼ���Ĺ������Ѿ������ӵ����ݻ�ȡ�����Ҹ�ֵ����ʾ�������ݵĿؼ���

            SetRights();//����Ȩ��
        }
예제 #3
0
        public CarInfo(RMainForm fra)
        {
            _fraMinForm = fra;
            InitializeComponent();

            #region ���ش��屳��
            this.BackgroundImage = Image.FromFile(StaticParameter.Skin + "rbg.jpg");
            this.BackgroundImageLayout = ImageLayout.Stretch;
            #endregion

            strRegCarNo = "^[0-9a-zA-Z]*$";
            strPattern = @"^[0-9]*[.]{0,1}[0-9]*$";
            txtOperator.Text = StaticParameter.UserName;
            txtWeightTime.Text = System.DateTime.Now.ToString();

            if (StaticParameter.IsVideo == "1")
            {
                InitVideo();
            }
            else
            {
                gbVideo.Visible = false;
            }

            InitPound();
            SetRights();
            CommonMethod.ComboxBind(txtCarNo, "Sys_Dictionary", "BusinName", "BusinTypeID", "BusinTypeID='1012'", "BusinName asc", "��", "0");

            CommonMethod.ComboxBind(txtCarType, "Sys_Dictionary", "BusinName", "BusinTypeID", "BusinTypeID='1013'", "BusinName asc", "", "0");
        }
예제 #4
0
        public CarInfo(RMainForm fra)
        {
            _fraMinForm = fra;
            InitializeComponent();

            #region ���ش��屳��
            this.BackgroundImage = Image.FromFile(StaticParameter.Skin + "rbg.jpg");
            this.BackgroundImageLayout = ImageLayout.Stretch;
            #endregion

            strRegCarNo = "^[0-9a-zA-Z]*$";
            strPattern = @"^[0-9]*[.]{0,1}[0-9]*$";
            txtOperator.Text = StaticParameter.UserName;
            txtWeightTime.Text = System.DateTime.Now.ToString();

            if (StaticParameter.IsVideo == "1")
            {
                InitVideo();
            }
            else
            {
                gbVideo.Visible = false;
            }

            InitPound();
            SetRights();
        }
        public MarkedCardSearch(RMainForm frm)
        {
            _frmRMainFrom = frm;
            InitializeComponent();

            #region 加载窗体背景
            this.BackgroundImage = Image.FromFile(StaticParameter.Skin + "Searchbg.jpg");
            this.BackgroundImageLayout = ImageLayout.Stretch;
            #endregion
        }
        public NavicertSearch(RMainForm frm)
        {
            _fraMainFrom = frm;
            InitializeComponent();

            #region 加载窗体背景
            this.BackgroundImage = Image.FromFile(StaticParameter.Skin + "rbg.jpg");
            this.BackgroundImageLayout = ImageLayout.Stretch;
            #endregion

            this.Text = "准运卡办理二次打印查询";
        }
        public CarInfoSearch(RMainForm fra)
        {
            _fraMainFrom = fra;
            InitializeComponent();

            #region 加载窗体背景
            this.BackgroundImage = Image.FromFile(StaticParameter.Skin + "Searchbg.jpg");
            this.BackgroundImageLayout = ImageLayout.Stretch;
            #endregion

            this.Text = "空车过磅二次打印";
        }
        public LoadWeightSearch(RMainForm frm)
        {
            _frmRMainFrom = frm;
            InitializeComponent();

            #region 加载窗体背景
            this.BackgroundImage = Image.FromFile(StaticParameter.Skin + "Searchbg.jpg");
            this.BackgroundImageLayout = ImageLayout.Stretch;
            #endregion

            this.Text = "重车过磅二次打印查询";
        }
        public CarInfoSearch(AddNavicertCard frm,string Type)
        {
            strType=Type;
            _frmAddNavicertCard = frm;
            _fraMainFrom = new RMainForm();
            InitializeComponent();
            #region 加载窗体背景
            this.BackgroundImage = Image.FromFile(StaticParameter.Skin + "Searchbg.jpg");
            this.BackgroundImageLayout = ImageLayout.Stretch;
            #endregion

            this.Text = "空车过磅查询";
        }
 public EmptyWeightSearch(RMainForm frm)
 {
     InitializeComponent();
     _frmRMainFrom = frm;
     this.Text = "空车过磅二次打印查询";
 }
 public NavicertSearch(RMainForm frm)
 {
     _frmMainFrom = frm;
     InitializeComponent();
     this.Text = "准运卡办理二次打印查询";
 }