Обновление отображения
This commit is contained in:
+110
@@ -0,0 +1,110 @@
|
||||
namespace Pf2eViewer;
|
||||
|
||||
partial class DatabaseViewerControl
|
||||
{
|
||||
/// <summary>
|
||||
/// Обязательная переменная конструктора.
|
||||
/// </summary>
|
||||
private System.ComponentModel.IContainer components = null;
|
||||
|
||||
/// <summary>
|
||||
/// Освободить все используемые ресурсы.
|
||||
/// </summary>
|
||||
/// <param name="disposing">истинно, если управляемый ресурс должен быть удален; иначе ложно.</param>
|
||||
protected override void Dispose(bool disposing)
|
||||
{
|
||||
if (disposing && (components != null))
|
||||
{
|
||||
components.Dispose();
|
||||
}
|
||||
base.Dispose(disposing);
|
||||
}
|
||||
|
||||
#region Код, автоматически созданный конструктором компонентов
|
||||
|
||||
/// <summary>
|
||||
/// Требуемый метод для поддержки конструктора — не изменяйте
|
||||
/// содержимое этого метода с помощью редактора кода.
|
||||
/// </summary>
|
||||
private void InitializeComponent()
|
||||
{
|
||||
components = new System.ComponentModel.Container();
|
||||
BindingNavigator = new CoreBindingNavigator();
|
||||
SearchTextBox = new TextBox();
|
||||
DataGridView = new DataGridView();
|
||||
DbBindingSource = new BindingSource(components);
|
||||
PagesBindingSource = new BindingSource(components);
|
||||
( BindingNavigator).BeginInit();
|
||||
((System.ComponentModel.ISupportInitialize) DataGridView).BeginInit();
|
||||
((System.ComponentModel.ISupportInitialize) DbBindingSource).BeginInit();
|
||||
((System.ComponentModel.ISupportInitialize) PagesBindingSource).BeginInit();
|
||||
SuspendLayout();
|
||||
//
|
||||
// BindingNavigator
|
||||
//
|
||||
BindingNavigator.AddNewItem = null;
|
||||
BindingNavigator.DeleteItem = null;
|
||||
BindingNavigator.ImeMode = ImeMode.NoControl;
|
||||
BindingNavigator.LayoutStyle = ToolStripLayoutStyle.HorizontalStackWithOverflow;
|
||||
BindingNavigator.Location = new Point(0, 0);
|
||||
BindingNavigator.Name = "BindingNavigator";
|
||||
BindingNavigator.Size = new Size(345, 25);
|
||||
BindingNavigator.Stretch = true;
|
||||
BindingNavigator.TabIndex = 1;
|
||||
BindingNavigator.Text = "coreBindingNavigator1";
|
||||
BindingNavigator.RefreshItems += BindingNavigator_RefreshItems;
|
||||
//
|
||||
// SearchTextBox
|
||||
//
|
||||
SearchTextBox.Dock = DockStyle.Top;
|
||||
SearchTextBox.Location = new Point(0, 25);
|
||||
SearchTextBox.Name = "SearchTextBox";
|
||||
SearchTextBox.PlaceholderText = "Поиск";
|
||||
SearchTextBox.Size = new Size(345, 23);
|
||||
SearchTextBox.TabIndex = 3;
|
||||
//
|
||||
// DataGridView
|
||||
//
|
||||
DataGridView.AllowUserToAddRows = false;
|
||||
DataGridView.AllowUserToDeleteRows = false;
|
||||
DataGridView.AutoGenerateColumns = false;
|
||||
DataGridView.AutoSizeColumnsMode = DataGridViewAutoSizeColumnsMode.AllCellsExceptHeader;
|
||||
DataGridView.AutoSizeRowsMode = DataGridViewAutoSizeRowsMode.AllCellsExceptHeaders;
|
||||
DataGridView.ColumnHeadersHeightSizeMode = DataGridViewColumnHeadersHeightSizeMode.AutoSize;
|
||||
DataGridView.DataSource = DbBindingSource;
|
||||
DataGridView.Dock = DockStyle.Fill;
|
||||
DataGridView.Location = new Point(0, 48);
|
||||
DataGridView.MultiSelect = false;
|
||||
DataGridView.Name = "DataGridView";
|
||||
DataGridView.ReadOnly = true;
|
||||
DataGridView.RowHeadersVisible = false;
|
||||
DataGridView.SelectionMode = DataGridViewSelectionMode.FullRowSelect;
|
||||
DataGridView.Size = new Size(345, 345);
|
||||
DataGridView.TabIndex = 4;
|
||||
DataGridView.RowStateChanged += DataGridView_RowStateChanged;
|
||||
//
|
||||
// DatabaseViewerControl
|
||||
//
|
||||
AutoScaleDimensions = new SizeF(7F, 15F);
|
||||
AutoScaleMode = AutoScaleMode.Font;
|
||||
Controls.Add(DataGridView);
|
||||
Controls.Add(SearchTextBox);
|
||||
Controls.Add(BindingNavigator);
|
||||
Name = "DatabaseViewerControl";
|
||||
Size = new Size(345, 393);
|
||||
Load += DatabaseViewerControl_Load;
|
||||
( BindingNavigator).EndInit();
|
||||
((System.ComponentModel.ISupportInitialize) DataGridView).EndInit();
|
||||
((System.ComponentModel.ISupportInitialize) DbBindingSource).EndInit();
|
||||
((System.ComponentModel.ISupportInitialize) PagesBindingSource).EndInit();
|
||||
ResumeLayout(false);
|
||||
PerformLayout();
|
||||
}
|
||||
|
||||
#endregion
|
||||
private CoreBindingNavigator BindingNavigator;
|
||||
private TextBox SearchTextBox;
|
||||
private DataGridView DataGridView;
|
||||
private BindingSource DbBindingSource;
|
||||
private BindingSource PagesBindingSource;
|
||||
}
|
||||
Reference in New Issue
Block a user