гів, 1 r n - пр-т Металургів, 38 r n - пр-т Шахтарів, 19а 2 поверх r n - вул. Кірова, 97 r n - вул. Новосьолов, 18/1 (2 поверх) r n - вул. Моріса Тореза, 95б r n r n r nРАДИ БАЧИТИ ВАС! "," Наші контакти ", MessageBoxButtons. OK, MessageBoxIcon. Information);
} void Form1_Load (object sender, EventArgs e)
{
// BazaInOzy. my_db. create_shema ();. my_db. LoadBaseFromInputFile ();. dataGridView1. RowCount = 5;. dataGridView1. ColumnCount = 5;. ComboBox1. Items. Clear (); (NatTable d in BazaInOzy. My_db. Tables)
{((d. table_name! = "Персонал") && (d. table_name! = "Новинки"))
{this.comboBox1. Items. Add (d. table_name);}
}. dataGridView1. Columns [1]. HeaderCell. Value = "Модель";. dataGridView1. Columns [2]. HeaderCell. Value = "Характеристики";. dataGridView1. Columns [3]. HeaderCell. Value = "Ціна";. dataGridView1. Columns [4]. HeaderCell. Value = "Наявність"; 1. Visible = true;// Реалізація видимості панелей
panel2. Visible = false;. Visible = false;. Visible = false;. Visible = false;. SelectedIndex = 0;. my_db. tables [0]. LoadTableFromOzy (dataGridView1);. Size = this. Size;. Left = 0;. Top = menuStrip1. Height;. Parent = panel1;. Size = this. Size;. Size = this. Size;. Left = 0;. Top = menuStrip1. Height;. Size = this. Size;. Left = 0;. Top = menuStrip1. Height;. Size = this. Size;. Left = 0;. Top = menuStrip1. Height;. Left = 0;. Top = menuStrip1. Height;. Size = this. Size;. AdvancedRowHeadersBorderStyle. Bottom = DataGridViewAdvancedCellBorderStyle. Single;
} void comboBox1_SelectedIndexChanged (object sender, EventArgs e)
{. source_table = comboBox1. SelectedText;. TableNumber = comboBox1. SelectedIndex; (NatTable d in BazaInOzy. My_db. Tables) {if (d. table_name == BazaInOzy. Source_table) {BazaInOzy. TableNumber = d. table_number - 1;}}. my_db. tables [BazaInOzy. TableNumber]. LoadTableFromOzy (this. dataGridView1);
} void button1_Click (object sender, EventArgs e)
{BazaInOzy. my_db. tables [BazaInOzy. TableNumber]. SaveTableInOzy (this. dataGridView1);. my_db. SaveBaseInOutputFile ();
} void button3_Click_2 (object sender, EventArgs e)
{. my_db. tables [7]. SaveTableInOzy (dataGridView3);. my_db. SaveBaseInOutputFile ();
} void новінкіToolStripMenuItem_Click (object sender, EventArgs e)
{. Visible = false;. Visible = false;. Visible = false;. Visible = false;. Visible = true;. my_db. tables [7]. LoadTableFromOzy (dataGridView3);
} void button4_Click (object sender, EventArgs e)
{. my_db. tables [6...