Exemplo n.º 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);
        }
Exemplo n.º 2
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 );
        }