Обновление отображения
This commit is contained in:
Generated
+9
-118
@@ -31,14 +31,7 @@ partial class MainViewForm
|
||||
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();
|
||||
DatabaseViewer = new DatabaseViewerControl();
|
||||
ResultSplitContainer = new SplitContainer();
|
||||
JsonWebView = new Microsoft.Web.WebView2.WinForms.WebView2();
|
||||
DescriptionTextBox = new TextBox();
|
||||
@@ -50,8 +43,6 @@ partial class MainViewForm
|
||||
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();
|
||||
@@ -91,8 +82,7 @@ partial class MainViewForm
|
||||
//
|
||||
// InnerSplitContainer.Panel2
|
||||
//
|
||||
InnerSplitContainer.Panel2.Controls.Add(EntityGridView);
|
||||
InnerSplitContainer.Panel2.Controls.Add(PaginationPagel);
|
||||
InnerSplitContainer.Panel2.Controls.Add(DatabaseViewer);
|
||||
InnerSplitContainer.Size = new Size(254, 688);
|
||||
InnerSplitContainer.SplitterDistance = 102;
|
||||
InnerSplitContainer.TabIndex = 1;
|
||||
@@ -108,102 +98,13 @@ partial class MainViewForm
|
||||
TypesListBox.TabIndex = 0;
|
||||
TypesListBox.SelectedIndexChanged += TypesListBox_SelectedIndexChanged;
|
||||
//
|
||||
// EntityGridView
|
||||
// EntityView
|
||||
//
|
||||
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;
|
||||
DatabaseViewer.Dock = DockStyle.Fill;
|
||||
DatabaseViewer.Location = new Point(0, 0);
|
||||
DatabaseViewer.Name = "DatabaseViewer";
|
||||
DatabaseViewer.Size = new Size(254, 582);
|
||||
DatabaseViewer.TabIndex = 0;
|
||||
//
|
||||
// ResultSplitContainer
|
||||
//
|
||||
@@ -263,9 +164,6 @@ partial class MainViewForm
|
||||
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();
|
||||
@@ -280,15 +178,8 @@ partial class MainViewForm
|
||||
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;
|
||||
private DatabaseViewerControl DatabaseViewer;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user