コード例 #1
0
        private void button1_Click(object sender, EventArgs e)
        {
            foreach (var button in panel1.Controls.OfType <Button>())
            {
                if (button != button1)
                {
                    button.BackColor = Color.FromArgb(24, 30, 54);
                    button.FlatAppearance.BorderSize = 0;
                }
            }

            UnosKlijentaFrm frm = new UnosKlijentaFrm();

            pnlGlavni.Controls.Clear();
            frm.Parent = pnlGlavni;
            frm.Dock   = DockStyle.Fill;

            button1.BackColor = Color.FromArgb(24, 60, 54);
            button1.FlatAppearance.BorderSize = 1;
        }
コード例 #2
0
 private void unosNovogKlijentaToolStripMenuItem_Click(object sender, EventArgs e)
 {
     UnosKlijentaFrm unosKlijenta = new UnosKlijentaFrm();
     //unosKlijenta.ShowDialog();
 }