|
@@ -1,6 +1,7 @@
|
|
|
using Avalonia.Controls;
|
|
|
using Avalonia.Interactivity;
|
|
|
using System;
|
|
|
+using System.Data;
|
|
|
using System.Diagnostics;
|
|
|
using System.Runtime.Intrinsics.Arm;
|
|
|
|
|
@@ -17,8 +18,9 @@ namespace AvaloniaApplication1
|
|
|
public void Button_Click(object source, RoutedEventArgs args)
|
|
|
{
|
|
|
string date = dateT.SelectedDate.ToString();
|
|
|
- text.Text = date;
|
|
|
-
|
|
|
+
|
|
|
+ int day = int.Parse(date.Substring(0, 2));
|
|
|
+ int mounth = int.Parse(date.Substring(3, 2));
|
|
|
}
|
|
|
}
|
|
|
}
|