Пример #1
0
        public HydtMetrListView()
        {
            InitializeComponent();

            // 테마일괄적용...
            ThemeApply.Themeapply(this);
        }
Пример #2
0
        public Blk02DtlView()
        {
            InitializeComponent();

            // 테마일괄적용...
            ThemeApply.Themeapply(this);

            this.txtFTR_CDE.EditValue = BizUtil.FTR_CDE;
            this.txtFTR_IDN.EditValue = Convert.ToInt32(BizUtil.FTR_IDN);

            _FTR_CDE = BizUtil.FTR_CDE;
            _FTR_IDN = Convert.ToInt32(BizUtil.FTR_IDN);

            //전역변수 리셋
            BizUtil.FTR_CDE = "";
            BizUtil.FTR_IDN = "";

            //정상적인 버튼클릭 이벤트
            btnBack.Click += _backCmd;

            //탭항목 동적추가
            waitindicator.DeferedVisibility = true;
            thread = new Thread(new ThreadStart(LoadFx));
            thread.Start();
        }
Пример #3
0
        public SplyDtlView(string SEQ)
        {
            InitializeComponent();

            _SEQ = SEQ;
            this.txtCNT_NUM.EditValue = SEQ;


            // 테마일괄적용...
            ThemeApply.Themeapply(this);



            //정상적인 버튼클릭 이벤트
            btnBack.Click += _backCmd;
            btnBack.Click += delegate(object sender, RoutedEventArgs e)
            {
                NavigationService.Navigate(new SplyMngListView());
            };
            //btnBack.RaiseEvent(new RoutedEventArgs(Button.ClickEvent));


            //탭항목 동적추가
            waitindicator.DeferedVisibility = true;
            thread = new Thread(new ThreadStart(LoadFx));
            thread.Start();
        }
Пример #4
0
        /// <summary>
        /// 생성자
        /// </summary>
        public LekSiteDtlView(string FTR_CDE, string FTR_IDN)
        {
            InitializeComponent();

            // 테마일괄적용...
            ThemeApply.Themeapply(this);


            //뷰모델로 키전달하기기위 뷰에서 UpdateTrigger 발생시킴
            if (FTR_CDE != null)
            {
                _FTR_CDE             = FTR_CDE;
                _FTR_IDN             = FTR_IDN;
                this.txtFTR_CDE.Text = FTR_CDE;
                this.txtFTR_IDN.Text = FTR_IDN;
            }

            //사진관리 Content 생성
            //this.cctrlPhoto.Content = new ImgFileMngView(FTR_CDE + FTR_IDN);

            this.BIZ_ID  = FTR_CDE + FTR_IDN;
            this.FIL_SEQ = null;

            //미리보기컨트롤 매핑
            ImageContainer.grdImg  = grdImg;
            ImageContainer.imgView = imgView;
            ImageContainer.bdImg   = bdImg;

            InitModel();
        }
Пример #5
0
        public StatCmplListView()
        {
            InitializeComponent();

            // 테마일괄적용...
            ThemeApply.Themeapply(this);
        }
Пример #6
0
        /// <summary>
        /// 생성자
        /// </summary>
        public SplyCmplAddView()
        {
            InitializeComponent();

            // 테마일괄적용...
            ThemeApply.Themeapply(this);
        }
Пример #7
0
        /// <summary>
        /// 생성자
        /// </summary>
        public LekSiteAddView()
        {
            InitializeComponent();

            // 테마일괄적용...
            ThemeApply.Themeapply(this);
        }
Пример #8
0
        public WtlPipeListView()
        {
            InitializeComponent();

            // 테마일괄적용...
            ThemeApply.Themeapply(this);
        }
Пример #9
0
        public ValvFacListView()
        {
            InitializeComponent();

            // 테마일괄적용...
            ThemeApply.Themeapply(this);
        }
Пример #10
0
        /// <summary>
        /// 생성자
        /// </summary>
        /// <param name="login"></param>

        //사업소 DB연결이 없으면
        public DBManagement(Login login)
        {
            // 0.생성자 기본처리
            InitializeComponent();
            ThemeApply.Themeapply(this);
            this.login = login;



            // 1.기존접속정보 저장
            oldConfig.strIP   = GTIFramework.Properties.Settings.Default.strIP;
            oldConfig.strPort = GTIFramework.Properties.Settings.Default.strPort;
            oldConfig.strSID  = GTIFramework.Properties.Settings.Default.strSID;
            oldConfig.strID   = GTIFramework.Properties.Settings.Default.strID;
            oldConfig.strPWD  = GTIFramework.Properties.Settings.Default.strPWD;
            strOldDBConfig    = GTIFramework.Properties.Settings.Default.RES_DB_INS_DEFAULT;


            // 2.로딩이벤트 처리
            Loaded += DBManagement_Loaded;

            btnConnTest.Click        += BtnConnTest_Click;
            btnSave.Click            += BtnSave_Click;
            btnClose.Click           += BtnClose_Click;
            btnXSignClose.Click      += BtnClose_Click;
            bdTitle.PreviewMouseDown += BdTitle_PreviewMouseDown;
        }
