Ejemplo n.º 1
0
        private void Form1_Load(object sender, EventArgs e)
        {
            Form child1 = new Form();

            child1.Size      = ChildSize;
            child1.Text      = "Standard Windows Form1 with no menu";
            child1.MdiParent = this;
            child1.Show();

            RadChildForm2 child4 = new RadChildForm2();

            child4.Size      = ChildSize;
            child4.Text      = "RadForm2 with no menu";
            child4.ThemeName = "Desert";
            child4.MdiParent = this;
            child4.Show();

            RadChildForm child2 = new RadChildForm();

            child2.Size      = ChildSize;
            child2.Text      = "RadForm3 with RadMenu";
            child2.ThemeName = "Desert";
            child2.MdiParent = this;
            child2.Show();
        }
Ejemplo n.º 2
0
        private void radMenuItem4_Click(object sender, EventArgs e)
        {
            RadChildForm2 child = new RadChildForm2();

            child.Size      = ChildSize;
            child.Text      = "RadForm" + i.ToString();
            child.ThemeName = "Desert";
            child.MdiParent = this;
            child.Show();
            i++;
        }