...
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();
|
IssuedOrderButton = new Button();
|
||||||
UpdateListButton = new Button();
|
UpdateListButton = new Button();
|
||||||
DataGridView = new DataGridView();
|
DataGridView = new DataGridView();
|
||||||
|
почтаToolStripMenuItem = new ToolStripMenuItem();
|
||||||
MenuStrip.SuspendLayout();
|
MenuStrip.SuspendLayout();
|
||||||
((System.ComponentModel.ISupportInitialize)DataGridView).BeginInit();
|
((System.ComponentModel.ISupportInitialize)DataGridView).BeginInit();
|
||||||
SuspendLayout();
|
SuspendLayout();
|
||||||
@ -50,11 +51,10 @@
|
|||||||
// MenuStrip
|
// MenuStrip
|
||||||
//
|
//
|
||||||
MenuStrip.ImageScalingSize = new Size(20, 20);
|
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.Location = new Point(0, 0);
|
||||||
MenuStrip.Name = "MenuStrip";
|
MenuStrip.Name = "MenuStrip";
|
||||||
MenuStrip.Padding = new Padding(7, 3, 0, 3);
|
MenuStrip.Size = new Size(865, 24);
|
||||||
MenuStrip.Size = new Size(989, 30);
|
|
||||||
MenuStrip.TabIndex = 0;
|
MenuStrip.TabIndex = 0;
|
||||||
MenuStrip.Text = "menuStrip1";
|
MenuStrip.Text = "menuStrip1";
|
||||||
//
|
//
|
||||||
@ -62,34 +62,34 @@
|
|||||||
//
|
//
|
||||||
СправочникиToolStripMenuItem.DropDownItems.AddRange(new ToolStripItem[] { РаботыToolStripMenuItem, КомпонентыToolStripMenuItem, КлиентыToolStripMenuItem, исполнителиToolStripMenuItem });
|
СправочникиToolStripMenuItem.DropDownItems.AddRange(new ToolStripItem[] { РаботыToolStripMenuItem, КомпонентыToolStripMenuItem, КлиентыToolStripMenuItem, исполнителиToolStripMenuItem });
|
||||||
СправочникиToolStripMenuItem.Name = "СправочникиToolStripMenuItem";
|
СправочникиToolStripMenuItem.Name = "СправочникиToolStripMenuItem";
|
||||||
СправочникиToolStripMenuItem.Size = new Size(117, 24);
|
СправочникиToolStripMenuItem.Size = new Size(94, 20);
|
||||||
СправочникиToolStripMenuItem.Text = "Cправочники";
|
СправочникиToolStripMenuItem.Text = "Cправочники";
|
||||||
//
|
//
|
||||||
// РаботыToolStripMenuItem
|
// РаботыToolStripMenuItem
|
||||||
//
|
//
|
||||||
РаботыToolStripMenuItem.Name = "РаботыToolStripMenuItem";
|
РаботыToolStripMenuItem.Name = "РаботыToolStripMenuItem";
|
||||||
РаботыToolStripMenuItem.Size = new Size(185, 26);
|
РаботыToolStripMenuItem.Size = new Size(149, 22);
|
||||||
РаботыToolStripMenuItem.Text = "Работы";
|
РаботыToolStripMenuItem.Text = "Работы";
|
||||||
РаботыToolStripMenuItem.Click += РаботыToolStripMenuItem_Click;
|
РаботыToolStripMenuItem.Click += РаботыToolStripMenuItem_Click;
|
||||||
//
|
//
|
||||||
// КомпонентыToolStripMenuItem
|
// КомпонентыToolStripMenuItem
|
||||||
//
|
//
|
||||||
КомпонентыToolStripMenuItem.Name = "КомпонентыToolStripMenuItem";
|
КомпонентыToolStripMenuItem.Name = "КомпонентыToolStripMenuItem";
|
||||||
КомпонентыToolStripMenuItem.Size = new Size(185, 26);
|
КомпонентыToolStripMenuItem.Size = new Size(149, 22);
|
||||||
КомпонентыToolStripMenuItem.Text = "Компоненты";
|
КомпонентыToolStripMenuItem.Text = "Компоненты";
|
||||||
КомпонентыToolStripMenuItem.Click += КомпонентыToolStripMenuItem_Click;
|
КомпонентыToolStripMenuItem.Click += КомпонентыToolStripMenuItem_Click;
|
||||||
//
|
//
|
||||||
// КлиентыToolStripMenuItem
|
// КлиентыToolStripMenuItem
|
||||||
//
|
//
|
||||||
КлиентыToolStripMenuItem.Name = "КлиентыToolStripMenuItem";
|
КлиентыToolStripMenuItem.Name = "КлиентыToolStripMenuItem";
|
||||||
КлиентыToolStripMenuItem.Size = new Size(185, 26);
|
КлиентыToolStripMenuItem.Size = new Size(149, 22);
|
||||||
КлиентыToolStripMenuItem.Text = "Клиенты";
|
КлиентыToolStripMenuItem.Text = "Клиенты";
|
||||||
КлиентыToolStripMenuItem.Click += КлиентыToolStripMenuItem_Click;
|
КлиентыToolStripMenuItem.Click += КлиентыToolStripMenuItem_Click;
|
||||||
//
|
//
|
||||||
// исполнителиToolStripMenuItem
|
// исполнителиToolStripMenuItem
|
||||||
//
|
//
|
||||||
исполнителиToolStripMenuItem.Name = "исполнителиToolStripMenuItem";
|
исполнителиToolStripMenuItem.Name = "исполнителиToolStripMenuItem";
|
||||||
исполнителиToolStripMenuItem.Size = new Size(185, 26);
|
исполнителиToolStripMenuItem.Size = new Size(149, 22);
|
||||||
исполнителиToolStripMenuItem.Text = "Исполнители";
|
исполнителиToolStripMenuItem.Text = "Исполнители";
|
||||||
исполнителиToolStripMenuItem.Click += исполнителиToolStripMenuItem_Click;
|
исполнителиToolStripMenuItem.Click += исполнителиToolStripMenuItem_Click;
|
||||||
//
|
//
|
||||||
@ -97,43 +97,42 @@
|
|||||||
//
|
//
|
||||||
отчетыToolStripMenuItem.DropDownItems.AddRange(new ToolStripItem[] { WorksToolStripMenuItem, WorkComponentToolStripMenuItem, OrdersToolStripMenuItem });
|
отчетыToolStripMenuItem.DropDownItems.AddRange(new ToolStripItem[] { WorksToolStripMenuItem, WorkComponentToolStripMenuItem, OrdersToolStripMenuItem });
|
||||||
отчетыToolStripMenuItem.Name = "отчетыToolStripMenuItem";
|
отчетыToolStripMenuItem.Name = "отчетыToolStripMenuItem";
|
||||||
отчетыToolStripMenuItem.Size = new Size(73, 24);
|
отчетыToolStripMenuItem.Size = new Size(60, 20);
|
||||||
отчетыToolStripMenuItem.Text = "Отчеты";
|
отчетыToolStripMenuItem.Text = "Отчеты";
|
||||||
//
|
//
|
||||||
// WorksToolStripMenuItem
|
// WorksToolStripMenuItem
|
||||||
//
|
//
|
||||||
WorksToolStripMenuItem.Name = "WorksToolStripMenuItem";
|
WorksToolStripMenuItem.Name = "WorksToolStripMenuItem";
|
||||||
WorksToolStripMenuItem.Size = new Size(273, 26);
|
WorksToolStripMenuItem.Size = new Size(211, 22);
|
||||||
WorksToolStripMenuItem.Text = "Список Работ";
|
WorksToolStripMenuItem.Text = "Список Работ";
|
||||||
WorksToolStripMenuItem.Click += WorksToolStripMenuItem_Click;
|
WorksToolStripMenuItem.Click += WorksToolStripMenuItem_Click;
|
||||||
//
|
//
|
||||||
// WorkComponentToolStripMenuItem
|
// WorkComponentToolStripMenuItem
|
||||||
//
|
//
|
||||||
WorkComponentToolStripMenuItem.Name = "WorkComponentToolStripMenuItem";
|
WorkComponentToolStripMenuItem.Name = "WorkComponentToolStripMenuItem";
|
||||||
WorkComponentToolStripMenuItem.Size = new Size(273, 26);
|
WorkComponentToolStripMenuItem.Size = new Size(211, 22);
|
||||||
WorkComponentToolStripMenuItem.Text = "Работы по компонентам";
|
WorkComponentToolStripMenuItem.Text = "Работы по компонентам";
|
||||||
WorkComponentToolStripMenuItem.Click += WorkComponentToolStripMenuItem_Click;
|
WorkComponentToolStripMenuItem.Click += WorkComponentToolStripMenuItem_Click;
|
||||||
//
|
//
|
||||||
// OrdersToolStripMenuItem
|
// OrdersToolStripMenuItem
|
||||||
//
|
//
|
||||||
OrdersToolStripMenuItem.Name = "OrdersToolStripMenuItem";
|
OrdersToolStripMenuItem.Name = "OrdersToolStripMenuItem";
|
||||||
OrdersToolStripMenuItem.Size = new Size(273, 26);
|
OrdersToolStripMenuItem.Size = new Size(211, 22);
|
||||||
OrdersToolStripMenuItem.Text = "Список заказов";
|
OrdersToolStripMenuItem.Text = "Список заказов";
|
||||||
OrdersToolStripMenuItem.Click += OrdersToolStripMenuItem_Click;
|
OrdersToolStripMenuItem.Click += OrdersToolStripMenuItem_Click;
|
||||||
//
|
//
|
||||||
// запускРаботToolStripMenuItem
|
// запускРаботToolStripMenuItem
|
||||||
//
|
//
|
||||||
запускРаботToolStripMenuItem.Name = "запускРаботToolStripMenuItem";
|
запускРаботToolStripMenuItem.Name = "запускРаботToolStripMenuItem";
|
||||||
запускРаботToolStripMenuItem.Size = new Size(114, 24);
|
запускРаботToolStripMenuItem.Size = new Size(92, 20);
|
||||||
запускРаботToolStripMenuItem.Text = "Запуск работ";
|
запускРаботToolStripMenuItem.Text = "Запуск работ";
|
||||||
запускРаботToolStripMenuItem.Click += запускРаботToolStripMenuItem_Click;
|
запускРаботToolStripMenuItem.Click += запускРаботToolStripMenuItem_Click;
|
||||||
//
|
//
|
||||||
// CreateOrderButton
|
// CreateOrderButton
|
||||||
//
|
//
|
||||||
CreateOrderButton.Location = new Point(832, 37);
|
CreateOrderButton.Location = new Point(728, 28);
|
||||||
CreateOrderButton.Margin = new Padding(3, 4, 3, 4);
|
|
||||||
CreateOrderButton.Name = "CreateOrderButton";
|
CreateOrderButton.Name = "CreateOrderButton";
|
||||||
CreateOrderButton.Size = new Size(143, 44);
|
CreateOrderButton.Size = new Size(125, 33);
|
||||||
CreateOrderButton.TabIndex = 2;
|
CreateOrderButton.TabIndex = 2;
|
||||||
CreateOrderButton.Text = "Создать заказ";
|
CreateOrderButton.Text = "Создать заказ";
|
||||||
CreateOrderButton.UseVisualStyleBackColor = true;
|
CreateOrderButton.UseVisualStyleBackColor = true;
|
||||||
@ -141,10 +140,9 @@
|
|||||||
//
|
//
|
||||||
// IssuedOrderButton
|
// IssuedOrderButton
|
||||||
//
|
//
|
||||||
IssuedOrderButton.Location = new Point(831, 149);
|
IssuedOrderButton.Location = new Point(727, 112);
|
||||||
IssuedOrderButton.Margin = new Padding(3, 4, 3, 4);
|
|
||||||
IssuedOrderButton.Name = "IssuedOrderButton";
|
IssuedOrderButton.Name = "IssuedOrderButton";
|
||||||
IssuedOrderButton.Size = new Size(143, 44);
|
IssuedOrderButton.Size = new Size(125, 33);
|
||||||
IssuedOrderButton.TabIndex = 5;
|
IssuedOrderButton.TabIndex = 5;
|
||||||
IssuedOrderButton.Text = "Заказ выдан";
|
IssuedOrderButton.Text = "Заказ выдан";
|
||||||
IssuedOrderButton.UseVisualStyleBackColor = true;
|
IssuedOrderButton.UseVisualStyleBackColor = true;
|
||||||
@ -152,10 +150,9 @@
|
|||||||
//
|
//
|
||||||
// UpdateListButton
|
// UpdateListButton
|
||||||
//
|
//
|
||||||
UpdateListButton.Location = new Point(831, 269);
|
UpdateListButton.Location = new Point(727, 202);
|
||||||
UpdateListButton.Margin = new Padding(3, 4, 3, 4);
|
|
||||||
UpdateListButton.Name = "UpdateListButton";
|
UpdateListButton.Name = "UpdateListButton";
|
||||||
UpdateListButton.Size = new Size(143, 44);
|
UpdateListButton.Size = new Size(125, 33);
|
||||||
UpdateListButton.TabIndex = 6;
|
UpdateListButton.TabIndex = 6;
|
||||||
UpdateListButton.Text = "Обновить список";
|
UpdateListButton.Text = "Обновить список";
|
||||||
UpdateListButton.UseVisualStyleBackColor = true;
|
UpdateListButton.UseVisualStyleBackColor = true;
|
||||||
@ -164,26 +161,31 @@
|
|||||||
// DataGridView
|
// DataGridView
|
||||||
//
|
//
|
||||||
DataGridView.ColumnHeadersHeightSizeMode = DataGridViewColumnHeadersHeightSizeMode.AutoSize;
|
DataGridView.ColumnHeadersHeightSizeMode = DataGridViewColumnHeadersHeightSizeMode.AutoSize;
|
||||||
DataGridView.Location = new Point(0, 36);
|
DataGridView.Location = new Point(0, 27);
|
||||||
DataGridView.Margin = new Padding(3, 4, 3, 4);
|
|
||||||
DataGridView.Name = "DataGridView";
|
DataGridView.Name = "DataGridView";
|
||||||
DataGridView.RowHeadersWidth = 51;
|
DataGridView.RowHeadersWidth = 51;
|
||||||
DataGridView.RowTemplate.Height = 25;
|
DataGridView.RowTemplate.Height = 25;
|
||||||
DataGridView.Size = new Size(825, 561);
|
DataGridView.Size = new Size(722, 421);
|
||||||
DataGridView.TabIndex = 1;
|
DataGridView.TabIndex = 1;
|
||||||
//
|
//
|
||||||
|
// почтаToolStripMenuItem
|
||||||
|
//
|
||||||
|
почтаToolStripMenuItem.Name = "почтаToolStripMenuItem";
|
||||||
|
почтаToolStripMenuItem.Size = new Size(53, 20);
|
||||||
|
почтаToolStripMenuItem.Text = "Почта";
|
||||||
|
почтаToolStripMenuItem.Click += почтаToolStripMenuItem_Click;
|
||||||
|
//
|
||||||
// FormMain
|
// FormMain
|
||||||
//
|
//
|
||||||
AutoScaleDimensions = new SizeF(8F, 20F);
|
AutoScaleDimensions = new SizeF(7F, 15F);
|
||||||
AutoScaleMode = AutoScaleMode.Font;
|
AutoScaleMode = AutoScaleMode.Font;
|
||||||
ClientSize = new Size(989, 600);
|
ClientSize = new Size(865, 450);
|
||||||
Controls.Add(UpdateListButton);
|
Controls.Add(UpdateListButton);
|
||||||
Controls.Add(IssuedOrderButton);
|
Controls.Add(IssuedOrderButton);
|
||||||
Controls.Add(CreateOrderButton);
|
Controls.Add(CreateOrderButton);
|
||||||
Controls.Add(DataGridView);
|
Controls.Add(DataGridView);
|
||||||
Controls.Add(MenuStrip);
|
Controls.Add(MenuStrip);
|
||||||
MainMenuStrip = MenuStrip;
|
MainMenuStrip = MenuStrip;
|
||||||
Margin = new Padding(3, 4, 3, 4);
|
|
||||||
Name = "FormMain";
|
Name = "FormMain";
|
||||||
Text = "Ремонт сантехники";
|
Text = "Ремонт сантехники";
|
||||||
Load += FormMain_Load;
|
Load += FormMain_Load;
|
||||||
@ -211,5 +213,6 @@
|
|||||||
private ToolStripMenuItem исполнителиToolStripMenuItem;
|
private ToolStripMenuItem исполнителиToolStripMenuItem;
|
||||||
private ToolStripMenuItem запускРаботToolStripMenuItem;
|
private ToolStripMenuItem запускРаботToolStripMenuItem;
|
||||||
private DataGridView DataGridView;
|
private DataGridView DataGridView;
|
||||||
|
private ToolStripMenuItem почтаToolStripMenuItem;
|
||||||
}
|
}
|
||||||
}
|
}
|
@ -173,5 +173,14 @@ namespace PlumbingRepair
|
|||||||
form.ShowDialog();
|
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: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:import namespace="http://www.w3.org/XML/1998/namespace" />
|
||||||
<xsd:element name="root" msdata:IsDataSet="true">
|
<xsd:element name="root" msdata:IsDataSet="true">
|
||||||
|
Loading…
Reference in New Issue
Block a user