Пример #1
0
 public ChangeStationWindow(HandleStationWindow _parent)
 {
     InitializeComponent();
     Title        = "New Station - " + Authenticator.GetUserInfo();
     parentWindow = _parent;
     newstation   = true;
 }
Пример #2
0
 public ChangeStationWindow(HandleStationWindow _parent, StationObject _oldObject)
 {
     InitializeComponent();
     Title               = "Edit Station - " + Authenticator.GetUserInfo();
     oldObject           = _oldObject;
     tb_gatuaddress.Text = oldObject.street_address;
     tb_city.Text        = oldObject.city;
     tb_country.Text     = oldObject.country;
     parentWindow        = _parent;
     newstation          = false;
 }