- code optimization...
93a4dfaf
Dimitar Tsenev
committed
4 changed files
ShellTreeViewEx.cs
/Shell/ShellTreeViewEx.cs
/Shell/ShellTreeViewEx.cs
ShellTreeViewEx.Designer.cs
/Shell/ShellTreeViewEx.Designer.cs-6+7
/Shell/ShellTreeViewEx.Designer.cs
Add comment 13 /// <param name="disposing">true if managed resources should be disposed; otherwise, false.</param>
Add comment 14 protected override void Dispose(bool disposing)
Add comment 15 {
Add comment 16 Minus   if (disposing)
Add comment 17 Minus   {
Add comment 18 Minus   if (components != null)
Add comment 19 Minus   {
Add comment 16 Plus   if (disposing) {
Add comment 17 Plus   if (components != null) {
Add comment 20 18 components.Dispose();
Add comment 21 19 }
Add comment 22 Minus   if (_ShellListView != null)
Add comment 23 Minus   {
Add comment 20 Plus   if (_ShellListView != null) {
Add comment 24 21 _ShellListView.Dispose();
Add comment 25 22 _ShellListView = null;
Add comment 26 23 }
Add comment 24 Plus   if (_ResetEvent != null) {
Add comment 25 Plus   _ResetEvent.Dispose();
Add comment 26 Plus   _ResetEvent = null;
Add comment 27 Plus   }
Add comment 27 28 }
Add comment 28 29 base.Dispose(disposing);
Add comment 29 30 }
ShellViewEx.cs
/Shell/ShellViewEx.cs
/Shell/ShellViewEx.cs
TreeViewBase.cs
/Shell/TreeViewBase.cs
/Shell/TreeViewBase.cs