using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Windows.Forms; namespace Бархатные_бровки_Gebel { public partial class Form2 : Form { public Form2() { InitializeComponent(); } private void bindingSource1_CurrentChanged(object sender, EventArgs e) { } private void Form2_Load(object sender, EventArgs e) { // TODO: данная строка кода позволяет загрузить данные в таблицу "bB_GebelDataSet.service". При необходимости она может быть перемещена или удалена. this.serviceTableAdapter.Fill(this.bB_GebelDataSet.service); } private void dataGridView1_CellContentClick(object sender, DataGridViewCellEventArgs e) { } private void button1_Click(object sender, EventArgs e) { // добавление новой строки client BindingSourse AddNew(); } private void button2_Click(object sender, EventArgs e) { // удаление строки client BindingSource. RemoveCurrent } } } }