protected void InitializeControl() { this.SuspendLayout(); this.BackColor = Color.White; ControlContainer = new SplitContainer(); ControlContainer.Dock = DockStyle.Fill; CollectionBrowser = new RsCollectionBrowser(RsViewEngine.CollectionManager); CollectionBrowser.Dock = DockStyle.Fill; CollectionBrowser.Size = new System.Drawing.Size( 512, CollectionBrowser.Height ); ListContext = new RsCollectionManagement.RsCollectionMgmtContext(this); ItemList = new ListView(); ItemList.Dock = DockStyle.Fill; ItemList.View = View.LargeIcon; ItemList.ContextMenu = ListContext; this.Controls.Add(ControlContainer); ControlContainer.Panel1.Controls.Add(CollectionBrowser); ControlContainer.Panel2.Controls.Add(ItemList); this.ResumeLayout(); AssignEventHandlers(); }
protected void InitializeControl() { this.SuspendLayout(); this.BackColor = Color.White; ControlContainer = new SplitContainer(); ControlContainer.Dock = DockStyle.Fill; CollectionBrowser = new RsCollectionBrowser(RsViewEngine.CollectionManager); CollectionBrowser.Dock = DockStyle.Fill; CollectionBrowser.Size = new System.Drawing.Size( 512, CollectionBrowser.Height ); ListContext = new RsCollectionManagement.RsCollectionMgmtContext(this); ItemList = new ListView(); ItemList.Dock = DockStyle.Fill; ItemList.View = View.LargeIcon; ItemList.ContextMenu = ListContext; this.Controls.Add(ControlContainer); ControlContainer.Panel1.Controls.Add(CollectionBrowser); ControlContainer.Panel2.Controls.Add(ItemList); this.ResumeLayout(); AssignEventHandlers(); }