Разработка информационно-справочной системы по учебным заведениям (подсистема "Оператор")

Курсовой проект - Компьютеры, программирование

Другие курсовые по предмету Компьютеры, программирование

bool ch = false;void Form2_Load (object sender, EventArgs e)

{

// TODO: This line of code loads data into the dataSet11. vuz table. You can move, or remove it, as needed.. oleDbDataAdapter1. Fill (dataSet11);

}void button6_Click (object sender, EventArgs e)

{_AddVuz vuz = new Form_AddVuz ();. Show ();. Close ();

}void button4_Click (object sender, EventArgs e)

{. Update (dataSet11);. Enabled = true;. Enabled = true;

}void AddDataSet_vuz (string name,string adres,string kontakt,string mail,string site)

{Nrow = dataSet11. Tables ["vuz"]. NewRow ();["имя ВУЗа"] = name;["адрес"] = adres;["контакты"] = kontakt;["сайт"] = site;["e-mail"] = mail;. Tables ["vuz"]. Rows. Add (Nrow);. Enabled = false;. Enabled = false;. MoveLast ();

}void linkLabel1_LinkClicked (object sender, LinkLabelLinkClickedEventArgs e)

{. Start ("help. htm");

}

}

}System;System. Collections. Generic;System.componentModel;System. Data;System. Drawing;System. Text;System. Windows. Forms;System. Diagnostics;WindowsApplication

{partial class Form3: Form

{Form3 ()

{();

}void menuStrip1_ItemClicked (object sender, ToolStripItemClickedEventArgs e)

{

}void button5_Click (object sender, EventArgs e)

{f = new Form5 ();. show_1 (comboBox1. Text, Convert. ToString (suzBindingSource. Position + 1));. Close ();

}void button3_Click (object sender, EventArgs e)

{();

}void Form3_Load (object sender, EventArgs e)

{. Fill (dataSet31);

}void button6_Click (object sender, EventArgs e)

{_AddVuz suz = new Form_AddVuz ();. Show ();. Close ();

}void AddDataSet_suz (string name, string adres, string kontakt, string mail, string site)

{Nrow = dataSet31. Tables ["suz"]. NewRow ();["имя ссуза"] = name;["адрес"] = adres;["контакты"] = kontakt;["сайт"] = site;["e-mail"] = mail;. Tables ["suz"]. Rows. Add (Nrow);. Enabled = false;. Enabled = false;. MoveLast ();

}void button4_Click (object sender, EventArgs e)

{. Update (dataSet31);. Enabled = true;. Enabled = true;

}void linkLabel1_LinkClicked (object sender, LinkLabelLinkClickedEventArgs e)

{. Start ("help. htm");

}

}

}System;System. Collections. Generic;System.componentModel;System. Data;System. Drawing;System. Text;System. Windows. Forms;System. Diagnostics;WindowsApplication

{partial class Form4: Form

{Form4 ()

{();

}void button1_Click (object sender, EventArgs e)

{(textBox1. Text! ="")

{Nrow = dataSet21. Tables ["fvuz"]. NewRow ();["факультет"] = textBox1. Text;["idvuz"] = it;. Tables ["fvuz"]. Rows. Add (Nrow);. MoveLast ();. Text = "";

}

{. Show ("Введите называние специальности");

}

}void button3_Click (object sender, EventArgs e)

{f = new Form2 ();. Show ();();

}void show_1 (string vuz, string id)

{= id;. Text = vuz;. Show ();

}void Form4_Load (object sender, EventArgs e)

{. Fill (dataSet21);. Filter = "idvuz = " + it + "";

}void button4_Click (object sender, EventArgs e)

{. Update (dataSet21, "fvuz");

}void button2_Click (object sender, EventArgs e)

{. RemoveCurrent ();. ResumeBinding ();

}void label2_Click (object sender, EventArgs e)

{

}void linkLabel1_LinkClicked (object sender, LinkLabelLinkClickedEventArgs e)

{. Start ("help. htm");

}void textBox1_TextChanged (object sender, EventArgs e)

{

}

}

}System;System. Collections. Generic;System.componentModel;System. Data;System. Drawing;System. Text;System. Windows. Forms;System. Diagnostics;WindowsApplication

{partial class Form5: Form

{Form5 ()

{();

}void button3_Click (object sender, EventArgs e)

{f = new Form3 ();. Show ();();

}void show_1 (string vuz, string id)

{= id;. Text = vuz;. Show ();

}void Form5_Load (object sender, EventArgs e)

{. Fill (dataSet41);. Filter = "idsuz = " + it + "";

}void button1_Click (object sender, EventArgs e)

{(textBox1. Text! = "")

{Nrow = dataSet41. Tables ["fsuz"]. NewRow ();["факультет"] = textBox1. Text;["idsuz"] = it;. Tables ["fsuz"]. Rows. Add (Nrow);. MoveLast ();. Text = "";

}

{. Show ("Введите название специальности");

}

}void button4_Click (object sender, EventArgs e)

{. Update (dataSet41, "fsuz");

}void button2_Click (object sender, EventArgs e)

{. RemoveCurrent ();. ResumeBinding ();

}void linkLabel1_LinkClicked (object sender, LinkLabelLinkClickedEventArgs e)

{. Start ("help. htm");

}

}

}System;System. Collections. Generic;System.componentModel;System. Data;System. Drawing;System. Text;System. Windows. Forms;System. Diagnostics;WindowsApplication

{partial class Form_AddVuz: Form

{Form_AddVuz ()

{();

}void button2_Click (object sender, EventArgs e)

{. Close ();f = new Form3 ();. Show ();

}void button1_Click (object sender, EventArgs e)

{f = new Form3 ();. Show ();. AddDataSet_suz (textBox1. Text, textBox2. Text, textBox3. Text, textBox5. Text, textBox4. Text);. Close ();

}void linkLabel1_LinkClicked (object sender, LinkLabelLinkClickedEventArgs e)

{. Start ("help. htm");

}

}

}System;System. Collections. Generic;System.componentModel;System. Data;System. Drawing;System. Text;System. Windows. Forms;System. Diagnostics;WindowsApplication

{partial class Form_AddVuz: Form

{Form_AddVuz ()

{();

}void button2_Click (object sender, EventArgs e)

{. Close ();f = new Form2 ();. Show ();

}void button1_Click (object sender, EventArgs e)

{f = new Form2 ();. Show ();. AddDataSet_vuz (textBox1. Text, textBox2. Text, textBox3. Text, textBox5. Text, textBox4. Text);. Close ();

}void linkLabel1_LinkClicked (object sender, LinkLabelLinkClickedEventArgs e)

{. Start ("help. htm");

}

}

}