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.
3 This Source Code Form is subject to the terms of the Mozilla Public
4 License, v. 2.0. If a copy of the MPL was not distributed with this
5 file, You can obtain one at http://mozilla.org/MPL/2.0/.
7 Copyright (C) 2009-2012 Michael Möller <mmoeller@openhardwaremonitor.org>
11 namespace OpenHardwareMonitor.GUI {
12 partial class AboutBox {
14 /// Required designer variable.
16 private System.ComponentModel.IContainer components = null;
19 /// Clean up any resources being used.
21 /// <param name="disposing">true if managed resources should be disposed; otherwise, false.</param>
22 protected override void Dispose(bool disposing) {
23 if (disposing && (components != null)) {
26 base.Dispose(disposing);
29 #region Windows Form Designer generated code
32 /// Required method for Designer support - do not modify
33 /// the contents of this method with the code editor.
35 private void InitializeComponent() {
36 System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(AboutBox));
37 this.okButton = new System.Windows.Forms.Button();
38 this.pictureBox1 = new System.Windows.Forms.PictureBox();
39 this.label1 = new System.Windows.Forms.Label();
40 this.label2 = new System.Windows.Forms.Label();
41 this.label3 = new System.Windows.Forms.Label();
42 this.projectLinkLabel = new System.Windows.Forms.LinkLabel();
43 this.flowLayoutPanel1 = new System.Windows.Forms.FlowLayoutPanel();
44 this.licenseLinkLabel = new System.Windows.Forms.LinkLabel();
45 ((System.ComponentModel.ISupportInitialize)(this.pictureBox1)).BeginInit();
50 this.okButton.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
51 this.okButton.DialogResult = System.Windows.Forms.DialogResult.Cancel;
52 this.okButton.Location = new System.Drawing.Point(269, 79);
53 this.okButton.Name = "okButton";
54 this.okButton.Size = new System.Drawing.Size(75, 23);
55 this.okButton.TabIndex = 0;
56 this.okButton.Text = "OK";
57 this.okButton.UseVisualStyleBackColor = true;
61 this.pictureBox1.Image = ((System.Drawing.Image)(resources.GetObject("pictureBox1.Image")));
62 this.pictureBox1.Location = new System.Drawing.Point(10, 11);
63 this.pictureBox1.Name = "pictureBox1";
64 this.pictureBox1.Size = new System.Drawing.Size(48, 48);
65 this.pictureBox1.SizeMode = System.Windows.Forms.PictureBoxSizeMode.CenterImage;
66 this.pictureBox1.TabIndex = 1;
67 this.pictureBox1.TabStop = false;
71 this.label1.AutoSize = true;
72 this.label1.Location = new System.Drawing.Point(74, 12);
73 this.label1.Margin = new System.Windows.Forms.Padding(10, 0, 10, 0);
74 this.label1.Name = "label1";
75 this.label1.Size = new System.Drawing.Size(120, 13);
76 this.label1.TabIndex = 2;
77 this.label1.Text = "Open Hardware Monitor";
81 this.label2.AutoSize = true;
82 this.label2.Location = new System.Drawing.Point(74, 46);
83 this.label2.Margin = new System.Windows.Forms.Padding(10, 0, 10, 0);
84 this.label2.Name = "label2";
85 this.label2.Size = new System.Drawing.Size(273, 13);
86 this.label2.TabIndex = 3;
87 this.label2.Text = "Copyright © 2009-2012 Michael Möller and contributers. ";
91 this.label3.AutoSize = true;
92 this.label3.Location = new System.Drawing.Point(74, 29);
93 this.label3.Margin = new System.Windows.Forms.Padding(10, 0, 10, 0);
94 this.label3.Name = "label3";
95 this.label3.Size = new System.Drawing.Size(127, 13);
96 this.label3.TabIndex = 4;
97 this.label3.Text = "Version 9.0.30729.1 Beta";
101 this.projectLinkLabel.AutoSize = true;
102 this.projectLinkLabel.Location = new System.Drawing.Point(164, 80);
103 this.projectLinkLabel.Margin = new System.Windows.Forms.Padding(0, 0, 0, 0);
104 this.projectLinkLabel.Name = "projectLinkLabel";
105 this.projectLinkLabel.Size = new System.Drawing.Size(82, 13);
106 this.projectLinkLabel.TabIndex = 6;
107 this.projectLinkLabel.TabStop = true;
108 this.projectLinkLabel.Text = "Project Website";
109 this.projectLinkLabel.LinkClicked += new System.Windows.Forms.LinkLabelLinkClickedEventHandler(this.linkLabel_LinkClicked);
113 this.flowLayoutPanel1.AutoSize = true;
114 this.flowLayoutPanel1.AutoSizeMode = System.Windows.Forms.AutoSizeMode.GrowAndShrink;
115 this.flowLayoutPanel1.Location = new System.Drawing.Point(10, 100);
116 this.flowLayoutPanel1.Margin = new System.Windows.Forms.Padding(10, 0, 10, 0);
117 this.flowLayoutPanel1.Name = "flowLayoutPanel1";
118 this.flowLayoutPanel1.Size = new System.Drawing.Size(0, 0);
119 this.flowLayoutPanel1.TabIndex = 8;
123 this.licenseLinkLabel.AutoSize = true;
124 this.licenseLinkLabel.Location = new System.Drawing.Point(25, 80);
125 this.licenseLinkLabel.Margin = new System.Windows.Forms.Padding(0, 0, 0, 0);
126 this.licenseLinkLabel.Name = "licenseLinkLabel";
127 this.licenseLinkLabel.Size = new System.Drawing.Size(107, 13);
128 this.licenseLinkLabel.TabIndex = 9;
129 this.licenseLinkLabel.TabStop = true;
130 this.licenseLinkLabel.Text = "Licensing Information";
131 this.licenseLinkLabel.LinkClicked += new System.Windows.Forms.LinkLabelLinkClickedEventHandler(this.linkLabel_LinkClicked);
135 this.AcceptButton = this.okButton;
136 this.AutoScaleDimensions = new System.Drawing.SizeF(96F, 96F);
137 this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Dpi;
138 this.AutoSize = true;
139 this.ClientSize = new System.Drawing.Size(359, 115);
140 this.Controls.Add(this.licenseLinkLabel);
141 this.Controls.Add(this.flowLayoutPanel1);
142 this.Controls.Add(this.projectLinkLabel);
143 this.Controls.Add(this.label3);
144 this.Controls.Add(this.label2);
145 this.Controls.Add(this.label1);
146 this.Controls.Add(this.pictureBox1);
147 this.Controls.Add(this.okButton);
148 this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedDialog;
149 this.MaximizeBox = false;
150 this.MinimizeBox = false;
151 this.Name = "AboutBox";
152 this.ShowInTaskbar = false;
153 this.StartPosition = System.Windows.Forms.FormStartPosition.CenterParent;
155 ((System.ComponentModel.ISupportInitialize)(this.pictureBox1)).EndInit();
156 this.ResumeLayout(false);
157 this.PerformLayout();
163 private System.Windows.Forms.Button okButton;
164 private System.Windows.Forms.PictureBox pictureBox1;
165 private System.Windows.Forms.Label label1;
166 private System.Windows.Forms.Label label2;
167 private System.Windows.Forms.Label label3;
168 private System.Windows.Forms.LinkLabel projectLinkLabel;
169 private System.Windows.Forms.FlowLayoutPanel flowLayoutPanel1;
170 private System.Windows.Forms.LinkLabel licenseLinkLabel;