mirror of
https://github.com/finos/SymphonyElectron.git
synced 2024-12-27 01:11:13 -06:00
235 lines
12 KiB
C#
235 lines
12 KiB
C#
// This file is created and modified from the visual form designer in Visual Studio, so shouldn't need to be modified by hand
|
|
namespace Symphony
|
|
{
|
|
partial class WelcomeDialog
|
|
{
|
|
/// <summary>
|
|
/// Required designer variable.
|
|
/// </summary>
|
|
private System.ComponentModel.IContainer components = null;
|
|
|
|
/// <summary>
|
|
/// Clean up any resources being used.
|
|
/// </summary>
|
|
/// <param name="disposing">true if managed resources should be disposed; otherwise, false.</param>
|
|
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()
|
|
{
|
|
this.bottomPanel = new System.Windows.Forms.Panel();
|
|
this.tableLayoutbackgroundPanel = new System.Windows.Forms.TableLayoutPanel();
|
|
this.next = new System.Windows.Forms.Button();
|
|
this.cancel = new System.Windows.Forms.Button();
|
|
this.backgroundPanel = new System.Windows.Forms.Panel();
|
|
this.panelInstallType = new System.Windows.Forms.Panel();
|
|
this.radioButtonAllUsers = new System.Windows.Forms.RadioButton();
|
|
this.radioButtonCurrentUser = new System.Windows.Forms.RadioButton();
|
|
this.labelInstallType = new System.Windows.Forms.Label();
|
|
this.labelBody = new System.Windows.Forms.Label();
|
|
this.labelHeader = new System.Windows.Forms.Label();
|
|
this.bottomPanel.SuspendLayout();
|
|
this.tableLayoutbackgroundPanel.SuspendLayout();
|
|
this.backgroundPanel.SuspendLayout();
|
|
this.panelInstallType.SuspendLayout();
|
|
this.SuspendLayout();
|
|
//
|
|
// bottomPanel
|
|
//
|
|
this.bottomPanel.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)
|
|
| System.Windows.Forms.AnchorStyles.Right)));
|
|
this.bottomPanel.BackColor = System.Drawing.SystemColors.Control;
|
|
this.bottomPanel.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
|
|
this.bottomPanel.Controls.Add(this.tableLayoutbackgroundPanel);
|
|
this.bottomPanel.Location = new System.Drawing.Point(-3, 308);
|
|
this.bottomPanel.Name = "bottomPanel";
|
|
this.bottomPanel.Size = new System.Drawing.Size(503, 57);
|
|
this.bottomPanel.TabIndex = 9;
|
|
//
|
|
// tableLayoutbackgroundPanel
|
|
//
|
|
this.tableLayoutbackgroundPanel.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Left | System.Windows.Forms.AnchorStyles.Right)));
|
|
this.tableLayoutbackgroundPanel.ColumnCount = 5;
|
|
this.tableLayoutbackgroundPanel.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 100F));
|
|
this.tableLayoutbackgroundPanel.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle());
|
|
this.tableLayoutbackgroundPanel.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle());
|
|
this.tableLayoutbackgroundPanel.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Absolute, 14F));
|
|
this.tableLayoutbackgroundPanel.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle());
|
|
this.tableLayoutbackgroundPanel.Controls.Add(this.next, 2, 0);
|
|
this.tableLayoutbackgroundPanel.Controls.Add(this.cancel, 4, 0);
|
|
this.tableLayoutbackgroundPanel.Location = new System.Drawing.Point(0, 3);
|
|
this.tableLayoutbackgroundPanel.Name = "tableLayoutbackgroundPanel";
|
|
this.tableLayoutbackgroundPanel.RowCount = 1;
|
|
this.tableLayoutbackgroundPanel.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 100F));
|
|
this.tableLayoutbackgroundPanel.Size = new System.Drawing.Size(491, 43);
|
|
this.tableLayoutbackgroundPanel.TabIndex = 7;
|
|
//
|
|
// next
|
|
//
|
|
this.next.Anchor = System.Windows.Forms.AnchorStyles.Right;
|
|
this.next.AutoSize = true;
|
|
this.next.Location = new System.Drawing.Point(305, 10);
|
|
this.next.MinimumSize = new System.Drawing.Size(75, 0);
|
|
this.next.Name = "next";
|
|
this.next.Size = new System.Drawing.Size(77, 23);
|
|
this.next.TabIndex = 0;
|
|
this.next.Text = "[WixUINext]";
|
|
this.next.UseVisualStyleBackColor = true;
|
|
this.next.Click += new System.EventHandler(this.next_Click);
|
|
//
|
|
// cancel
|
|
//
|
|
this.cancel.Anchor = System.Windows.Forms.AnchorStyles.Right;
|
|
this.cancel.AutoSize = true;
|
|
this.cancel.Location = new System.Drawing.Point(402, 10);
|
|
this.cancel.MinimumSize = new System.Drawing.Size(75, 0);
|
|
this.cancel.Name = "cancel";
|
|
this.cancel.Size = new System.Drawing.Size(86, 23);
|
|
this.cancel.TabIndex = 0;
|
|
this.cancel.Text = "[WixUICancel]";
|
|
this.cancel.UseVisualStyleBackColor = true;
|
|
this.cancel.Click += new System.EventHandler(this.cancel_Click);
|
|
//
|
|
// backgroundPanel
|
|
//
|
|
this.backgroundPanel.BackColor = System.Drawing.Color.White;
|
|
this.backgroundPanel.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Zoom;
|
|
this.backgroundPanel.Controls.Add(this.panelInstallType);
|
|
this.backgroundPanel.Controls.Add(this.labelInstallType);
|
|
this.backgroundPanel.Controls.Add(this.labelBody);
|
|
this.backgroundPanel.Controls.Add(this.labelHeader);
|
|
this.backgroundPanel.Location = new System.Drawing.Point(-3, -1);
|
|
this.backgroundPanel.Name = "backgroundPanel";
|
|
this.backgroundPanel.Size = new System.Drawing.Size(494, 270);
|
|
this.backgroundPanel.TabIndex = 10;
|
|
//
|
|
// panelInstallType
|
|
//
|
|
this.panelInstallType.BackColor = System.Drawing.SystemColors.ButtonFace;
|
|
this.panelInstallType.Controls.Add(this.radioButtonAllUsers);
|
|
this.panelInstallType.Controls.Add(this.radioButtonCurrentUser);
|
|
this.panelInstallType.Location = new System.Drawing.Point(192, 174);
|
|
this.panelInstallType.Name = "panelInstallType";
|
|
this.panelInstallType.Size = new System.Drawing.Size(241, 69);
|
|
this.panelInstallType.TabIndex = 4;
|
|
//
|
|
// radioButtonAllUsers
|
|
//
|
|
this.radioButtonAllUsers.AutoSize = true;
|
|
this.radioButtonAllUsers.Location = new System.Drawing.Point(26, 38);
|
|
this.radioButtonAllUsers.Name = "radioButtonAllUsers";
|
|
this.radioButtonAllUsers.Size = new System.Drawing.Size(159, 17);
|
|
this.radioButtonAllUsers.TabIndex = 3;
|
|
this.radioButtonAllUsers.Text = "For all users (admin required)";
|
|
this.radioButtonAllUsers.UseVisualStyleBackColor = true;
|
|
//
|
|
// radioButtonCurrentUser
|
|
//
|
|
this.radioButtonCurrentUser.AutoSize = true;
|
|
this.radioButtonCurrentUser.Checked = true;
|
|
this.radioButtonCurrentUser.Location = new System.Drawing.Point(26, 15);
|
|
this.radioButtonCurrentUser.Name = "radioButtonCurrentUser";
|
|
this.radioButtonCurrentUser.Size = new System.Drawing.Size(87, 17);
|
|
this.radioButtonCurrentUser.TabIndex = 2;
|
|
this.radioButtonCurrentUser.TabStop = true;
|
|
this.radioButtonCurrentUser.Text = "Only for me ()";
|
|
this.radioButtonCurrentUser.UseVisualStyleBackColor = true;
|
|
//
|
|
// labelInstallType
|
|
//
|
|
this.labelInstallType.AutoSize = true;
|
|
this.labelInstallType.Location = new System.Drawing.Point(188, 158);
|
|
this.labelInstallType.Name = "labelInstallType";
|
|
this.labelInstallType.Size = new System.Drawing.Size(133, 13);
|
|
this.labelInstallType.TabIndex = 3;
|
|
this.labelInstallType.Text = "Select the installation type:";
|
|
//
|
|
// labelBody
|
|
//
|
|
this.labelBody.AutoSize = true;
|
|
this.labelBody.Location = new System.Drawing.Point(188, 71);
|
|
this.labelBody.Name = "labelBody";
|
|
this.labelBody.Size = new System.Drawing.Size(232, 52);
|
|
this.labelBody.TabIndex = 1;
|
|
this.labelBody.Text = "Symphony allows you to:\r\n - Collaborate securely\r\n - Communicate via messages, vo" +
|
|
"ice, and video\r\n - Connect with colleagues and coworkers\r\n";
|
|
//
|
|
// labelHeader
|
|
//
|
|
this.labelHeader.AutoSize = true;
|
|
this.labelHeader.Font = new System.Drawing.Font("Verdana", 12.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
|
this.labelHeader.Location = new System.Drawing.Point(187, 20);
|
|
this.labelHeader.MaximumSize = new System.Drawing.Size(500, 0);
|
|
this.labelHeader.Name = "labelHeader";
|
|
this.labelHeader.Size = new System.Drawing.Size(246, 40);
|
|
this.labelHeader.TabIndex = 0;
|
|
this.labelHeader.Text = "Thanks for downloading \r\nSymphony";
|
|
//
|
|
// WelcomeDialog
|
|
//
|
|
this.BackColor = System.Drawing.Color.White;
|
|
this.ControlBox = false;
|
|
this.ClientSize = new System.Drawing.Size(494, 361);
|
|
this.Controls.Add(this.backgroundPanel);
|
|
this.Controls.Add(this.bottomPanel);
|
|
this.Name = "WelcomeDialog";
|
|
this.Text = "Symphony Setup";
|
|
this.Load += new System.EventHandler(this.dialog_Load);
|
|
this.bottomPanel.ResumeLayout(false);
|
|
this.tableLayoutbackgroundPanel.ResumeLayout(false);
|
|
this.tableLayoutbackgroundPanel.PerformLayout();
|
|
this.backgroundPanel.ResumeLayout(false);
|
|
this.backgroundPanel.PerformLayout();
|
|
this.panelInstallType.ResumeLayout(false);
|
|
this.panelInstallType.PerformLayout();
|
|
this.ResumeLayout(false);
|
|
|
|
ScaleForDPI( this.backgroundPanel );
|
|
foreach (System.Windows.Forms.Control control in this.backgroundPanel.Controls)
|
|
{
|
|
ScaleForDPI(control);
|
|
}
|
|
foreach (System.Windows.Forms.Control control in this.panelInstallType.Controls)
|
|
{
|
|
ScaleForDPI(control);
|
|
}
|
|
foreach (System.Windows.Forms.Control control in this.tableLayoutbackgroundPanel.Controls)
|
|
{
|
|
ScaleForDPI(control);
|
|
}
|
|
}
|
|
|
|
#endregion
|
|
|
|
void ScaleForDPI(System.Windows.Forms.Control control)
|
|
{
|
|
double factor = (System.Windows.Forms.Screen.PrimaryScreen.Bounds.Width / System.Windows.SystemParameters.PrimaryScreenWidth);
|
|
control.Location = new System.Drawing.Point((int)(control.Location.X * factor), (int)(control.Location.Y * factor));
|
|
control.Size = new System.Drawing.Size((int)(control.Size.Width * factor), (int)(control.Size.Height * factor));
|
|
}
|
|
|
|
private System.Windows.Forms.Panel bottomPanel;
|
|
private System.Windows.Forms.TableLayoutPanel tableLayoutbackgroundPanel;
|
|
private System.Windows.Forms.Button next;
|
|
private System.Windows.Forms.Button cancel;
|
|
private System.Windows.Forms.Panel backgroundPanel;
|
|
private System.Windows.Forms.Label labelHeader;
|
|
private System.Windows.Forms.Label labelBody;
|
|
private System.Windows.Forms.Label labelInstallType;
|
|
private System.Windows.Forms.Panel panelInstallType;
|
|
private System.Windows.Forms.RadioButton radioButtonAllUsers;
|
|
private System.Windows.Forms.RadioButton radioButtonCurrentUser;
|
|
}
|
|
} |