Beispiel #1
0
        private void btnNoviMaterijal_Click(object sender, EventArgs e)
        {
            var panel = GetPanel();

            RevertColors();
            ButtonHelper.SetClickedBackground(btnNoviMaterijal, Color.GhostWhite);
            PanelHelper.SwapPanel(panel, new frmAddMaterial());
        }
Beispiel #2
0
        private void btnPotroseniMaterijal_Click(object sender, EventArgs e)
        {
            var panel = GetPanel();

            RevertColors();
            ButtonHelper.SetClickedBackground(btnPotroseniMaterijal, Color.GhostWhite);
            PanelHelper.SwapPanel(panel, new frmMaterialShow(MaterialTypes.All, false));
        }
        private void btnPregledZahtjeva_Click(object sender, EventArgs e)
        {
            RevertButtonColors();
            ButtonHelper.SetClickedBackground(btnPregledZahtjeva, Color.GhostWhite);

            var panel = GetPanel();

            PanelHelper.SwapPanel(panel, new frmRequestsDetail());
        }
        private void btnNoviZahtjev_Click(object sender, EventArgs e)
        {
            RevertButtonColors();
            ButtonHelper.SetClickedBackground(btnNoviZahtjev, Color.GhostWhite);

            var panel = GetPanel();

            PanelHelper.SwapPanel(panel, new frmAddRequest());
        }
        private void btnNoviUposlenik_Click(object sender, EventArgs e)
        {
            RevertButtonColors();
            ButtonHelper.SetClickedBackground(btnNoviUposlenik, Color.GhostWhite);

            var panel = GetPanel();

            PanelHelper.SwapPanel(panel, new frmEmployeeAdd());
        }