VidInstrumenta.cs 945 B

12345678910111213141516171819202122232425262728293031323334353637383940414243
  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. using System.Data.SqlClient;
  11. namespace proba
  12. {
  13. enum RowState
  14. {
  15. Existed,
  16. New,
  17. Modified,
  18. ModifiedNew,
  19. Deleted
  20. }
  21. public partial class VidInstrumenta : Form
  22. {
  23. //DataBase dataBase1 = new DataBase();
  24. int selectedrow;
  25. public VidInstrumenta()
  26. {
  27. InitializeComponent();
  28. }
  29. private void VidInstrumenta_Load(object sender, EventArgs e)
  30. {
  31. this.Size = new Size(758, 449);
  32. this.MaximumSize = new Size(758, 449);
  33. this.MinimumSize = new Size(758, 449);
  34. }
  35. private void CreateColumns()
  36. {
  37. DataGridView1.Columns.Add("id", "id");
  38. }
  39. }
  40. }