diff --git a/Daria/WindowsFormsApplication1/WindowsFormsApplication1.sln b/Daria/WindowsFormsApplication1/WindowsFormsApplication1.sln
new file mode 100644
index 0000000..7d21b60
--- /dev/null
+++ b/Daria/WindowsFormsApplication1/WindowsFormsApplication1.sln
@@ -0,0 +1,22 @@
+
+Microsoft Visual Studio Solution File, Format Version 12.00
+# Visual Studio 2013
+VisualStudioVersion = 12.0.21005.1
+MinimumVisualStudioVersion = 10.0.40219.1
+Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "WindowsFormsApplication1", "WindowsFormsApplication1\WindowsFormsApplication1.csproj", "{0778D20F-DCA4-4894-A4BD-D2E469FF0182}"
+EndProject
+Global
+ GlobalSection(SolutionConfigurationPlatforms) = preSolution
+ Debug|Any CPU = Debug|Any CPU
+ Release|Any CPU = Release|Any CPU
+ EndGlobalSection
+ GlobalSection(ProjectConfigurationPlatforms) = postSolution
+ {0778D20F-DCA4-4894-A4BD-D2E469FF0182}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
+ {0778D20F-DCA4-4894-A4BD-D2E469FF0182}.Debug|Any CPU.Build.0 = Debug|Any CPU
+ {0778D20F-DCA4-4894-A4BD-D2E469FF0182}.Release|Any CPU.ActiveCfg = Release|Any CPU
+ {0778D20F-DCA4-4894-A4BD-D2E469FF0182}.Release|Any CPU.Build.0 = Release|Any CPU
+ EndGlobalSection
+ GlobalSection(SolutionProperties) = preSolution
+ HideSolutionNode = FALSE
+ EndGlobalSection
+EndGlobal
diff --git a/Daria/WindowsFormsApplication1/WindowsFormsApplication1.v12.suo b/Daria/WindowsFormsApplication1/WindowsFormsApplication1.v12.suo
new file mode 100644
index 0000000..93964b7
Binary files /dev/null and b/Daria/WindowsFormsApplication1/WindowsFormsApplication1.v12.suo differ
diff --git a/Daria/WindowsFormsApplication1/WindowsFormsApplication1/1.jpg b/Daria/WindowsFormsApplication1/WindowsFormsApplication1/1.jpg
new file mode 100644
index 0000000..48ec9bf
Binary files /dev/null and b/Daria/WindowsFormsApplication1/WindowsFormsApplication1/1.jpg differ
diff --git a/Daria/WindowsFormsApplication1/WindowsFormsApplication1/App.config b/Daria/WindowsFormsApplication1/WindowsFormsApplication1/App.config
new file mode 100644
index 0000000..8e15646
--- /dev/null
+++ b/Daria/WindowsFormsApplication1/WindowsFormsApplication1/App.config
@@ -0,0 +1,6 @@
+
+
+
+
+
+
\ No newline at end of file
diff --git a/Daria/WindowsFormsApplication1/WindowsFormsApplication1/Form1.Designer.cs b/Daria/WindowsFormsApplication1/WindowsFormsApplication1/Form1.Designer.cs
new file mode 100644
index 0000000..3cb4d9f
--- /dev/null
+++ b/Daria/WindowsFormsApplication1/WindowsFormsApplication1/Form1.Designer.cs
@@ -0,0 +1,299 @@
+namespace WindowsFormsApplication1
+{
+ partial class Form1
+ {
+ ///
+ /// Требуется переменная конструктора.
+ ///
+ private System.ComponentModel.IContainer components = null;
+
+ ///
+ /// Освободить все используемые ресурсы.
+ ///
+ /// истинно, если управляемый ресурс должен быть удален; иначе ложно.
+ protected override void Dispose(bool disposing)
+ {
+ if (disposing && (components != null))
+ {
+ components.Dispose();
+ }
+ base.Dispose(disposing);
+ }
+
+ #region Код, автоматически созданный конструктором форм Windows
+
+ ///
+ /// Обязательный метод для поддержки конструктора - не изменяйте
+ /// содержимое данного метода при помощи редактора кода.
+ ///
+ private void InitializeComponent()
+ {
+ this.checkBox1 = new System.Windows.Forms.CheckBox();
+ this.checkBox2 = new System.Windows.Forms.CheckBox();
+ this.checkBox3 = new System.Windows.Forms.CheckBox();
+ this.checkBox8 = new System.Windows.Forms.CheckBox();
+ this.checkBox9 = new System.Windows.Forms.CheckBox();
+ this.checkBox10 = new System.Windows.Forms.CheckBox();
+ this.button1 = new System.Windows.Forms.Button();
+ this.button2 = new System.Windows.Forms.Button();
+ this.label1 = new System.Windows.Forms.Label();
+ this.label2 = new System.Windows.Forms.Label();
+ this.label3 = new System.Windows.Forms.Label();
+ this.label4 = new System.Windows.Forms.Label();
+ this.numericUpDown1 = new System.Windows.Forms.NumericUpDown();
+ this.label5 = new System.Windows.Forms.Label();
+ this.button3 = new System.Windows.Forms.Button();
+ this.listBox1 = new System.Windows.Forms.ListBox();
+ this.label6 = new System.Windows.Forms.Label();
+ this.button4 = new System.Windows.Forms.Button();
+ ((System.ComponentModel.ISupportInitialize)(this.numericUpDown1)).BeginInit();
+ this.SuspendLayout();
+ //
+ // checkBox1
+ //
+ this.checkBox1.AutoSize = true;
+ this.checkBox1.Location = new System.Drawing.Point(12, 135);
+ this.checkBox1.Name = "checkBox1";
+ this.checkBox1.Size = new System.Drawing.Size(105, 17);
+ this.checkBox1.TabIndex = 0;
+ this.checkBox1.Text = "только русский";
+ this.checkBox1.UseVisualStyleBackColor = true;
+ //
+ // checkBox2
+ //
+ this.checkBox2.AutoSize = true;
+ this.checkBox2.Location = new System.Drawing.Point(12, 166);
+ this.checkBox2.Name = "checkBox2";
+ this.checkBox2.Size = new System.Drawing.Size(85, 17);
+ this.checkBox2.TabIndex = 1;
+ this.checkBox2.Text = "английский";
+ this.checkBox2.UseVisualStyleBackColor = true;
+ //
+ // checkBox3
+ //
+ this.checkBox3.AutoSize = true;
+ this.checkBox3.Location = new System.Drawing.Point(12, 202);
+ this.checkBox3.Name = "checkBox3";
+ this.checkBox3.Size = new System.Drawing.Size(93, 17);
+ this.checkBox3.TabIndex = 2;
+ this.checkBox3.Text = "французский";
+ this.checkBox3.UseVisualStyleBackColor = true;
+ //
+ // checkBox8
+ //
+ this.checkBox8.AutoSize = true;
+ this.checkBox8.Location = new System.Drawing.Point(420, 179);
+ this.checkBox8.Name = "checkBox8";
+ this.checkBox8.Size = new System.Drawing.Size(49, 17);
+ this.checkBox8.TabIndex = 7;
+ this.checkBox8.Text = "1час";
+ this.checkBox8.UseVisualStyleBackColor = true;
+ //
+ // checkBox9
+ //
+ this.checkBox9.AutoSize = true;
+ this.checkBox9.Location = new System.Drawing.Point(420, 213);
+ this.checkBox9.Name = "checkBox9";
+ this.checkBox9.Size = new System.Drawing.Size(73, 17);
+ this.checkBox9.TabIndex = 8;
+ this.checkBox9.Text = "1-3 часов";
+ this.checkBox9.UseVisualStyleBackColor = true;
+ //
+ // checkBox10
+ //
+ this.checkBox10.AutoSize = true;
+ this.checkBox10.Location = new System.Drawing.Point(420, 245);
+ this.checkBox10.Name = "checkBox10";
+ this.checkBox10.Size = new System.Drawing.Size(97, 17);
+ this.checkBox10.TabIndex = 9;
+ this.checkBox10.Text = "более 3 часов";
+ this.checkBox10.UseVisualStyleBackColor = true;
+ //
+ // button1
+ //
+ this.button1.BackColor = System.Drawing.SystemColors.Control;
+ this.button1.Location = new System.Drawing.Point(137, 306);
+ this.button1.Name = "button1";
+ this.button1.Size = new System.Drawing.Size(75, 23);
+ this.button1.TabIndex = 10;
+ this.button1.Text = "Сохранить";
+ this.button1.UseVisualStyleBackColor = false;
+ this.button1.Click += new System.EventHandler(this.button1_Click);
+ //
+ // button2
+ //
+ this.button2.Location = new System.Drawing.Point(237, 308);
+ this.button2.Name = "button2";
+ this.button2.Size = new System.Drawing.Size(75, 23);
+ this.button2.TabIndex = 11;
+ this.button2.Text = "Загрузить";
+ this.button2.UseVisualStyleBackColor = true;
+ this.button2.Click += new System.EventHandler(this.button2_Click);
+ //
+ // label1
+ //
+ this.label1.AutoSize = true;
+ this.label1.BackColor = System.Drawing.Color.Yellow;
+ this.label1.Location = new System.Drawing.Point(9, 85);
+ this.label1.Name = "label1";
+ this.label1.Size = new System.Drawing.Size(85, 13);
+ this.label1.TabIndex = 13;
+ this.label1.Text = "Знание языков";
+ //
+ // label2
+ //
+ this.label2.AutoSize = true;
+ this.label2.BackColor = System.Drawing.Color.Yellow;
+ this.label2.Location = new System.Drawing.Point(12, 167);
+ this.label2.Name = "label2";
+ this.label2.Size = new System.Drawing.Size(0, 13);
+ this.label2.TabIndex = 14;
+ //
+ // label3
+ //
+ this.label3.AutoSize = true;
+ this.label3.BackColor = System.Drawing.Color.Yellow;
+ this.label3.Location = new System.Drawing.Point(417, 148);
+ this.label3.Name = "label3";
+ this.label3.Size = new System.Drawing.Size(40, 13);
+ this.label3.TabIndex = 15;
+ this.label3.Text = "Время";
+ //
+ // label4
+ //
+ this.label4.AutoSize = true;
+ this.label4.BackColor = System.Drawing.Color.Yellow;
+ this.label4.Location = new System.Drawing.Point(408, 76);
+ this.label4.Name = "label4";
+ this.label4.Size = new System.Drawing.Size(76, 13);
+ this.label4.TabIndex = 16;
+ this.label4.Text = "Возраст няни";
+ //
+ // numericUpDown1
+ //
+ this.numericUpDown1.Location = new System.Drawing.Point(411, 106);
+ this.numericUpDown1.Maximum = new decimal(new int[] {
+ 65,
+ 0,
+ 0,
+ 0});
+ this.numericUpDown1.Minimum = new decimal(new int[] {
+ 18,
+ 0,
+ 0,
+ 0});
+ this.numericUpDown1.Name = "numericUpDown1";
+ this.numericUpDown1.Size = new System.Drawing.Size(58, 20);
+ this.numericUpDown1.TabIndex = 17;
+ this.numericUpDown1.Value = new decimal(new int[] {
+ 18,
+ 0,
+ 0,
+ 0});
+ this.numericUpDown1.ValueChanged += new System.EventHandler(this.numericUpDown1_ValueChanged);
+ //
+ // label5
+ //
+ this.label5.AutoSize = true;
+ this.label5.BackColor = System.Drawing.Color.Yellow;
+ this.label5.Location = new System.Drawing.Point(408, 226);
+ this.label5.Name = "label5";
+ this.label5.Size = new System.Drawing.Size(0, 13);
+ this.label5.TabIndex = 19;
+ //
+ // button3
+ //
+ this.button3.Location = new System.Drawing.Point(2, 304);
+ this.button3.Name = "button3";
+ this.button3.Size = new System.Drawing.Size(118, 25);
+ this.button3.TabIndex = 20;
+ this.button3.Text = "Сделать заказ";
+ this.button3.UseVisualStyleBackColor = true;
+ this.button3.Click += new System.EventHandler(this.button3_Click);
+ //
+ // listBox1
+ //
+ this.listBox1.FormattingEnabled = true;
+ this.listBox1.Location = new System.Drawing.Point(2, 27);
+ this.listBox1.Name = "listBox1";
+ this.listBox1.Size = new System.Drawing.Size(471, 30);
+ this.listBox1.TabIndex = 21;
+ this.listBox1.SelectedIndexChanged += new System.EventHandler(this.listBox1_SelectedIndexChanged);
+ //
+ // label6
+ //
+ this.label6.AutoSize = true;
+ this.label6.BackColor = System.Drawing.Color.Yellow;
+ this.label6.Location = new System.Drawing.Point(12, 9);
+ this.label6.Name = "label6";
+ this.label6.Size = new System.Drawing.Size(38, 13);
+ this.label6.TabIndex = 22;
+ this.label6.Text = "Заказ";
+ //
+ // button4
+ //
+ this.button4.Location = new System.Drawing.Point(348, 307);
+ this.button4.Name = "button4";
+ this.button4.Size = new System.Drawing.Size(79, 25);
+ this.button4.TabIndex = 23;
+ this.button4.Text = "Печать";
+ this.button4.UseVisualStyleBackColor = true;
+ this.button4.Click += new System.EventHandler(this.button4_Click);
+ //
+ // Form1
+ //
+ this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
+ this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
+ this.BackgroundImage = global::WindowsFormsApplication1.Properties.Resources._1;
+ this.ClientSize = new System.Drawing.Size(543, 341);
+ this.Controls.Add(this.button4);
+ this.Controls.Add(this.label6);
+ this.Controls.Add(this.listBox1);
+ this.Controls.Add(this.button3);
+ this.Controls.Add(this.label5);
+ this.Controls.Add(this.numericUpDown1);
+ this.Controls.Add(this.label4);
+ this.Controls.Add(this.label3);
+ this.Controls.Add(this.label2);
+ this.Controls.Add(this.label1);
+ this.Controls.Add(this.button2);
+ this.Controls.Add(this.button1);
+ this.Controls.Add(this.checkBox10);
+ this.Controls.Add(this.checkBox9);
+ this.Controls.Add(this.checkBox8);
+ this.Controls.Add(this.checkBox3);
+ this.Controls.Add(this.checkBox2);
+ this.Controls.Add(this.checkBox1);
+ this.MaximumSize = new System.Drawing.Size(559, 379);
+ this.MinimumSize = new System.Drawing.Size(559, 379);
+ this.Name = "Form1";
+ this.Text = "Nyny";
+ ((System.ComponentModel.ISupportInitialize)(this.numericUpDown1)).EndInit();
+ this.ResumeLayout(false);
+ this.PerformLayout();
+
+ }
+
+ #endregion
+
+ private System.Windows.Forms.CheckBox checkBox1;
+ private System.Windows.Forms.CheckBox checkBox2;
+ private System.Windows.Forms.CheckBox checkBox3;
+ private System.Windows.Forms.CheckBox checkBox8;
+ private System.Windows.Forms.CheckBox checkBox9;
+ private System.Windows.Forms.CheckBox checkBox10;
+ private System.Windows.Forms.Button button1;
+ private System.Windows.Forms.Button button2;
+ private System.Windows.Forms.Label label1;
+ private System.Windows.Forms.Label label2;
+ private System.Windows.Forms.Label label3;
+ private System.Windows.Forms.Label label4;
+ private System.Windows.Forms.NumericUpDown numericUpDown1;
+ private System.Windows.Forms.Label label5;
+ private System.Windows.Forms.Button button3;
+ private System.Windows.Forms.ListBox listBox1;
+ private System.Windows.Forms.Label label6;
+ private System.Windows.Forms.Button button4;
+ }
+}
+
diff --git a/Daria/WindowsFormsApplication1/WindowsFormsApplication1/Form1.cs b/Daria/WindowsFormsApplication1/WindowsFormsApplication1/Form1.cs
new file mode 100644
index 0000000..bfd441e
--- /dev/null
+++ b/Daria/WindowsFormsApplication1/WindowsFormsApplication1/Form1.cs
@@ -0,0 +1,148 @@
+using System;
+using System.Collections.Generic;
+using System.ComponentModel;
+using System.Data;
+using System.Drawing;
+using System.IO;
+using System.Linq;
+using System.Text;
+using System.Threading.Tasks;
+using System.Windows.Forms;
+using System.Xml.Serialization;
+using DevExpress.XtraReports.UI;
+namespace WindowsFormsApplication1
+{
+ public partial class Form1 : Form
+ {
+ public Form1()
+ {
+ InitializeComponent();
+ }
+
+ private void button1_Click(object sender, EventArgs e)
+ {
+ SaveFileDialog sfd = new SaveFileDialog() { Filter = "няня|*.nyny" };
+ var result = sfd.ShowDialog(this);
+ if (result == DialogResult.OK)
+ {
+ var pd = CreateNynyData();
+ var fileName = sfd.FileName;
+ XmlSerializer xs = new XmlSerializer(typeof(NynyData));
+ var fileStream = File.Create(fileName);
+ xs.Serialize(fileStream, pd);
+ fileStream.Close();
+ }
+ }
+ private NynyData CreateNynyData()
+ {
+ NynyData pd = new NynyData();
+
+
+ pd.Nyny = new List