Inheritance: System.Windows.Forms.Panel, IPanel
Example #1
0
        public ResourceContentControl(ResourceControl resourceControl)
        {
            imagePanel     = new ImagePanel(this);
            textPanel      = new TextPanel(this);
            colorPanel     = new ColorPanel(this);
            byteArrayPanel = new ByteArrayPanel(this);

            SuspendLayout( );

            activePanel = textPanel;

            Controls.Add(textPanel);

            ResumeLayout(false);

            change_Resource_Content = new ResourceControl.ChangeResourceContentDelegate(resourceControl.ChangeResourceContent);
        }
        public ResourceContentControl( ResourceControl resourceControl )
        {
            imagePanel = new ImagePanel( this );
            textPanel = new TextPanel( this );
            colorPanel = new ColorPanel( this );
            byteArrayPanel = new ByteArrayPanel( this );

            SuspendLayout( );

            activePanel = textPanel;

            Controls.Add( textPanel );

            ResumeLayout( false );

            change_Resource_Content = new ResourceControl.ChangeResourceContentDelegate( resourceControl.ChangeResourceContent );
        }