프로젝트

일반

사용자정보

개정판 1c7f408a

ID1c7f408ad2bb4679a5dd52e4bc7b7388ffba0ad1
상위 2b83fdb9
하위 60f874fe

김태성이(가) 5년 이상 전에 추가함

mainWindow를 RadWindow로 변경

Change-Id: I0ac468f572b53cd39e832aed20e7d350b5c03d42

차이점 보기:

KCOM/Controls/PrintControl.xaml.cs
22 22
using iTextSharp.text.pdf;
23 23
using Microsoft.Office.Core;
24 24
using System.Net;
25
using KCOM;
25 26

  
26 27
namespace KCOM.Control
27 28
{
......
597 598
                }
598 599

  
599 600
                SaveDig.Title = "Save an PDF File";
600
                if(SaveDig.ShowDialog().Value)
601
                var mainwindow = (RadWindowManager.Current.GetWindows().Find(x => x is MainWindow) as MainWindow);
602

  
603
                if (SaveDig.ShowDialog().Value)
601 604
                {
602 605
                    Printimg_List = new Dictionary<int, System.Drawing.Image>();
603 606

  
......
688 691
                    }));
689 692
                    PageChanged(_StartPageNo);
690 693

  
691
                    (Application.Current.MainWindow as MainWindow).dzMainMenu.DialogMessage_Alert("Success", "Alert");
694
                    (RadWindowManager.Current.GetWindows().Find(x=>x is MainWindow) as MainWindow).dzMainMenu.DialogMessage_Alert("Success", "Alert");
692 695
                }else
693 696
                {
694 697
                    Dispatcher.Invoke(System.Windows.Threading.DispatcherPriority.Normal, new Action(delegate
......
696 699
                        printIndy.IsBusy = false;
697 700
                    }));
698 701

  
699
                    (Application.Current.MainWindow as MainWindow).dzMainMenu.DialogMessage_Alert("Cancel", "Alert");
702
                    mainwindow.dzMainMenu.DialogMessage_Alert("Cancel", "Alert");
700 703
                }                
701 704
            }
702 705
            catch (Exception ex)

내보내기 Unified diff

클립보드 이미지 추가 (최대 크기: 500 MB)