private void OnGetDate(object sender, RoutedEventArgs e)
        {
            var dateService = new DateService();

            text1.Text = dateService.GetLongDateInfoString();
            text2.Text = dateService.GetShortDateInfoString();
        }
Ejemplo n.º 2
0
        protected void Button1_Click(object sender, EventArgs e)
        {
            DateService dateService = new DateService();

            TextBox1.Text = dateService.GetLongDateInfoString();
            TextBox2.Text = dateService.GetShortDateInfoString();
        }
Ejemplo n.º 3
0
        private void GetDatesBtn_Click(object sender, EventArgs e)
        {
            DateService dateService = new DateService();

            textBox1.Text = dateService.GetLongDateInfoString();
            textBox2.Text = dateService.GetShortDateInfoString();
        }
Ejemplo n.º 4
0
        private void button1_Click(object sender, RoutedEventArgs e)
        {
            DateService dataService = new DateService();

            textBox1.Text = dataService.GetLongDateInfoString();
        }