Esempio n. 1
0
 private void dgwPrimPac_CellClick(object sender, DataGridViewCellEventArgs e)
 {
     if (e.ColumnIndex == 4)
     {
         DataGridViewRow selectedRow = dgwPrimPac.Rows[e.RowIndex];
         string[]        lekar       = selectedRow.Cells[0].Value.ToString().Split(' ');
         string          id_lekara   = lekar[2];
         Sugestije       sug         = new Sugestije(id_lekara, cbMes.SelectedItem.ToString());
         sug.ShowDialog();
     }
 }
Esempio n. 2
0
        private void button3_Click_1(object sender, EventArgs e)
        {
            Sugestije sug = new Sugestije(textBox4.Text);

            sug.ShowDialog();
        }