Inheritance: System.Windows.Forms.UserControl
Ejemplo n.º 1
0
        private KryptonPage NewFlags()
        {
            // Create new page with title and image
            KryptonPage p = new KryptonPage();
            p.Text = "Flags " + _count.ToString();
            p.TextTitle = p.Text;
            p.TextDescription = p.Text;
            p.UniqueName = p.Text;
            p.ImageSmall = imageListSmall.Images[1];

            // Add the control for display inside the page
            ContentFlags contentFlags = new ContentFlags(p);
            contentFlags.Dock = DockStyle.Fill;
            p.Controls.Add(contentFlags);

            _count++;
            return p;
        }
Ejemplo n.º 2
0
        private KryptonPage NewFlags()
        {
            // Create new page with title and image
            KryptonPage p = new KryptonPage();

            p.Text            = "Flags " + _count.ToString();
            p.TextTitle       = p.Text;
            p.TextDescription = p.Text;
            p.UniqueName      = p.Text;
            p.ImageSmall      = imageListSmall.Images[1];

            // Add the control for display inside the page
            ContentFlags contentFlags = new ContentFlags(p);

            contentFlags.Dock = DockStyle.Fill;
            p.Controls.Add(contentFlags);

            _count++;
            return(p);
        }