чуть чуть подправил
This commit is contained in:
parent
a981a0eb02
commit
450f1dc73c
@ -121,7 +121,7 @@
|
||||
BookReportToolStripMenuItem.Name = "BookReportToolStripMenuItem";
|
||||
BookReportToolStripMenuItem.ShortcutKeys = Keys.Control | Keys.E;
|
||||
BookReportToolStripMenuItem.Size = new Size(280, 22);
|
||||
BookReportToolStripMenuItem.Text = "Движение книг";
|
||||
BookReportToolStripMenuItem.Text = "Деятельность библиотекаря";
|
||||
BookReportToolStripMenuItem.Click += BookMoveToolStripMenuItem_Click;
|
||||
//
|
||||
// BookDistributionToolStripMenuItem
|
||||
|
@ -96,7 +96,7 @@ namespace ProjectLibrary
|
||||
{
|
||||
try
|
||||
{
|
||||
_container.Resolve<FormBookReport>().ShowDialog();
|
||||
_container.Resolve<FormLibrarianReport>().ShowDialog();
|
||||
}
|
||||
catch (Exception ex)
|
||||
{
|
||||
|
@ -127,7 +127,7 @@
|
||||
Controls.Add(buttonCancel);
|
||||
Controls.Add(buttonSave);
|
||||
Name = "FormBookRestoration";
|
||||
Text = "FormBookRestoration";
|
||||
Text = "Реставрация книги";
|
||||
ResumeLayout(false);
|
||||
PerformLayout();
|
||||
}
|
||||
|
@ -30,8 +30,8 @@
|
||||
{
|
||||
dataGridView = new DataGridView();
|
||||
panel1 = new Panel();
|
||||
buttonAdd = new Button();
|
||||
ButtonDel = new Button();
|
||||
buttonAdd = new Button();
|
||||
((System.ComponentModel.ISupportInitialize)dataGridView).BeginInit();
|
||||
panel1.SuspendLayout();
|
||||
SuspendLayout();
|
||||
@ -64,17 +64,6 @@
|
||||
panel1.Size = new Size(144, 450);
|
||||
panel1.TabIndex = 2;
|
||||
//
|
||||
// buttonAdd
|
||||
//
|
||||
buttonAdd.BackgroundImage = Properties.Resources.plus;
|
||||
buttonAdd.BackgroundImageLayout = ImageLayout.Stretch;
|
||||
buttonAdd.Location = new Point(33, 36);
|
||||
buttonAdd.Name = "buttonAdd";
|
||||
buttonAdd.Size = new Size(75, 63);
|
||||
buttonAdd.TabIndex = 0;
|
||||
buttonAdd.UseVisualStyleBackColor = true;
|
||||
buttonAdd.Click += ButtonAdd_Click;
|
||||
//
|
||||
// ButtonDel
|
||||
//
|
||||
ButtonDel.BackgroundImage = Properties.Resources.minus;
|
||||
@ -86,6 +75,17 @@
|
||||
ButtonDel.UseVisualStyleBackColor = true;
|
||||
ButtonDel.Click += ButtonDel_Click;
|
||||
//
|
||||
// buttonAdd
|
||||
//
|
||||
buttonAdd.BackgroundImage = Properties.Resources.plus;
|
||||
buttonAdd.BackgroundImageLayout = ImageLayout.Stretch;
|
||||
buttonAdd.Location = new Point(33, 36);
|
||||
buttonAdd.Name = "buttonAdd";
|
||||
buttonAdd.Size = new Size(75, 63);
|
||||
buttonAdd.TabIndex = 0;
|
||||
buttonAdd.UseVisualStyleBackColor = true;
|
||||
buttonAdd.Click += ButtonAdd_Click;
|
||||
//
|
||||
// FormBookRestorations
|
||||
//
|
||||
AutoScaleDimensions = new SizeF(7F, 15F);
|
||||
@ -94,7 +94,7 @@
|
||||
Controls.Add(dataGridView);
|
||||
Controls.Add(panel1);
|
||||
Name = "FormBookRestorations";
|
||||
Text = "FormBookRestorations";
|
||||
Text = "Реставрации книг";
|
||||
Load += FormBookRestorations_Load;
|
||||
((System.ComponentModel.ISupportInitialize)dataGridView).EndInit();
|
||||
panel1.ResumeLayout(false);
|
||||
|
@ -84,7 +84,7 @@
|
||||
Controls.Add(checkBoxReaders);
|
||||
Controls.Add(checkBoxLibrarians);
|
||||
Name = "FormDirectoryReport";
|
||||
Text = "FormDirectoryReport";
|
||||
Text = "Отчет со справочниками";
|
||||
ResumeLayout(false);
|
||||
PerformLayout();
|
||||
}
|
||||
|
@ -30,8 +30,8 @@
|
||||
{
|
||||
dataGridView = new DataGridView();
|
||||
panel1 = new Panel();
|
||||
buttonAdd = new Button();
|
||||
ButtonDel = new Button();
|
||||
buttonAdd = new Button();
|
||||
((System.ComponentModel.ISupportInitialize)dataGridView).BeginInit();
|
||||
panel1.SuspendLayout();
|
||||
SuspendLayout();
|
||||
@ -64,17 +64,6 @@
|
||||
panel1.Size = new Size(144, 450);
|
||||
panel1.TabIndex = 2;
|
||||
//
|
||||
// buttonAdd
|
||||
//
|
||||
buttonAdd.BackgroundImage = Properties.Resources.plus;
|
||||
buttonAdd.BackgroundImageLayout = ImageLayout.Stretch;
|
||||
buttonAdd.Location = new Point(33, 36);
|
||||
buttonAdd.Name = "buttonAdd";
|
||||
buttonAdd.Size = new Size(75, 63);
|
||||
buttonAdd.TabIndex = 0;
|
||||
buttonAdd.UseVisualStyleBackColor = true;
|
||||
buttonAdd.Click += ButtonAdd_Click;
|
||||
//
|
||||
// ButtonDel
|
||||
//
|
||||
ButtonDel.BackgroundImage = Properties.Resources.minus;
|
||||
@ -86,6 +75,17 @@
|
||||
ButtonDel.UseVisualStyleBackColor = true;
|
||||
ButtonDel.Click += ButtonDel_Click;
|
||||
//
|
||||
// buttonAdd
|
||||
//
|
||||
buttonAdd.BackgroundImage = Properties.Resources.plus;
|
||||
buttonAdd.BackgroundImageLayout = ImageLayout.Stretch;
|
||||
buttonAdd.Location = new Point(33, 36);
|
||||
buttonAdd.Name = "buttonAdd";
|
||||
buttonAdd.Size = new Size(75, 63);
|
||||
buttonAdd.TabIndex = 0;
|
||||
buttonAdd.UseVisualStyleBackColor = true;
|
||||
buttonAdd.Click += ButtonAdd_Click;
|
||||
//
|
||||
// FormIssues
|
||||
//
|
||||
AutoScaleDimensions = new SizeF(7F, 15F);
|
||||
@ -94,7 +94,7 @@
|
||||
Controls.Add(dataGridView);
|
||||
Controls.Add(panel1);
|
||||
Name = "FormIssues";
|
||||
Text = "FormIssues";
|
||||
Text = "Выдачи книг";
|
||||
Load += FormIssues_Load;
|
||||
((System.ComponentModel.ISupportInitialize)dataGridView).EndInit();
|
||||
panel1.ResumeLayout(false);
|
||||
|
@ -1,6 +1,6 @@
|
||||
namespace ProjectLibrary.Forms
|
||||
{
|
||||
partial class FormBookReport
|
||||
partial class FormLibrarianReport
|
||||
{
|
||||
/// <summary>
|
||||
/// Required designer variable.
|
||||
@ -143,8 +143,8 @@
|
||||
Controls.Add(label3);
|
||||
Controls.Add(label2);
|
||||
Controls.Add(label1);
|
||||
Name = "FormBookReport";
|
||||
Text = "FormBookReport";
|
||||
Name = "FormLibrarianReport";
|
||||
Text = "Отчет по библиотекарю";
|
||||
ResumeLayout(false);
|
||||
PerformLayout();
|
||||
}
|
@ -13,10 +13,10 @@ using Unity;
|
||||
|
||||
namespace ProjectLibrary.Forms;
|
||||
|
||||
public partial class FormBookReport : Form
|
||||
public partial class FormLibrarianReport : Form
|
||||
{
|
||||
private readonly IUnityContainer _container;
|
||||
public FormBookReport(IUnityContainer container, ILibrarianRepository librarianRepository)
|
||||
public FormLibrarianReport(IUnityContainer container, ILibrarianRepository librarianRepository)
|
||||
{
|
||||
InitializeComponent();
|
||||
_container = container ??
|
@ -107,7 +107,7 @@
|
||||
Controls.Add(dataGridView);
|
||||
Controls.Add(panel1);
|
||||
Name = "FormReaders";
|
||||
Text = "FormReaders";
|
||||
Text = "Читатели";
|
||||
Load += FormReaders_Load;
|
||||
((System.ComponentModel.ISupportInitialize)dataGridView).EndInit();
|
||||
panel1.ResumeLayout(false);
|
||||
|
Loading…
Reference in New Issue
Block a user