Client_server.cs 1.4 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950
  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 DB_Velijanskyi_V2
  11. {
  12. public partial class Client_server : Form
  13. {
  14. private object dataGridView1;
  15. public Client_server()
  16. {
  17. InitializeComponent();
  18. }
  19. private void clientServiceBindingNavigatorSaveItem_Click(object sender, EventArgs e)
  20. {
  21. this.Validate();
  22. this.clientServiceBindingSource.EndEdit();
  23. this.tableAdapterManager.UpdateAll(this.dB_Velizhanskyi_V2DataSet);
  24. }
  25. private void Client_server_Load(object sender, EventArgs e)
  26. {
  27. // TODO: данная строка кода позволяет загрузить данные в таблицу "dB_Velizhanskyi_V2DataSet.ClientService". При необходимости она может быть перемещена или удалена.
  28. this.clientServiceTableAdapter.Fill(this.dB_Velizhanskyi_V2DataSet.ClientService);
  29. }
  30. private void button4_Click(object sender, EventArgs e)
  31. {
  32. this.Hide();
  33. Form1 newform = new Form1();
  34. newform.ShowDialog();
  35. this.Show();
  36. }
  37. private void button2_Click(object sender, EventArgs e)
  38. {
  39. }
  40. }
  41. }