개정판 5b086e44
issue #00000 markus user insert 로직 추가
Change-Id: Id93ae38b80f01f5f2c660445ee7f2640dc63855d
ID2.Manager/ID2.Manager/Main.cs | ||
---|---|---|
1323 | 1323 |
|
1324 | 1324 |
bool markusResult = new MarkusInfoController().SetMarkusInfo(this.documents); |
1325 | 1325 |
|
1326 |
if (result && markusResult) |
|
1326 |
var users = new UserController().GetAllUserInfo(); |
|
1327 |
|
|
1328 |
bool markusMembersResult = new MarkusInfoController().SetMembers(users); |
|
1329 |
|
|
1330 |
if (result && markusResult && markusMembersResult) |
|
1327 | 1331 |
{ |
1328 | 1332 |
RadMessageBox.Show("Save is complete", Globals.Name, MessageBoxButtons.OK, RadMessageIcon.Info); |
1329 | 1333 |
|
... | ... | |
1337 | 1341 |
{ |
1338 | 1342 |
RadMessageBox.Show("Markus Data Save is not complete", Globals.Name, MessageBoxButtons.OK, RadMessageIcon.Error); |
1339 | 1343 |
} |
1344 |
else if (!markusMembersResult) |
|
1345 |
{ |
|
1346 |
RadMessageBox.Show("Markus Members Save is not complete", Globals.Name, MessageBoxButtons.OK, RadMessageIcon.Error); |
|
1347 |
} |
|
1340 | 1348 |
}; |
1341 | 1349 |
worker.StartWork(); |
1342 | 1350 |
} |
... | ... | |
1344 | 1352 |
|
1345 | 1353 |
private void RadButtonElementSaveCommand_Click(object sender, EventArgs e) |
1346 | 1354 |
{ |
1347 |
this.SetSaved(); |
|
1355 |
try |
|
1356 |
{ |
|
1357 |
this.SetSaved(); |
|
1358 |
} |
|
1359 |
catch (Exception ex) |
|
1360 |
{ |
|
1361 |
Program.logger.Error(ex); |
|
1362 |
} |
|
1348 | 1363 |
} |
1349 | 1364 |
|
1350 | 1365 |
private void RadButtonElementSave_Click(object sender, EventArgs e) |
1351 | 1366 |
{ |
1352 |
this.SetSaved(); |
|
1367 |
try |
|
1368 |
{ |
|
1369 |
this.SetSaved(); |
|
1370 |
} |
|
1371 |
catch (Exception ex) |
|
1372 |
{ |
|
1373 |
Program.logger.Error(ex); |
|
1374 |
} |
|
1353 | 1375 |
} |
1354 | 1376 |
|
1355 | 1377 |
private void RadButtonElementSync_Click(object sender, EventArgs e) |
내보내기 Unified diff