private void manageToolStripMenuItem_Click(object sender, EventArgs e) { ViewReceiversForm frm = new ViewReceiversForm(null,null,null); frm.Show(); }
private void button3_Click(object sender, EventArgs e) { ViewReceiversForm frm = new ViewReceiversForm((group,query)=>{ job.group = group; job.query = query; recieverstextBox.Text = "group=" + group + ";" + query; }, job.group, job.query); frm.ShowDialog(); }