Exemple #1
0
 public UpdateRieltor(Rieltor rieltor, RieltorsForm parent)
 {
     InitializeComponent();
     rieltorComponent     = new RieltorsComponent();
     this.parent          = parent;
     updateRieltor        = rieltor;
     textBox1.Text        = rieltor.lastName;
     textBox2.Text        = rieltor.firstName;
     textBox3.Text        = rieltor.middleName;
     numericUpDown1.Value = rieltor.comission;
     indx = rieltor.id;
 }
Exemple #2
0
 public AddRieltor(RieltorsForm parentForm)
 {
     InitializeComponent();
     rieltorComponent = new RieltorsComponent();
     parent           = parentForm;
 }
 public RieltorsForm()
 {
     InitializeComponent();
     client = new RieltorsComponent();
     UpdateDataGrid();
 }