Inheritance: System.Windows.Forms.Panel, IPanel
コード例 #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);
        }
コード例 #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 );
        }