예제 #1
0
        private void AdderNewCv()
        {
            CvAdder CvAdder = new CvAdder();

            this.Opacity          = 0.3;
            CvAdder.labelX4.Text  = "";
            CvAdder.buttonX1.Text = "إضافة";
            CvAdder.Text          = "إضافة";
            CvAdder.ShowDialog();
            this.Opacity = 1;
        }
예제 #2
0
        private void dataGridViewX1_CellDoubleClick(object sender, DataGridViewCellEventArgs e)
        {
            if (e.RowIndex != -1)
            {
                CvAdder CvAdder = new CvAdder(new CV_Info(Convert.ToInt32(dataGridViewX1.Rows[e.RowIndex].Cells[0].Value)));

                this.Opacity          = 0.3;
                CvAdder.labelX4.Text  = "";
                CvAdder.buttonX1.Text = "تعديل";
                CvAdder.Text          = "تعديل";
                CvAdder.ShowDialog();
                this.Opacity = 1;
            }
        }