Ejemplo n.º 1
0
        public MainWindow()
        {
            InitializeComponent();
            _guiControl = new GuiControl(this);
            _travelInfo = new TravelInfo(this);
            _alerts     = new Alerts(this);
            _Routes     = new Routes(this);

            //Set datetimepickers to current date
            boxDate.Value = DateTime.Now;

            //Sets global font to Open Sans
            Font = new Font("Open Sans", 8, FontStyle.Regular);

            //error lbls
            lblError1.Visible = false;
            lblError2.Visible = false;
            lblError3.Visible = false;
        }
Ejemplo n.º 2
0
 public TravelInfo(MainWindow main)
 {
     _api        = new Api();
     _main       = main;
     _guiControl = new GuiControl(_main);
 }