예제 #1
0
        private void f(object sender, DataGridViewCellEventArgs e)
        {
            try
            {
                //String s = dataGridView1.Rows[e.RowIndex].Cells[0].Value.ToString();
                String s2 = dataGridView1.Rows[e.RowIndex].Cells[1].Value.ToString();
                String s3 = dataGridView1.Rows[e.RowIndex].Cells[2].Value.ToString();
                String s4 = dataGridView1.Rows[e.RowIndex].Cells[3].Value.ToString();
                String s5 = dataGridView1.Rows[e.RowIndex].Cells[4].Value.ToString();

                String s6 = dataGridView1.Rows[e.RowIndex].Cells[5].Value.ToString();

                String s7 = dataGridView1.Rows[e.RowIndex].Cells[6].Value.ToString();

                String s8 = dataGridView1.Rows[e.RowIndex].Cells[7].Value.ToString();

                String s9 = dataGridView1.Rows[e.RowIndex].Cells[8].Value.ToString();

                اذونات_خروج_موظف ff = new اذونات_خروج_موظف(s2, s3, s4, s5, s6, s7, s8, s9);
                ff.Show();
                this.Close();
            }
            catch (Exception ex)
            {
                MessageBox.Show(ex.Message);
            }
        }
예제 #2
0
        private void اذوناتخروجموظفToolStripMenuItem1_Click(object sender, EventArgs e)
        {
            اذونات_خروج_موظف f = new اذونات_خروج_موظف();

            f.Show();
        }