Пример #1
0
        private void button3_Click(object sender, EventArgs e)
        {
            Class1 cl;

            cl = new Class1();

            string date = cl.GetDate2();
            string time = cl.GetTime2();

            MessageBox.Show(date + " " + time);
        }