Removed the EmbeddedControlCollection (it's not being used anymore at all); fixed flickering of the ContainerListView control
git-svn-id: file:///srv/devel/repo-conversion/nuwi@29 d2e56fa2-650e-0410-a79f-9358c0239efd
This commit is contained in:
parent
9a5252f461
commit
8d092bd9e8
3 changed files with 5 additions and 135 deletions
|
@ -61,7 +61,6 @@ namespace Nuclex.Windows.Forms {
|
|||
this.embeddedControlClickedDelegate = new EventHandler(embeddedControlClicked);
|
||||
|
||||
this.embeddedControls = new ObservableCollection<ListViewEmbeddedControl>();
|
||||
|
||||
this.embeddedControls.ItemAdded +=
|
||||
new EventHandler<ItemEventArgs<ListViewEmbeddedControl>>(embeddedControlAdded);
|
||||
this.embeddedControls.ItemRemoved +=
|
||||
|
@ -69,6 +68,10 @@ namespace Nuclex.Windows.Forms {
|
|||
this.embeddedControls.Clearing += new EventHandler(embeddedControlsClearing);
|
||||
|
||||
InitializeComponent();
|
||||
|
||||
// Eliminate flickering
|
||||
SetStyle(ControlStyles.OptimizedDoubleBuffer, true);
|
||||
SetStyle(ControlStyles.AllPaintingInWmPaint, true);
|
||||
|
||||
base.View = View.Details;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue