Beispiel #1
0
        private void Gv_RowDoubleClick(object sender, RowDoubleClickEventArgs e)
        {
            TableView tv = sender as TableView;

            try
            {
                string ATTA_SEQ = tv.Grid.GetCellValue(e.HitInfo.RowHandle, "ATTA_SEQ").ToString();
                string FTR_CDE  = tv.Grid.GetCellValue(e.HitInfo.RowHandle, "FTR_CDE").ToString();
                string FTR_IDN  = tv.Grid.GetCellValue(e.HitInfo.RowHandle, "FTR_IDN").ToString();
                // 부속세부시설윈도우
                AttFacDtlView attFacDtlView = new AttFacDtlView(FTR_CDE, FTR_IDN, ATTA_SEQ);
                attFacDtlView.Owner = Window.GetWindow(this);


                //FIL_SEQ 리턴
                if (attFacDtlView.ShowDialog() is bool)
                {
                    //부속시설재조회
                    initModel();
                }
            }
            catch (Exception ex)
            {
                Console.WriteLine(ex.Message);
            }
        }
Beispiel #2
0
        //부속시설등록팝업 호출
        private void BtnAdd_Click(object sender, RoutedEventArgs e)
        {
            try
            {
                // 파일첨부윈도우
                AttFacDtlView attFacDtlView = new AttFacDtlView(FTR_CDE, FTR_IDN.ToString(), "-1");
                attFacDtlView.Owner = Window.GetWindow(this);


                //FIL_SEQ 리턴
                if (attFacDtlView.ShowDialog() is bool)
                {
                    //부속시설재조회
                    initModel();
                }
            }
            catch (Exception ex)
            {
                Messages.ShowErrMsgBox(ex.ToString());
            }
        }