Import des bestehenden Projektstands in Git. - .NET 10 WinForms Anwendung (Multi-Agent / Tool-System) - .gitignore fuer Build-Artefakte, Secrets und Runtime-Daten ergaenzt Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
158 lines
5.0 KiB
C#
158 lines
5.0 KiB
C#
namespace ClawdDotNet
|
|
{
|
|
partial class frm_AddService
|
|
{
|
|
private System.ComponentModel.IContainer components = null;
|
|
|
|
protected override void Dispose(bool disposing)
|
|
{
|
|
if (disposing && (components != null))
|
|
{
|
|
components.Dispose();
|
|
}
|
|
base.Dispose(disposing);
|
|
}
|
|
|
|
#region Windows Form Designer generated code
|
|
|
|
private void InitializeComponent()
|
|
{
|
|
lblType = new Label();
|
|
cbType = new ComboBox();
|
|
lblName = new Label();
|
|
txtName = new TextBox();
|
|
lblPort = new Label();
|
|
txtPort = new TextBox();
|
|
lblDesc = new Label();
|
|
txtDescription = new TextBox();
|
|
btnOk = new Button();
|
|
btnCancel = new Button();
|
|
SuspendLayout();
|
|
//
|
|
// lblType
|
|
//
|
|
lblType.AutoSize = true;
|
|
lblType.Location = new Point(16, 18);
|
|
lblType.Name = "lblType";
|
|
lblType.Size = new Size(85, 20);
|
|
lblType.TabIndex = 0;
|
|
lblType.Text = "Service-Typ:";
|
|
//
|
|
// cbType
|
|
//
|
|
cbType.DropDownStyle = ComboBoxStyle.DropDownList;
|
|
cbType.Items.AddRange(new object[] { "StaticFileServer", "ReverseProxy", "Custom" });
|
|
cbType.Location = new Point(140, 15);
|
|
cbType.Name = "cbType";
|
|
cbType.Size = new Size(260, 28);
|
|
cbType.TabIndex = 1;
|
|
cbType.SelectedIndexChanged += OnTypeChanged;
|
|
//
|
|
// lblName
|
|
//
|
|
lblName.AutoSize = true;
|
|
lblName.Location = new Point(16, 58);
|
|
lblName.Name = "lblName";
|
|
lblName.Size = new Size(49, 20);
|
|
lblName.TabIndex = 2;
|
|
lblName.Text = "Name:";
|
|
//
|
|
// txtName
|
|
//
|
|
txtName.Location = new Point(140, 55);
|
|
txtName.Name = "txtName";
|
|
txtName.Size = new Size(260, 27);
|
|
txtName.TabIndex = 3;
|
|
//
|
|
// lblPort
|
|
//
|
|
lblPort.AutoSize = true;
|
|
lblPort.Location = new Point(16, 98);
|
|
lblPort.Name = "lblPort";
|
|
lblPort.Size = new Size(37, 20);
|
|
lblPort.TabIndex = 4;
|
|
lblPort.Text = "Port:";
|
|
//
|
|
// txtPort
|
|
//
|
|
txtPort.Location = new Point(140, 95);
|
|
txtPort.Name = "txtPort";
|
|
txtPort.Size = new Size(100, 27);
|
|
txtPort.TabIndex = 5;
|
|
txtPort.Text = "8090";
|
|
//
|
|
// lblDesc
|
|
//
|
|
lblDesc.AutoSize = true;
|
|
lblDesc.Location = new Point(16, 138);
|
|
lblDesc.Name = "lblDesc";
|
|
lblDesc.Size = new Size(101, 20);
|
|
lblDesc.TabIndex = 6;
|
|
lblDesc.Text = "Beschreibung:";
|
|
//
|
|
// txtDescription
|
|
//
|
|
txtDescription.Location = new Point(140, 135);
|
|
txtDescription.Name = "txtDescription";
|
|
txtDescription.Size = new Size(260, 27);
|
|
txtDescription.TabIndex = 7;
|
|
//
|
|
// btnOk
|
|
//
|
|
btnOk.Location = new Point(200, 185);
|
|
btnOk.Name = "btnOk";
|
|
btnOk.Size = new Size(100, 30);
|
|
btnOk.TabIndex = 8;
|
|
btnOk.Text = "Hinzufügen";
|
|
btnOk.DialogResult = DialogResult.OK;
|
|
btnOk.Click += OnOkClick;
|
|
//
|
|
// btnCancel
|
|
//
|
|
btnCancel.Location = new Point(310, 185);
|
|
btnCancel.Name = "btnCancel";
|
|
btnCancel.Size = new Size(90, 30);
|
|
btnCancel.TabIndex = 9;
|
|
btnCancel.Text = "Abbrechen";
|
|
btnCancel.DialogResult = DialogResult.Cancel;
|
|
//
|
|
// frm_AddService
|
|
//
|
|
AcceptButton = btnOk;
|
|
CancelButton = btnCancel;
|
|
ClientSize = new Size(420, 230);
|
|
Controls.Add(lblType);
|
|
Controls.Add(cbType);
|
|
Controls.Add(lblName);
|
|
Controls.Add(txtName);
|
|
Controls.Add(lblPort);
|
|
Controls.Add(txtPort);
|
|
Controls.Add(lblDesc);
|
|
Controls.Add(txtDescription);
|
|
Controls.Add(btnOk);
|
|
Controls.Add(btnCancel);
|
|
FormBorderStyle = FormBorderStyle.FixedDialog;
|
|
MaximizeBox = false;
|
|
MinimizeBox = false;
|
|
Name = "frm_AddService";
|
|
StartPosition = FormStartPosition.CenterParent;
|
|
Text = "Service hinzufügen";
|
|
ResumeLayout(false);
|
|
PerformLayout();
|
|
}
|
|
|
|
#endregion
|
|
|
|
private Label lblType;
|
|
private ComboBox cbType;
|
|
private Label lblName;
|
|
private TextBox txtName;
|
|
private Label lblPort;
|
|
private TextBox txtPort;
|
|
private Label lblDesc;
|
|
private TextBox txtDescription;
|
|
private Button btnOk;
|
|
private Button btnCancel;
|
|
}
|
|
}
|