mirror of
https://github.com/Ylianst/MeshCentralRouter
synced 2025-12-06 00:13:33 +00:00
276 lines
14 KiB
C#
276 lines
14 KiB
C#
namespace MeshCentralRouter
|
|
{
|
|
partial class CustomAppsForm
|
|
{
|
|
/// <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.components = new System.ComponentModel.Container();
|
|
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(CustomAppsForm));
|
|
this.cancelButton = new System.Windows.Forms.Button();
|
|
this.okButton = new System.Windows.Forms.Button();
|
|
this.label1 = new System.Windows.Forms.Label();
|
|
this.groupBox1 = new System.Windows.Forms.GroupBox();
|
|
this.removeButton = new System.Windows.Forms.Button();
|
|
this.addButton = new System.Windows.Forms.Button();
|
|
this.mainListView = new System.Windows.Forms.ListView();
|
|
this.columnHeader1 = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader()));
|
|
this.columnHeader2 = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader()));
|
|
this.columnHeader3 = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader()));
|
|
this.appContextMenuStrip = new System.Windows.Forms.ContextMenuStrip(this.components);
|
|
this.editToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
|
|
this.runToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
|
|
this.removeToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
|
|
this.toolStripMenuItem1 = new System.Windows.Forms.ToolStripSeparator();
|
|
this.addToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
|
|
this.editButton = new System.Windows.Forms.Button();
|
|
this.runButton = new System.Windows.Forms.Button();
|
|
this.groupBox1.SuspendLayout();
|
|
this.appContextMenuStrip.SuspendLayout();
|
|
this.SuspendLayout();
|
|
//
|
|
// 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.Location = new System.Drawing.Point(320, 280);
|
|
this.cancelButton.Name = "cancelButton";
|
|
this.cancelButton.Size = new System.Drawing.Size(75, 23);
|
|
this.cancelButton.TabIndex = 0;
|
|
this.cancelButton.Text = "Cancel";
|
|
this.cancelButton.UseVisualStyleBackColor = true;
|
|
this.cancelButton.Click += new System.EventHandler(this.cancelButton_Click);
|
|
//
|
|
// okButton
|
|
//
|
|
this.okButton.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
|
|
this.okButton.Location = new System.Drawing.Point(239, 280);
|
|
this.okButton.Name = "okButton";
|
|
this.okButton.Size = new System.Drawing.Size(75, 23);
|
|
this.okButton.TabIndex = 1;
|
|
this.okButton.Text = "OK";
|
|
this.okButton.UseVisualStyleBackColor = true;
|
|
this.okButton.Click += new System.EventHandler(this.okButton_Click);
|
|
//
|
|
// label1
|
|
//
|
|
this.label1.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
|
|
| System.Windows.Forms.AnchorStyles.Right)));
|
|
this.label1.Location = new System.Drawing.Point(12, 9);
|
|
this.label1.Name = "label1";
|
|
this.label1.Size = new System.Drawing.Size(383, 48);
|
|
this.label1.TabIndex = 2;
|
|
this.label1.Text = "Setup custom applications that MeshCentral Router can open to use port mappings. " +
|
|
"These applications match a protocol and have a command line to open the applicat" +
|
|
"ion.";
|
|
//
|
|
// groupBox1
|
|
//
|
|
this.groupBox1.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.groupBox1.Controls.Add(this.runButton);
|
|
this.groupBox1.Controls.Add(this.editButton);
|
|
this.groupBox1.Controls.Add(this.removeButton);
|
|
this.groupBox1.Controls.Add(this.addButton);
|
|
this.groupBox1.Controls.Add(this.mainListView);
|
|
this.groupBox1.Location = new System.Drawing.Point(15, 60);
|
|
this.groupBox1.Name = "groupBox1";
|
|
this.groupBox1.Size = new System.Drawing.Size(380, 214);
|
|
this.groupBox1.TabIndex = 3;
|
|
this.groupBox1.TabStop = false;
|
|
this.groupBox1.Text = "Applications";
|
|
//
|
|
// removeButton
|
|
//
|
|
this.removeButton.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
|
|
this.removeButton.Location = new System.Drawing.Point(299, 185);
|
|
this.removeButton.Name = "removeButton";
|
|
this.removeButton.Size = new System.Drawing.Size(75, 23);
|
|
this.removeButton.TabIndex = 2;
|
|
this.removeButton.Text = "Remove";
|
|
this.removeButton.UseVisualStyleBackColor = true;
|
|
this.removeButton.Click += new System.EventHandler(this.removeButton_Click);
|
|
//
|
|
// addButton
|
|
//
|
|
this.addButton.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
|
|
this.addButton.Location = new System.Drawing.Point(218, 185);
|
|
this.addButton.Name = "addButton";
|
|
this.addButton.Size = new System.Drawing.Size(75, 23);
|
|
this.addButton.TabIndex = 1;
|
|
this.addButton.Text = "Add";
|
|
this.addButton.UseVisualStyleBackColor = true;
|
|
this.addButton.Click += new System.EventHandler(this.addButton_Click);
|
|
//
|
|
// mainListView
|
|
//
|
|
this.mainListView.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.mainListView.Columns.AddRange(new System.Windows.Forms.ColumnHeader[] {
|
|
this.columnHeader1,
|
|
this.columnHeader2,
|
|
this.columnHeader3});
|
|
this.mainListView.ContextMenuStrip = this.appContextMenuStrip;
|
|
this.mainListView.FullRowSelect = true;
|
|
this.mainListView.HeaderStyle = System.Windows.Forms.ColumnHeaderStyle.Nonclickable;
|
|
this.mainListView.Location = new System.Drawing.Point(6, 19);
|
|
this.mainListView.Name = "mainListView";
|
|
this.mainListView.Size = new System.Drawing.Size(368, 160);
|
|
this.mainListView.Sorting = System.Windows.Forms.SortOrder.Ascending;
|
|
this.mainListView.TabIndex = 0;
|
|
this.mainListView.UseCompatibleStateImageBehavior = false;
|
|
this.mainListView.View = System.Windows.Forms.View.Details;
|
|
this.mainListView.SelectedIndexChanged += new System.EventHandler(this.mainListView_SelectedIndexChanged);
|
|
//
|
|
// columnHeader1
|
|
//
|
|
this.columnHeader1.Text = "Name";
|
|
//
|
|
// columnHeader2
|
|
//
|
|
this.columnHeader2.Text = "Protocol";
|
|
//
|
|
// columnHeader3
|
|
//
|
|
this.columnHeader3.Text = "Command";
|
|
this.columnHeader3.Width = 223;
|
|
//
|
|
// appContextMenuStrip
|
|
//
|
|
this.appContextMenuStrip.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
|
|
this.editToolStripMenuItem,
|
|
this.runToolStripMenuItem,
|
|
this.removeToolStripMenuItem,
|
|
this.toolStripMenuItem1,
|
|
this.addToolStripMenuItem});
|
|
this.appContextMenuStrip.Name = "appContextMenuStrip";
|
|
this.appContextMenuStrip.Size = new System.Drawing.Size(118, 98);
|
|
this.appContextMenuStrip.Opening += new System.ComponentModel.CancelEventHandler(this.appContextMenuStrip_Opening);
|
|
//
|
|
// editToolStripMenuItem
|
|
//
|
|
this.editToolStripMenuItem.Name = "editToolStripMenuItem";
|
|
this.editToolStripMenuItem.Size = new System.Drawing.Size(117, 22);
|
|
this.editToolStripMenuItem.Text = "&Edit...";
|
|
this.editToolStripMenuItem.Click += new System.EventHandler(this.editToolStripMenuItem_Click);
|
|
//
|
|
// runToolStripMenuItem
|
|
//
|
|
this.runToolStripMenuItem.Name = "runToolStripMenuItem";
|
|
this.runToolStripMenuItem.Size = new System.Drawing.Size(117, 22);
|
|
this.runToolStripMenuItem.Text = "R&un...";
|
|
this.runToolStripMenuItem.Click += new System.EventHandler(this.runToolStripMenuItem_Click);
|
|
//
|
|
// removeToolStripMenuItem
|
|
//
|
|
this.removeToolStripMenuItem.Name = "removeToolStripMenuItem";
|
|
this.removeToolStripMenuItem.Size = new System.Drawing.Size(117, 22);
|
|
this.removeToolStripMenuItem.Text = "&Remove";
|
|
this.removeToolStripMenuItem.Click += new System.EventHandler(this.removeButton_Click);
|
|
//
|
|
// toolStripMenuItem1
|
|
//
|
|
this.toolStripMenuItem1.Name = "toolStripMenuItem1";
|
|
this.toolStripMenuItem1.Size = new System.Drawing.Size(114, 6);
|
|
//
|
|
// addToolStripMenuItem
|
|
//
|
|
this.addToolStripMenuItem.Name = "addToolStripMenuItem";
|
|
this.addToolStripMenuItem.Size = new System.Drawing.Size(117, 22);
|
|
this.addToolStripMenuItem.Text = "&Add...";
|
|
this.addToolStripMenuItem.Click += new System.EventHandler(this.addButton_Click);
|
|
//
|
|
// editButton
|
|
//
|
|
this.editButton.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
|
|
this.editButton.Location = new System.Drawing.Point(137, 185);
|
|
this.editButton.Name = "editButton";
|
|
this.editButton.Size = new System.Drawing.Size(75, 23);
|
|
this.editButton.TabIndex = 3;
|
|
this.editButton.Text = "Edit...";
|
|
this.editButton.UseVisualStyleBackColor = true;
|
|
this.editButton.Click += new System.EventHandler(this.editToolStripMenuItem_Click);
|
|
//
|
|
// runButton
|
|
//
|
|
this.runButton.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
|
|
this.runButton.Location = new System.Drawing.Point(56, 185);
|
|
this.runButton.Name = "runButton";
|
|
this.runButton.Size = new System.Drawing.Size(75, 23);
|
|
this.runButton.TabIndex = 4;
|
|
this.runButton.Text = "Run...";
|
|
this.runButton.UseVisualStyleBackColor = true;
|
|
this.runButton.Click += new System.EventHandler(this.runToolStripMenuItem_Click);
|
|
//
|
|
// CustomAppsForm
|
|
//
|
|
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(407, 315);
|
|
this.Controls.Add(this.groupBox1);
|
|
this.Controls.Add(this.label1);
|
|
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 = "CustomAppsForm";
|
|
this.StartPosition = System.Windows.Forms.FormStartPosition.CenterParent;
|
|
this.Text = "Custom Applications";
|
|
this.Load += new System.EventHandler(this.CustomAppsForm_Load);
|
|
this.groupBox1.ResumeLayout(false);
|
|
this.appContextMenuStrip.ResumeLayout(false);
|
|
this.ResumeLayout(false);
|
|
|
|
}
|
|
|
|
#endregion
|
|
|
|
private System.Windows.Forms.Button cancelButton;
|
|
private System.Windows.Forms.Button okButton;
|
|
private System.Windows.Forms.Label label1;
|
|
private System.Windows.Forms.GroupBox groupBox1;
|
|
private System.Windows.Forms.Button removeButton;
|
|
private System.Windows.Forms.Button addButton;
|
|
private System.Windows.Forms.ListView mainListView;
|
|
private System.Windows.Forms.ColumnHeader columnHeader1;
|
|
private System.Windows.Forms.ColumnHeader columnHeader2;
|
|
private System.Windows.Forms.ColumnHeader columnHeader3;
|
|
private System.Windows.Forms.ContextMenuStrip appContextMenuStrip;
|
|
private System.Windows.Forms.ToolStripMenuItem runToolStripMenuItem;
|
|
private System.Windows.Forms.ToolStripMenuItem removeToolStripMenuItem;
|
|
private System.Windows.Forms.ToolStripSeparator toolStripMenuItem1;
|
|
private System.Windows.Forms.ToolStripMenuItem addToolStripMenuItem;
|
|
private System.Windows.Forms.ToolStripMenuItem editToolStripMenuItem;
|
|
private System.Windows.Forms.Button editButton;
|
|
private System.Windows.Forms.Button runButton;
|
|
}
|
|
} |