Пример #11
0
        public UcChart06()
        {
            InitializeComponent();

            // 테마일괄적용...
            ThemeApply.Themeapply(this);
        }
Пример #12
0
        public CnstCmplSelView()
        {
            InitializeComponent();

            // 테마일괄적용...
            ThemeApply.Themeapply(this);
        }
Пример #13
0
        public DashView()
        {
            InitializeComponent();

            // 테마일괄적용...
            ThemeApply.Themeapply(this);
        }
Пример #14
0
        public Login()
        {
            InitializeComponent();


            //팝업창 테마적용
            if (Properties.Settings.Default.strThemeName.Equals(""))
            {
                ThemeApply.strThemeName = "GTINavyTheme";
            }
            else
            {
                ThemeApply.strThemeName = Properties.Settings.Default.strThemeName;
            }
            ThemeApply.ThemeChange(this);
            ThemeApply.Themeapply(this);

            Loaded   += Login_Loaded;
            Unloaded += Login_Unloaded;

            //시스템코드 전역변수로 선언(Main설정값에서 가져옴)
            FmsUtil.sysCd   = Properties.Settings.Default.sysCd;
            FmsUtil.fileDir = Properties.Settings.Default.fileDir;
            FmsUtil.mdxDir  = Properties.Settings.Default.mdxDir;
            FmsUtil.site    = Properties.Settings.Default.site;
        }
Пример #15
0
        public FiltPltListView()
        {
            InitializeComponent();

            // 테마일괄적용...
            ThemeApply.Themeapply(this);
        }
Пример #16
0
        public CnstMngListView()
        {
            InitializeComponent();

            // 테마일괄적용...
            ThemeApply.Themeapply(this);
        }
Пример #17
0
        public void Cmblue_Click(object sender, RoutedEventArgs e)
        {
            try
            {
                Properties.Settings.Default.strThemeName = "GTIBlueTheme";
                Properties.Settings.Default.Save();



                ThemeApply.strThemeName = "GTIBlueTheme";
                ThemeApply.ThemeChange(this);
                //메뉴 Image 변경
                foreach (var item in spMenuArea.Children)
                {
                    if (item is Button)
                    {
                        (item as Button).Tag   = (item as Button).Tag.ToString().Replace("Navy", "Blue");
                        (item as Button).Style = Application.Current.Resources["MainMNUButton"] as Style;
                    }
                }
                ThemeApply.Themeapply(this);

                ((sender as MenuItem).Parent as ContextMenu).IsOpen = false;
            }
            catch (Exception)
            {
            }
        }
Пример #18
0
        public CnstMngDtlView(string CNT_NUM)
        {
            InitializeComponent();

            // 테마일괄적용...
            ThemeApply.Themeapply(this);

            this.txtCNT_NUM.EditValue = CNT_NUM;
            _CNT_NUM = CNT_NUM;

            //강제이벤트 발생
            //BackCmd backCmd = new BackCmd(_backCmd);
            //backEvent += new BackCmd(_backCmd);
            //backEvent(null, null);


            //정상적인 버튼클릭 이벤트
            btnBack.Click += _backCmd;



            /* 탭항목 동적추가 */
            waitindicator.DeferedVisibility = true;
            thread = new Thread(new ThreadStart(LoadFx));
            thread.Start();
        }
Пример #19
0
        /// <summary>
        /// 생성자
        /// </summary>
        public FtrSelView(string FTR_IDN)
        {
            InitializeComponent();


            // 2.테마일괄적용...
            ThemeApply.Themeapply(this);
        }
Пример #20
0
 public PopupUserInfoMng(MainWin _mainWin)
 {
     mainWin = _mainWin;
     InitializeComponent();
     ThemeApply.Themeapply(this);
     Loaded          += PopupUserInfoMng_Loaded;
     ContentRendered += PopupUserInfoMng_ContentRendered;
 }
Пример #21
0
        /// <summary>
        /// 생성자
        /// </summary>
        public PdjtStockView(string _PDH_NUM)
        {
            InitializeComponent();

            txtPDH_NUM.Text = _PDH_NUM; //모델로 파라미터전달..

            // 테마일괄적용...
            ThemeApply.Themeapply(this);
        }
Пример #22
0
        // 생성자
        public CnstMngPopView(string CNT_NUM)
        {
            InitializeComponent();
            ThemeApply.Themeapply(this);

            //뷰모델로 키값전달
            txtCNT_NUM.Text     = CNT_NUM;
            txtRET_CNT_NAM.Text = CNT_NUM;
        }
