示例#1
0
        public MainPage()
        {
            InitializeComponent();

            DataContext = new MyDataContext();
        }
示例#2
0
        public MainWindow()
        {
            InitializeComponent();

            DataContext = new MyDataContext();
        }