コード例 #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
ファイル: LekSiteDtlView.xaml.cs プロジェクト: alsokyun/wfms
        /// <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
ファイル: SplyCmplAddView.xaml.cs プロジェクト: alsokyun/wfms
        /// <summary>
        /// 생성자
        /// </summary>
        public SplyCmplAddView()
        {
            InitializeComponent();

            // 테마일괄적용...
            ThemeApply.Themeapply(this);
        }
コード例 #7
0
ファイル: LekSiteAddView.xaml.cs プロジェクト: alsokyun/wfms
        /// <summary>
        /// 생성자
        /// </summary>
        public LekSiteAddView()
        {
            InitializeComponent();

            // 테마일괄적용...
            ThemeApply.Themeapply(this);
        }
コード例 #8
0
ファイル: WtlPipeListView.xaml.cs プロジェクト: alsokyun/wfms
        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
ファイル: UcChart06.xaml.cs プロジェクト: alsokyun/wfms
        public UcChart06()
        {
            InitializeComponent();

            // 테마일괄적용...
            ThemeApply.Themeapply(this);
        }
コード例 #12
0
        public CnstCmplSelView()
        {
            InitializeComponent();

            // 테마일괄적용...
            ThemeApply.Themeapply(this);
        }
コード例 #13
0
ファイル: DashView.xaml.cs プロジェクト: alsokyun/wfms
        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
ファイル: CnstMngListView.xaml.cs プロジェクト: alsokyun/wfms
        public CnstMngListView()
        {
            InitializeComponent();

            // 테마일괄적용...
            ThemeApply.Themeapply(this);
        }
コード例 #17
0
ファイル: MainWin.xaml.cs プロジェクト: alsokyun/wfms
        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
ファイル: CnstMngDtlView.xaml.cs プロジェクト: alsokyun/wfms
        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
ファイル: FtrSelView.xaml.cs プロジェクト: alsokyun/wfms
        /// <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
ファイル: CnstMngPopView.xaml.cs プロジェクト: alsokyun/wfms
        // 생성자
        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
ファイル: WtrTrkHtDtlView.xaml.cs プロジェクト: alsokyun/wfms
        // 생성자
        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
ファイル: StndPiAddView.xaml.cs プロジェクト: alsokyun/wfms
        public StndPiAddView()
        {
            InitializeComponent();

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

            //정상적인 버튼클릭 이벤트
            btnBack.Click += _backCmd;
        }
コード例 #27
0
ファイル: MetrChgDtlView.xaml.cs プロジェクト: alsokyun/wfms
        // 생성자
        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
ファイル: PdjtUseDtlView.xaml.cs プロジェクト: alsokyun/wfms
        /// <summary>
        /// 생성자
        /// </summary>
        public PdjtUseDtlView(string _PDH_NUM)
        {
            InitializeComponent();

            PDH_NUM = _PDH_NUM;

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

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