120 lines
4.4 KiB
C#
120 lines
4.4 KiB
C#
using static System.Net.Mime.MediaTypeNames;
|
|
using System.Windows.Forms;
|
|
using System.Xml.Linq;
|
|
|
|
namespace StudentProgress.Forms
|
|
{
|
|
partial class FormSubjects
|
|
{
|
|
/// <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()
|
|
{
|
|
panel1 = new Panel();
|
|
buttonDel = new Button();
|
|
buttonAdd = new Button();
|
|
dataGridView = new DataGridView();
|
|
panel1.SuspendLayout();
|
|
((System.ComponentModel.ISupportInitialize)dataGridView).BeginInit();
|
|
SuspendLayout();
|
|
//
|
|
// panel1
|
|
//
|
|
panel1.Controls.Add(buttonDel);
|
|
panel1.Controls.Add(buttonAdd);
|
|
panel1.Dock = DockStyle.Right;
|
|
panel1.Location = new Point(1018, 0);
|
|
panel1.Margin = new Padding(6, 6, 6, 6);
|
|
panel1.Name = "panel1";
|
|
panel1.Size = new Size(139, 578);
|
|
panel1.TabIndex = 0;
|
|
//
|
|
// buttonDel
|
|
//
|
|
buttonDel.BackgroundImage = Properties.Resources.Del;
|
|
buttonDel.BackgroundImageLayout = ImageLayout.Stretch;
|
|
buttonDel.Location = new Point(13, 367);
|
|
buttonDel.Margin = new Padding(6, 6, 6, 6);
|
|
buttonDel.Name = "buttonDel";
|
|
buttonDel.Size = new Size(104, 113);
|
|
buttonDel.TabIndex = 1;
|
|
buttonDel.UseVisualStyleBackColor = true;
|
|
buttonDel.Click += buttonDel_Click;
|
|
//
|
|
// buttonAdd
|
|
//
|
|
buttonAdd.BackgroundImage = Properties.Resources.Add;
|
|
buttonAdd.BackgroundImageLayout = ImageLayout.Stretch;
|
|
buttonAdd.Location = new Point(13, 73);
|
|
buttonAdd.Margin = new Padding(6, 6, 6, 6);
|
|
buttonAdd.Name = "buttonAdd";
|
|
buttonAdd.Size = new Size(104, 113);
|
|
buttonAdd.TabIndex = 0;
|
|
buttonAdd.UseVisualStyleBackColor = true;
|
|
buttonAdd.Click += buttonAdd_Click;
|
|
//
|
|
// dataGridView
|
|
//
|
|
dataGridView.AllowUserToAddRows = false;
|
|
dataGridView.AllowUserToDeleteRows = false;
|
|
dataGridView.AllowUserToResizeColumns = false;
|
|
dataGridView.AllowUserToResizeRows = false;
|
|
dataGridView.AutoSizeColumnsMode = DataGridViewAutoSizeColumnsMode.Fill;
|
|
dataGridView.ColumnHeadersHeightSizeMode = DataGridViewColumnHeadersHeightSizeMode.AutoSize;
|
|
dataGridView.Dock = DockStyle.Fill;
|
|
dataGridView.Location = new Point(0, 0);
|
|
dataGridView.Margin = new Padding(6, 6, 6, 6);
|
|
dataGridView.MultiSelect = false;
|
|
dataGridView.Name = "dataGridView";
|
|
dataGridView.ReadOnly = true;
|
|
dataGridView.RowHeadersVisible = false;
|
|
dataGridView.RowHeadersWidth = 82;
|
|
dataGridView.Size = new Size(1018, 578);
|
|
dataGridView.TabIndex = 1;
|
|
//
|
|
// FormSubjects
|
|
//
|
|
AutoScaleDimensions = new SizeF(13F, 32F);
|
|
AutoScaleMode = AutoScaleMode.Font;
|
|
ClientSize = new Size(1157, 578);
|
|
Controls.Add(dataGridView);
|
|
Controls.Add(panel1);
|
|
Margin = new Padding(6, 6, 6, 6);
|
|
Name = "FormSubjects";
|
|
Text = "Предметы";
|
|
Load += FormSubjects_Load;
|
|
panel1.ResumeLayout(false);
|
|
((System.ComponentModel.ISupportInitialize)dataGridView).EndInit();
|
|
ResumeLayout(false);
|
|
}
|
|
|
|
#endregion
|
|
|
|
private Panel panel1;
|
|
private DataGridView dataGridView;
|
|
private Button buttonDel;
|
|
private Button buttonAdd;
|
|
}
|
|
} |