Fixed Issue 387. The new implementation does not try to start a ring 0 driver that already exists, but could not be opened. It tries to delete the driver and install it new. The driver is now stored temporarily in the application folder. The driver is not correctly removed on system shutdown.
1 using System.Windows.Forms;
3 namespace Aga.Controls.Tree
5 partial class TreeViewAdv
7 private System.ComponentModel.IContainer components = null;
9 protected override void Dispose(bool disposing)
11 if (disposing && (components != null))
14 if (_dragBitmap != null) _dragBitmap.Dispose();
15 if (_dragTimer != null) _dragTimer.Dispose();
16 if (_linePen != null) _linePen.Dispose();
17 if (_markPen != null) _markPen.Dispose();
19 base.Dispose(disposing);
22 #region Component Designer generated code
23 private void InitializeComponent()
25 this.components = new System.ComponentModel.Container();
26 this._vScrollBar = new System.Windows.Forms.VScrollBar();
27 this._hScrollBar = new System.Windows.Forms.HScrollBar();
28 this._errorProvider = new System.Windows.Forms.ErrorProvider(this.components);
29 ((System.ComponentModel.ISupportInitialize)(this._errorProvider)).BeginInit();
34 this._vScrollBar.LargeChange = 1;
35 this._vScrollBar.Location = new System.Drawing.Point(0, 0);
36 this._vScrollBar.Maximum = 0;
37 this._vScrollBar.Name = "_vScrollBar";
38 this._vScrollBar.Size = new System.Drawing.Size(13, 80);
39 this._vScrollBar.TabIndex = 1;
40 this._vScrollBar.ValueChanged += new System.EventHandler(this._vScrollBar_ValueChanged);
41 this._vScrollBar.Scroll += new System.Windows.Forms.ScrollEventHandler(this._vScrollBar_Scroll);
45 this._hScrollBar.LargeChange = 1;
46 this._hScrollBar.Location = new System.Drawing.Point(0, 0);
47 this._hScrollBar.Maximum = 0;
48 this._hScrollBar.Name = "_hScrollBar";
49 this._hScrollBar.Size = new System.Drawing.Size(80, 13);
50 this._hScrollBar.TabIndex = 2;
51 this._hScrollBar.ValueChanged += new System.EventHandler(this._hScrollBar_ValueChanged);
52 this._hScrollBar.Scroll += new System.Windows.Forms.ScrollEventHandler(this._hScrollBar_Scroll);
56 this.BackColor = System.Drawing.SystemColors.Window;
57 this.Controls.Add(this._vScrollBar);
58 this.Controls.Add(this._hScrollBar);
59 ((System.ComponentModel.ISupportInitialize)(this._errorProvider)).EndInit();
60 this.ResumeLayout(false);
65 private VScrollBar _vScrollBar;
66 private HScrollBar _hScrollBar;
67 private ErrorProvider _errorProvider;