mirror of
https://github.com/Icinga/icinga2.git
synced 2025-07-23 05:34:48 +02:00
parent
5aa392fa37
commit
086eeea66f
@ -80,11 +80,11 @@
|
|||||||
<Reference Include="System.Xml" />
|
<Reference Include="System.Xml" />
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
<Compile Include="AgentWizard.cs">
|
<Compile Include="SetupWizard.cs">
|
||||||
<SubType>Form</SubType>
|
<SubType>Form</SubType>
|
||||||
</Compile>
|
</Compile>
|
||||||
<Compile Include="AgentWizard.Designer.cs">
|
<Compile Include="SetupWizard.Designer.cs">
|
||||||
<DependentUpon>AgentWizard.cs</DependentUpon>
|
<DependentUpon>SetupWizard.cs</DependentUpon>
|
||||||
</Compile>
|
</Compile>
|
||||||
<Compile Include="EndpointInputBox.cs">
|
<Compile Include="EndpointInputBox.cs">
|
||||||
<SubType>Form</SubType>
|
<SubType>Form</SubType>
|
||||||
@ -94,8 +94,8 @@
|
|||||||
</Compile>
|
</Compile>
|
||||||
<Compile Include="Program.cs" />
|
<Compile Include="Program.cs" />
|
||||||
<Compile Include="Properties\AssemblyInfo.cs" />
|
<Compile Include="Properties\AssemblyInfo.cs" />
|
||||||
<EmbeddedResource Include="AgentWizard.resx">
|
<EmbeddedResource Include="SetupWizard.resx">
|
||||||
<DependentUpon>AgentWizard.cs</DependentUpon>
|
<DependentUpon>SetupWizard.cs</DependentUpon>
|
||||||
</EmbeddedResource>
|
</EmbeddedResource>
|
||||||
<EmbeddedResource Include="EndpointInputBox.resx">
|
<EmbeddedResource Include="EndpointInputBox.resx">
|
||||||
<DependentUpon>EndpointInputBox.cs</DependentUpon>
|
<DependentUpon>EndpointInputBox.cs</DependentUpon>
|
||||||
|
@ -13,7 +13,7 @@ namespace Icinga
|
|||||||
{
|
{
|
||||||
Application.EnableVisualStyles();
|
Application.EnableVisualStyles();
|
||||||
Application.SetCompatibleTextRenderingDefault(false);
|
Application.SetCompatibleTextRenderingDefault(false);
|
||||||
Application.Run(new AgentWizard());
|
Application.Run(new SetupWizard());
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
namespace Icinga
|
namespace Icinga
|
||||||
{
|
{
|
||||||
partial class AgentWizard
|
partial class SetupWizard
|
||||||
{
|
{
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Required designer variable.
|
/// Required designer variable.
|
||||||
@ -28,7 +28,7 @@
|
|||||||
/// </summary>
|
/// </summary>
|
||||||
private void InitializeComponent()
|
private void InitializeComponent()
|
||||||
{
|
{
|
||||||
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(AgentWizard));
|
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(SetupWizard));
|
||||||
this.btnBack = new System.Windows.Forms.Button();
|
this.btnBack = new System.Windows.Forms.Button();
|
||||||
this.btnNext = new System.Windows.Forms.Button();
|
this.btnNext = new System.Windows.Forms.Button();
|
||||||
this.btnCancel = new System.Windows.Forms.Button();
|
this.btnCancel = new System.Windows.Forms.Button();
|
||||||
@ -51,6 +51,7 @@
|
|||||||
this.btnRemoveEndpoint = new System.Windows.Forms.Button();
|
this.btnRemoveEndpoint = new System.Windows.Forms.Button();
|
||||||
this.btnAddEndpoint = new System.Windows.Forms.Button();
|
this.btnAddEndpoint = new System.Windows.Forms.Button();
|
||||||
this.lvwEndpoints = new System.Windows.Forms.ListView();
|
this.lvwEndpoints = new System.Windows.Forms.ListView();
|
||||||
|
this.colInstanceName = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader()));
|
||||||
this.colHost = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader()));
|
this.colHost = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader()));
|
||||||
this.colPort = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader()));
|
this.colPort = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader()));
|
||||||
this.rdoNoMaster = new System.Windows.Forms.RadioButton();
|
this.rdoNoMaster = new System.Windows.Forms.RadioButton();
|
||||||
@ -74,7 +75,6 @@
|
|||||||
this.txtError = new System.Windows.Forms.TextBox();
|
this.txtError = new System.Windows.Forms.TextBox();
|
||||||
this.lblError = new System.Windows.Forms.Label();
|
this.lblError = new System.Windows.Forms.Label();
|
||||||
this.picBanner = new System.Windows.Forms.PictureBox();
|
this.picBanner = new System.Windows.Forms.PictureBox();
|
||||||
this.colInstanceName = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader()));
|
|
||||||
this.tabFinish.SuspendLayout();
|
this.tabFinish.SuspendLayout();
|
||||||
this.tabConfigure.SuspendLayout();
|
this.tabConfigure.SuspendLayout();
|
||||||
this.tabParameters.SuspendLayout();
|
this.tabParameters.SuspendLayout();
|
||||||
@ -198,7 +198,7 @@
|
|||||||
this.lblTicket.Name = "lblTicket";
|
this.lblTicket.Name = "lblTicket";
|
||||||
this.lblTicket.Size = new System.Drawing.Size(71, 13);
|
this.lblTicket.Size = new System.Drawing.Size(71, 13);
|
||||||
this.lblTicket.TabIndex = 4;
|
this.lblTicket.TabIndex = 4;
|
||||||
this.lblTicket.Text = "Agent Ticket:";
|
this.lblTicket.Text = "Setup Ticket:";
|
||||||
//
|
//
|
||||||
// txtInstanceName
|
// txtInstanceName
|
||||||
//
|
//
|
||||||
@ -321,6 +321,11 @@
|
|||||||
this.lvwEndpoints.View = System.Windows.Forms.View.Details;
|
this.lvwEndpoints.View = System.Windows.Forms.View.Details;
|
||||||
this.lvwEndpoints.SelectedIndexChanged += new System.EventHandler(this.lvwEndpoints_SelectedIndexChanged);
|
this.lvwEndpoints.SelectedIndexChanged += new System.EventHandler(this.lvwEndpoints_SelectedIndexChanged);
|
||||||
//
|
//
|
||||||
|
// colInstanceName
|
||||||
|
//
|
||||||
|
this.colInstanceName.Text = "Instance Name";
|
||||||
|
this.colInstanceName.Width = 200;
|
||||||
|
//
|
||||||
// colHost
|
// colHost
|
||||||
//
|
//
|
||||||
this.colHost.Text = "Host";
|
this.colHost.Text = "Host";
|
||||||
@ -347,6 +352,7 @@
|
|||||||
// rdoNewMaster
|
// rdoNewMaster
|
||||||
//
|
//
|
||||||
this.rdoNewMaster.AutoSize = true;
|
this.rdoNewMaster.AutoSize = true;
|
||||||
|
this.rdoNewMaster.Enabled = false;
|
||||||
this.rdoNewMaster.Location = new System.Drawing.Point(11, 22);
|
this.rdoNewMaster.Location = new System.Drawing.Point(11, 22);
|
||||||
this.rdoNewMaster.Name = "rdoNewMaster";
|
this.rdoNewMaster.Name = "rdoNewMaster";
|
||||||
this.rdoNewMaster.Size = new System.Drawing.Size(167, 17);
|
this.rdoNewMaster.Size = new System.Drawing.Size(167, 17);
|
||||||
@ -548,12 +554,7 @@
|
|||||||
this.picBanner.TabIndex = 1;
|
this.picBanner.TabIndex = 1;
|
||||||
this.picBanner.TabStop = false;
|
this.picBanner.TabStop = false;
|
||||||
//
|
//
|
||||||
// colInstanceName
|
// SetupWizard
|
||||||
//
|
|
||||||
this.colInstanceName.Text = "Instance Name";
|
|
||||||
this.colInstanceName.Width = 200;
|
|
||||||
//
|
|
||||||
// AgentWizard
|
|
||||||
//
|
//
|
||||||
this.AcceptButton = this.btnNext;
|
this.AcceptButton = this.btnNext;
|
||||||
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
|
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
|
||||||
@ -568,8 +569,8 @@
|
|||||||
this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedSingle;
|
this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedSingle;
|
||||||
this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
|
this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
|
||||||
this.MaximizeBox = false;
|
this.MaximizeBox = false;
|
||||||
this.Name = "AgentWizard";
|
this.Name = "SetupWizard";
|
||||||
this.Text = "Icinga 2 Agent Wizard";
|
this.Text = "Icinga 2 Setup Wizard";
|
||||||
this.Shown += new System.EventHandler(this.AgentWizard_Shown);
|
this.Shown += new System.EventHandler(this.AgentWizard_Shown);
|
||||||
this.tabFinish.ResumeLayout(false);
|
this.tabFinish.ResumeLayout(false);
|
||||||
this.tabFinish.PerformLayout();
|
this.tabFinish.PerformLayout();
|
@ -16,11 +16,11 @@ using System.Security.AccessControl;
|
|||||||
|
|
||||||
namespace Icinga
|
namespace Icinga
|
||||||
{
|
{
|
||||||
public partial class AgentWizard : Form
|
public partial class SetupWizard : Form
|
||||||
{
|
{
|
||||||
private string _TrustedFile;
|
private string _TrustedFile;
|
||||||
|
|
||||||
public AgentWizard()
|
public SetupWizard()
|
||||||
{
|
{
|
||||||
InitializeComponent();
|
InitializeComponent();
|
||||||
|
|
Loading…
x
Reference in New Issue
Block a user