Esempio n. 1
0
 private void dataGridView1_CellClick(object sender, DataGridViewCellEventArgs e)
 {
     if (dataGridView1.Columns[e.ColumnIndex].Name == "Column4")
     {
         CreateStaff st = new CreateStaff(this);
         st.OpenData(dataGridView1.CurrentRow.Cells[1].Value.ToString());
         st.ShowDialog();
     }
 }
Esempio n. 2
0
        private void button1_Click(object sender, EventArgs e)
        {
            CreateStaff st = new CreateStaff(this);

            st.ShowDialog();
        }