mirror of
https://github.com/mRemoteNG/mRemoteNG.git
synced 2026-02-17 22:11:48 +08:00
185 lines
7.6 KiB
C#
185 lines
7.6 KiB
C#
namespace ExternalConnectors.VO
|
|
{
|
|
partial class VaultOpenbaoConnectionForm
|
|
{
|
|
/// <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() {
|
|
tbUrl = new TextBox();
|
|
tbToken = new TextBox();
|
|
btnOK = new Button();
|
|
btnCancel = new Button();
|
|
tableLayoutPanel1 = new TableLayoutPanel();
|
|
label1 = new Label();
|
|
label2 = new Label();
|
|
tableLayoutPanel2 = new TableLayoutPanel();
|
|
tableLayoutPanel1.SuspendLayout();
|
|
tableLayoutPanel2.SuspendLayout();
|
|
SuspendLayout();
|
|
//
|
|
// tbUrl
|
|
//
|
|
tbUrl.Dock = DockStyle.Fill;
|
|
tbUrl.Location = new Point(174, 5);
|
|
tbUrl.Margin = new Padding(5);
|
|
tbUrl.Name = "tbUrl";
|
|
tbUrl.Size = new Size(559, 27);
|
|
tbUrl.TabIndex = 0;
|
|
//
|
|
// tbToken
|
|
//
|
|
tbToken.Dock = DockStyle.Fill;
|
|
tbToken.Location = new Point(174, 57);
|
|
tbToken.Margin = new Padding(5);
|
|
tbToken.Name = "tbToken";
|
|
tbToken.Size = new Size(559, 27);
|
|
tbToken.TabIndex = 2;
|
|
tbToken.UseSystemPasswordChar = true;
|
|
tbToken.Focus();
|
|
//
|
|
// btnOK
|
|
//
|
|
btnOK.Anchor = AnchorStyles.Right;
|
|
btnOK.DialogResult = DialogResult.OK;
|
|
btnOK.Location = new Point(250, 16);
|
|
btnOK.Margin = new Padding(5);
|
|
btnOK.Name = "btnOK";
|
|
btnOK.Size = new Size(101, 35);
|
|
btnOK.TabIndex = 10;
|
|
btnOK.Text = "OK";
|
|
btnOK.UseVisualStyleBackColor = true;
|
|
//
|
|
// btnCancel
|
|
//
|
|
btnCancel.Anchor = AnchorStyles.Left;
|
|
btnCancel.DialogResult = DialogResult.Cancel;
|
|
btnCancel.Location = new Point(387, 16);
|
|
btnCancel.Margin = new Padding(5);
|
|
btnCancel.Name = "btnCancel";
|
|
btnCancel.Size = new Size(101, 35);
|
|
btnCancel.TabIndex = 11;
|
|
btnCancel.Text = "Cancel";
|
|
btnCancel.UseVisualStyleBackColor = true;
|
|
//
|
|
// tableLayoutPanel1
|
|
//
|
|
tableLayoutPanel1.ColumnCount = 2;
|
|
tableLayoutPanel1.ColumnStyles.Add(new ColumnStyle(SizeType.Percent, 22.92994F));
|
|
tableLayoutPanel1.ColumnStyles.Add(new ColumnStyle(SizeType.Percent, 77.07006F));
|
|
tableLayoutPanel1.Controls.Add(label1, 0, 0);
|
|
tableLayoutPanel1.Controls.Add(label2, 0, 1);
|
|
tableLayoutPanel1.Controls.Add(tbUrl, 1, 0);
|
|
tableLayoutPanel1.Controls.Add(tbToken, 1, 1);
|
|
tableLayoutPanel1.Dock = DockStyle.Top;
|
|
tableLayoutPanel1.Location = new Point(0, 0);
|
|
tableLayoutPanel1.Margin = new Padding(5);
|
|
tableLayoutPanel1.Name = "tableLayoutPanel1";
|
|
tableLayoutPanel1.RowCount = 3;
|
|
tableLayoutPanel1.RowStyles.Add(new RowStyle(SizeType.Percent, 50F));
|
|
tableLayoutPanel1.RowStyles.Add(new RowStyle(SizeType.Percent, 50F));
|
|
tableLayoutPanel1.RowStyles.Add(new RowStyle(SizeType.Absolute, 31F));
|
|
tableLayoutPanel1.RowStyles.Add(new RowStyle(SizeType.Absolute, 31F));
|
|
tableLayoutPanel1.RowStyles.Add(new RowStyle(SizeType.Absolute, 31F));
|
|
tableLayoutPanel1.Size = new Size(738, 136);
|
|
tableLayoutPanel1.TabIndex = 12;
|
|
//
|
|
// label1
|
|
//
|
|
label1.AutoSize = true;
|
|
label1.Dock = DockStyle.Fill;
|
|
label1.Location = new Point(5, 0);
|
|
label1.Margin = new Padding(5, 0, 5, 0);
|
|
label1.Name = "label1";
|
|
label1.Size = new Size(159, 52);
|
|
label1.TabIndex = 2;
|
|
label1.Text = "Server URL";
|
|
label1.TextAlign = ContentAlignment.MiddleLeft;
|
|
//
|
|
// label2
|
|
//
|
|
label2.AutoSize = true;
|
|
label2.Dock = DockStyle.Fill;
|
|
label2.Location = new Point(5, 52);
|
|
label2.Margin = new Padding(5, 0, 5, 0);
|
|
label2.Name = "label2";
|
|
label2.Size = new Size(159, 52);
|
|
label2.TabIndex = 4;
|
|
label2.Text = "Access Token";
|
|
label2.TextAlign = ContentAlignment.MiddleLeft;
|
|
//
|
|
// tableLayoutPanel2
|
|
//
|
|
tableLayoutPanel2.ColumnCount = 5;
|
|
tableLayoutPanel2.ColumnStyles.Add(new ColumnStyle(SizeType.Absolute, 106F));
|
|
tableLayoutPanel2.ColumnStyles.Add(new ColumnStyle(SizeType.Percent, 50F));
|
|
tableLayoutPanel2.ColumnStyles.Add(new ColumnStyle(SizeType.Absolute, 26F));
|
|
tableLayoutPanel2.ColumnStyles.Add(new ColumnStyle(SizeType.Percent, 50F));
|
|
tableLayoutPanel2.ColumnStyles.Add(new ColumnStyle(SizeType.Absolute, 106F));
|
|
tableLayoutPanel2.Controls.Add(btnOK, 1, 0);
|
|
tableLayoutPanel2.Controls.Add(btnCancel, 3, 0);
|
|
tableLayoutPanel2.Dock = DockStyle.Bottom;
|
|
tableLayoutPanel2.Location = new Point(0, 149);
|
|
tableLayoutPanel2.Margin = new Padding(5);
|
|
tableLayoutPanel2.Name = "tableLayoutPanel2";
|
|
tableLayoutPanel2.RowCount = 1;
|
|
tableLayoutPanel2.RowStyles.Add(new RowStyle(SizeType.Percent, 100F));
|
|
tableLayoutPanel2.Size = new Size(738, 67);
|
|
tableLayoutPanel2.TabIndex = 13;
|
|
//
|
|
// VaultOpenbaoConnectionForm
|
|
//
|
|
AcceptButton = btnOK;
|
|
AutoScaleDimensions = new SizeF(8F, 20F);
|
|
AutoScaleMode = AutoScaleMode.Font;
|
|
ClientSize = new Size(738, 216);
|
|
Controls.Add(tableLayoutPanel2);
|
|
Controls.Add(tableLayoutPanel1);
|
|
FormBorderStyle = FormBorderStyle.FixedDialog;
|
|
Margin = new Padding(5);
|
|
MaximizeBox = false;
|
|
MinimizeBox = false;
|
|
Name = "VaultOpenbaoConnectionForm";
|
|
SizeGripStyle = SizeGripStyle.Hide;
|
|
Text = "Vault/Openbao API Login Data";
|
|
Activated += VaultOpenbaoConnectionForm_Activated;
|
|
tableLayoutPanel1.ResumeLayout(false);
|
|
tableLayoutPanel1.PerformLayout();
|
|
tableLayoutPanel2.ResumeLayout(false);
|
|
ResumeLayout(false);
|
|
|
|
}
|
|
|
|
#endregion
|
|
|
|
public System.Windows.Forms.TextBox tbUrl;
|
|
public System.Windows.Forms.TextBox tbToken;
|
|
private System.Windows.Forms.Button btnOK;
|
|
private System.Windows.Forms.Button btnCancel;
|
|
private System.Windows.Forms.TableLayoutPanel tableLayoutPanel1;
|
|
private System.Windows.Forms.Label label2;
|
|
private System.Windows.Forms.Label label1;
|
|
private System.Windows.Forms.TableLayoutPanel tableLayoutPanel2;
|
|
}
|
|
} |