Beispiel #1
0
        private void btnmodicommande_Click(object sender, EventArgs e)
        {
            Form7 f7 = new Form7();

            f7.btnfermer.Visible = false;
            activation(f7);
            f7.idcmmdeEdit        = int.Parse(dgvCmmde.CurrentRow.Cells[0].Value.ToString());
            f7.cbxTyppeTissu.Text = dgvCmmde.CurrentRow.Cells[3].Value.ToString();
            f7.txtlngTissu.Text   = dgvCmmde.CurrentRow.Cells[4].Value.ToString();
            f7.txtPrix.Text       = dgvCmmde.CurrentRow.Cells[5].Value.ToString();
            f7.txtavancement.Text = dgvCmmde.CurrentRow.Cells[6].Value.ToString();
            f7.file.FileName      = imgModel.ImageLocation;
            f7.Show();
            this.Close();
        }
Beispiel #2
0
        private void button2_Click(object sender, EventArgs e)
        {
            Form7 f7 = new Form7();

            f7.Show();
        }