質問編集履歴

2

xaml.csの記載漏れ

2018/11/11 14:24

投稿

galmacher
galmacher

スコア37

test CHANGED
File without changes
test CHANGED
@@ -68,6 +68,30 @@
68
68
 
69
69
  ```
70
70
 
71
+ ```C#
72
+
73
+ Page1.xaml.cs
74
+
75
+ public partial class Page1 : Page
76
+
77
+ {
78
+
79
+ public Page1()
80
+
81
+ {
82
+
83
+ InitializeComponent();
84
+
85
+ var Data = new Page1ViewModel(Model.GetInstance());
86
+
87
+ DataContext = Data;
88
+
89
+ }
90
+
91
+ }
92
+
93
+ ```
94
+
71
95
  ```xaml
72
96
 
73
97
  Page2.xaml
@@ -88,6 +112,30 @@
88
112
 
89
113
  ```C#
90
114
 
115
+ Page2.xaml.cs
116
+
117
+ public partial class Page2 : Page
118
+
119
+ {
120
+
121
+ public Page2()
122
+
123
+ {
124
+
125
+ InitializeComponent();
126
+
127
+ var Data = new Page2ViewModel(Model.GetInstance());
128
+
129
+ DataContext = Data;
130
+
131
+ }
132
+
133
+ }
134
+
135
+ ```
136
+
137
+ ```C#
138
+
91
139
  Page1ViewModel.cs
92
140
 
93
141
  class Page1ViewModel

1

初心者アイコンを今更ながら付けた

2018/11/11 14:24

投稿

galmacher
galmacher

スコア37

test CHANGED
File without changes
test CHANGED
File without changes