mirror of
https://github.com/Ylianst/MeshCentralRouter
synced 2025-12-06 00:13:33 +00:00
211 lines
10 KiB
C#
211 lines
10 KiB
C#
namespace MeshCentralRouter
|
|
{
|
|
partial class CustomAppsAddForm
|
|
{
|
|
/// <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()
|
|
{
|
|
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(CustomAppsAddForm));
|
|
this.okButton = new System.Windows.Forms.Button();
|
|
this.cancelButton = new System.Windows.Forms.Button();
|
|
this.label1 = new System.Windows.Forms.Label();
|
|
this.nameTextBox = new System.Windows.Forms.TextBox();
|
|
this.protocolTextBox = new System.Windows.Forms.TextBox();
|
|
this.label2 = new System.Windows.Forms.Label();
|
|
this.commandTextBox = new System.Windows.Forms.TextBox();
|
|
this.label3 = new System.Windows.Forms.Label();
|
|
this.groupBox1 = new System.Windows.Forms.GroupBox();
|
|
this.label4 = new System.Windows.Forms.Label();
|
|
this.selectFileButton = new System.Windows.Forms.Button();
|
|
this.openFileDialog = new System.Windows.Forms.OpenFileDialog();
|
|
this.groupBox1.SuspendLayout();
|
|
this.SuspendLayout();
|
|
//
|
|
// okButton
|
|
//
|
|
this.okButton.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
|
|
this.okButton.ImeMode = System.Windows.Forms.ImeMode.NoControl;
|
|
this.okButton.Location = new System.Drawing.Point(244, 160);
|
|
this.okButton.Name = "okButton";
|
|
this.okButton.Size = new System.Drawing.Size(75, 23);
|
|
this.okButton.TabIndex = 4;
|
|
this.okButton.Text = "OK";
|
|
this.okButton.UseVisualStyleBackColor = true;
|
|
this.okButton.Click += new System.EventHandler(this.okButton_Click);
|
|
//
|
|
// cancelButton
|
|
//
|
|
this.cancelButton.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
|
|
this.cancelButton.DialogResult = System.Windows.Forms.DialogResult.Cancel;
|
|
this.cancelButton.ImeMode = System.Windows.Forms.ImeMode.NoControl;
|
|
this.cancelButton.Location = new System.Drawing.Point(325, 160);
|
|
this.cancelButton.Name = "cancelButton";
|
|
this.cancelButton.Size = new System.Drawing.Size(75, 23);
|
|
this.cancelButton.TabIndex = 5;
|
|
this.cancelButton.Text = "Cancel";
|
|
this.cancelButton.UseVisualStyleBackColor = true;
|
|
this.cancelButton.Click += new System.EventHandler(this.cancelButton_Click);
|
|
//
|
|
// label1
|
|
//
|
|
this.label1.AutoSize = true;
|
|
this.label1.Location = new System.Drawing.Point(6, 22);
|
|
this.label1.Name = "label1";
|
|
this.label1.Size = new System.Drawing.Size(35, 13);
|
|
this.label1.TabIndex = 6;
|
|
this.label1.Text = "Name";
|
|
//
|
|
// nameTextBox
|
|
//
|
|
this.nameTextBox.Location = new System.Drawing.Point(116, 19);
|
|
this.nameTextBox.Name = "nameTextBox";
|
|
this.nameTextBox.Size = new System.Drawing.Size(266, 20);
|
|
this.nameTextBox.TabIndex = 7;
|
|
this.nameTextBox.TextChanged += new System.EventHandler(this.nameTextBox_TextChanged);
|
|
//
|
|
// protocolTextBox
|
|
//
|
|
this.protocolTextBox.Location = new System.Drawing.Point(116, 45);
|
|
this.protocolTextBox.Name = "protocolTextBox";
|
|
this.protocolTextBox.Size = new System.Drawing.Size(266, 20);
|
|
this.protocolTextBox.TabIndex = 9;
|
|
this.protocolTextBox.TextChanged += new System.EventHandler(this.nameTextBox_TextChanged);
|
|
//
|
|
// label2
|
|
//
|
|
this.label2.AutoSize = true;
|
|
this.label2.Location = new System.Drawing.Point(6, 48);
|
|
this.label2.Name = "label2";
|
|
this.label2.Size = new System.Drawing.Size(46, 13);
|
|
this.label2.TabIndex = 8;
|
|
this.label2.Text = "Protocol";
|
|
//
|
|
// commandTextBox
|
|
//
|
|
this.commandTextBox.Location = new System.Drawing.Point(116, 71);
|
|
this.commandTextBox.Name = "commandTextBox";
|
|
this.commandTextBox.Size = new System.Drawing.Size(238, 20);
|
|
this.commandTextBox.TabIndex = 11;
|
|
this.commandTextBox.TextChanged += new System.EventHandler(this.nameTextBox_TextChanged);
|
|
//
|
|
// label3
|
|
//
|
|
this.label3.AutoSize = true;
|
|
this.label3.Location = new System.Drawing.Point(6, 74);
|
|
this.label3.Name = "label3";
|
|
this.label3.Size = new System.Drawing.Size(54, 13);
|
|
this.label3.TabIndex = 10;
|
|
this.label3.Text = "Command";
|
|
//
|
|
// groupBox1
|
|
//
|
|
this.groupBox1.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)
|
|
| System.Windows.Forms.AnchorStyles.Right)));
|
|
this.groupBox1.Controls.Add(this.selectFileButton);
|
|
this.groupBox1.Controls.Add(this.nameTextBox);
|
|
this.groupBox1.Controls.Add(this.label3);
|
|
this.groupBox1.Controls.Add(this.commandTextBox);
|
|
this.groupBox1.Controls.Add(this.label2);
|
|
this.groupBox1.Controls.Add(this.protocolTextBox);
|
|
this.groupBox1.Controls.Add(this.label1);
|
|
this.groupBox1.Location = new System.Drawing.Point(12, 56);
|
|
this.groupBox1.Name = "groupBox1";
|
|
this.groupBox1.Size = new System.Drawing.Size(388, 98);
|
|
this.groupBox1.TabIndex = 12;
|
|
this.groupBox1.TabStop = false;
|
|
this.groupBox1.Text = "Application";
|
|
//
|
|
// label4
|
|
//
|
|
this.label4.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
|
|
| System.Windows.Forms.AnchorStyles.Left)
|
|
| System.Windows.Forms.AnchorStyles.Right)));
|
|
this.label4.Location = new System.Drawing.Point(12, 9);
|
|
this.label4.Name = "label4";
|
|
this.label4.Size = new System.Drawing.Size(388, 44);
|
|
this.label4.TabIndex = 13;
|
|
this.label4.Text = "Enter a friendly name, protocol (like HTTP, RDP, VNC) and the command line and ar" +
|
|
"guments to run the application. In the command line, use %L for address and %P f" +
|
|
"or connection port.";
|
|
//
|
|
// selectFileButton
|
|
//
|
|
this.selectFileButton.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
|
|
this.selectFileButton.Location = new System.Drawing.Point(360, 71);
|
|
this.selectFileButton.Name = "selectFileButton";
|
|
this.selectFileButton.Size = new System.Drawing.Size(21, 20);
|
|
this.selectFileButton.TabIndex = 12;
|
|
this.selectFileButton.Text = "...";
|
|
this.selectFileButton.UseVisualStyleBackColor = true;
|
|
this.selectFileButton.Click += new System.EventHandler(this.selectFileButton_Click);
|
|
//
|
|
// openFileDialog
|
|
//
|
|
this.openFileDialog.DefaultExt = "exe";
|
|
this.openFileDialog.Filter = "Executable|*.exe";
|
|
this.openFileDialog.Title = "Select Application Executable";
|
|
//
|
|
// CustomAppsAddForm
|
|
//
|
|
this.AcceptButton = this.okButton;
|
|
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
|
|
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
|
|
this.CancelButton = this.cancelButton;
|
|
this.ClientSize = new System.Drawing.Size(412, 195);
|
|
this.Controls.Add(this.label4);
|
|
this.Controls.Add(this.groupBox1);
|
|
this.Controls.Add(this.okButton);
|
|
this.Controls.Add(this.cancelButton);
|
|
this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedDialog;
|
|
this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
|
|
this.MaximizeBox = false;
|
|
this.MinimizeBox = false;
|
|
this.Name = "CustomAppsAddForm";
|
|
this.StartPosition = System.Windows.Forms.FormStartPosition.CenterParent;
|
|
this.Text = "Add Custom Application";
|
|
this.Load += new System.EventHandler(this.CustomAppsAddForm_Load);
|
|
this.groupBox1.ResumeLayout(false);
|
|
this.groupBox1.PerformLayout();
|
|
this.ResumeLayout(false);
|
|
|
|
}
|
|
|
|
#endregion
|
|
|
|
private System.Windows.Forms.Button okButton;
|
|
private System.Windows.Forms.Button cancelButton;
|
|
private System.Windows.Forms.Label label1;
|
|
private System.Windows.Forms.TextBox nameTextBox;
|
|
private System.Windows.Forms.TextBox protocolTextBox;
|
|
private System.Windows.Forms.Label label2;
|
|
private System.Windows.Forms.TextBox commandTextBox;
|
|
private System.Windows.Forms.Label label3;
|
|
private System.Windows.Forms.GroupBox groupBox1;
|
|
private System.Windows.Forms.Label label4;
|
|
private System.Windows.Forms.Button selectFileButton;
|
|
private System.Windows.Forms.OpenFileDialog openFileDialog;
|
|
}
|
|
} |