#pragma once


namespace s3 {

	using namespace System;
	using namespace System::ComponentModel;
	using namespace System::Collections;
	using namespace System::Windows::Forms;
	using namespace System::Data;
	using namespace System::Drawing;

	/// <summary>
	/// Summary for Form1
	///
	/// WARNING: If you change the name of this class, you will need to change the
	///          'Resource File Name' property for the managed resource compiler tool
	///          associated with all .resx files this class depends on.  Otherwise,
	///          the designers will not be able to interact properly with localized
	///          resources associated with this form.
	/// </summary>
	public ref class Form1 : public System::Windows::Forms::Form
	{
	public:
		Form1(void)
		{
			InitializeComponent();
			//
			//TODO: Add the constructor code here
			//
		}

	protected:
		/// <summary>
		/// Clean up any resources being used.
		/// </summary>
		~Form1()
		{
			if (components)
			{
				delete components;
			}
		}
	private: System::Windows::Forms::MenuStrip^  menuStrip1;
	protected: 
	private: System::Windows::Forms::ToolStripMenuItem^  fileToolStripMenuItem;
	private: System::Windows::Forms::ToolStripMenuItem^  openToolStripMenuItem;
	private: System::Windows::Forms::ToolStripMenuItem^  saveToolStripMenuItem;
	private: System::Windows::Forms::ToolStripMenuItem^  helpToolStripMenuItem;
	private: System::Windows::Forms::TabControl^  tabControl1;
	private: System::Windows::Forms::TabPage^  tabPage1;
	private: System::Windows::Forms::TabPage^  tabPage2;
	private: System::Windows::Forms::TabPage^  tabPage3;
	private: System::Windows::Forms::ToolStripContainer^  toolStripContainer1;
	private: System::Windows::Forms::ComboBox^  comboBox1;
	private: s3::BoreyDataSet^  BoreyDataSet;
	private: System::Windows::Forms::BindingSource^  customerBindingSource;
	private: s3::BoreyDataSetTableAdapters::CustomerTableAdapter^  CustomerTableAdapter;
	private: System::Windows::Forms::BindingSource^  OrdersBindingSource;
	private: s3::BoreyDataSetTableAdapters::OrdersTableAdapter^  OrdersTableAdapter;
	private: System::Windows::Forms::DataGridView^  OrdersDataGridView;
	private: System::Windows::Forms::DataGridViewTextBoxColumn^  dataGridViewTextBoxColumn1;
	private: System::Windows::Forms::DataGridViewTextBoxColumn^  dataGridViewTextBoxColumn2;
	private: System::Windows::Forms::DataGridViewTextBoxColumn^  dataGridViewTextBoxColumn3;
	private: System::Windows::Forms::DataGridViewTextBoxColumn^  dataGridViewTextBoxColumn4;
	private: System::Windows::Forms::BindingNavigator^  bindingNavigator1;
	private: System::Windows::Forms::ToolStripButton^  bindingNavigatorAddNewItem;
	private: System::Windows::Forms::ToolStripLabel^  bindingNavigatorCountItem;
	private: System::Windows::Forms::ToolStripButton^  bindingNavigatorDeleteItem;
	private: System::Windows::Forms::ToolStripButton^  bindingNavigatorMoveFirstItem;
	private: System::Windows::Forms::ToolStripButton^  bindingNavigatorMovePreviousItem;
	private: System::Windows::Forms::ToolStripSeparator^  bindingNavigatorSeparator;
	private: System::Windows::Forms::ToolStripTextBox^  bindingNavigatorPositionItem;
	private: System::Windows::Forms::ToolStripSeparator^  bindingNavigatorSeparator1;
	private: System::Windows::Forms::ToolStripButton^  bindingNavigatorMoveNextItem;
	private: System::Windows::Forms::ToolStripButton^  bindingNavigatorMoveLastItem;
	private: System::Windows::Forms::ToolStripSeparator^  bindingNavigatorSeparator2;
	private: System::Windows::Forms::BindingSource^  OrdersDetailsBindingSource;
	private: s3::BoreyDataSetTableAdapters::OrdersDetailsTableAdapter^  OrdersDetailsTableAdapter;
	private: System::Windows::Forms::DataGridView^  OrdersDetailsDataGridView;






	private: System::Windows::Forms::BindingSource^  emploeBindingSource;
	private: s3::BoreyDataSetTableAdapters::EmploeTableAdapter^  EmploeTableAdapter;
	private: System::Windows::Forms::ComboBox^  comboBox2;
	private: System::Windows::Forms::BindingSource^  OrdersBindingSource1;






	private: System::Windows::Forms::DataGridView^  OrdersDataGridView1;
	private: System::Windows::Forms::DataGridViewTextBoxColumn^  dataGridViewTextBoxColumn10;
	private: System::Windows::Forms::DataGridViewTextBoxColumn^  dataGridViewTextBoxColumn11;
	private: System::Windows::Forms::DataGridViewTextBoxColumn^  dataGridViewTextBoxColumn12;
	private: System::Windows::Forms::DataGridViewTextBoxColumn^  dataGridViewTextBoxColumn13;
	private: System::Windows::Forms::DataGridView^  OrdersDetailsDataGridView1;
	private: System::Windows::Forms::DataGridViewTextBoxColumn^  dataGridViewTextBoxColumn14;
	private: System::Windows::Forms::DataGridViewTextBoxColumn^  dataGridViewTextBoxColumn15;
	private: System::Windows::Forms::DataGridViewTextBoxColumn^  dataGridViewTextBoxColumn16;
	private: System::Windows::Forms::DataGridViewTextBoxColumn^  dataGridViewTextBoxColumn17;
	private: System::Windows::Forms::DataGridViewTextBoxColumn^  dataGridViewTextBoxColumn18;
	private: System::Windows::Forms::DataGridViewTextBoxColumn^  dataGridViewTextBoxColumn5;
	private: System::Windows::Forms::DataGridViewTextBoxColumn^  dataGridViewTextBoxColumn6;
	private: System::Windows::Forms::DataGridViewTextBoxColumn^  dataGridViewTextBoxColumn7;
	private: System::Windows::Forms::DataGridViewTextBoxColumn^  dataGridViewTextBoxColumn8;
	private: System::Windows::Forms::DataGridViewTextBoxColumn^  dataGridViewTextBoxColumn9;
	private: System::Windows::Forms::BindingSource^  ordersOrdersDetailsBindingSource;
	private: System::Windows::Forms::ComboBox^  comboBox3;
	private: System::Windows::Forms::BindingSource^  productBindingSource;
	private: s3::BoreyDataSetTableAdapters::ProductTableAdapter^  ProductTableAdapter;
	private: System::Windows::Forms::BindingSource^  OrdersDetailsBindingSource1;
	private: System::Windows::Forms::DataGridView^  OrdersDetailsDataGridView2;
	private: System::Windows::Forms::DataGridViewTextBoxColumn^  dataGridViewTextBoxColumn19;
	private: System::Windows::Forms::DataGridViewTextBoxColumn^  dataGridViewTextBoxColumn20;
	private: System::Windows::Forms::DataGridViewTextBoxColumn^  dataGridViewTextBoxColumn21;
	private: System::Windows::Forms::DataGridViewTextBoxColumn^  dataGridViewTextBoxColumn22;
	private: System::Windows::Forms::DataGridViewTextBoxColumn^  dataGridViewTextBoxColumn23;
private: System::Windows::Forms::OpenFileDialog^  openFileDialog1;
private: System::Windows::Forms::TabPage^  tabPage4;
private: CrystalDecisions::Windows::Forms::CrystalReportViewer^  crystalReportViewer1;
private: System::Windows::Forms::TabPage^  tabPage5;
private: System::Windows::Forms::ToolStripMenuItem^  приложениеРазработаноСавихинымОГДляСтудентовМехматаННГУОбучающихсяПоСпециальностиПрикладнаяМатематикаИИнформатикаToolStripMenuItem;









	private: System::ComponentModel::IContainer^  components;

	private:
		/// <summary>
		/// Required designer variable.
		/// </summary>


#pragma 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>
		void InitializeComponent(void)
		{
			this->components = (gcnew System::ComponentModel::Container());
			System::ComponentModel::ComponentResourceManager^  resources = (gcnew System::ComponentModel::ComponentResourceManager(Form1::typeid));
			this->menuStrip1 = (gcnew System::Windows::Forms::MenuStrip());
			this->fileToolStripMenuItem = (gcnew System::Windows::Forms::ToolStripMenuItem());
			this->openToolStripMenuItem = (gcnew System::Windows::Forms::ToolStripMenuItem());
			this->saveToolStripMenuItem = (gcnew System::Windows::Forms::ToolStripMenuItem());
			this->helpToolStripMenuItem = (gcnew System::Windows::Forms::ToolStripMenuItem());
			this->tabControl1 = (gcnew System::Windows::Forms::TabControl());
			this->tabPage1 = (gcnew System::Windows::Forms::TabPage());
			this->OrdersDetailsDataGridView = (gcnew System::Windows::Forms::DataGridView());
			this->dataGridViewTextBoxColumn5 = (gcnew System::Windows::Forms::DataGridViewTextBoxColumn());
			this->dataGridViewTextBoxColumn6 = (gcnew System::Windows::Forms::DataGridViewTextBoxColumn());
			this->dataGridViewTextBoxColumn7 = (gcnew System::Windows::Forms::DataGridViewTextBoxColumn());
			this->dataGridViewTextBoxColumn8 = (gcnew System::Windows::Forms::DataGridViewTextBoxColumn());
			this->dataGridViewTextBoxColumn9 = (gcnew System::Windows::Forms::DataGridViewTextBoxColumn());
			this->OrdersDetailsBindingSource = (gcnew System::Windows::Forms::BindingSource(this->components));
			this->OrdersBindingSource = (gcnew System::Windows::Forms::BindingSource(this->components));
			this->customerBindingSource = (gcnew System::Windows::Forms::BindingSource(this->components));
			this->BoreyDataSet = (gcnew s3::BoreyDataSet());
			this->bindingNavigator1 = (gcnew System::Windows::Forms::BindingNavigator(this->components));
			this->bindingNavigatorAddNewItem = (gcnew System::Windows::Forms::ToolStripButton());
			this->bindingNavigatorCountItem = (gcnew System::Windows::Forms::ToolStripLabel());
			this->bindingNavigatorDeleteItem = (gcnew System::Windows::Forms::ToolStripButton());
			this->bindingNavigatorMoveFirstItem = (gcnew System::Windows::Forms::ToolStripButton());
			this->bindingNavigatorMovePreviousItem = (gcnew System::Windows::Forms::ToolStripButton());
			this->bindingNavigatorSeparator = (gcnew System::Windows::Forms::ToolStripSeparator());
			this->bindingNavigatorPositionItem = (gcnew System::Windows::Forms::ToolStripTextBox());
			this->bindingNavigatorSeparator1 = (gcnew System::Windows::Forms::ToolStripSeparator());
			this->bindingNavigatorMoveNextItem = (gcnew System::Windows::Forms::ToolStripButton());
			this->bindingNavigatorMoveLastItem = (gcnew System::Windows::Forms::ToolStripButton());
			this->bindingNavigatorSeparator2 = (gcnew System::Windows::Forms::ToolStripSeparator());
			this->OrdersDataGridView = (gcnew System::Windows::Forms::DataGridView());
			this->dataGridViewTextBoxColumn1 = (gcnew System::Windows::Forms::DataGridViewTextBoxColumn());
			this->dataGridViewTextBoxColumn2 = (gcnew System::Windows::Forms::DataGridViewTextBoxColumn());
			this->dataGridViewTextBoxColumn3 = (gcnew System::Windows::Forms::DataGridViewTextBoxColumn());
			this->dataGridViewTextBoxColumn4 = (gcnew System::Windows::Forms::DataGridViewTextBoxColumn());
			this->toolStripContainer1 = (gcnew System::Windows::Forms::ToolStripContainer());
			this->comboBox1 = (gcnew System::Windows::Forms::ComboBox());
			this->tabPage2 = (gcnew System::Windows::Forms::TabPage());
			this->OrdersDetailsDataGridView1 = (gcnew System::Windows::Forms::DataGridView());
			this->dataGridViewTextBoxColumn14 = (gcnew System::Windows::Forms::DataGridViewTextBoxColumn());
			this->dataGridViewTextBoxColumn15 = (gcnew System::Windows::Forms::DataGridViewTextBoxColumn());
			this->dataGridViewTextBoxColumn16 = (gcnew System::Windows::Forms::DataGridViewTextBoxColumn());
			this->dataGridViewTextBoxColumn17 = (gcnew System::Windows::Forms::DataGridViewTextBoxColumn());
			this->dataGridViewTextBoxColumn18 = (gcnew System::Windows::Forms::DataGridViewTextBoxColumn());
			this->ordersOrdersDetailsBindingSource = (gcnew System::Windows::Forms::BindingSource(this->components));
			this->OrdersBindingSource1 = (gcnew System::Windows::Forms::BindingSource(this->components));
			this->emploeBindingSource = (gcnew System::Windows::Forms::BindingSource(this->components));
			this->OrdersDataGridView1 = (gcnew System::Windows::Forms::DataGridView());
			this->dataGridViewTextBoxColumn10 = (gcnew System::Windows::Forms::DataGridViewTextBoxColumn());
			this->dataGridViewTextBoxColumn11 = (gcnew System::Windows::Forms::DataGridViewTextBoxColumn());
			this->dataGridViewTextBoxColumn12 = (gcnew System::Windows::Forms::DataGridViewTextBoxColumn());
			this->dataGridViewTextBoxColumn13 = (gcnew System::Windows::Forms::DataGridViewTextBoxColumn());
			this->comboBox2 = (gcnew System::Windows::Forms::ComboBox());
			this->tabPage3 = (gcnew System::Windows::Forms::TabPage());
			this->OrdersDetailsDataGridView2 = (gcnew System::Windows::Forms::DataGridView());
			this->dataGridViewTextBoxColumn19 = (gcnew System::Windows::Forms::DataGridViewTextBoxColumn());
			this->dataGridViewTextBoxColumn20 = (gcnew System::Windows::Forms::DataGridViewTextBoxColumn());
			this->dataGridViewTextBoxColumn21 = (gcnew System::Windows::Forms::DataGridViewTextBoxColumn());
			this->dataGridViewTextBoxColumn22 = (gcnew System::Windows::Forms::DataGridViewTextBoxColumn());
			this->dataGridViewTextBoxColumn23 = (gcnew System::Windows::Forms::DataGridViewTextBoxColumn());
			this->OrdersDetailsBindingSource1 = (gcnew System::Windows::Forms::BindingSource(this->components));
			this->productBindingSource = (gcnew System::Windows::Forms::BindingSource(this->components));
			this->comboBox3 = (gcnew System::Windows::Forms::ComboBox());
			this->tabPage4 = (gcnew System::Windows::Forms::TabPage());
			this->crystalReportViewer1 = (gcnew CrystalDecisions::Windows::Forms::CrystalReportViewer());
			this->tabPage5 = (gcnew System::Windows::Forms::TabPage());
			this->CustomerTableAdapter = (gcnew s3::BoreyDataSetTableAdapters::CustomerTableAdapter());
			this->OrdersTableAdapter = (gcnew s3::BoreyDataSetTableAdapters::OrdersTableAdapter());
			this->OrdersDetailsTableAdapter = (gcnew s3::BoreyDataSetTableAdapters::OrdersDetailsTableAdapter());
			this->EmploeTableAdapter = (gcnew s3::BoreyDataSetTableAdapters::EmploeTableAdapter());
			this->ProductTableAdapter = (gcnew s3::BoreyDataSetTableAdapters::ProductTableAdapter());
			this->openFileDialog1 = (gcnew System::Windows::Forms::OpenFileDialog());
			this->приложениеРазработаноСавихинымОГДляСтудентовМехматаННГУОбучающихсяПоСпециальностиПрикладнаяМатематикаИИнформатикаToolStripMenuItem = (gcnew System::Windows::Forms::ToolStripMenuItem());
			this->menuStrip1->SuspendLayout();
			this->tabControl1->SuspendLayout();
			this->tabPage1->SuspendLayout();
			(cli::safe_cast<System::ComponentModel::ISupportInitialize^  >(this->OrdersDetailsDataGridView))->BeginInit();
			(cli::safe_cast<System::ComponentModel::ISupportInitialize^  >(this->OrdersDetailsBindingSource))->BeginInit();
			(cli::safe_cast<System::ComponentModel::ISupportInitialize^  >(this->OrdersBindingSource))->BeginInit();
			(cli::safe_cast<System::ComponentModel::ISupportInitialize^  >(this->customerBindingSource))->BeginInit();
			(cli::safe_cast<System::ComponentModel::ISupportInitialize^  >(this->BoreyDataSet))->BeginInit();
			(cli::safe_cast<System::ComponentModel::ISupportInitialize^  >(this->bindingNavigator1))->BeginInit();
			this->bindingNavigator1->SuspendLayout();
			(cli::safe_cast<System::ComponentModel::ISupportInitialize^  >(this->OrdersDataGridView))->BeginInit();
			this->toolStripContainer1->ContentPanel->SuspendLayout();
			this->toolStripContainer1->SuspendLayout();
			this->tabPage2->SuspendLayout();
			(cli::safe_cast<System::ComponentModel::ISupportInitialize^  >(this->OrdersDetailsDataGridView1))->BeginInit();
			(cli::safe_cast<System::ComponentModel::ISupportInitialize^  >(this->ordersOrdersDetailsBindingSource))->BeginInit();
			(cli::safe_cast<System::ComponentModel::ISupportInitialize^  >(this->OrdersBindingSource1))->BeginInit();
			(cli::safe_cast<System::ComponentModel::ISupportInitialize^  >(this->emploeBindingSource))->BeginInit();
			(cli::safe_cast<System::ComponentModel::ISupportInitialize^  >(this->OrdersDataGridView1))->BeginInit();
			this->tabPage3->SuspendLayout();
			(cli::safe_cast<System::ComponentModel::ISupportInitialize^  >(this->OrdersDetailsDataGridView2))->BeginInit();
			(cli::safe_cast<System::ComponentModel::ISupportInitialize^  >(this->OrdersDetailsBindingSource1))->BeginInit();
			(cli::safe_cast<System::ComponentModel::ISupportInitialize^  >(this->productBindingSource))->BeginInit();
			this->tabPage4->SuspendLayout();
			this->SuspendLayout();
			// 
			// menuStrip1
			// 
			this->menuStrip1->Items->AddRange(gcnew cli::array< System::Windows::Forms::ToolStripItem^  >(2) {this->fileToolStripMenuItem, 
				this->helpToolStripMenuItem});
			this->menuStrip1->Location = System::Drawing::Point(0, 0);
			this->menuStrip1->Name = L"menuStrip1";
			this->menuStrip1->Size = System::Drawing::Size(578, 24);
			this->menuStrip1->TabIndex = 0;
			this->menuStrip1->Text = L"menuStrip1";
			// 
			// fileToolStripMenuItem
			// 
			this->fileToolStripMenuItem->DropDownItems->AddRange(gcnew cli::array< System::Windows::Forms::ToolStripItem^  >(2) {this->openToolStripMenuItem, 
				this->saveToolStripMenuItem});
			this->fileToolStripMenuItem->Name = L"fileToolStripMenuItem";
			this->fileToolStripMenuItem->Size = System::Drawing::Size(35, 20);
			this->fileToolStripMenuItem->Text = L"File";
			// 
			// openToolStripMenuItem
			// 
			this->openToolStripMenuItem->Name = L"openToolStripMenuItem";
			this->openToolStripMenuItem->Size = System::Drawing::Size(111, 22);
			this->openToolStripMenuItem->Text = L"Open";
			this->openToolStripMenuItem->Click += gcnew System::EventHandler(this, &Form1::openToolStripMenuItem_Click);
			// 
			// saveToolStripMenuItem
			// 
			this->saveToolStripMenuItem->Name = L"saveToolStripMenuItem";
			this->saveToolStripMenuItem->Size = System::Drawing::Size(111, 22);
			this->saveToolStripMenuItem->Text = L"Save";
			// 
			// helpToolStripMenuItem
			// 
			this->helpToolStripMenuItem->DropDownItems->AddRange(gcnew cli::array< System::Windows::Forms::ToolStripItem^  >(1) {this->приложениеРазработаноСавихинымОГДляСтудентовМехматаННГУОбучающихсяПоСпециальностиПрикладнаяМатематикаИИнформатикаToolStripMenuItem});
			this->helpToolStripMenuItem->Name = L"helpToolStripMenuItem";
			this->helpToolStripMenuItem->Size = System::Drawing::Size(40, 20);
			this->helpToolStripMenuItem->Text = L"Help";
			// 
			// tabControl1
			// 
			this->tabControl1->Controls->Add(this->tabPage1);
			this->tabControl1->Controls->Add(this->tabPage2);
			this->tabControl1->Controls->Add(this->tabPage3);
			this->tabControl1->Controls->Add(this->tabPage4);
			this->tabControl1->Controls->Add(this->tabPage5);
			this->tabControl1->Dock = System::Windows::Forms::DockStyle::Fill;
			this->tabControl1->Location = System::Drawing::Point(0, 24);
			this->tabControl1->Name = L"tabControl1";
			this->tabControl1->SelectedIndex = 0;
			this->tabControl1->Size = System::Drawing::Size(578, 474);
			this->tabControl1->TabIndex = 1;
			// 
			// tabPage1
			// 
			this->tabPage1->AutoScroll = true;
			this->tabPage1->Controls->Add(this->OrdersDetailsDataGridView);
			this->tabPage1->Controls->Add(this->bindingNavigator1);
			this->tabPage1->Controls->Add(this->OrdersDataGridView);
			this->tabPage1->Controls->Add(this->toolStripContainer1);
			this->tabPage1->Location = System::Drawing::Point(4, 22);
			this->tabPage1->Name = L"tabPage1";
			this->tabPage1->Padding = System::Windows::Forms::Padding(3);
			this->tabPage1->Size = System::Drawing::Size(570, 448);
			this->tabPage1->TabIndex = 0;
			this->tabPage1->Text = L"Customer";
			this->tabPage1->UseVisualStyleBackColor = true;
			// 
			// OrdersDetailsDataGridView
			// 
			this->OrdersDetailsDataGridView->AutoGenerateColumns = false;
			this->OrdersDetailsDataGridView->Columns->AddRange(gcnew cli::array< System::Windows::Forms::DataGridViewColumn^  >(5) {this->dataGridViewTextBoxColumn5, 
				this->dataGridViewTextBoxColumn6, this->dataGridViewTextBoxColumn7, this->dataGridViewTextBoxColumn8, this->dataGridViewTextBoxColumn9});
			this->OrdersDetailsDataGridView->DataSource = this->OrdersDetailsBindingSource;
			this->OrdersDetailsDataGridView->Location = System::Drawing::Point(4, 256);
			this->OrdersDetailsDataGridView->Name = L"OrdersDetailsDataGridView";
			this->OrdersDetailsDataGridView->Size = System::Drawing::Size(509, 159);
			this->OrdersDetailsDataGridView->TabIndex = 3;
			// 
			// dataGridViewTextBoxColumn5
			// 
			this->dataGridViewTextBoxColumn5->DataPropertyName = L"OrdersDetailsId";
			this->dataGridViewTextBoxColumn5->HeaderText = L"OrdersDetailsId";
			this->dataGridViewTextBoxColumn5->Name = L"dataGridViewTextBoxColumn5";
			// 
			// dataGridViewTextBoxColumn6
			// 
			this->dataGridViewTextBoxColumn6->DataPropertyName = L"ProductId";
			this->dataGridViewTextBoxColumn6->HeaderText = L"ProductId";
			this->dataGridViewTextBoxColumn6->Name = L"dataGridViewTextBoxColumn6";
			// 
			// dataGridViewTextBoxColumn7
			// 
			this->dataGridViewTextBoxColumn7->DataPropertyName = L"Price";
			this->dataGridViewTextBoxColumn7->HeaderText = L"Price";
			this->dataGridViewTextBoxColumn7->Name = L"dataGridViewTextBoxColumn7";
			// 
			// dataGridViewTextBoxColumn8
			// 
			this->dataGridViewTextBoxColumn8->DataPropertyName = L"Volume";
			this->dataGridViewTextBoxColumn8->HeaderText = L"Volume";
			this->dataGridViewTextBoxColumn8->Name = L"dataGridViewTextBoxColumn8";
			// 
			// dataGridViewTextBoxColumn9
			// 
			this->dataGridViewTextBoxColumn9->DataPropertyName = L"OrdersId";
			this->dataGridViewTextBoxColumn9->HeaderText = L"OrdersId";
			this->dataGridViewTextBoxColumn9->Name = L"dataGridViewTextBoxColumn9";
			// 
			// OrdersDetailsBindingSource
			// 
			this->OrdersDetailsBindingSource->DataMember = L"OrdersOrdersDetails";
			this->OrdersDetailsBindingSource->DataSource = this->OrdersBindingSource;
			// 
			// OrdersBindingSource
			// 
			this->OrdersBindingSource->DataMember = L"CustomerOrders";
			this->OrdersBindingSource->DataSource = this->customerBindingSource;
			// 
			// customerBindingSource
			// 
			this->customerBindingSource->DataMember = L"Customer";
			this->customerBindingSource->DataSource = this->BoreyDataSet;
			// 
			// BoreyDataSet
			// 
			this->BoreyDataSet->DataSetName = L"BoreyDataSet";
			this->BoreyDataSet->SchemaSerializationMode = System::Data::SchemaSerializationMode::IncludeSchema;
			// 
			// bindingNavigator1
			// 
			this->bindingNavigator1->AddNewItem = this->bindingNavigatorAddNewItem;
			this->bindingNavigator1->BindingSource = this->OrdersBindingSource;
			this->bindingNavigator1->CountItem = this->bindingNavigatorCountItem;
			this->bindingNavigator1->DeleteItem = this->bindingNavigatorDeleteItem;
			this->bindingNavigator1->Dock = System::Windows::Forms::DockStyle::None;
			this->bindingNavigator1->Items->AddRange(gcnew cli::array< System::Windows::Forms::ToolStripItem^  >(11) {this->bindingNavigatorMoveFirstItem, 
				this->bindingNavigatorMovePreviousItem, this->bindingNavigatorSeparator, this->bindingNavigatorPositionItem, this->bindingNavigatorCountItem, 
				this->bindingNavigatorSeparator1, this->bindingNavigatorMoveNextItem, this->bindingNavigatorMoveLastItem, this->bindingNavigatorSeparator2, 
				this->bindingNavigatorAddNewItem, this->bindingNavigatorDeleteItem});
			this->bindingNavigator1->Location = System::Drawing::Point(8, 187);
			this->bindingNavigator1->MoveFirstItem = this->bindingNavigatorMoveFirstItem;
			this->bindingNavigator1->MoveLastItem = this->bindingNavigatorMoveLastItem;
			this->bindingNavigator1->MoveNextItem = this->bindingNavigatorMoveNextItem;
			this->bindingNavigator1->MovePreviousItem = this->bindingNavigatorMovePreviousItem;
			this->bindingNavigator1->Name = L"bindingNavigator1";
			this->bindingNavigator1->PositionItem = this->bindingNavigatorPositionItem;
			this->bindingNavigator1->Size = System::Drawing::Size(256, 25);
			this->bindingNavigator1->TabIndex = 2;
			this->bindingNavigator1->Text = L"bindingNavigator1";
			// 
			// bindingNavigatorAddNewItem
			// 
			this->bindingNavigatorAddNewItem->DisplayStyle = System::Windows::Forms::ToolStripItemDisplayStyle::Image;
			this->bindingNavigatorAddNewItem->Image = (cli::safe_cast<System::Drawing::Image^  >(resources->GetObject(L"bindingNavigatorAddNewItem.Image")));
			this->bindingNavigatorAddNewItem->Name = L"bindingNavigatorAddNewItem";
			this->bindingNavigatorAddNewItem->RightToLeftAutoMirrorImage = true;
			this->bindingNavigatorAddNewItem->Size = System::Drawing::Size(23, 22);
			this->bindingNavigatorAddNewItem->Text = L"Add new";
			// 
			// bindingNavigatorCountItem
			// 
			this->bindingNavigatorCountItem->Name = L"bindingNavigatorCountItem";
			this->bindingNavigatorCountItem->Size = System::Drawing::Size(36, 22);
			this->bindingNavigatorCountItem->Text = L"of {0}";
			this->bindingNavigatorCountItem->ToolTipText = L"Total number of items";
			// 
			// bindingNavigatorDeleteItem
			// 
			this->bindingNavigatorDeleteItem->DisplayStyle = System::Windows::Forms::ToolStripItemDisplayStyle::Image;
			this->bindingNavigatorDeleteItem->Image = (cli::safe_cast<System::Drawing::Image^  >(resources->GetObject(L"bindingNavigatorDeleteItem.Image")));
			this->bindingNavigatorDeleteItem->Name = L"bindingNavigatorDeleteItem";
			this->bindingNavigatorDeleteItem->RightToLeftAutoMirrorImage = true;
			this->bindingNavigatorDeleteItem->Size = System::Drawing::Size(23, 22);
			this->bindingNavigatorDeleteItem->Text = L"Delete";
			// 
			// bindingNavigatorMoveFirstItem
			// 
			this->bindingNavigatorMoveFirstItem->DisplayStyle = System::Windows::Forms::ToolStripItemDisplayStyle::Image;
			this->bindingNavigatorMoveFirstItem->Image = (cli::safe_cast<System::Drawing::Image^  >(resources->GetObject(L"bindingNavigatorMoveFirstItem.Image")));
			this->bindingNavigatorMoveFirstItem->Name = L"bindingNavigatorMoveFirstItem";
			this->bindingNavigatorMoveFirstItem->RightToLeftAutoMirrorImage = true;
			this->bindingNavigatorMoveFirstItem->Size = System::Drawing::Size(23, 22);
			this->bindingNavigatorMoveFirstItem->Text = L"Move first";
			// 
			// bindingNavigatorMovePreviousItem
			// 
			this->bindingNavigatorMovePreviousItem->DisplayStyle = System::Windows::Forms::ToolStripItemDisplayStyle::Image;
			this->bindingNavigatorMovePreviousItem->Image = (cli::safe_cast<System::Drawing::Image^  >(resources->GetObject(L"bindingNavigatorMovePreviousItem.Image")));
			this->bindingNavigatorMovePreviousItem->Name = L"bindingNavigatorMovePreviousItem";
			this->bindingNavigatorMovePreviousItem->RightToLeftAutoMirrorImage = true;
			this->bindingNavigatorMovePreviousItem->Size = System::Drawing::Size(23, 22);
			this->bindingNavigatorMovePreviousItem->Text = L"Move previous";
			// 
			// bindingNavigatorSeparator
			// 
			this->bindingNavigatorSeparator->Name = L"bindingNavigatorSeparator";
			this->bindingNavigatorSeparator->Size = System::Drawing::Size(6, 25);
			// 
			// bindingNavigatorPositionItem
			// 
			this->bindingNavigatorPositionItem->AccessibleName = L"Position";
			this->bindingNavigatorPositionItem->AutoSize = false;
			this->bindingNavigatorPositionItem->Name = L"bindingNavigatorPositionItem";
			this->bindingNavigatorPositionItem->Size = System::Drawing::Size(50, 21);
			this->bindingNavigatorPositionItem->Text = L"0";
			this->bindingNavigatorPositionItem->ToolTipText = L"Current position";
			// 
			// bindingNavigatorSeparator1
			// 
			this->bindingNavigatorSeparator1->Name = L"bindingNavigatorSeparator1";
			this->bindingNavigatorSeparator1->Size = System::Drawing::Size(6, 25);
			// 
			// bindingNavigatorMoveNextItem
			// 
			this->bindingNavigatorMoveNextItem->DisplayStyle = System::Windows::Forms::ToolStripItemDisplayStyle::Image;
			this->bindingNavigatorMoveNextItem->Image = (cli::safe_cast<System::Drawing::Image^  >(resources->GetObject(L"bindingNavigatorMoveNextItem.Image")));
			this->bindingNavigatorMoveNextItem->Name = L"bindingNavigatorMoveNextItem";
			this->bindingNavigatorMoveNextItem->RightToLeftAutoMirrorImage = true;
			this->bindingNavigatorMoveNextItem->Size = System::Drawing::Size(23, 22);
			this->bindingNavigatorMoveNextItem->Text = L"Move next";
			// 
			// bindingNavigatorMoveLastItem
			// 
			this->bindingNavigatorMoveLastItem->DisplayStyle = System::Windows::Forms::ToolStripItemDisplayStyle::Image;
			this->bindingNavigatorMoveLastItem->Image = (cli::safe_cast<System::Drawing::Image^  >(resources->GetObject(L"bindingNavigatorMoveLastItem.Image")));
			this->bindingNavigatorMoveLastItem->Name = L"bindingNavigatorMoveLastItem";
			this->bindingNavigatorMoveLastItem->RightToLeftAutoMirrorImage = true;
			this->bindingNavigatorMoveLastItem->Size = System::Drawing::Size(23, 22);
			this->bindingNavigatorMoveLastItem->Text = L"Move last";
			// 
			// bindingNavigatorSeparator2
			// 
			this->bindingNavigatorSeparator2->Name = L"bindingNavigatorSeparator2";
			this->bindingNavigatorSeparator2->Size = System::Drawing::Size(6, 25);
			// 
			// OrdersDataGridView
			// 
			this->OrdersDataGridView->AutoGenerateColumns = false;
			this->OrdersDataGridView->Columns->AddRange(gcnew cli::array< System::Windows::Forms::DataGridViewColumn^  >(4) {this->dataGridViewTextBoxColumn1, 
				this->dataGridViewTextBoxColumn2, this->dataGridViewTextBoxColumn3, this->dataGridViewTextBoxColumn4});
			this->OrdersDataGridView->DataSource = this->OrdersBindingSource;
			this->OrdersDataGridView->Location = System::Drawing::Point(3, 55);
			this->OrdersDataGridView->Name = L"OrdersDataGridView";
			this->OrdersDataGridView->Size = System::Drawing::Size(444, 129);
			this->OrdersDataGridView->TabIndex = 1;
			// 
			// dataGridViewTextBoxColumn1
			// 
			this->dataGridViewTextBoxColumn1->DataPropertyName = L"OrdersId";
			this->dataGridViewTextBoxColumn1->HeaderText = L"OrdersId";
			this->dataGridViewTextBoxColumn1->Name = L"dataGridViewTextBoxColumn1";
			// 
			// dataGridViewTextBoxColumn2
			// 
			this->dataGridViewTextBoxColumn2->DataPropertyName = L"CustomerId";
			this->dataGridViewTextBoxColumn2->HeaderText = L"CustomerId";
			this->dataGridViewTextBoxColumn2->Name = L"dataGridViewTextBoxColumn2";
			// 
			// dataGridViewTextBoxColumn3
			// 
			this->dataGridViewTextBoxColumn3->DataPropertyName = L"EmploeId";
			this->dataGridViewTextBoxColumn3->HeaderText = L"EmploeId";
			this->dataGridViewTextBoxColumn3->Name = L"dataGridViewTextBoxColumn3";
			// 
			// dataGridViewTextBoxColumn4
			// 
			this->dataGridViewTextBoxColumn4->DataPropertyName = L"Date";
			this->dataGridViewTextBoxColumn4->HeaderText = L"Date";
			this->dataGridViewTextBoxColumn4->Name = L"dataGridViewTextBoxColumn4";
			// 
			// toolStripContainer1
			// 
			this->toolStripContainer1->BottomToolStripPanelVisible = false;
			// 
			// toolStripContainer1.ContentPanel
			// 
			this->toolStripContainer1->ContentPanel->Controls->Add(this->comboBox1);
			this->toolStripContainer1->ContentPanel->Size = System::Drawing::Size(561, 23);
			this->toolStripContainer1->LeftToolStripPanelVisible = false;
			this->toolStripContainer1->Location = System::Drawing::Point(6, 3);
			this->toolStripContainer1->Name = L"toolStripContainer1";
			this->toolStripContainer1->RightToolStripPanelVisible = false;
			this->toolStripContainer1->Size = System::Drawing::Size(561, 23);
			this->toolStripContainer1->TabIndex = 0;
			this->toolStripContainer1->Text = L"toolStripContainer1";
			this->toolStripContainer1->TopToolStripPanelVisible = false;
			// 
			// comboBox1
			// 
			this->comboBox1->DataBindings->Add((gcnew System::Windows::Forms::Binding(L"SelectedValue", this->BoreyDataSet, L"Customer.CustomerOrders.CustomerId", 
				true)));
			this->comboBox1->DataSource = this->customerBindingSource;
			this->comboBox1->DisplayMember = L"CustomerName";
			this->comboBox1->FormattingEnabled = true;
			this->comboBox1->Location = System::Drawing::Point(0, 0);
			this->comboBox1->MaxLength = 1;
			this->comboBox1->Name = L"comboBox1";
			this->comboBox1->Size = System::Drawing::Size(121, 21);
			this->comboBox1->TabIndex = 0;
			this->comboBox1->ValueMember = L"CustomerId";
			// 
			// tabPage2
			// 
			this->tabPage2->AutoScroll = true;
			this->tabPage2->Controls->Add(this->OrdersDetailsDataGridView1);
			this->tabPage2->Controls->Add(this->OrdersDataGridView1);
			this->tabPage2->Controls->Add(this->comboBox2);
			this->tabPage2->Location = System::Drawing::Point(4, 22);
			this->tabPage2->Name = L"tabPage2";
			this->tabPage2->Padding = System::Windows::Forms::Padding(3);
			this->tabPage2->Size = System::Drawing::Size(570, 448);
			this->tabPage2->TabIndex = 1;
			this->tabPage2->Text = L"Emploe";
			this->tabPage2->UseVisualStyleBackColor = true;
			// 
			// OrdersDetailsDataGridView1
			// 
			this->OrdersDetailsDataGridView1->AutoGenerateColumns = false;
			this->OrdersDetailsDataGridView1->Columns->AddRange(gcnew cli::array< System::Windows::Forms::DataGridViewColumn^  >(5) {this->dataGridViewTextBoxColumn14, 
				this->dataGridViewTextBoxColumn15, this->dataGridViewTextBoxColumn16, this->dataGridViewTextBoxColumn17, this->dataGridViewTextBoxColumn18});
			this->OrdersDetailsDataGridView1->DataSource = this->ordersOrdersDetailsBindingSource;
			this->OrdersDetailsDataGridView1->Location = System::Drawing::Point(4, 176);
			this->OrdersDetailsDataGridView1->Name = L"OrdersDetailsDataGridView1";
			this->OrdersDetailsDataGridView1->Size = System::Drawing::Size(538, 220);
			this->OrdersDetailsDataGridView1->TabIndex = 2;
			// 
			// dataGridViewTextBoxColumn14
			// 
			this->dataGridViewTextBoxColumn14->DataPropertyName = L"OrdersDetailsId";
			this->dataGridViewTextBoxColumn14->HeaderText = L"OrdersDetailsId";
			this->dataGridViewTextBoxColumn14->Name = L"dataGridViewTextBoxColumn14";
			// 
			// dataGridViewTextBoxColumn15
			// 
			this->dataGridViewTextBoxColumn15->DataPropertyName = L"ProductId";
			this->dataGridViewTextBoxColumn15->HeaderText = L"ProductId";
			this->dataGridViewTextBoxColumn15->Name = L"dataGridViewTextBoxColumn15";
			// 
			// dataGridViewTextBoxColumn16
			// 
			this->dataGridViewTextBoxColumn16->DataPropertyName = L"Price";
			this->dataGridViewTextBoxColumn16->HeaderText = L"Price";
			this->dataGridViewTextBoxColumn16->Name = L"dataGridViewTextBoxColumn16";
			// 
			// dataGridViewTextBoxColumn17
			// 
			this->dataGridViewTextBoxColumn17->DataPropertyName = L"Volume";
			this->dataGridViewTextBoxColumn17->HeaderText = L"Volume";
			this->dataGridViewTextBoxColumn17->Name = L"dataGridViewTextBoxColumn17";
			// 
			// dataGridViewTextBoxColumn18
			// 
			this->dataGridViewTextBoxColumn18->DataPropertyName = L"OrdersId";
			this->dataGridViewTextBoxColumn18->HeaderText = L"OrdersId";
			this->dataGridViewTextBoxColumn18->Name = L"dataGridViewTextBoxColumn18";
			// 
			// ordersOrdersDetailsBindingSource
			// 
			this->ordersOrdersDetailsBindingSource->DataMember = L"OrdersOrdersDetails";
			this->ordersOrdersDetailsBindingSource->DataSource = this->OrdersBindingSource1;
			// 
			// OrdersBindingSource1
			// 
			this->OrdersBindingSource1->DataMember = L"EmploeOrders";
			this->OrdersBindingSource1->DataSource = this->emploeBindingSource;
			// 
			// emploeBindingSource
			// 
			this->emploeBindingSource->DataMember = L"Emploe";
			this->emploeBindingSource->DataSource = this->BoreyDataSet;
			// 
			// OrdersDataGridView1
			// 
			this->OrdersDataGridView1->AutoGenerateColumns = false;
			this->OrdersDataGridView1->Columns->AddRange(gcnew cli::array< System::Windows::Forms::DataGridViewColumn^  >(4) {this->dataGridViewTextBoxColumn10, 
				this->dataGridViewTextBoxColumn11, this->dataGridViewTextBoxColumn12, this->dataGridViewTextBoxColumn13});
			this->OrdersDataGridView1->DataSource = this->OrdersBindingSource1;
			this->OrdersDataGridView1->Location = System::Drawing::Point(6, 33);
			this->OrdersDataGridView1->Name = L"OrdersDataGridView1";
			this->OrdersDataGridView1->Size = System::Drawing::Size(461, 123);
			this->OrdersDataGridView1->TabIndex = 2;
			// 
			// dataGridViewTextBoxColumn10
			// 
			this->dataGridViewTextBoxColumn10->DataPropertyName = L"OrdersId";
			this->dataGridViewTextBoxColumn10->HeaderText = L"OrdersId";
			this->dataGridViewTextBoxColumn10->Name = L"dataGridViewTextBoxColumn10";
			// 
			// dataGridViewTextBoxColumn11
			// 
			this->dataGridViewTextBoxColumn11->DataPropertyName = L"CustomerId";
			this->dataGridViewTextBoxColumn11->HeaderText = L"CustomerId";
			this->dataGridViewTextBoxColumn11->Name = L"dataGridViewTextBoxColumn11";
			// 
			// dataGridViewTextBoxColumn12
			// 
			this->dataGridViewTextBoxColumn12->DataPropertyName = L"EmploeId";
			this->dataGridViewTextBoxColumn12->HeaderText = L"EmploeId";
			this->dataGridViewTextBoxColumn12->Name = L"dataGridViewTextBoxColumn12";
			// 
			// dataGridViewTextBoxColumn13
			// 
			this->dataGridViewTextBoxColumn13->DataPropertyName = L"Date";
			this->dataGridViewTextBoxColumn13->HeaderText = L"Date";
			this->dataGridViewTextBoxColumn13->Name = L"dataGridViewTextBoxColumn13";
			// 
			// comboBox2
			// 
			this->comboBox2->DataBindings->Add((gcnew System::Windows::Forms::Binding(L"SelectedValue", this->BoreyDataSet, L"Emploe.EmploeOrders.EmploeId", 
				true)));
			this->comboBox2->DataSource = this->emploeBindingSource;
			this->comboBox2->DisplayMember = L"Emploe";
			this->comboBox2->FormattingEnabled = true;
			this->comboBox2->Location = System::Drawing::Point(3, 6);
			this->comboBox2->Name = L"comboBox2";
			this->comboBox2->Size = System::Drawing::Size(121, 21);
			this->comboBox2->TabIndex = 2;
			this->comboBox2->ValueMember = L"EmploeId";
			// 
			// tabPage3
			// 
			this->tabPage3->Controls->Add(this->OrdersDetailsDataGridView2);
			this->tabPage3->Controls->Add(this->comboBox3);
			this->tabPage3->Location = System::Drawing::Point(4, 22);
			this->tabPage3->Name = L"tabPage3";
			this->tabPage3->Size = System::Drawing::Size(570, 448);
			this->tabPage3->TabIndex = 2;
			this->tabPage3->Text = L"Product";
			this->tabPage3->UseVisualStyleBackColor = true;
			// 
			// OrdersDetailsDataGridView2
			// 
			this->OrdersDetailsDataGridView2->AutoGenerateColumns = false;
			this->OrdersDetailsDataGridView2->Columns->AddRange(gcnew cli::array< System::Windows::Forms::DataGridViewColumn^  >(5) {this->dataGridViewTextBoxColumn19, 
				this->dataGridViewTextBoxColumn20, this->dataGridViewTextBoxColumn21, this->dataGridViewTextBoxColumn22, this->dataGridViewTextBoxColumn23});
			this->OrdersDetailsDataGridView2->DataSource = this->OrdersDetailsBindingSource1;
			this->OrdersDetailsDataGridView2->Location = System::Drawing::Point(8, 43);
			this->OrdersDetailsDataGridView2->Name = L"OrdersDetailsDataGridView2";
			this->OrdersDetailsDataGridView2->Size = System::Drawing::Size(543, 220);
			this->OrdersDetailsDataGridView2->TabIndex = 1;
			// 
			// dataGridViewTextBoxColumn19
			// 
			this->dataGridViewTextBoxColumn19->DataPropertyName = L"OrdersDetailsId";
			this->dataGridViewTextBoxColumn19->HeaderText = L"OrdersDetailsId";
			this->dataGridViewTextBoxColumn19->Name = L"dataGridViewTextBoxColumn19";
			// 
			// dataGridViewTextBoxColumn20
			// 
			this->dataGridViewTextBoxColumn20->DataPropertyName = L"ProductId";
			this->dataGridViewTextBoxColumn20->HeaderText = L"ProductId";
			this->dataGridViewTextBoxColumn20->Name = L"dataGridViewTextBoxColumn20";
			// 
			// dataGridViewTextBoxColumn21
			// 
			this->dataGridViewTextBoxColumn21->DataPropertyName = L"Price";
			this->dataGridViewTextBoxColumn21->HeaderText = L"Price";
			this->dataGridViewTextBoxColumn21->Name = L"dataGridViewTextBoxColumn21";
			// 
			// dataGridViewTextBoxColumn22
			// 
			this->dataGridViewTextBoxColumn22->DataPropertyName = L"Volume";
			this->dataGridViewTextBoxColumn22->HeaderText = L"Volume";
			this->dataGridViewTextBoxColumn22->Name = L"dataGridViewTextBoxColumn22";
			// 
			// dataGridViewTextBoxColumn23
			// 
			this->dataGridViewTextBoxColumn23->DataPropertyName = L"OrdersId";
			this->dataGridViewTextBoxColumn23->HeaderText = L"OrdersId";
			this->dataGridViewTextBoxColumn23->Name = L"dataGridViewTextBoxColumn23";
			// 
			// OrdersDetailsBindingSource1
			// 
			this->OrdersDetailsBindingSource1->DataMember = L"ProductOrdersDetails";
			this->OrdersDetailsBindingSource1->DataSource = this->productBindingSource;
			// 
			// productBindingSource
			// 
			this->productBindingSource->DataMember = L"Product";
			this->productBindingSource->DataSource = this->BoreyDataSet;
			// 
			// comboBox3
			// 
			this->comboBox3->DataBindings->Add((gcnew System::Windows::Forms::Binding(L"SelectedValue", this->OrdersDetailsBindingSource, 
				L"ProductId", true)));
			this->comboBox3->DataSource = this->productBindingSource;
			this->comboBox3->DisplayMember = L"ProductName";
			this->comboBox3->FormattingEnabled = true;
			this->comboBox3->Location = System::Drawing::Point(8, 3);
			this->comboBox3->Name = L"comboBox3";
			this->comboBox3->Size = System::Drawing::Size(121, 21);
			this->comboBox3->TabIndex = 0;
			this->comboBox3->ValueMember = L"ProductId";
			// 
			// tabPage4
			// 
			this->tabPage4->Controls->Add(this->crystalReportViewer1);
			this->tabPage4->Location = System::Drawing::Point(4, 22);
			this->tabPage4->Name = L"tabPage4";
			this->tabPage4->Padding = System::Windows::Forms::Padding(3);
			this->tabPage4->Size = System::Drawing::Size(570, 448);
			this->tabPage4->TabIndex = 3;
			this->tabPage4->Text = L"Reports";
			this->tabPage4->UseVisualStyleBackColor = true;
			// 
			// crystalReportViewer1
			// 
			this->crystalReportViewer1->ActiveViewIndex = 0;
			this->crystalReportViewer1->BorderStyle = System::Windows::Forms::BorderStyle::FixedSingle;
			this->crystalReportViewer1->DisplayGroupTree = false;
			this->crystalReportViewer1->DisplayStatusBar = false;
			this->crystalReportViewer1->DisplayToolbar = false;
			this->crystalReportViewer1->Dock = System::Windows::Forms::DockStyle::Fill;
			this->crystalReportViewer1->Location = System::Drawing::Point(3, 3);
			this->crystalReportViewer1->Name = L"crystalReportViewer1";
			this->crystalReportViewer1->ReportSource = L"F:\\БД 2005 2\\s3\\Add_Utility_Crystal_Report.rpt";
			this->crystalReportViewer1->Size = System::Drawing::Size(564, 442);
			this->crystalReportViewer1->TabIndex = 0;
			// 
			// tabPage5
			// 
			this->tabPage5->Location = System::Drawing::Point(4, 22);
			this->tabPage5->Name = L"tabPage5";
			this->tabPage5->Size = System::Drawing::Size(570, 448);
			this->tabPage5->TabIndex = 4;
			this->tabPage5->Text = L"Viewers";
			this->tabPage5->UseVisualStyleBackColor = true;
			// 
			// CustomerTableAdapter
			// 
			this->CustomerTableAdapter->ClearBeforeFill = true;
			// 
			// OrdersTableAdapter
			// 
			this->OrdersTableAdapter->ClearBeforeFill = true;
			// 
			// OrdersDetailsTableAdapter
			// 
			this->OrdersDetailsTableAdapter->ClearBeforeFill = true;
			// 
			// EmploeTableAdapter
			// 
			this->EmploeTableAdapter->ClearBeforeFill = true;
			// 
			// ProductTableAdapter
			// 
			this->ProductTableAdapter->ClearBeforeFill = true;
			// 
			// openFileDialog1
			// 
			this->openFileDialog1->FileName = L"openFileDialog1";
			// 
			// приложениеРазработаноСавихинымОГДляСтудентовМехматаННГУОбучающихсяПоСпециальностиПрикладнаяМатематикаИИнформатикаToolStripMenuItem
			// 
			this->приложениеРазработаноСавихинымОГДляСтудентовМехматаННГУОбучающихсяПоСпециальностиПрикладнаяМатематикаИИнформатикаToolStripMenuItem->Name = L"приложениеРазработаноСавихинымОГДляСтудентовМехматаННГУОбучающихсяПоСпециальности" 
				L"ПрикладнаяМатематикаИИнформатикаToolStripMenuItem";
			this->приложениеРазработаноСавихинымОГДляСтудентовМехматаННГУОбучающихсяПоСпециальностиПрикладнаяМатематикаИИнформатикаToolStripMenuItem->Size = System::Drawing::Size(834, 
				22);
			this->приложениеРазработаноСавихинымОГДляСтудентовМехматаННГУОбучающихсяПоСпециальностиПрикладнаяМатематикаИИнформатикаToolStripMenuItem->Text = L"Приложение разработано Савихиным О.Г. для студентов мехмата ННГУ, обучающихся по " 
				L"специальности прикладная математика и информатика";
			// 
			// Form1
			// 
			this->AutoScaleDimensions = System::Drawing::SizeF(6, 13);
			this->AutoScaleMode = System::Windows::Forms::AutoScaleMode::Font;
			this->ClientSize = System::Drawing::Size(578, 498);
			this->Controls->Add(this->tabControl1);
			this->Controls->Add(this->menuStrip1);
			this->MainMenuStrip = this->menuStrip1;
			this->Name = L"Form1";
			this->Text = L"Form1";
			this->Load += gcnew System::EventHandler(this, &Form1::Form1_Load);
			this->menuStrip1->ResumeLayout(false);
			this->menuStrip1->PerformLayout();
			this->tabControl1->ResumeLayout(false);
			this->tabPage1->ResumeLayout(false);
			this->tabPage1->PerformLayout();
			(cli::safe_cast<System::ComponentModel::ISupportInitialize^  >(this->OrdersDetailsDataGridView))->EndInit();
			(cli::safe_cast<System::ComponentModel::ISupportInitialize^  >(this->OrdersDetailsBindingSource))->EndInit();
			(cli::safe_cast<System::ComponentModel::ISupportInitialize^  >(this->OrdersBindingSource))->EndInit();
			(cli::safe_cast<System::ComponentModel::ISupportInitialize^  >(this->customerBindingSource))->EndInit();
			(cli::safe_cast<System::ComponentModel::ISupportInitialize^  >(this->BoreyDataSet))->EndInit();
			(cli::safe_cast<System::ComponentModel::ISupportInitialize^  >(this->bindingNavigator1))->EndInit();
			this->bindingNavigator1->ResumeLayout(false);
			this->bindingNavigator1->PerformLayout();
			(cli::safe_cast<System::ComponentModel::ISupportInitialize^  >(this->OrdersDataGridView))->EndInit();
			this->toolStripContainer1->ContentPanel->ResumeLayout(false);
			this->toolStripContainer1->ResumeLayout(false);
			this->toolStripContainer1->PerformLayout();
			this->tabPage2->ResumeLayout(false);
			(cli::safe_cast<System::ComponentModel::ISupportInitialize^  >(this->OrdersDetailsDataGridView1))->EndInit();
			(cli::safe_cast<System::ComponentModel::ISupportInitialize^  >(this->ordersOrdersDetailsBindingSource))->EndInit();
			(cli::safe_cast<System::ComponentModel::ISupportInitialize^  >(this->OrdersBindingSource1))->EndInit();
			(cli::safe_cast<System::ComponentModel::ISupportInitialize^  >(this->emploeBindingSource))->EndInit();
			(cli::safe_cast<System::ComponentModel::ISupportInitialize^  >(this->OrdersDataGridView1))->EndInit();
			this->tabPage3->ResumeLayout(false);
			(cli::safe_cast<System::ComponentModel::ISupportInitialize^  >(this->OrdersDetailsDataGridView2))->EndInit();
			(cli::safe_cast<System::ComponentModel::ISupportInitialize^  >(this->OrdersDetailsBindingSource1))->EndInit();
			(cli::safe_cast<System::ComponentModel::ISupportInitialize^  >(this->productBindingSource))->EndInit();
			this->tabPage4->ResumeLayout(false);
			this->ResumeLayout(false);
			this->PerformLayout();

		}
#pragma endregion
	private: System::Void Form1_Load(System::Object^  sender, System::EventArgs^  e) {
				
			 }
private: System::Void openToolStripMenuItem_Click(System::Object^  sender, System::EventArgs^  e) {
				 this->openFileDialog1->ShowDialog();
				 String^ s=gcnew String(L"Provider=Microsoft.Jet.OLEDB.4.0;Data Source="+this->openFileDialog1->FileName);
CustomerTableAdapter->Connection->ConnectionString=s;
EmploeTableAdapter->Connection->ConnectionString=s;
ProductTableAdapter->Connection->ConnectionString=s;	
OrdersDetailsTableAdapter->Connection->ConnectionString=s;
OrdersTableAdapter->Connection->ConnectionString=s;
		 // TODO: This line of code loads data into the 'BoreyDataSet.OrdersDetails' table. You can move, or remove it, as needed.
				 this->OrdersDetailsTableAdapter->Fill(this->BoreyDataSet->OrdersDetails);
				 // TODO: This line of code loads data into the 'BoreyDataSet.Product' table. You can move, or remove it, as needed.
				 this->ProductTableAdapter->Fill(this->BoreyDataSet->Product);
				 // TODO: This line of code loads data into the 'BoreyDataSet.Orders' table. You can move, or remove it, as needed.
				 this->OrdersTableAdapter->Fill(this->BoreyDataSet->Orders);
				 // TODO: This line of code loads data into the 'BoreyDataSet.Emploe' table. You can move, or remove it, as needed.
				 this->EmploeTableAdapter->Fill(this->BoreyDataSet->Emploe);
				 // TODO: This line of code loads data into the 'BoreyDataSet.OrdersDetails' table. You can move, or remove it, as needed.
				 this->OrdersDetailsTableAdapter->Fill(this->BoreyDataSet->OrdersDetails);
				 // TODO: This line of code loads data into the 'BoreyDataSet.Orders' table. You can move, or remove it, as needed.
				 this->OrdersTableAdapter->Fill(this->BoreyDataSet->Orders);
				 // TODO: This line of code loads data into the 'BoreyDataSet.Customer' table. You can move, or remove it, as needed.
				 this->CustomerTableAdapter->Fill(this->BoreyDataSet->Customer);
		 }
};
}

