コード例 #1
0
        //Pregled  poruka
        private void btnPoruke_Click(object sender, EventArgs e)
        {
            btnPoruke.BackColor = Color.FromArgb(11, 40, 42);
            frmPoruke frm = new frmPoruke(KorisnikId);

            frm.FormBorderStyle = System.Windows.Forms.FormBorderStyle.None;
            frm.TopLevel        = false;
            pnlMjesto.Controls.Clear();

            pnlMjesto.Controls.Add(frm);
            frm.Dock = DockStyle.Fill;
            frm.Show();
        }
コード例 #2
0
        //Pregled ličnih poruka
        private void btnPoruke_Click(object sender, EventArgs e)
        {
            pnlStats.Top    = btnPoruke.Top;
            pnlStats.Height = btnPoruke.Height;
            frmPoruke frm = new frmPoruke(KorisnikId);

            frm.FormBorderStyle = System.Windows.Forms.FormBorderStyle.None;
            frm.TopLevel        = false;
            pnlMjesto.Controls.Clear();

            pnlMjesto.Controls.Add(frm);
            frm.Dock = DockStyle.Fill;
            frm.Show();
        }