...
This commit is contained in:
parent
794c246b08
commit
9679a01937
59
PlumbingRepair/FormMain.Designer.cs
generated
59
PlumbingRepair/FormMain.Designer.cs
generated
@ -43,6 +43,7 @@
|
||||
IssuedOrderButton = new Button();
|
||||
UpdateListButton = new Button();
|
||||
DataGridView = new DataGridView();
|
||||
почтаToolStripMenuItem = new ToolStripMenuItem();
|
||||
MenuStrip.SuspendLayout();
|
||||
((System.ComponentModel.ISupportInitialize)DataGridView).BeginInit();
|
||||
SuspendLayout();
|
||||
@ -50,11 +51,10 @@
|
||||
// MenuStrip
|
||||
//
|
||||
MenuStrip.ImageScalingSize = new Size(20, 20);
|
||||
MenuStrip.Items.AddRange(new ToolStripItem[] { СправочникиToolStripMenuItem, отчетыToolStripMenuItem, запускРаботToolStripMenuItem });
|
||||
MenuStrip.Items.AddRange(new ToolStripItem[] { СправочникиToolStripMenuItem, отчетыToolStripMenuItem, запускРаботToolStripMenuItem, почтаToolStripMenuItem });
|
||||
MenuStrip.Location = new Point(0, 0);
|
||||
MenuStrip.Name = "MenuStrip";
|
||||
MenuStrip.Padding = new Padding(7, 3, 0, 3);
|
||||
MenuStrip.Size = new Size(989, 30);
|
||||
MenuStrip.Size = new Size(865, 24);
|
||||
MenuStrip.TabIndex = 0;
|
||||
MenuStrip.Text = "menuStrip1";
|
||||
//
|
||||
@ -62,34 +62,34 @@
|
||||
//
|
||||
СправочникиToolStripMenuItem.DropDownItems.AddRange(new ToolStripItem[] { РаботыToolStripMenuItem, КомпонентыToolStripMenuItem, КлиентыToolStripMenuItem, исполнителиToolStripMenuItem });
|
||||
СправочникиToolStripMenuItem.Name = "СправочникиToolStripMenuItem";
|
||||
СправочникиToolStripMenuItem.Size = new Size(117, 24);
|
||||
СправочникиToolStripMenuItem.Size = new Size(94, 20);
|
||||
СправочникиToolStripMenuItem.Text = "Cправочники";
|
||||
//
|
||||
// РаботыToolStripMenuItem
|
||||
//
|
||||
РаботыToolStripMenuItem.Name = "РаботыToolStripMenuItem";
|
||||
РаботыToolStripMenuItem.Size = new Size(185, 26);
|
||||
РаботыToolStripMenuItem.Size = new Size(149, 22);
|
||||
РаботыToolStripMenuItem.Text = "Работы";
|
||||
РаботыToolStripMenuItem.Click += РаботыToolStripMenuItem_Click;
|
||||
//
|
||||
// КомпонентыToolStripMenuItem
|
||||
//
|
||||
КомпонентыToolStripMenuItem.Name = "КомпонентыToolStripMenuItem";
|
||||
КомпонентыToolStripMenuItem.Size = new Size(185, 26);
|
||||
КомпонентыToolStripMenuItem.Size = new Size(149, 22);
|
||||
КомпонентыToolStripMenuItem.Text = "Компоненты";
|
||||
КомпонентыToolStripMenuItem.Click += КомпонентыToolStripMenuItem_Click;
|
||||
//
|
||||
// КлиентыToolStripMenuItem
|
||||
//
|
||||
КлиентыToolStripMenuItem.Name = "КлиентыToolStripMenuItem";
|
||||
КлиентыToolStripMenuItem.Size = new Size(185, 26);
|
||||
КлиентыToolStripMenuItem.Size = new Size(149, 22);
|
||||
КлиентыToolStripMenuItem.Text = "Клиенты";
|
||||
КлиентыToolStripMenuItem.Click += КлиентыToolStripMenuItem_Click;
|
||||
//
|
||||
// исполнителиToolStripMenuItem
|
||||
//
|
||||
исполнителиToolStripMenuItem.Name = "исполнителиToolStripMenuItem";
|
||||
исполнителиToolStripMenuItem.Size = new Size(185, 26);
|
||||
исполнителиToolStripMenuItem.Size = new Size(149, 22);
|
||||
исполнителиToolStripMenuItem.Text = "Исполнители";
|
||||
исполнителиToolStripMenuItem.Click += исполнителиToolStripMenuItem_Click;
|
||||
//
|
||||
@ -97,43 +97,42 @@
|
||||
//
|
||||
отчетыToolStripMenuItem.DropDownItems.AddRange(new ToolStripItem[] { WorksToolStripMenuItem, WorkComponentToolStripMenuItem, OrdersToolStripMenuItem });
|
||||
отчетыToolStripMenuItem.Name = "отчетыToolStripMenuItem";
|
||||
отчетыToolStripMenuItem.Size = new Size(73, 24);
|
||||
отчетыToolStripMenuItem.Size = new Size(60, 20);
|
||||
отчетыToolStripMenuItem.Text = "Отчеты";
|
||||
//
|
||||
// WorksToolStripMenuItem
|
||||
//
|
||||
WorksToolStripMenuItem.Name = "WorksToolStripMenuItem";
|
||||
WorksToolStripMenuItem.Size = new Size(273, 26);
|
||||
WorksToolStripMenuItem.Size = new Size(211, 22);
|
||||
WorksToolStripMenuItem.Text = "Список Работ";
|
||||
WorksToolStripMenuItem.Click += WorksToolStripMenuItem_Click;
|
||||
//
|
||||
// WorkComponentToolStripMenuItem
|
||||
//
|
||||
WorkComponentToolStripMenuItem.Name = "WorkComponentToolStripMenuItem";
|
||||
WorkComponentToolStripMenuItem.Size = new Size(273, 26);
|
||||
WorkComponentToolStripMenuItem.Size = new Size(211, 22);
|
||||
WorkComponentToolStripMenuItem.Text = "Работы по компонентам";
|
||||
WorkComponentToolStripMenuItem.Click += WorkComponentToolStripMenuItem_Click;
|
||||
//
|
||||
// OrdersToolStripMenuItem
|
||||
//
|
||||
OrdersToolStripMenuItem.Name = "OrdersToolStripMenuItem";
|
||||
OrdersToolStripMenuItem.Size = new Size(273, 26);
|
||||
OrdersToolStripMenuItem.Size = new Size(211, 22);
|
||||
OrdersToolStripMenuItem.Text = "Список заказов";
|
||||
OrdersToolStripMenuItem.Click += OrdersToolStripMenuItem_Click;
|
||||
//
|
||||
// запускРаботToolStripMenuItem
|
||||
//
|
||||
запускРаботToolStripMenuItem.Name = "запускРаботToolStripMenuItem";
|
||||
запускРаботToolStripMenuItem.Size = new Size(114, 24);
|
||||
запускРаботToolStripMenuItem.Size = new Size(92, 20);
|
||||
запускРаботToolStripMenuItem.Text = "Запуск работ";
|
||||
запускРаботToolStripMenuItem.Click += запускРаботToolStripMenuItem_Click;
|
||||
//
|
||||
// CreateOrderButton
|
||||
//
|
||||
CreateOrderButton.Location = new Point(832, 37);
|
||||
CreateOrderButton.Margin = new Padding(3, 4, 3, 4);
|
||||
CreateOrderButton.Location = new Point(728, 28);
|
||||
CreateOrderButton.Name = "CreateOrderButton";
|
||||
CreateOrderButton.Size = new Size(143, 44);
|
||||
CreateOrderButton.Size = new Size(125, 33);
|
||||
CreateOrderButton.TabIndex = 2;
|
||||
CreateOrderButton.Text = "Создать заказ";
|
||||
CreateOrderButton.UseVisualStyleBackColor = true;
|
||||
@ -141,10 +140,9 @@
|
||||
//
|
||||
// IssuedOrderButton
|
||||
//
|
||||
IssuedOrderButton.Location = new Point(831, 149);
|
||||
IssuedOrderButton.Margin = new Padding(3, 4, 3, 4);
|
||||
IssuedOrderButton.Location = new Point(727, 112);
|
||||
IssuedOrderButton.Name = "IssuedOrderButton";
|
||||
IssuedOrderButton.Size = new Size(143, 44);
|
||||
IssuedOrderButton.Size = new Size(125, 33);
|
||||
IssuedOrderButton.TabIndex = 5;
|
||||
IssuedOrderButton.Text = "Заказ выдан";
|
||||
IssuedOrderButton.UseVisualStyleBackColor = true;
|
||||
@ -152,10 +150,9 @@
|
||||
//
|
||||
// UpdateListButton
|
||||
//
|
||||
UpdateListButton.Location = new Point(831, 269);
|
||||
UpdateListButton.Margin = new Padding(3, 4, 3, 4);
|
||||
UpdateListButton.Location = new Point(727, 202);
|
||||
UpdateListButton.Name = "UpdateListButton";
|
||||
UpdateListButton.Size = new Size(143, 44);
|
||||
UpdateListButton.Size = new Size(125, 33);
|
||||
UpdateListButton.TabIndex = 6;
|
||||
UpdateListButton.Text = "Обновить список";
|
||||
UpdateListButton.UseVisualStyleBackColor = true;
|
||||
@ -164,26 +161,31 @@
|
||||
// DataGridView
|
||||
//
|
||||
DataGridView.ColumnHeadersHeightSizeMode = DataGridViewColumnHeadersHeightSizeMode.AutoSize;
|
||||
DataGridView.Location = new Point(0, 36);
|
||||
DataGridView.Margin = new Padding(3, 4, 3, 4);
|
||||
DataGridView.Location = new Point(0, 27);
|
||||
DataGridView.Name = "DataGridView";
|
||||
DataGridView.RowHeadersWidth = 51;
|
||||
DataGridView.RowTemplate.Height = 25;
|
||||
DataGridView.Size = new Size(825, 561);
|
||||
DataGridView.Size = new Size(722, 421);
|
||||
DataGridView.TabIndex = 1;
|
||||
//
|
||||
// почтаToolStripMenuItem
|
||||
//
|
||||
почтаToolStripMenuItem.Name = "почтаToolStripMenuItem";
|
||||
почтаToolStripMenuItem.Size = new Size(53, 20);
|
||||
почтаToolStripMenuItem.Text = "Почта";
|
||||
почтаToolStripMenuItem.Click += почтаToolStripMenuItem_Click;
|
||||
//
|
||||
// FormMain
|
||||
//
|
||||
AutoScaleDimensions = new SizeF(8F, 20F);
|
||||
AutoScaleDimensions = new SizeF(7F, 15F);
|
||||
AutoScaleMode = AutoScaleMode.Font;
|
||||
ClientSize = new Size(989, 600);
|
||||
ClientSize = new Size(865, 450);
|
||||
Controls.Add(UpdateListButton);
|
||||
Controls.Add(IssuedOrderButton);
|
||||
Controls.Add(CreateOrderButton);
|
||||
Controls.Add(DataGridView);
|
||||
Controls.Add(MenuStrip);
|
||||
MainMenuStrip = MenuStrip;
|
||||
Margin = new Padding(3, 4, 3, 4);
|
||||
Name = "FormMain";
|
||||
Text = "Ремонт сантехники";
|
||||
Load += FormMain_Load;
|
||||
@ -211,5 +213,6 @@
|
||||
private ToolStripMenuItem исполнителиToolStripMenuItem;
|
||||
private ToolStripMenuItem запускРаботToolStripMenuItem;
|
||||
private DataGridView DataGridView;
|
||||
private ToolStripMenuItem почтаToolStripMenuItem;
|
||||
}
|
||||
}
|
@ -173,5 +173,14 @@ namespace PlumbingRepair
|
||||
form.ShowDialog();
|
||||
}
|
||||
}
|
||||
|
||||
private void почтаToolStripMenuItem_Click(object sender, EventArgs e)
|
||||
{
|
||||
var service = Program.ServiceProvider?.GetService(typeof(FormMails));
|
||||
if (service is FormMails form)
|
||||
{
|
||||
form.ShowDialog();
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -1,4 +1,64 @@
|
||||
<root>
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<root>
|
||||
<!--
|
||||
Microsoft ResX Schema
|
||||
|
||||
Version 2.0
|
||||
|
||||
The primary goals of this format is to allow a simple XML format
|
||||
that is mostly human readable. The generation and parsing of the
|
||||
various data types are done through the TypeConverter classes
|
||||
associated with the data types.
|
||||
|
||||
Example:
|
||||
|
||||
... ado.net/XML headers & schema ...
|
||||
<resheader name="resmimetype">text/microsoft-resx</resheader>
|
||||
<resheader name="version">2.0</resheader>
|
||||
<resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
|
||||
<resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>
|
||||
<data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data>
|
||||
<data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
|
||||
<data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
|
||||
<value>[base64 mime encoded serialized .NET Framework object]</value>
|
||||
</data>
|
||||
<data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
||||
<value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value>
|
||||
<comment>This is a comment</comment>
|
||||
</data>
|
||||
|
||||
There are any number of "resheader" rows that contain simple
|
||||
name/value pairs.
|
||||
|
||||
Each data row contains a name, and value. The row also contains a
|
||||
type or mimetype. Type corresponds to a .NET class that support
|
||||
text/value conversion through the TypeConverter architecture.
|
||||
Classes that don't support this are serialized and stored with the
|
||||
mimetype set.
|
||||
|
||||
The mimetype is used for serialized objects, and tells the
|
||||
ResXResourceReader how to depersist the object. This is currently not
|
||||
extensible. For a given mimetype the value must be set accordingly:
|
||||
|
||||
Note - application/x-microsoft.net.object.binary.base64 is the format
|
||||
that the ResXResourceWriter will generate, however the reader can
|
||||
read any of the formats listed below.
|
||||
|
||||
mimetype: application/x-microsoft.net.object.binary.base64
|
||||
value : The object must be serialized with
|
||||
: System.Runtime.Serialization.Formatters.Binary.BinaryFormatter
|
||||
: and then encoded with base64 encoding.
|
||||
|
||||
mimetype: application/x-microsoft.net.object.soap.base64
|
||||
value : The object must be serialized with
|
||||
: System.Runtime.Serialization.Formatters.Soap.SoapFormatter
|
||||
: and then encoded with base64 encoding.
|
||||
|
||||
mimetype: application/x-microsoft.net.object.bytearray.base64
|
||||
value : The object must be serialized into a byte array
|
||||
: using a System.ComponentModel.TypeConverter
|
||||
: and then encoded with base64 encoding.
|
||||
-->
|
||||
<xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
|
||||
<xsd:import namespace="http://www.w3.org/XML/1998/namespace" />
|
||||
<xsd:element name="root" msdata:IsDataSet="true">
|
||||
|
Loading…
Reference in New Issue
Block a user