295 lines
12 KiB
C#
295 lines
12 KiB
C#
namespace Pf2eViewer;
|
|
|
|
partial class MainViewForm
|
|
{
|
|
/// <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()
|
|
{
|
|
RootSplitContainer = new SplitContainer();
|
|
InnerSplitContainer = new SplitContainer();
|
|
TypesListBox = new ListBox();
|
|
EntityGridView = new DataGridView();
|
|
PaginationPagel = new Panel();
|
|
PageTextBox = new TextBox();
|
|
PaginationLabel = new TextBox();
|
|
LastPageButton = new Button();
|
|
NextPageButton = new Button();
|
|
PrevPageButton = new Button();
|
|
FirstPageButton = new Button();
|
|
ResultSplitContainer = new SplitContainer();
|
|
JsonWebView = new Microsoft.Web.WebView2.WinForms.WebView2();
|
|
DescriptionTextBox = new TextBox();
|
|
((System.ComponentModel.ISupportInitialize) RootSplitContainer).BeginInit();
|
|
RootSplitContainer.Panel1.SuspendLayout();
|
|
RootSplitContainer.Panel2.SuspendLayout();
|
|
RootSplitContainer.SuspendLayout();
|
|
((System.ComponentModel.ISupportInitialize) InnerSplitContainer).BeginInit();
|
|
InnerSplitContainer.Panel1.SuspendLayout();
|
|
InnerSplitContainer.Panel2.SuspendLayout();
|
|
InnerSplitContainer.SuspendLayout();
|
|
((System.ComponentModel.ISupportInitialize) EntityGridView).BeginInit();
|
|
PaginationPagel.SuspendLayout();
|
|
((System.ComponentModel.ISupportInitialize) ResultSplitContainer).BeginInit();
|
|
ResultSplitContainer.Panel1.SuspendLayout();
|
|
ResultSplitContainer.Panel2.SuspendLayout();
|
|
ResultSplitContainer.SuspendLayout();
|
|
((System.ComponentModel.ISupportInitialize) JsonWebView).BeginInit();
|
|
SuspendLayout();
|
|
//
|
|
// RootSplitContainer
|
|
//
|
|
RootSplitContainer.Dock = DockStyle.Fill;
|
|
RootSplitContainer.Location = new Point(0, 0);
|
|
RootSplitContainer.Name = "RootSplitContainer";
|
|
//
|
|
// RootSplitContainer.Panel1
|
|
//
|
|
RootSplitContainer.Panel1.Controls.Add(InnerSplitContainer);
|
|
RootSplitContainer.Panel1MinSize = 200;
|
|
//
|
|
// RootSplitContainer.Panel2
|
|
//
|
|
RootSplitContainer.Panel2.Controls.Add(ResultSplitContainer);
|
|
RootSplitContainer.Panel2MinSize = 400;
|
|
RootSplitContainer.Size = new Size(1181, 688);
|
|
RootSplitContainer.SplitterDistance = 254;
|
|
RootSplitContainer.TabIndex = 0;
|
|
//
|
|
// InnerSplitContainer
|
|
//
|
|
InnerSplitContainer.Dock = DockStyle.Fill;
|
|
InnerSplitContainer.Location = new Point(0, 0);
|
|
InnerSplitContainer.Name = "InnerSplitContainer";
|
|
InnerSplitContainer.Orientation = Orientation.Horizontal;
|
|
//
|
|
// InnerSplitContainer.Panel1
|
|
//
|
|
InnerSplitContainer.Panel1.Controls.Add(TypesListBox);
|
|
//
|
|
// InnerSplitContainer.Panel2
|
|
//
|
|
InnerSplitContainer.Panel2.Controls.Add(EntityGridView);
|
|
InnerSplitContainer.Panel2.Controls.Add(PaginationPagel);
|
|
InnerSplitContainer.Size = new Size(254, 688);
|
|
InnerSplitContainer.SplitterDistance = 102;
|
|
InnerSplitContainer.TabIndex = 1;
|
|
//
|
|
// TypesListBox
|
|
//
|
|
TypesListBox.Dock = DockStyle.Fill;
|
|
TypesListBox.FormattingEnabled = true;
|
|
TypesListBox.ItemHeight = 15;
|
|
TypesListBox.Location = new Point(0, 0);
|
|
TypesListBox.Name = "TypesListBox";
|
|
TypesListBox.Size = new Size(254, 102);
|
|
TypesListBox.TabIndex = 0;
|
|
TypesListBox.SelectedIndexChanged += TypesListBox_SelectedIndexChanged;
|
|
//
|
|
// EntityGridView
|
|
//
|
|
EntityGridView.AllowUserToAddRows = false;
|
|
EntityGridView.AllowUserToDeleteRows = false;
|
|
EntityGridView.AutoSizeColumnsMode = DataGridViewAutoSizeColumnsMode.AllCells;
|
|
EntityGridView.ColumnHeadersHeightSizeMode = DataGridViewColumnHeadersHeightSizeMode.AutoSize;
|
|
EntityGridView.Dock = DockStyle.Fill;
|
|
EntityGridView.Location = new Point(0, 53);
|
|
EntityGridView.MultiSelect = false;
|
|
EntityGridView.Name = "EntityGridView";
|
|
EntityGridView.ReadOnly = true;
|
|
EntityGridView.RowHeadersVisible = false;
|
|
EntityGridView.RowHeadersWidthSizeMode = DataGridViewRowHeadersWidthSizeMode.AutoSizeToDisplayedHeaders;
|
|
EntityGridView.ShowEditingIcon = false;
|
|
EntityGridView.Size = new Size(254, 529);
|
|
EntityGridView.TabIndex = 0;
|
|
EntityGridView.RowStateChanged += EntityGridView_RowStateChanged;
|
|
//
|
|
// PaginationPagel
|
|
//
|
|
PaginationPagel.Controls.Add(PageTextBox);
|
|
PaginationPagel.Controls.Add(PaginationLabel);
|
|
PaginationPagel.Controls.Add(LastPageButton);
|
|
PaginationPagel.Controls.Add(NextPageButton);
|
|
PaginationPagel.Controls.Add(PrevPageButton);
|
|
PaginationPagel.Controls.Add(FirstPageButton);
|
|
PaginationPagel.Dock = DockStyle.Top;
|
|
PaginationPagel.Location = new Point(0, 0);
|
|
PaginationPagel.Name = "PaginationPagel";
|
|
PaginationPagel.Size = new Size(254, 53);
|
|
PaginationPagel.TabIndex = 1;
|
|
//
|
|
// PageTextBox
|
|
//
|
|
PageTextBox.Anchor = AnchorStyles.Top | AnchorStyles.Left | AnchorStyles.Right;
|
|
PageTextBox.Location = new Point(81, 4);
|
|
PageTextBox.Name = "PageTextBox";
|
|
PageTextBox.Size = new Size(92, 23);
|
|
PageTextBox.TabIndex = 8;
|
|
PageTextBox.Text = "1";
|
|
PageTextBox.TextAlign = HorizontalAlignment.Center;
|
|
PageTextBox.KeyPress += PageTextBox_KeyPress;
|
|
//
|
|
// PaginationLabel
|
|
//
|
|
PaginationLabel.Anchor = AnchorStyles.Top | AnchorStyles.Left | AnchorStyles.Right;
|
|
PaginationLabel.BorderStyle = BorderStyle.None;
|
|
PaginationLabel.Location = new Point(3, 31);
|
|
PaginationLabel.Name = "PaginationLabel";
|
|
PaginationLabel.ReadOnly = true;
|
|
PaginationLabel.Size = new Size(248, 16);
|
|
PaginationLabel.TabIndex = 7;
|
|
PaginationLabel.Text = "Всего";
|
|
PaginationLabel.TextAlign = HorizontalAlignment.Center;
|
|
//
|
|
// LastPageButton
|
|
//
|
|
LastPageButton.Anchor = AnchorStyles.Top | AnchorStyles.Right;
|
|
LastPageButton.Location = new Point(218, 3);
|
|
LastPageButton.Name = "LastPageButton";
|
|
LastPageButton.Size = new Size(33, 23);
|
|
LastPageButton.TabIndex = 3;
|
|
LastPageButton.Text = ">>";
|
|
LastPageButton.UseVisualStyleBackColor = true;
|
|
LastPageButton.Click += LastPageButton_Click;
|
|
//
|
|
// NextPageButton
|
|
//
|
|
NextPageButton.Anchor = AnchorStyles.Top | AnchorStyles.Right;
|
|
NextPageButton.Location = new Point(179, 3);
|
|
NextPageButton.Name = "NextPageButton";
|
|
NextPageButton.Size = new Size(33, 23);
|
|
NextPageButton.TabIndex = 2;
|
|
NextPageButton.Text = ">";
|
|
NextPageButton.UseVisualStyleBackColor = true;
|
|
NextPageButton.Click += NextPageButton_Click;
|
|
//
|
|
// PrevPageButton
|
|
//
|
|
PrevPageButton.Location = new Point(42, 3);
|
|
PrevPageButton.Name = "PrevPageButton";
|
|
PrevPageButton.Size = new Size(33, 23);
|
|
PrevPageButton.TabIndex = 1;
|
|
PrevPageButton.Text = "<";
|
|
PrevPageButton.UseVisualStyleBackColor = true;
|
|
PrevPageButton.Click += PrevPageButton_Click;
|
|
//
|
|
// FirstPageButton
|
|
//
|
|
FirstPageButton.Location = new Point(3, 3);
|
|
FirstPageButton.Name = "FirstPageButton";
|
|
FirstPageButton.Size = new Size(33, 23);
|
|
FirstPageButton.TabIndex = 0;
|
|
FirstPageButton.Text = "<<";
|
|
FirstPageButton.UseVisualStyleBackColor = true;
|
|
FirstPageButton.Click += FirstPageButton_Click;
|
|
//
|
|
// ResultSplitContainer
|
|
//
|
|
ResultSplitContainer.Dock = DockStyle.Fill;
|
|
ResultSplitContainer.Location = new Point(0, 0);
|
|
ResultSplitContainer.Name = "ResultSplitContainer";
|
|
//
|
|
// ResultSplitContainer.Panel1
|
|
//
|
|
ResultSplitContainer.Panel1.Controls.Add(JsonWebView);
|
|
//
|
|
// ResultSplitContainer.Panel2
|
|
//
|
|
ResultSplitContainer.Panel2.Controls.Add(DescriptionTextBox);
|
|
ResultSplitContainer.Size = new Size(923, 688);
|
|
ResultSplitContainer.SplitterDistance = 467;
|
|
ResultSplitContainer.TabIndex = 1;
|
|
//
|
|
// JsonWebView
|
|
//
|
|
JsonWebView.AllowExternalDrop = true;
|
|
JsonWebView.CreationProperties = null;
|
|
JsonWebView.DefaultBackgroundColor = Color.White;
|
|
JsonWebView.Dock = DockStyle.Fill;
|
|
JsonWebView.Location = new Point(0, 0);
|
|
JsonWebView.Name = "JsonWebView";
|
|
JsonWebView.Size = new Size(467, 688);
|
|
JsonWebView.TabIndex = 0;
|
|
JsonWebView.Visible = false;
|
|
JsonWebView.ZoomFactor = 1D;
|
|
JsonWebView.CoreWebView2InitializationCompleted += JsonWebView_CoreWebView2InitializationCompleted;
|
|
//
|
|
// DescriptionTextBox
|
|
//
|
|
DescriptionTextBox.Dock = DockStyle.Fill;
|
|
DescriptionTextBox.Location = new Point(0, 0);
|
|
DescriptionTextBox.Multiline = true;
|
|
DescriptionTextBox.Name = "DescriptionTextBox";
|
|
DescriptionTextBox.ReadOnly = true;
|
|
DescriptionTextBox.ScrollBars = ScrollBars.Vertical;
|
|
DescriptionTextBox.Size = new Size(452, 688);
|
|
DescriptionTextBox.TabIndex = 0;
|
|
//
|
|
// MainViewForm
|
|
//
|
|
AutoScaleDimensions = new SizeF(7F, 15F);
|
|
AutoScaleMode = AutoScaleMode.Font;
|
|
ClientSize = new Size(1181, 688);
|
|
Controls.Add(RootSplitContainer);
|
|
Name = "MainViewForm";
|
|
Text = "DataBaseViewer";
|
|
RootSplitContainer.Panel1.ResumeLayout(false);
|
|
RootSplitContainer.Panel2.ResumeLayout(false);
|
|
((System.ComponentModel.ISupportInitialize) RootSplitContainer).EndInit();
|
|
RootSplitContainer.ResumeLayout(false);
|
|
InnerSplitContainer.Panel1.ResumeLayout(false);
|
|
InnerSplitContainer.Panel2.ResumeLayout(false);
|
|
((System.ComponentModel.ISupportInitialize) InnerSplitContainer).EndInit();
|
|
InnerSplitContainer.ResumeLayout(false);
|
|
((System.ComponentModel.ISupportInitialize) EntityGridView).EndInit();
|
|
PaginationPagel.ResumeLayout(false);
|
|
PaginationPagel.PerformLayout();
|
|
ResultSplitContainer.Panel1.ResumeLayout(false);
|
|
ResultSplitContainer.Panel2.ResumeLayout(false);
|
|
ResultSplitContainer.Panel2.PerformLayout();
|
|
((System.ComponentModel.ISupportInitialize) ResultSplitContainer).EndInit();
|
|
ResultSplitContainer.ResumeLayout(false);
|
|
((System.ComponentModel.ISupportInitialize) JsonWebView).EndInit();
|
|
ResumeLayout(false);
|
|
}
|
|
|
|
#endregion
|
|
|
|
private SplitContainer RootSplitContainer;
|
|
private SplitContainer InnerSplitContainer;
|
|
private ListBox TypesListBox;
|
|
private DataGridView EntityGridView;
|
|
private SplitContainer ResultSplitContainer;
|
|
private TextBox DescriptionTextBox;
|
|
private Panel PaginationPagel;
|
|
private Button LastPageButton;
|
|
private Button NextPageButton;
|
|
private Button PrevPageButton;
|
|
private Button FirstPageButton;
|
|
private TextBox PageTextBox;
|
|
private TextBox PaginationLabel;
|
|
private Microsoft.Web.WebView2.WinForms.WebView2 JsonWebView;
|
|
}
|