개정판 dcc491e9
Fix: 비교할 때 AutoCAD를 좌표 이동할지 여부를 옵션 처리
Change-Id: I5449e9c4a6f50781ba0f170313bbef9e7427aea1
ID2.Manager/ID2.Manager.Compare/Main.cs | ||
---|---|---|
141 | 141 |
/// <param name="e"></param> |
142 | 142 |
private void Main_FormClosing(object sender, FormClosingEventArgs e) |
143 | 143 |
{ |
144 |
this._TcpServer.Close();
|
|
144 |
_TcpServer.Close(); |
|
145 | 145 |
} |
146 | 146 |
|
147 | 147 |
protected override void OnLoad(EventArgs e) |
... | ... | |
175 | 175 |
Program.AVEVAPIDFolder = Classes.ID2Helper.IniReadValue(Program.IniFilePath, "Path", "AVEVA P&ID Folder"); |
176 | 176 |
if (!string.IsNullOrEmpty(Program.AVEVAPIDFolder)) this.radBrowseEditorAVEVAFolder.Value = Program.AVEVAPIDFolder; |
177 | 177 |
|
178 |
this.radGridViewDocument.CellClick += RadGridViewDocument_CellClick;
|
|
178 |
this.radGridViewDocument.CellDoubleClick += RadGridViewDocument_CellDoubleClick;
|
|
179 | 179 |
this.radGridViewDocument.SelectionChanged += RadGridViewDocument_SelectionChanged; |
180 | 180 |
this.radGridViewData.SelectionChanged += RadGridViewData_SelectionChanged; |
181 | 181 |
this.radGridViewData.DataBindingComplete += RadGridViewData_DataBindingComplete; |
... | ... | |
259 | 259 |
} |
260 | 260 |
} |
261 | 261 |
|
262 |
private void RadGridViewDocument_CellClick(object sender, GridViewCellEventArgs e) |
|
262 |
/// <summary> |
|
263 |
/// 문서를 더블 클릭했을때 문서를 비교한다. |
|
264 |
/// </summary> |
|
265 |
/// <param name="sender"></param> |
|
266 |
/// <param name="e"></param> |
|
267 |
private void RadGridViewDocument_CellDoubleClick(object sender, GridViewCellEventArgs e) |
|
263 | 268 |
{ |
264 | 269 |
if (this.radGridViewDocument.SelectedRows.Any() && this.radGridViewDocument.SelectedRows[0].Equals(e.Row)) |
265 | 270 |
{ |
내보내기 Unified diff