176 lines
7.7 KiB
C#
176 lines
7.7 KiB
C#
namespace NetOpenVpnGui
|
|
{
|
|
partial class Form1
|
|
{
|
|
/// <summary>
|
|
/// Erforderliche Designervariable.
|
|
/// </summary>
|
|
private System.ComponentModel.IContainer components = null;
|
|
|
|
/// <summary>
|
|
/// Verwendete Ressourcen bereinigen.
|
|
/// </summary>
|
|
/// <param name="disposing">True, wenn verwaltete Ressourcen gelöscht werden sollen; andernfalls False.</param>
|
|
protected override void Dispose(bool disposing)
|
|
{
|
|
if (disposing && (components != null))
|
|
{
|
|
components.Dispose();
|
|
}
|
|
base.Dispose(disposing);
|
|
}
|
|
|
|
#region Vom Windows Form-Designer generierter Code
|
|
|
|
/// <summary>
|
|
/// Erforderliche Methode für die Designerunterstützung.
|
|
/// Der Inhalt der Methode darf nicht mit dem Code-Editor geändert werden.
|
|
/// </summary>
|
|
private void InitializeComponent()
|
|
{
|
|
this.components = new System.ComponentModel.Container();
|
|
this.trayIcon = new System.Windows.Forms.NotifyIcon(this.components);
|
|
this.trayMenu = new System.Windows.Forms.ContextMenuStrip(this.components);
|
|
this.trayMenu_open = new System.Windows.Forms.ToolStripMenuItem();
|
|
this.trayMenu_start = new System.Windows.Forms.ToolStripMenuItem();
|
|
this.trayMenu_stop = new System.Windows.Forms.ToolStripMenuItem();
|
|
this.trayMenu_close = new System.Windows.Forms.ToolStripMenuItem();
|
|
this.MainMenu = new System.Windows.Forms.MenuStrip();
|
|
this.MainMenu_file = new System.Windows.Forms.ToolStripMenuItem();
|
|
this.Statuslog = new System.Windows.Forms.ListBox();
|
|
this.servicename = new System.Windows.Forms.TextBox();
|
|
this.label1 = new System.Windows.Forms.Label();
|
|
this.trayMenu.SuspendLayout();
|
|
this.MainMenu.SuspendLayout();
|
|
this.SuspendLayout();
|
|
//
|
|
// trayIcon
|
|
//
|
|
this.trayIcon.ContextMenuStrip = this.trayMenu;
|
|
this.trayIcon.Text = "OpenVPN-GUI";
|
|
this.trayIcon.Visible = true;
|
|
this.trayIcon.MouseDoubleClick += new System.Windows.Forms.MouseEventHandler(this.trayIcon_MouseDoubleClick);
|
|
//
|
|
// trayMenu
|
|
//
|
|
this.trayMenu.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
|
|
this.trayMenu_open,
|
|
this.trayMenu_start,
|
|
this.trayMenu_stop,
|
|
this.trayMenu_close});
|
|
this.trayMenu.Name = "trayMenu";
|
|
this.trayMenu.Size = new System.Drawing.Size(126, 92);
|
|
//
|
|
// trayMenu_open
|
|
//
|
|
this.trayMenu_open.Name = "trayMenu_open";
|
|
this.trayMenu_open.Size = new System.Drawing.Size(125, 22);
|
|
this.trayMenu_open.Text = "Öffnen";
|
|
this.trayMenu_open.Click += new System.EventHandler(this.trayMenu_open_Click);
|
|
//
|
|
// trayMenu_start
|
|
//
|
|
this.trayMenu_start.Name = "trayMenu_start";
|
|
this.trayMenu_start.Size = new System.Drawing.Size(125, 22);
|
|
this.trayMenu_start.Text = "Start";
|
|
this.trayMenu_start.Click += new System.EventHandler(this.trayMenu_start_Click);
|
|
//
|
|
// trayMenu_stop
|
|
//
|
|
this.trayMenu_stop.Name = "trayMenu_stop";
|
|
this.trayMenu_stop.Size = new System.Drawing.Size(125, 22);
|
|
this.trayMenu_stop.Text = "Stop";
|
|
this.trayMenu_stop.Click += new System.EventHandler(this.trayMenu_stop_Click);
|
|
//
|
|
// trayMenu_close
|
|
//
|
|
this.trayMenu_close.Name = "trayMenu_close";
|
|
this.trayMenu_close.Size = new System.Drawing.Size(125, 22);
|
|
this.trayMenu_close.Text = "Schließen";
|
|
this.trayMenu_close.Click += new System.EventHandler(this.trayMenu_close_Click);
|
|
//
|
|
// MainMenu
|
|
//
|
|
this.MainMenu.ContextMenuStrip = this.trayMenu;
|
|
this.MainMenu.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
|
|
this.MainMenu_file});
|
|
this.MainMenu.Location = new System.Drawing.Point(0, 0);
|
|
this.MainMenu.Name = "MainMenu";
|
|
this.MainMenu.Size = new System.Drawing.Size(284, 24);
|
|
this.MainMenu.TabIndex = 1;
|
|
this.MainMenu.Text = "MainMenu";
|
|
//
|
|
// MainMenu_file
|
|
//
|
|
this.MainMenu_file.DropDown = this.trayMenu;
|
|
this.MainMenu_file.Name = "MainMenu_file";
|
|
this.MainMenu_file.Size = new System.Drawing.Size(46, 20);
|
|
this.MainMenu_file.Text = "Datei";
|
|
//
|
|
// Statuslog
|
|
//
|
|
this.Statuslog.FormattingEnabled = true;
|
|
this.Statuslog.Location = new System.Drawing.Point(13, 28);
|
|
this.Statuslog.Name = "Statuslog";
|
|
this.Statuslog.Size = new System.Drawing.Size(259, 199);
|
|
this.Statuslog.TabIndex = 2;
|
|
//
|
|
// servicename
|
|
//
|
|
this.servicename.Location = new System.Drawing.Point(90, 234);
|
|
this.servicename.Name = "servicename";
|
|
this.servicename.Size = new System.Drawing.Size(182, 20);
|
|
this.servicename.TabIndex = 3;
|
|
this.servicename.Text = "OpenVPNService";
|
|
this.servicename.TextChanged += new System.EventHandler(servicename_TextChanged);
|
|
//
|
|
// label1
|
|
//
|
|
this.label1.AutoSize = true;
|
|
this.label1.Location = new System.Drawing.Point(13, 237);
|
|
this.label1.Name = "label1";
|
|
this.label1.Size = new System.Drawing.Size(71, 13);
|
|
this.label1.TabIndex = 4;
|
|
this.label1.Text = "Dienst Name:";
|
|
//
|
|
// Form1
|
|
//
|
|
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
|
|
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
|
|
this.ClientSize = new System.Drawing.Size(284, 262);
|
|
this.Controls.Add(this.label1);
|
|
this.Controls.Add(this.servicename);
|
|
this.Controls.Add(this.Statuslog);
|
|
this.Controls.Add(this.MainMenu);
|
|
this.MaximizeBox = false;
|
|
this.Name = "Form1";
|
|
this.ShowInTaskbar = false;
|
|
this.Text = "OpenVPN-GUI";
|
|
this.WindowState = System.Windows.Forms.FormWindowState.Minimized;
|
|
this.Resize += new System.EventHandler(this.EventHandler_Resize);
|
|
this.FormClosed += new System.Windows.Forms.FormClosedEventHandler(this.Application_Closed);
|
|
this.trayMenu.ResumeLayout(false);
|
|
this.MainMenu.ResumeLayout(false);
|
|
this.MainMenu.PerformLayout();
|
|
this.ResumeLayout(false);
|
|
this.PerformLayout();
|
|
|
|
}
|
|
|
|
#endregion
|
|
|
|
private System.Windows.Forms.NotifyIcon trayIcon;
|
|
private System.Windows.Forms.ContextMenuStrip trayMenu;
|
|
private System.Windows.Forms.ToolStripMenuItem trayMenu_open;
|
|
private System.Windows.Forms.ToolStripMenuItem trayMenu_start;
|
|
private System.Windows.Forms.ToolStripMenuItem trayMenu_stop;
|
|
private System.Windows.Forms.ToolStripMenuItem trayMenu_close;
|
|
private System.Windows.Forms.MenuStrip MainMenu;
|
|
private System.Windows.Forms.ToolStripMenuItem MainMenu_file;
|
|
private System.Windows.Forms.ListBox Statuslog;
|
|
private System.Windows.Forms.TextBox servicename;
|
|
private System.Windows.Forms.Label label1;
|
|
}
|
|
}
|
|
|