Form4.cs 4.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113
  1. using System;
  2. using System.Collections.Generic;
  3. using System.ComponentModel;
  4. using System.Data;
  5. using System.Drawing;
  6. using System.Linq;
  7. using System.Text;
  8. using System.Threading.Tasks;
  9. using System.Windows.Forms;
  10. namespace SavelevShevchenkoStudents
  11. {
  12. public partial class Form4 : Form
  13. {
  14. public Form4()
  15. {
  16. InitializeComponent();
  17. }
  18. private void studentBindingNavigatorSaveItem_Click(object sender, EventArgs e)
  19. {
  20. this.Validate();
  21. this.studentBindingSource.EndEdit();
  22. this.tableAdapterManager.UpdateAll(this.savelev_Shevchenko_pr2DataSet1);
  23. }
  24. private void Form4_Load(object sender, EventArgs e)
  25. {
  26. // TODO: данная строка кода позволяет загрузить данные в таблицу "savelev_Shevchenko_pr2DataSet1.Specialnost". При необходимости она может быть перемещена или удалена.
  27. this.specialnostTableAdapter.Fill(this.savelev_Shevchenko_pr2DataSet1.Specialnost);
  28. // TODO: данная строка кода позволяет загрузить данные в таблицу "savelev_Shevchenko_pr2DataSet1.Student". При необходимости она может быть перемещена или удалена.
  29. this.studentTableAdapter.Fill(this.savelev_Shevchenko_pr2DataSet1.Student);
  30. // TODO: данная строка кода позволяет загрузить данные в таблицу "savelev_Shevchenko_pr2DataSet1.Specialnost". При необходимости она может быть перемещена или удалена.
  31. this.specialnostTableAdapter.Fill(this.savelev_Shevchenko_pr2DataSet1.Specialnost);
  32. // TODO: данная строка кода позволяет загрузить данные в таблицу "savelev_Shevchenko_pr2DataSet1.Student". При необходимости она может быть перемещена или удалена.
  33. this.studentTableAdapter.Fill(this.savelev_Shevchenko_pr2DataSet1.Student);
  34. }
  35. private void data_postypleniyaLabel_Click(object sender, EventArgs e)
  36. {
  37. }
  38. private void ochnay_forma_obycheniyaCheckBox_CheckedChanged(object sender, EventArgs e)
  39. {
  40. }
  41. private void button7_Click(object sender, EventArgs e)
  42. {
  43. this.Validate();
  44. this.studentBindingSource.EndEdit();
  45. this.tableAdapterManager.UpdateAll(this.savelev_Shevchenko_pr2DataSet1);
  46. }
  47. private void button5_Click(object sender, EventArgs e)
  48. {
  49. studentBindingSource.MoveNext();
  50. }
  51. private void button6_Click(object sender, EventArgs e)
  52. {
  53. studentBindingSource.RemoveCurrent();
  54. }
  55. private void button1_Click(object sender, EventArgs e)
  56. {
  57. studentBindingSource.MoveFirst();
  58. }
  59. private void button2_Click(object sender, EventArgs e)
  60. {
  61. studentBindingSource.MovePrevious();
  62. }
  63. private void button3_Click(object sender, EventArgs e)
  64. {
  65. studentBindingSource.AddNew();
  66. }
  67. private void button4_Click(object sender, EventArgs e)
  68. {
  69. studentBindingSource.MoveLast();
  70. }
  71. private void nomer_zachetkiLabel_Click(object sender, EventArgs e)
  72. {
  73. }
  74. private void adresTextBox_TextChanged(object sender, EventArgs e)
  75. {
  76. }
  77. private void comboBox1_SelectedIndexChanged(object sender, EventArgs e)
  78. {
  79. }
  80. private void comboBox3_SelectedIndexChanged(object sender, EventArgs e)
  81. {
  82. }
  83. private void fIOTextBox_TextChanged(object sender, EventArgs e)
  84. {
  85. }
  86. }
  87. }