Пример #23
0
        /// <summary>
        /// Loaded 이벤트
        /// </summary>
        /// <param name="obj"></param>
        private void OnLoaded(object obj)
        {
            if (obj == null)
            {
                return;
            }

            try
            {
                mainwin   = obj as MainWin;
                borderTop = mainwin.FindName("mainwin") as Border;

                // 0.컨텐트 이벤트핸들러 적용 - 화면 ContentRendered 이벤트발생시
                mainwin.ContentRendered += Mainwin_ContentRendered;

                // 1.메뉴로딩
                MenuDataInit(obj);


                // 2.테마일괄적용...
                ThemeApply.Themeapply(mainwin);

                // 3.즐겨찾기
                stQuickMenu = mainwin.FindName("stQuickMenu") as StackPanel;
                QuickMnuBinding();

                // 4.기타기능처리
                Logs.progressunlimit            = mainwin.FindName("progressunlimit") as ProgressBar;                                   //로딩바설정
                Messages.AppNotificationService = mainwin.FindName("AppNotificationService") as DevExpress.Mvvm.UI.NotificationService; //알림토스트



                /* ArcGis 2D-MapView 로딩
                 */
                //regionManager.Regions["ContentRegion"].RemoveAll();
                //regionManager.RequestNavigate("ContentRegion", new Uri("Map4View", UriKind.Relative));
                //regionManager.RequestNavigate("ContentRegion", new Uri("SketchOnMap", UriKind.Relative));
                //regionManager.RequestNavigate("ContentRegion", new Uri("OfflineBasemapByReference", UriKind.Relative));
                //regionManager.RequestNavigate("ContentRegion", new Uri("Map3View", UriKind.Relative));
                //regionManager.RequestNavigate("ContentRegion", new Uri("Map2View", UriKind.Relative));
                //regionManager.RequestNavigate("ContentRegion", new Uri("MapMainView", UriKind.Relative));

                //메인화면 렌더링후 수행 ContentRendered
                //regionManager.RequestNavigate("ContentRegion", new Uri("MapArcObjView", UriKind.Relative));

                //regionManager.RequestNavigate("ContentRegion", new Uri("MainWindow", UriKind.Relative));



                //Messages.NotificationBox("InfoFMS", "InfoFMS에 접속하셨습니다.", "InfoFMS에 접속하셨습니다.");
            }
            catch (Exception ex)
            {
                Messages.ErrLog(ex);
            }
        }
Пример #24
0
        // 생성자
        public AttFacDtlView(string _FTR_CDE, string _FTR_IDN, string _ATTA_SEQ)
        {
            InitializeComponent();
            ThemeApply.Themeapply(this);

            //뷰모델로 키값전달
            txtFTR_CDE.EditValue  = _FTR_CDE;
            txtFTR_IDN.EditValue  = _FTR_IDN;
            txtATTA_SEQ.EditValue = _ATTA_SEQ;
        }
Пример #25
0
        // 생성자
        public WtrTrkHtDtlView(string _FTR_CDE, int _FTR_IDN, int _SEQ)
        {
            InitializeComponent();
            ThemeApply.Themeapply(this);

            //뷰모델로 키값전달
            txtFTR_CDE.Text = _FTR_CDE;
            txtFTR_IDN.Text = _FTR_IDN.ToString();
            txtSEQ.Text     = _SEQ.ToString();
        }
Пример #26
0
        public StndPiAddView()
        {
            InitializeComponent();

            // 테마일괄적용...
            ThemeApply.Themeapply(this);

            //정상적인 버튼클릭 이벤트
            btnBack.Click += _backCmd;
        }
Пример #27
0
        // 생성자
        public MetrChgDtlView(string _FTR_CDE, int _FTR_IDN, int _META_SEQ)
        {
            InitializeComponent();
            ThemeApply.Themeapply(this);

            //뷰모델로 키값전달
            txtFTR_CDE.Text  = _FTR_CDE;
            txtFTR_IDN.Text  = _FTR_IDN.ToString();
            txtMETA_SEQ.Text = _META_SEQ.ToString();
        }
Пример #28
0
        // 생성자
        public TagMapListView( )
        {
            InitializeComponent();
            ThemeApply.Themeapply(this);

            //초기데이터
            InitDataBinding();

            //초기조회
            SearchAction();
        }
Пример #29
0
        // 생성자
        public FtrPopView(object FTR_CDE, object FTR_IDN)
        {
            InitializeComponent();
            ThemeApply.Themeapply(this);


            //화면매핑
            ftrCde = FTR_CDE.ToString();
            ftrIdn = FTR_IDN.ToString();
            InitPage(ftrCde, ftrIdn);
        }
Пример #30
0
        /// <summary>
        /// 생성자
        /// </summary>
        public PdjtUseDtlView(string _PDH_NUM)
        {
            InitializeComponent();

            PDH_NUM = _PDH_NUM;

            // 테마일괄적용...
            ThemeApply.Themeapply(this);

            // 초기s조회
            InitModel();
        }