Example #1
0
        private void dgvNalozi_CellDoubleClick(object sender, DataGridViewCellEventArgs e)
        {
            int idNalog = int.Parse(dgvNalozi.CurrentRow.Cells["id"].Value.ToString());

            FormNoviNalog fn = new FormNoviNalog(idNalog);

            fn.ShowDialog();
            ucitajNaloge();
        }
Example #2
0
        private void drugiNaloziToolStripMenuItem_Click(object sender, EventArgs e)
        {
            FormNoviNalog f1 = new FormNoviNalog("aa");

            this.groupBox1.Controls.Clear();
            this.groupBox1.Controls.Add(f1.GetGroupBox());
            f1.GetGroupBox().Dock = DockStyle.Fill;
            f1.GetGroupBox().Show();
        }