private void _7ReceivingNote_Load(object sender, EventArgs e)
 {
     ConsChangeInForms.ConsChangeInForm(this);
     this.BackColor          = ColorTranslator.FromHtml("#CCCCCC");
     this.dataGridView1.Font = new Font("宋体", 10);
     textBox1.Text           = MODEL.AddID.Change(DAL.getnewest.QAID());
     textBox2.Text           = MODEL.class1.staff.ID;
 }
Пример #2
0
        private void Register_Load(object sender, EventArgs e)
        {
            ConsChangeInForms.ConsChangeInForm(this);
            this.BackColor = ColorTranslator.FromHtml("#CCCCCC");
            int IDpre = Convert.ToInt32(DAL.getnewest.MemID());

            IDpre            += 1;
            txtMemID.Text     = MODEL.AddID.Getid(IDpre);
            txtMemID.ReadOnly = true;
            button1.Text      = state;
        }
Пример #3
0
        private void Form_scan_Load(object sender, EventArgs e)
        {
            DataTable table = DAL.getnewest.allQAID().Tables[0];

            for (int i = 0; i < table.Rows.Count; i++)
            {
                cBoxQA.Items.Add(table.Rows[i][0].ToString());
            }
            textBox_worker.Text     = MODEL.class1.staff.ID;
            textBox_time.Text       = System.DateTime.Now.ToLongDateString();
            ReadTIDThread.Interval  = 1000;
            ReadTIDThread.Enabled   = true;
            ReadTIDThread.Elapsed  += new ElapsedEventHandler(AutoReadTID_Elapsed);
            ReadTIDThread.AutoReset = true;
            ConsChangeInForms.ConsChangeInForm(this);
            this.BackColor = ColorTranslator.FromHtml("#CCCCCC");
        }
Пример #4
0
        private void _9GodownEntry_Load(object sender, EventArgs e)
        {
            ConsChangeInForms.ConsChangeInForm(this);
            this.BackColor          = ColorTranslator.FromHtml("#CCCCCC");
            this.dataGridView1.Font = new Font("宋体", 10);
            textBox1.Text           = MODEL.AddID.Change(DAL.getnewest.InID());
            DataTable table = DAL.getnewest.allQAID().Tables[0];

            for (int i = 0; i < table.Rows.Count; i++)
            {
                //MessageBox.Show(table.Rows[i][0].ToString());
                comboBox1.Items.Add(table.Rows[i][0].ToString());
            }
            // comboBox1.DataSource = table;
            dataGridView1.Columns[0].ReadOnly = true;
            dataGridView1.Columns[1].ReadOnly = true;
            dataGridView1.Columns[2].ReadOnly = true;
            dataGridView1.Columns[4].ReadOnly = true;
        }
Пример #5
0
 private void Inventory_Load(object sender, EventArgs e)
 {
     ConsChangeInForms.ConsChangeInForm(this);
     this.BackColor = ColorTranslator.FromHtml("#CCCCCC");
 }
Пример #6
0
 private void ChargeRecord_Load(object sender, EventArgs e)
 {
     ConsChangeInForms.ConsChangeInForm(this);
     this.dataGridView1.Font = new Font("宋体", 10);
     this.BackColor          = ColorTranslator.FromHtml("#CCCCCC");
 }
Пример #7
0
 private void _10GEInfo_Load(object sender, EventArgs e)
 {
     ConsChangeInForms.ConsChangeInForm(this);
 }