Beispiel #1
0
        private void ucitajNalogGP(string idGP)
        {
            FormSpisakNaloga f1 = new FormSpisakNaloga(idGP, "2");

            this.gbNalogGP.Controls.Clear();
            this.gbNalogGP.Controls.Add(f1.GetGroupBox());
            f1.GetGroupBox().Dock = DockStyle.Top;
            f1.GetGroupBox().Show();
        }
Beispiel #2
0
        private void spisakNalogaToolStripMenuItem_Click(object sender, EventArgs e)
        {
            FormSpisakNaloga f1 = new FormSpisakNaloga();

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