private void menuItem2_Click(object sender, EventArgs e) { VIEW_COUNTER++; SummaryForm summaryForm = new SummaryForm(); summaryForm.MdiParent = this; summaryForm.Location = new Point(NEW_VIEW_START_X_POS, NEW_VIEW_START_Y_POS); summaryForm.Text = "Summary View " + VIEW_COUNTER; NEW_VIEW_START_X_POS += 20; NEW_VIEW_START_Y_POS += 20; summaryForm.Show(); }
public AppForm() { // // Required for Windows Form Designer support // InitializeComponent(); PersonDataModel pdm = new PersonDataModel(); SummaryForm summaryForm = new SummaryForm(); summaryForm.Show(this); summaryForm.Location = new Point(800, 350); }