markus / KCOM / Controls / CalendarControl.xaml.cs @ 4836261b
이력 | 보기 | 이력해설 | 다운로드 (827 Bytes)
1 |
using System; |
---|---|
2 |
using System.Collections.Generic; |
3 |
using System.Linq; |
4 |
using System.Text; |
5 |
using System.Windows; |
6 |
using System.Windows.Controls; |
7 |
using System.Windows.Data; |
8 |
using System.Windows.Documents; |
9 |
using System.Windows.Input; |
10 |
using System.Windows.Media; |
11 |
using System.Windows.Media.Imaging; |
12 |
using System.Windows.Navigation; |
13 |
using System.Windows.Shapes; |
14 |
|
15 |
namespace KCOM.Controls |
16 |
{ |
17 |
/// <summary> |
18 |
/// Interaction logic for CalendarControl.xaml |
19 |
/// </summary> |
20 |
public partial class CalendarControl : UserControl |
21 |
{ |
22 |
public CalendarControl() |
23 |
{ |
24 |
InitializeComponent(); |
25 |
} |
26 |
|
27 |
public CalendarControl(string data) |
28 |
{ |
29 |
InitializeComponent(); |
30 |
tlCurrentDate.Text = data; |
31 |
tlToday.Text = DateTime.Now.ToShortDateString(); |
32 |
} |
33 |
} |
34 |
} |