teratail header banner
teratail header banner
質問するログイン新規登録

質問編集履歴

3

追記忘れがありましたので修正しました。

2020/11/04 06:42

投稿

User_001
User_001

スコア5

title CHANGED
File without changes
body CHANGED
@@ -116,6 +116,7 @@
116
116
  GenderList.Add(new Gender(2, "♀"));
117
117
 
118
118
 
119
+       // 私はこの↓の箇所でコンボボックスのSelectedIndexを行毎に指定する事を理想としていました。
119
120
  dataGrid.ItemsSource = new ObservableCollection<Gender> {
120
121
  new Gender { Syouhinmei="化粧品", Price=1900, Tax=10 , Index = 0},
121
122
  new Gender { Syouhinmei="洗剤", Price=500, Tax=10 ,Index = 1 },

2

削除を忘れた箇所がありましたので修正しました。

2020/11/04 06:41

投稿

User_001
User_001

スコア5

title CHANGED
File without changes
body CHANGED
@@ -104,7 +104,6 @@
104
104
  public partial class MainWindow : Window
105
105
  {
106
106
 
107
- public Dictionary<string,string> cD_test { get; set; }
108
107
  public List<Gender> GenderList { set; get; }
109
108
 
110
109
  public MainWindow()

1

質問を見やすくする為の<code>を用いました。

2020/11/04 06:40

投稿

User_001
User_001

スコア5

title CHANGED
File without changes
body CHANGED
@@ -17,6 +17,7 @@
17
17
 
18
18
  [xaml]
19
19
 
20
+ ```XAML
20
21
  <Window x:Class="system_test_project.MainWindow"
21
22
  xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
22
23
  xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
@@ -65,13 +66,16 @@
65
66
  </Grid>
66
67
  </Window>
67
68
 
69
+ ```
68
70
 
71
+
72
+
69
73
  ---------------------------------------------------
70
74
 
71
75
 
72
76
  [C#]
73
77
 
74
-
78
+ ```C#
75
79
  using System;
76
80
  using System.Collections.Generic;
77
81
  using System.Linq;
@@ -168,8 +172,10 @@
168
172
  }
169
173
  }
170
174
 
175
+ ```
171
176
 
172
177
 
178
+
173
179
  ---------------------------------------------------
174
180
 
175
181