I ask to help with this question. I have three boxing text in the form (this is a tboxCarYear form): tboxCarYear , tboxCarModel , tboxCarColor I want to send these three data to the main form at a time (as an object or class). Individually, everything turns out to send.
From # I started learning recently, but in javascrip I can do it like this:
var ObjCar=new Object(); // создаю новый объект ObjCar.Model="Mercedes"; ObjCar.Color="blue"; ObjCar.Year=2015; Next, I send ObjCar and I would get all the necessary data. How to implement this in C #?