Exemplo n.º 1
0
 private Setting()
 {
     PlaySound           = new PlaySound();
     PlaySoundAfterQuery = new PlaySound();
     PlaySoundAfterOrder = new PlaySound();
     QueryOption         = new QueryOption();
     Proxy = new Proxy();
     IM    = new IM();
     Users = new List <User>();
 }
Exemplo n.º 2
0
        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
        }