private void doProblembutton_Click(object sender, EventArgs e) { Submit sb = new Submit(); sb.MdiParent = parent; sb.Show(); }
private void label_Click(object sender, EventArgs e) { Label tmp = (Label)sender; Submit sub = new Submit(tmp.Text,parent); sub.MdiParent = parent; sub.Show(); }