private void materialButton_issuestock_Click(object sender, EventArgs e) { var s_i = new IssueKitchen.Issuekitchenitems(); var t = new CustomControls.Modal(s_i); t.Show(); }
private void button_add_Click(object sender, EventArgs e) { var add = new Wastage.Add(); var t = new CustomControls.Modal(add); t.Show(); }
private void materialButton_setting_Click(object sender, EventArgs e) { var s = new Setting.Settings(); var t = new CustomControls.Modal(s); t.Show(); }
public static DialogResult ShowModal(this Form form) { var t = new Modal(form); return(t.ShowDialog()); }
public static DialogResult ShowModal(this Form f) { return(Modal.Show(f)); }