개정판 366f00c2
dns 체크 에러 수정
Change-Id: I9fd9b9d37c7c2529795ab14f46f58b157d911809
MarkupToPDF/Controls/Etc/SignControl.cs | ||
---|---|---|
16 | 16 |
using MarkupToPDF.Serialize.Core; |
17 | 17 |
using MarkupToPDF.Serialize.S_Control; |
18 | 18 |
using System.Windows.Media.Imaging; |
19 |
using System.Threading.Tasks; |
|
19 | 20 |
|
20 | 21 |
//강인구 추가 |
21 | 22 |
namespace MarkupToPDF.Controls.Etc |
... | ... | |
305 | 306 |
/// <author>humkyung</author> |
306 | 307 |
/// <param name="pt"></param> |
307 | 308 |
/// <param name="bAxisLocked"></param> |
308 |
public override void OnCreatingMouseMove(Point pt, bool bAxisLocked, bool bShiftKeyPressed) |
|
309 |
public override void OnCreatingMouseMove(Point pt, bool bAxisLocked, bool bShiftKeyPressed)
|
|
309 | 310 |
{ |
310 | 311 |
this.EndPoint = pt; |
311 | 312 |
this.LeftBottomPoint = new Point(this.StartPoint.X, this.EndPoint.Y); |
... | ... | |
314 | 315 |
if (this.StartPoint != this.EndPoint && this.SignImage == null) |
315 | 316 |
{ |
316 | 317 |
var _sign = GetUserSign.GetSign(this.UserNumber, this.ProjectNO); |
318 |
|
|
317 | 319 |
byte[] imageBytes = System.Convert.FromBase64String(_sign); |
318 | 320 |
|
319 | 321 |
System.IO.MemoryStream stream = new System.IO.MemoryStream(); |
... | ... | |
468 | 470 |
using (System.IO.MemoryStream stream = new System.IO.MemoryStream()) |
469 | 471 |
{ |
470 | 472 |
stream.WriteAsync(imageBytes, 0, imageBytes.Length); |
473 |
|
|
471 | 474 |
stream.Position = 0; |
472 | 475 |
System.Drawing.Image img = System.Drawing.Image.FromStream(stream); |
473 | 476 |
returnImage.BeginInit(); |
내보내기 Unified diff