#include <iostream>
#include <sstream>
using namespace std;
int main() {
String^ text="hello\tworld\tsmth\t1\t2";
array<object^> ^pr_d3 ;
parts = sr->ReadLine()->Split((array<String^>^)nullptr, StringSplitOptions::RemoveEmptyEntries);
pr_d3[0] = gcnew d3(parts[0],parts[1],parts[2],Convert::ToInt16(parts[3]),Convert::ToInt16(parts[4]));
return 0;
}
ref class d3 :
public bezud
{
public:
d3(String^ p1,String^ p2,String^ p3,int p4,int p5);
d3(void);
~d3(void);
void load_from(System::Windows::Forms::DataGridView^, System::Windows::Forms::OpenFileDialog^);
void save_to(System::Windows::Forms::DataGridView^, System::Windows::Forms::SaveFileDialog^);
protected:
int d;
};
ref class bezud :
public pr
{
public:
bezud(void);
~bezud(void);
protected:
int capacity;
};
ref class pr
{
public:
pr(void);
~pr(void){};
array<String ^> ^parts;
void delete_row(System::Windows::Forms::DataGridView^ );
void find(System::Windows::Forms::DataGridView^, System::Windows::Forms::DataGridView^, System::Windows::Forms::ComboBox^, System::Windows::Forms::TextBox^);
protected:
String^ brand;
String^ model;
String^ SN;
};