public FrameProduceForm(X07_Total.MainForm parent)
        {
            InitializeComponent();
            mform = parent;
            dataGridView1.Rows.Add(1);
            dataGridView1.AllowUserToAddRows = false;

            dataGridView2.Rows.Add(1);
            dataGridView2.AllowUserToAddRows = false;

            dataGridView1.Rows[0].Cells[0].Value = "00";
            dataGridView1.Rows[0].Cells[1].Value = "0";
            dataGridView1.Rows[0].Cells[2].Value = "0";
            dataGridView1.Rows[0].Cells[3].Value = "00";
            dataGridView1.Rows[0].Cells[4].Value = "000";
            dataGridView1.Rows[0].Cells[5].Value = "00";
            dataGridView1.Rows[0].Cells[6].Value = "00";
            dataGridView1.Rows[0].Cells[7].Value = "00";
            dataGridView1.Rows[0].Cells[8].Value = "";

            dataGridView1.Rows[0].Cells[9].Value = "0000";
            this.Column9.ReadOnly = true;

            this.dataGridViewComboBoxColumn1.DefaultCellStyle.NullValue = "000";
            this.dataGridViewComboBoxColumn2.DefaultCellStyle.NullValue = "1";
            this.dataGridViewComboBoxColumn3.DefaultCellStyle.NullValue = "0-无副导头";
            this.dataGridViewComboBoxColumn4.DefaultCellStyle.NullValue = "11-独立包";
            this.dataGridViewTextBoxColumn1.DefaultCellStyle.NullValue  = "000";
            this.dataGridViewTextBoxColumn2.DefaultCellStyle.NullValue  = "0";
            this.dataGridViewTextBoxColumn3.DefaultCellStyle.NullValue  = "0";
            this.dataGridViewTextBoxColumn4.DefaultCellStyle.NullValue  = "";
            this.dataGridViewTextBoxColumn4.ReadOnly = true;
        }
        public FrameHeaderProduceForm(X07_Total.MainForm parent)
        {
            InitializeComponent();
            mform = parent;

            dataGridView2.Rows.Add(1);
            dataGridView2.AllowUserToAddRows = false;
        }
Beispiel #3
0
 public DAModifyForm(X07_Total.MainForm parent)
 {
     InitializeComponent();
     mform = parent;
 }