개정판 ab9a7ab5
dev issue #1227 : end line mapping
Change-Id: Ifbc481b9b32f9e75cd456f253205b1237ab76395
DTI_PID/APIDConverter/Form/MappingForm.cs | ||
---|---|---|
206 | 206 |
string apidSymbol = row["APID_SYMBOL"].ToString(); |
207 | 207 |
symbolDatas.Add(new Tuple<string, string, string>(uid, name, apidSymbol)); |
208 | 208 |
} |
209 |
DataTable lineDT = gridControlLine.DataSource as DataTable; |
|
210 |
foreach (DataRow row in lineDT.Rows) |
|
211 |
{ |
|
212 |
string uid = row["UID"].ToString(); |
|
213 |
string name = row["Name"].ToString(); |
|
214 |
string apidSymbol = row["APID_SYMBOL"].ToString(); |
|
215 |
symbolDatas.Add(new Tuple<string, string, string>(uid, name, apidSymbol)); |
|
216 |
} |
|
209 | 217 |
#endregion |
210 | 218 |
|
211 | 219 |
if (Project_DB.InsertSymbolMapping(symbolDatas)) |
... | ... | |
394 | 402 |
} |
395 | 403 |
private void lookUpEdit_KeyUp(object sender, KeyEventArgs e) |
396 | 404 |
{ |
397 |
LookUpEdit edit = sender as LookUpEdit;
|
|
405 |
GridLookUpEdit edit = sender as GridLookUpEdit;
|
|
398 | 406 |
if (e.KeyCode == Keys.Delete) |
399 | 407 |
{ |
400 | 408 |
edit.ClosePopup(); |
내보내기 Unified diff