private void ShowZoneForm() { frmZones frm = new frmZones(); frm.FormBorderStyle = FormBorderStyle.FixedSingle; frm.MaximizeBox = false; frm.ControlBox = true; frm.ShowIcon = false; frm.ShowDialog(); }
private void ShowZoneForm(int id) { frmZones frm = new frmZones(); frm.OnDisplayRecord(id); frm.ControlBox = true; frm.FormBorderStyle = FormBorderStyle.Fixed3D; frm.MaximizeBox = false; frm.ShowDialog(); }