コード例 #1
0
        public SearchWithID()
        {
            InitializeComponent();
            ID_txt.Focus();

            WndConfig.setConfig4SimpleSearch(this);
        }
コード例 #2
0
        public MaghazeF()
        {
            InitializeComponent();
            Calendar cal = new Calendar(DateTime.Today.ToShortDateString(), Calendar.Solar_Date);
            date_Lbl.Content = cal.calcOtherModeNumeric();

            address_Txt.Focus();

            price = new DispatcherTimer();
            price.Tick += new EventHandler(price_Tick);
            price.Interval = TimeSpan.FromSeconds(1);
            price.Start();

            WndConfig.setConfig4SimpleSearch(this);
        }
コード例 #3
0
        public MaghazeS()
        {
            InitializeComponent();
            PersianDate pd = new PersianDate(DateTime.Today);

            date_Lbl.Content = pd.ToShortDateString();

            address_Txt.Focus();

            price          = new DispatcherTimer();
            price.Tick    += new EventHandler(price_Tick);
            price.Interval = TimeSpan.FromSeconds(1);
            price.Start();

            WndConfig.setConfig4SimpleSearch(this);
        }