private void obavijestiListaToolStripMenuItem_Click(object sender, EventArgs e)
        {
            var frm = new frmObavijesti();

            frm.MdiParent   = this;
            frm.WindowState = FormWindowState.Maximized;

            frm.Show();
        }
示例#2
0
        private void BunifuFlatButton3_Click(object sender, EventArgs e)
        {
            frmObavijesti frm = new frmObavijesti();

            lblHeader.Text = "Obavijesti";
            frm.TopLevel   = false;
            pnlSubForm.Controls.Add(frm);
            frm.FormBorderStyle = System.Windows.Forms.FormBorderStyle.None;
            frm.Dock            = DockStyle.Fill;
            frm.Show();
        }