private Setting() { PlaySound = new PlaySound(); PlaySoundAfterQuery = new PlaySound(); PlaySoundAfterOrder = new PlaySound(); QueryOption = new QueryOption(); Proxy = new Proxy(); IM = new IM(); Users = new List <User>(); }
private void ShowQueryOption(QueryOption queryOption) { //date this.dtTo.Value = DateTime.Now.AddDays(59); if (queryOption == null) { return; } this.txtFrom.Text = queryOption.FromStation; this.txtTo.Text = queryOption.ToStation; //seat }