private void dgvSpisak_DoubleClick(object sender, EventArgs e)
        {
            int             idNaloga = int.Parse(dgvSpisak.CurrentRow.Cells["id"].Value.ToString());
            FormPackingList f1       = new FormPackingList(idNaloga);

            f1.ShowDialog();
        }
示例#2
0
        private void pakovanjeToolStripMenuItem1_Click(object sender, EventArgs e)
        {
            FormPackingList f1 = new FormPackingList();

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