Changeset 2892
- Timestamp:
- 03/01/10 10:55:11 (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/sources/HeuristicLab.Core.Views/3.3/ItemCollectionView.cs
r2875 r2892 43 43 InitializeComponent(); 44 44 Caption = "Item Collection"; 45 this.Resize += new EventHandler(ItemCollectionView_Resize); 46 this.splitContainer.Resize += new EventHandler(splitContainer_Resize); 47 this.splitContainer.Panel1.Resize += new EventHandler(Panel1_Resize); 48 this.splitContainer.Panel2.Resize += new EventHandler(Panel2_Resize); 49 50 this.detailsGroupBox.Resize += new EventHandler(detailsGroupBox_Resize); 51 this.itemsGroupBox.Resize += new EventHandler(itemsGroupBox_Resize); 52 this.itemsListView.Resize += new EventHandler(itemsListView_Resize); 53 } 54 55 void Panel1_Resize(object sender, EventArgs e) { 56 // MessageBox.Show("split.panel1 resized"); 57 } 58 59 void Panel2_Resize(object sender, EventArgs e) { 60 // MessageBox.Show("split.panel2 resized"); 61 } 62 63 void itemsListView_Resize(object sender, EventArgs e) { 64 //MessageBox.Show("itemslistview resized"); 65 } 66 67 void itemsGroupBox_Resize(object sender, EventArgs e) { 68 // MessageBox.Show("items groupbox resized"); 69 } 70 71 void detailsGroupBox_Resize(object sender, EventArgs e) { 72 // MessageBox.Show("details groupbox resized"); 73 } 74 75 void splitContainer_Resize(object sender, EventArgs e) { 76 //MessageBox.Show("split container resized"); 77 78 } 79 80 void ItemCollectionView_Resize(object sender, EventArgs e) { 81 // MessageBox.Show("control resized"); 82 this.splitContainer.SplitterDistance = this.splitContainer.SplitterDistance + 1; 83 } 45 } 46 84 47 public ItemCollectionView(IObservableCollection<T> content) 85 48 : this() {
Note: See TracChangeset
for help on using the changeset viewer.