2023-09-13 11:57:01 +04:00
|
|
|
|
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 VisualComponentsLib
|
|
|
|
|
{
|
2023-09-13 13:48:16 +04:00
|
|
|
|
public partial class MyDataGridView : UserControl
|
2023-09-13 11:57:01 +04:00
|
|
|
|
{
|
2023-09-13 12:53:53 +04:00
|
|
|
|
|
|
|
|
|
|
2023-09-13 13:48:16 +04:00
|
|
|
|
public MyDataGridView()
|
2023-09-13 11:57:01 +04:00
|
|
|
|
{
|
|
|
|
|
InitializeComponent();
|
|
|
|
|
}
|
2023-09-13 12:53:53 +04:00
|
|
|
|
|
|
|
|
|
private void ButtonAdd_Click(object sender, EventArgs e)
|
|
|
|
|
{
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
//полная очистка
|
|
|
|
|
private void ButtonClear_Click(object sender, EventArgs e)
|
|
|
|
|
{
|
|
|
|
|
dataGridView.Rows.Clear();
|
|
|
|
|
}
|
2023-09-13 11:57:01 +04:00
|
|
|
|
}
|
|
|
|
|
}
|