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>
247 lines
8.5 KiB
C#
247 lines
8.5 KiB
C#
namespace ClawdDotNet
|
|
{
|
|
partial class frm_AddJob
|
|
{
|
|
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()
|
|
{
|
|
lblJobType = new Label();
|
|
cbJobType = new ComboBox();
|
|
lblAgent = new Label();
|
|
cbAgent = new ComboBox();
|
|
lblTool = new Label();
|
|
cbTool = new ComboBox();
|
|
lblJobDef = new Label();
|
|
cbJobDef = new ComboBox();
|
|
lblCron = new Label();
|
|
txtCron = new TextBox();
|
|
lblPreview = new Label();
|
|
lblTask = new Label();
|
|
txtTask = new TextBox();
|
|
chkRunOnStart = new CheckBox();
|
|
lblHelp = new Label();
|
|
btnOk = new Button();
|
|
btnCancel = new Button();
|
|
SuspendLayout();
|
|
//
|
|
// lblJobType
|
|
//
|
|
lblJobType.AutoSize = true;
|
|
lblJobType.Location = new Point(12, 9);
|
|
lblJobType.Name = "lblJobType";
|
|
lblJobType.Size = new Size(64, 25);
|
|
lblJobType.TabIndex = 0;
|
|
lblJobType.Text = "Job-Typ:";
|
|
//
|
|
// cbJobType
|
|
//
|
|
cbJobType.DropDownStyle = ComboBoxStyle.DropDownList;
|
|
cbJobType.Items.AddRange(new object[] { "Agent Wakeup", "Tool Job" });
|
|
cbJobType.Location = new Point(130, 6);
|
|
cbJobType.Name = "cbJobType";
|
|
cbJobType.Size = new Size(326, 33);
|
|
cbJobType.TabIndex = 1;
|
|
cbJobType.SelectedIndexChanged += OnJobTypeChanged;
|
|
//
|
|
// lblAgent
|
|
//
|
|
lblAgent.AutoSize = true;
|
|
lblAgent.Location = new Point(12, 48);
|
|
lblAgent.Name = "lblAgent";
|
|
lblAgent.Size = new Size(64, 25);
|
|
lblAgent.TabIndex = 2;
|
|
lblAgent.Text = "Agent:";
|
|
//
|
|
// cbAgent
|
|
//
|
|
cbAgent.DropDownStyle = ComboBoxStyle.DropDownList;
|
|
cbAgent.Location = new Point(130, 45);
|
|
cbAgent.Name = "cbAgent";
|
|
cbAgent.Size = new Size(326, 33);
|
|
cbAgent.TabIndex = 3;
|
|
//
|
|
// lblTool
|
|
//
|
|
lblTool.AutoSize = true;
|
|
lblTool.Location = new Point(12, 87);
|
|
lblTool.Name = "lblTool";
|
|
lblTool.Size = new Size(45, 25);
|
|
lblTool.TabIndex = 4;
|
|
lblTool.Text = "Tool:";
|
|
//
|
|
// cbTool
|
|
//
|
|
cbTool.DropDownStyle = ComboBoxStyle.DropDownList;
|
|
cbTool.Location = new Point(130, 84);
|
|
cbTool.Name = "cbTool";
|
|
cbTool.Size = new Size(326, 33);
|
|
cbTool.TabIndex = 5;
|
|
cbTool.SelectedIndexChanged += OnToolChanged;
|
|
//
|
|
// lblJobDef
|
|
//
|
|
lblJobDef.AutoSize = true;
|
|
lblJobDef.Location = new Point(12, 126);
|
|
lblJobDef.Name = "lblJobDef";
|
|
lblJobDef.Size = new Size(64, 25);
|
|
lblJobDef.TabIndex = 6;
|
|
lblJobDef.Text = "Job:";
|
|
//
|
|
// cbJobDef
|
|
//
|
|
cbJobDef.DropDownStyle = ComboBoxStyle.DropDownList;
|
|
cbJobDef.Location = new Point(130, 123);
|
|
cbJobDef.Name = "cbJobDef";
|
|
cbJobDef.Size = new Size(326, 33);
|
|
cbJobDef.TabIndex = 7;
|
|
//
|
|
// lblCron
|
|
//
|
|
lblCron.AutoSize = true;
|
|
lblCron.Location = new Point(12, 168);
|
|
lblCron.Name = "lblCron";
|
|
lblCron.Size = new Size(79, 25);
|
|
lblCron.TabIndex = 8;
|
|
lblCron.Text = "Zeitplan:";
|
|
//
|
|
// txtCron
|
|
//
|
|
txtCron.Location = new Point(130, 165);
|
|
txtCron.Name = "txtCron";
|
|
txtCron.PlaceholderText = "z.B. */2 * * * * (alle 2 Min)";
|
|
txtCron.Size = new Size(326, 31);
|
|
txtCron.TabIndex = 9;
|
|
txtCron.TextChanged += OnCronChanged;
|
|
//
|
|
// lblPreview
|
|
//
|
|
lblPreview.Font = new Font("Segoe UI", 8F);
|
|
lblPreview.ForeColor = Color.Gray;
|
|
lblPreview.Location = new Point(130, 199);
|
|
lblPreview.Name = "lblPreview";
|
|
lblPreview.Size = new Size(326, 20);
|
|
lblPreview.TabIndex = 10;
|
|
//
|
|
// lblTask
|
|
//
|
|
lblTask.AutoSize = true;
|
|
lblTask.Location = new Point(12, 226);
|
|
lblTask.Name = "lblTask";
|
|
lblTask.Size = new Size(84, 25);
|
|
lblTask.TabIndex = 11;
|
|
lblTask.Text = "Aufgabe:";
|
|
//
|
|
// txtTask
|
|
//
|
|
txtTask.Location = new Point(130, 223);
|
|
txtTask.Multiline = true;
|
|
txtTask.Name = "txtTask";
|
|
txtTask.ScrollBars = ScrollBars.Vertical;
|
|
txtTask.Size = new Size(326, 80);
|
|
txtTask.TabIndex = 12;
|
|
txtTask.Text = "Führe deine zugewiesenen Aufgaben aus.";
|
|
//
|
|
// chkRunOnStart
|
|
//
|
|
chkRunOnStart.AutoSize = true;
|
|
chkRunOnStart.Location = new Point(12, 312);
|
|
chkRunOnStart.Name = "chkRunOnStart";
|
|
chkRunOnStart.Size = new Size(395, 29);
|
|
chkRunOnStart.TabIndex = 13;
|
|
chkRunOnStart.Text = "Beim Programmstart sofort einmal ausführen";
|
|
//
|
|
// lblHelp
|
|
//
|
|
lblHelp.Font = new Font("Segoe UI", 8F);
|
|
lblHelp.ForeColor = Color.DimGray;
|
|
lblHelp.Location = new Point(12, 348);
|
|
lblHelp.Name = "lblHelp";
|
|
lblHelp.Size = new Size(444, 60);
|
|
lblHelp.TabIndex = 14;
|
|
lblHelp.Text = "Cron-Format: Min Std Tag Mon Wochentag\r\nBeispiele: */5 * * * * = alle 5 Min\r\n 0 8 * * 1-5 = Mo-Fr um 08:00\r\n 0 */2 * * * = alle 2 Stunden";
|
|
//
|
|
// btnOk
|
|
//
|
|
btnOk.DialogResult = DialogResult.OK;
|
|
btnOk.Location = new Point(240, 418);
|
|
btnOk.Name = "btnOk";
|
|
btnOk.Size = new Size(106, 38);
|
|
btnOk.TabIndex = 15;
|
|
btnOk.Text = "Hinzufügen";
|
|
btnOk.Click += OnOkClick;
|
|
//
|
|
// btnCancel
|
|
//
|
|
btnCancel.DialogResult = DialogResult.Cancel;
|
|
btnCancel.Location = new Point(356, 418);
|
|
btnCancel.Name = "btnCancel";
|
|
btnCancel.Size = new Size(100, 38);
|
|
btnCancel.TabIndex = 16;
|
|
btnCancel.Text = "Abbrechen";
|
|
//
|
|
// frm_AddJob
|
|
//
|
|
AcceptButton = btnOk;
|
|
CancelButton = btnCancel;
|
|
ClientSize = new Size(470, 470);
|
|
Controls.Add(lblJobType);
|
|
Controls.Add(cbJobType);
|
|
Controls.Add(lblAgent);
|
|
Controls.Add(cbAgent);
|
|
Controls.Add(lblTool);
|
|
Controls.Add(cbTool);
|
|
Controls.Add(lblJobDef);
|
|
Controls.Add(cbJobDef);
|
|
Controls.Add(lblCron);
|
|
Controls.Add(txtCron);
|
|
Controls.Add(lblPreview);
|
|
Controls.Add(lblTask);
|
|
Controls.Add(txtTask);
|
|
Controls.Add(chkRunOnStart);
|
|
Controls.Add(lblHelp);
|
|
Controls.Add(btnOk);
|
|
Controls.Add(btnCancel);
|
|
FormBorderStyle = FormBorderStyle.FixedDialog;
|
|
MaximizeBox = false;
|
|
MinimizeBox = false;
|
|
Name = "frm_AddJob";
|
|
StartPosition = FormStartPosition.CenterParent;
|
|
Text = "Job hinzufügen";
|
|
ResumeLayout(false);
|
|
PerformLayout();
|
|
}
|
|
|
|
#endregion
|
|
|
|
private Label lblJobType;
|
|
private ComboBox cbJobType;
|
|
private Label lblAgent;
|
|
private ComboBox cbAgent;
|
|
private Label lblTool;
|
|
private ComboBox cbTool;
|
|
private Label lblJobDef;
|
|
private ComboBox cbJobDef;
|
|
private Label lblCron;
|
|
private TextBox txtCron;
|
|
private Label lblPreview;
|
|
private Label lblTask;
|
|
private TextBox txtTask;
|
|
private CheckBox chkRunOnStart;
|
|
private Label lblHelp;
|
|
private Button btnOk;
|
|
private Button btnCancel;
|
|
}
|
|
}
|