private void button1_Click(object sender, EventArgs e) { frmRobaUsluge ru = new frmRobaUsluge(); if (this.MdiParent == null) { ru.WindowState = FormWindowState.Maximized; } ru.Show(); }
private void picRoba_Click(object sender, EventArgs e) { if (!Util.classZaposleniciDopustenja.provjeraZaposlenika(3)) { MessageBox.Show("Nemate potrebno ovlaštenje za pristup stavci"); return; } frmRobaUsluge f = new frmRobaUsluge(); f.MdiParent = MainForm; //f.Dock = DockStyle.Fill; f.MainFormMenu = MainForm; f.Show(); }
private void button1_Click(object sender, EventArgs e) { frmRobaUsluge ru = new frmRobaUsluge(); ru.Show(); }