protected void MDIChildGenerate_Click(object sender, System.EventArgs e)
        {
            List <SinglePosterForm> ChildFormList = new List <SinglePosterForm>();
            SinglePosterForm        newMDIChild;
            Projects prjs = new Projects();

            prjs.LoadAll();
            int rownum    = prjs.RowCount;
            int itemindex = 0;

            for (int i = 1; i <= rownum; i++)
            {
                prjs.Filter = Projects.ColumnNames.Id + " = " + i.ToString();
                if (!prjs.EOF)
                {
                    newMDIChild = new SinglePosterForm(prjs.ProjectName, prjs.TopicsTable, prjs.AnswerTemplate);
                    ChildFormList.Add(newMDIChild);
                    itemindex = ChildFormList.Count - 1;
                    // Set the Parent Form of the Child window.
                    ChildFormList[itemindex].MdiParent = this;
                    // Display the new form.
                    ChildFormList[itemindex].Show();
                }
                prjs.Filter = null;
            }

            this.LayoutMdi(System.Windows.Forms.MdiLayout.TileVertical);
        }
        protected void MDIChildNew_Click(object sender, System.EventArgs e)
        {
            SinglePosterForm newMDIChild = new SinglePosterForm();

            // Set the Parent Form of the Child window.
            newMDIChild.MdiParent = this;
            // Display the new form.
            newMDIChild.Show();
        }
        protected void MDIChildGenerate_Click(object sender, System.EventArgs e)
        {
            List<SinglePosterForm> ChildFormList = new List<SinglePosterForm>();
            SinglePosterForm newMDIChild;
            Projects prjs = new Projects();
            prjs.LoadAll();
            int rownum = prjs.RowCount;
            int itemindex = 0;
            for (int i = 1; i <= rownum; i++)
            {
                prjs.Filter = Projects.ColumnNames.Id + " = " + i.ToString();
                if (!prjs.EOF)
                {
                    newMDIChild = new SinglePosterForm(prjs.ProjectName, prjs.TopicsTable, prjs.AnswerTemplate);
                    ChildFormList.Add(newMDIChild);
                    itemindex = ChildFormList.Count - 1;
                    // Set the Parent Form of the Child window.
                    ChildFormList[itemindex].MdiParent = this;
                    // Display the new form.
                    ChildFormList[itemindex].Show();
                }
                prjs.Filter = null;
            }

            this.LayoutMdi(System.Windows.Forms.MdiLayout.TileVertical);
        }
 protected void MDIChildNew_Click(object sender, System.EventArgs e)
 {
     SinglePosterForm newMDIChild = new SinglePosterForm();
     // Set the Parent Form of the Child window.
     newMDIChild.MdiParent = this;
     // Display the new form.
     newMDIChild.Show();
 }