mirror of
https://github.com/RawAccelOfficial/rawaccel.git
synced 2025-05-13 21:05:07 +02:00
check app versions against lib, lib against driver add an 'about' dialog which displays version details, accessible from menu refactor error handling + add check for negative offset
138 lines
7.1 KiB
C#
138 lines
7.1 KiB
C#
|
|
namespace grapher
|
|
{
|
|
partial class AboutBox
|
|
{
|
|
/// <summary>
|
|
/// Required designer variable.
|
|
/// </summary>
|
|
private System.ComponentModel.IContainer components = null;
|
|
|
|
/// <summary>
|
|
/// Clean up any resources being used.
|
|
/// </summary>
|
|
protected override void Dispose(bool disposing)
|
|
{
|
|
if (disposing && (components != null))
|
|
{
|
|
components.Dispose();
|
|
}
|
|
base.Dispose(disposing);
|
|
}
|
|
|
|
#region Windows Form Designer generated code
|
|
|
|
/// <summary>
|
|
/// Required method for Designer support - do not modify
|
|
/// the contents of this method with the code editor.
|
|
/// </summary>
|
|
private void InitializeComponent()
|
|
{
|
|
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(AboutBox));
|
|
this.tableLayoutPanel = new System.Windows.Forms.TableLayoutPanel();
|
|
this.logoPictureBox = new System.Windows.Forms.PictureBox();
|
|
this.labelVersion = new System.Windows.Forms.Label();
|
|
this.okButton = new System.Windows.Forms.Button();
|
|
this.labelDriverVersion = new System.Windows.Forms.Label();
|
|
this.tableLayoutPanel.SuspendLayout();
|
|
((System.ComponentModel.ISupportInitialize)(this.logoPictureBox)).BeginInit();
|
|
this.SuspendLayout();
|
|
//
|
|
// tableLayoutPanel
|
|
//
|
|
this.tableLayoutPanel.ColumnCount = 2;
|
|
this.tableLayoutPanel.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 50F));
|
|
this.tableLayoutPanel.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 50F));
|
|
this.tableLayoutPanel.Controls.Add(this.logoPictureBox, 0, 0);
|
|
this.tableLayoutPanel.Controls.Add(this.labelVersion, 1, 1);
|
|
this.tableLayoutPanel.Controls.Add(this.okButton, 1, 4);
|
|
this.tableLayoutPanel.Controls.Add(this.labelDriverVersion, 1, 2);
|
|
this.tableLayoutPanel.Dock = System.Windows.Forms.DockStyle.Fill;
|
|
this.tableLayoutPanel.Location = new System.Drawing.Point(9, 9);
|
|
this.tableLayoutPanel.Name = "tableLayoutPanel";
|
|
this.tableLayoutPanel.RowCount = 5;
|
|
this.tableLayoutPanel.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 20F));
|
|
this.tableLayoutPanel.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 20F));
|
|
this.tableLayoutPanel.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 20F));
|
|
this.tableLayoutPanel.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 20F));
|
|
this.tableLayoutPanel.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 20F));
|
|
this.tableLayoutPanel.Size = new System.Drawing.Size(280, 133);
|
|
this.tableLayoutPanel.TabIndex = 0;
|
|
//
|
|
// logoPictureBox
|
|
//
|
|
this.logoPictureBox.Dock = System.Windows.Forms.DockStyle.Fill;
|
|
this.logoPictureBox.Image = ((System.Drawing.Image)(resources.GetObject("logoPictureBox.Image")));
|
|
this.logoPictureBox.Location = new System.Drawing.Point(3, 3);
|
|
this.logoPictureBox.Name = "logoPictureBox";
|
|
this.tableLayoutPanel.SetRowSpan(this.logoPictureBox, 5);
|
|
this.logoPictureBox.Size = new System.Drawing.Size(134, 127);
|
|
this.logoPictureBox.SizeMode = System.Windows.Forms.PictureBoxSizeMode.Zoom;
|
|
this.logoPictureBox.TabIndex = 12;
|
|
this.logoPictureBox.TabStop = false;
|
|
//
|
|
// labelVersion
|
|
//
|
|
this.labelVersion.Dock = System.Windows.Forms.DockStyle.Fill;
|
|
this.labelVersion.Location = new System.Drawing.Point(146, 26);
|
|
this.labelVersion.Margin = new System.Windows.Forms.Padding(6, 0, 3, 0);
|
|
this.labelVersion.MaximumSize = new System.Drawing.Size(0, 17);
|
|
this.labelVersion.Name = "labelVersion";
|
|
this.labelVersion.Size = new System.Drawing.Size(131, 17);
|
|
this.labelVersion.TabIndex = 0;
|
|
this.labelVersion.Text = "GUI Version";
|
|
this.labelVersion.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
|
|
//
|
|
// okButton
|
|
//
|
|
this.okButton.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
|
|
this.okButton.DialogResult = System.Windows.Forms.DialogResult.Cancel;
|
|
this.okButton.Location = new System.Drawing.Point(202, 107);
|
|
this.okButton.Name = "okButton";
|
|
this.okButton.Size = new System.Drawing.Size(75, 23);
|
|
this.okButton.TabIndex = 24;
|
|
this.okButton.Text = "&OK";
|
|
//
|
|
// labelDriverVersion
|
|
//
|
|
this.labelDriverVersion.Dock = System.Windows.Forms.DockStyle.Fill;
|
|
this.labelDriverVersion.Location = new System.Drawing.Point(146, 52);
|
|
this.labelDriverVersion.Margin = new System.Windows.Forms.Padding(6, 0, 3, 0);
|
|
this.labelDriverVersion.MaximumSize = new System.Drawing.Size(0, 17);
|
|
this.labelDriverVersion.Name = "labelDriverVersion";
|
|
this.labelDriverVersion.Size = new System.Drawing.Size(131, 17);
|
|
this.labelDriverVersion.TabIndex = 25;
|
|
this.labelDriverVersion.Text = "Driver Version";
|
|
this.labelDriverVersion.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
|
|
//
|
|
// AboutBox
|
|
//
|
|
this.AcceptButton = this.okButton;
|
|
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
|
|
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
|
|
this.ClientSize = new System.Drawing.Size(298, 151);
|
|
this.Controls.Add(this.tableLayoutPanel);
|
|
this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedDialog;
|
|
this.MaximizeBox = false;
|
|
this.MinimizeBox = false;
|
|
this.Name = "AboutBox";
|
|
this.Padding = new System.Windows.Forms.Padding(9);
|
|
this.ShowIcon = false;
|
|
this.ShowInTaskbar = false;
|
|
this.StartPosition = System.Windows.Forms.FormStartPosition.CenterParent;
|
|
this.Text = "AboutBox";
|
|
this.tableLayoutPanel.ResumeLayout(false);
|
|
((System.ComponentModel.ISupportInitialize)(this.logoPictureBox)).EndInit();
|
|
this.ResumeLayout(false);
|
|
|
|
}
|
|
|
|
#endregion
|
|
|
|
private System.Windows.Forms.TableLayoutPanel tableLayoutPanel;
|
|
private System.Windows.Forms.PictureBox logoPictureBox;
|
|
private System.Windows.Forms.Label labelVersion;
|
|
private System.Windows.Forms.Button okButton;
|
|
private System.Windows.Forms.Label labelDriverVersion;
|
|
}
|
|
}
|