Esempio n. 1
0
        private void PregledToolStripMenuItem_Click(object sender, EventArgs e)
        {
            frmClanarine frm = new frmClanarine();

            frm.MdiParent = this;
            frm.Show();
        }
Esempio n. 2
0
        private void PregledToolStripMenuItem_Click(object sender, EventArgs e)
        {
            frmClanarine frm = new frmClanarine();

            frm.MdiParent   = this;
            frm.WindowState = FormWindowState.Maximized;
            frm.Show();
        }
 private void dgvClanovi_CellContentClick(object sender, DataGridViewCellEventArgs e)
 {
     if (e.ColumnIndex == 6)
     {
         int           ClanID         = Int32.Parse(dgvClanovi.Rows[e.RowIndex].Cells["Id"].Value.ToString());
         frmDodajClana _frmDodajClana = new frmDodajClana(ClanID);
         _frmDodajClana.Show();
         this.Close();
     }
     else if (e.ColumnIndex == 7)
     {
         int          ClanID        = Int32.Parse(dgvClanovi.Rows[e.RowIndex].Cells["Id"].Value.ToString());
         frmClanarine _frmClanarine = new frmClanarine(ClanID);
         _frmClanarine.Show();
     }
 }