219 lines
8.1 KiB
C#
219 lines
8.1 KiB
C#
namespace PostmanCloneUI
|
|
{
|
|
partial class Dashboard
|
|
{
|
|
/// <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()
|
|
{
|
|
formHeader = new Label();
|
|
apiLabel = new Label();
|
|
apiText = new TextBox();
|
|
callApi = new Button();
|
|
statusStrip = new StatusStrip();
|
|
systemStatus = new ToolStripStatusLabel();
|
|
httpVerbSelection = new ComboBox();
|
|
callData = new TabControl();
|
|
bodyTab = new TabPage();
|
|
resultsTab = new TabPage();
|
|
resultsText = new TextBox();
|
|
bodyText = new TextBox();
|
|
statusStrip.SuspendLayout();
|
|
callData.SuspendLayout();
|
|
bodyTab.SuspendLayout();
|
|
resultsTab.SuspendLayout();
|
|
SuspendLayout();
|
|
//
|
|
// formHeader
|
|
//
|
|
formHeader.AutoSize = true;
|
|
formHeader.Font = new Font("Segoe UI", 26.25F, FontStyle.Regular, GraphicsUnit.Point, 0);
|
|
formHeader.Location = new Point(31, 29);
|
|
formHeader.Name = "formHeader";
|
|
formHeader.Size = new Size(254, 47);
|
|
formHeader.TabIndex = 0;
|
|
formHeader.Text = "Postman Clone";
|
|
//
|
|
// apiLabel
|
|
//
|
|
apiLabel.AutoSize = true;
|
|
apiLabel.Location = new Point(36, 116);
|
|
apiLabel.Name = "apiLabel";
|
|
apiLabel.Size = new Size(53, 32);
|
|
apiLabel.TabIndex = 1;
|
|
apiLabel.Text = "API:";
|
|
//
|
|
// apiText
|
|
//
|
|
apiText.Anchor = AnchorStyles.Top | AnchorStyles.Bottom | AnchorStyles.Left | AnchorStyles.Right;
|
|
apiText.BorderStyle = BorderStyle.FixedSingle;
|
|
apiText.Location = new Point(210, 113);
|
|
apiText.Name = "apiText";
|
|
apiText.Size = new Size(594, 39);
|
|
apiText.TabIndex = 2;
|
|
//
|
|
// callApi
|
|
//
|
|
callApi.Anchor = AnchorStyles.Top | AnchorStyles.Bottom | AnchorStyles.Right;
|
|
callApi.Location = new Point(810, 111);
|
|
callApi.Name = "callApi";
|
|
callApi.Size = new Size(70, 42);
|
|
callApi.TabIndex = 3;
|
|
callApi.Text = "Go";
|
|
callApi.UseVisualStyleBackColor = true;
|
|
callApi.Click += callApi_Click;
|
|
//
|
|
// statusStrip
|
|
//
|
|
statusStrip.BackColor = Color.White;
|
|
statusStrip.Items.AddRange(new ToolStripItem[] { systemStatus });
|
|
statusStrip.Location = new Point(0, 521);
|
|
statusStrip.Name = "statusStrip";
|
|
statusStrip.Size = new Size(903, 30);
|
|
statusStrip.TabIndex = 5;
|
|
statusStrip.Text = "System Status";
|
|
//
|
|
// systemStatus
|
|
//
|
|
systemStatus.BackColor = Color.White;
|
|
systemStatus.Font = new Font("Segoe UI", 14.25F, FontStyle.Regular, GraphicsUnit.Point, 0);
|
|
systemStatus.Name = "systemStatus";
|
|
systemStatus.Size = new Size(62, 25);
|
|
systemStatus.Text = "Ready";
|
|
//
|
|
// httpVerbSelection
|
|
//
|
|
httpVerbSelection.DropDownStyle = ComboBoxStyle.DropDownList;
|
|
httpVerbSelection.FormattingEnabled = true;
|
|
httpVerbSelection.Items.AddRange(new object[] { "GET", "POST", "PUT", "DELETE" });
|
|
httpVerbSelection.Location = new Point(95, 112);
|
|
httpVerbSelection.Name = "httpVerbSelection";
|
|
httpVerbSelection.Size = new Size(109, 40);
|
|
httpVerbSelection.TabIndex = 7;
|
|
//
|
|
// callData
|
|
//
|
|
callData.Controls.Add(bodyTab);
|
|
callData.Controls.Add(resultsTab);
|
|
callData.Location = new Point(48, 182);
|
|
callData.Name = "callData";
|
|
callData.SelectedIndex = 0;
|
|
callData.Size = new Size(832, 336);
|
|
callData.TabIndex = 8;
|
|
//
|
|
// bodyTab
|
|
//
|
|
bodyTab.Controls.Add(bodyText);
|
|
bodyTab.Location = new Point(4, 41);
|
|
bodyTab.Name = "bodyTab";
|
|
bodyTab.Padding = new Padding(3);
|
|
bodyTab.Size = new Size(824, 291);
|
|
bodyTab.TabIndex = 0;
|
|
bodyTab.Text = "Body";
|
|
bodyTab.UseVisualStyleBackColor = true;
|
|
//
|
|
// resultsTab
|
|
//
|
|
resultsTab.Controls.Add(resultsText);
|
|
resultsTab.Location = new Point(4, 41);
|
|
resultsTab.Name = "resultsTab";
|
|
resultsTab.Padding = new Padding(3);
|
|
resultsTab.Size = new Size(824, 291);
|
|
resultsTab.TabIndex = 1;
|
|
resultsTab.Text = "Results";
|
|
resultsTab.UseVisualStyleBackColor = true;
|
|
//
|
|
// resultsText
|
|
//
|
|
resultsText.BackColor = Color.White;
|
|
resultsText.BorderStyle = BorderStyle.FixedSingle;
|
|
resultsText.Dock = DockStyle.Fill;
|
|
resultsText.Location = new Point(3, 3);
|
|
resultsText.Multiline = true;
|
|
resultsText.Name = "resultsText";
|
|
resultsText.ReadOnly = true;
|
|
resultsText.ScrollBars = ScrollBars.Both;
|
|
resultsText.Size = new Size(818, 285);
|
|
resultsText.TabIndex = 5;
|
|
//
|
|
// bodyText
|
|
//
|
|
bodyText.BackColor = Color.White;
|
|
bodyText.BorderStyle = BorderStyle.FixedSingle;
|
|
bodyText.Dock = DockStyle.Fill;
|
|
bodyText.Location = new Point(3, 3);
|
|
bodyText.Multiline = true;
|
|
bodyText.Name = "bodyText";
|
|
bodyText.ScrollBars = ScrollBars.Both;
|
|
bodyText.Size = new Size(818, 285);
|
|
bodyText.TabIndex = 5;
|
|
//
|
|
// Dashboard
|
|
//
|
|
AutoScaleDimensions = new SizeF(13F, 32F);
|
|
AutoScaleMode = AutoScaleMode.Font;
|
|
BackColor = Color.White;
|
|
ClientSize = new Size(903, 551);
|
|
Controls.Add(callData);
|
|
Controls.Add(httpVerbSelection);
|
|
Controls.Add(statusStrip);
|
|
Controls.Add(callApi);
|
|
Controls.Add(apiText);
|
|
Controls.Add(apiLabel);
|
|
Controls.Add(formHeader);
|
|
Font = new Font("Segoe UI", 18F, FontStyle.Regular, GraphicsUnit.Point, 0);
|
|
Margin = new Padding(6);
|
|
Name = "Dashboard";
|
|
StartPosition = FormStartPosition.CenterScreen;
|
|
Text = "Postman Clone by Tim Corey";
|
|
statusStrip.ResumeLayout(false);
|
|
statusStrip.PerformLayout();
|
|
callData.ResumeLayout(false);
|
|
bodyTab.ResumeLayout(false);
|
|
bodyTab.PerformLayout();
|
|
resultsTab.ResumeLayout(false);
|
|
resultsTab.PerformLayout();
|
|
ResumeLayout(false);
|
|
PerformLayout();
|
|
}
|
|
|
|
#endregion
|
|
|
|
private Label formHeader;
|
|
private Label apiLabel;
|
|
private TextBox apiText;
|
|
private Button callApi;
|
|
private StatusStrip statusStrip;
|
|
private ToolStripStatusLabel systemStatus;
|
|
private ComboBox httpVerbSelection;
|
|
private TabControl callData;
|
|
private TabPage bodyTab;
|
|
private TabPage resultsTab;
|
|
private TabPage tabPage1;
|
|
private TextBox bodyText;
|
|
private TextBox resultsText;
|
|
}
|
|
}
|