개정판 76dc223b
image 추가 기능 수정
Change-Id: I04ec4985fce7fc6b9922a9b30ca3cab5f71b3728
KCOM/Events/Implementation/TopMenuEvent.cs | ||
---|---|---|
1663 | 1663 |
try |
1664 | 1664 |
{ |
1665 | 1665 |
var instanceMain = this.ParentOfType<MainWindow>(); |
1666 |
//http://cloud.devdoftech.co.kr:5977/ImageUpload/FileUpload.asmx |
|
1667 | 1666 |
|
1668 | 1667 |
Microsoft.Win32.OpenFileDialog dlg = new Microsoft.Win32.OpenFileDialog(); |
1669 | 1668 |
dlg.Filter = "All files (*.*)|*.*|PNG Images (*.png)|*.png"; |
... | ... | |
1677 | 1676 |
String strFile = System.IO.Path.GetFileName(instanceMain.dzMainMenu.filename); |
1678 | 1677 |
long numByte = fileInfo.Length; |
1679 | 1678 |
double dLen = Convert.ToDouble(fileInfo.Length / 1000000); |
1680 |
kr.co.devdoftech.cloud.FileUpload fileUploader = new kr.co.devdoftech.cloud.FileUpload();
|
|
1681 |
|
|
1679 |
kr.co.devdoftech.cloud.FileUpload fileUploader = App.FileUploader;
|
|
1680 |
|
|
1682 | 1681 |
if (dLen < 4) |
1683 | 1682 |
{ |
1684 | 1683 |
System.IO.FileStream fStream = new System.IO.FileStream(instanceMain.dzMainMenu.filename, System.IO.FileMode.Open, System.IO.FileAccess.Read); |
... | ... | |
1717 | 1716 |
Common.ViewerDataModel.Instance.ControlTag = null; |
1718 | 1717 |
this.ParentOfType<MainWindow>().dzMainMenu.controlType = MarkupToPDF.Controls.Common.ControlType.None; |
1719 | 1718 |
this.ParentOfType<MainWindow>().dzMainMenu.mouseHandlingMode = IKCOM.MouseHandlingMode.None; |
1720 |
this.ParentOfType<MainWindow>().DialogMessage_Alert(""+ ex , "Alert"); |
|
1719 |
App.FileLogger.Error("Image Converter ",ex); |
|
1720 |
|
|
1721 |
this.ParentOfType<MainWindow>().DialogMessage_Alert("System Error" , "Alert"); |
|
1721 | 1722 |
} |
1722 | 1723 |
} |
1723 | 1724 |
|
... | ... | |
2874 | 2875 |
String strFile = System.IO.Path.GetFileName(fileInfo.FullName); |
2875 | 2876 |
long numByte = fileInfo.Length; |
2876 | 2877 |
double dLen = Convert.ToDouble(fileInfo.Length / 1000000); |
2877 |
kr.co.devdoftech.cloud.FileUpload fileUploader = new kr.co.devdoftech.cloud.FileUpload();
|
|
2878 |
kr.co.devdoftech.cloud.FileUpload fileUploader = App.FileUploader;
|
|
2878 | 2879 |
|
2879 | 2880 |
if (dLen < 4) |
2880 | 2881 |
{ |
내보내기 Unified diff