프로젝트

일반

사용자정보

개정판 aaed7be2

IDaaed7be2a35a57346ae926655437a9fd8764ebba
상위 29cd086e
하위 2917ab4a

semi 이(가) 4년 이상 전에 추가함

Filter Enter후 검색 TEST완료 & ADd ProjectNo 콤보박스 & Clear -> Selected All

Change-Id: Ifa232bf81e28f0a7dd325d094ae75640cda69bca

차이점 보기:

ConvertService/ServiceBase/Markus.Service.StationController/ViewModel/DataBaseItemsModel.cs
49 49
            ConvertAddCommand = new DelegateCommand(ConvertAdd);
50 50
            ConvertPathFileSearchCommand = new DelegateCommand(ConvertPathFileSearch);
51 51
            Stop_ProcessCommand = new DelegateCommand(Stop_Process);
52
            EnterCommand = new DelegateCommand(Enter);
52 53
        }
53 54

  
54 55
        #endregion
......
610 611
        public DelegateCommand ConvertAddCommand { get; private set; }
611 612
        public DelegateCommand ConvertPathFileSearchCommand { get; private set; }
612 613
        public DelegateCommand Stop_ProcessCommand { get; private set; }
613

  
614
        public DelegateCommand EnterCommand { get; private set; }
614 615

  
615 616
        #endregion
616 617

  
......
780 781

  
781 782
                if (ProjectNames.Count() == 0)
782 783
                {
783
                    ProjectName Clear = new ProjectName("Clear", "Clear");
784
                    ProjectName Clear = new ProjectName("Selected All", "Selected All");
784 785
                    ProjectNames.Add(Clear);
785 786

  
786 787
                    foreach (var x in await WcfClient.GET_SELECT_RUN_PROJECTSAsync(0))
......
882 883

  
883 884
                if (ProjectNames.Count() == 0)
884 885
                {
886
                    ProjectName Clear = new ProjectName("Selected All", "Selected All");
887
                    ProjectNames.Add(Clear);
888

  
885 889
                    foreach (var x in await WcfClient.GET_SELECT_RUN_PROJECTSAsync(0))
886 890
                    {
887 891
                        ProjectName projectName = new ProjectName(x.PROJECT_NO, x.PROJECT_NAME);
......
1359 1363
                }
1360 1364
            };
1361 1365

  
1362
            RadWindow.Confirm("Do you want to delete it??",  handler);
1366
            RadWindow.Confirm("Do you want to delete it??", handler);
1363 1367
        }
1364 1368

  
1365 1369
        private async void OnClosed(object obj)
......
1465 1469
                }
1466 1470
            }
1467 1471
        }
1468
#endregion
1472
        #endregion
1469 1473

  
1470
#region DataFilter
1474
        #region DataFilter
1471 1475

  
1472 1476
        public void DataFilter(object obj)
1473 1477
        {
1474
            SearchTimerOn = true; 
1478
            SearchTimerOn = true;
1475 1479
            dispatcherTimer.Tick -= new EventHandler(Timer_Tick);
1476 1480
            dispatcherTimer.Tick += new EventHandler(SearchTimer_Tick);
1477 1481
        }
1478 1482

  
1479
#endregion
1483
        #endregion
1484

  
1485
        #region Filter Enter
1486

  
1480 1487

  
1481
#region MarkusLink
1488
        /// <summary>
1489
        /// 필터된 상단 그리드 엑셀로 출력
1490
        /// </summary>
1491

  
1492
        public void Enter(object sender)
1493
        {
1494
            SearchTimerOn = true;
1495
            dispatcherTimer.Tick -= new EventHandler(Timer_Tick);
1496
            dispatcherTimer.Tick += new EventHandler(SearchTimer_Tick);
1497
        }
1498

  
1499
        #endregion
1500

  
1501
        #region MarkusLink
1482 1502

  
1483 1503
        private void MarkusLink(object obj)
1484 1504
        {
......
1505 1525
            }
1506 1526
        }
1507 1527

  
1508
#endregion
1528
        #endregion
1509 1529

  
1510
#region Data Export
1530
        #region Data Export
1511 1531

  
1512 1532

  
1513 1533
        /// <summary>
......
1516 1536

  
1517 1537
        public void DataExportData(object obj)
1518 1538
        {
1519
            if(SearchTimerOn == true)
1539
            if (SearchTimerOn == true)
1520 1540
            {
1521 1541
                dispatcherTimer.Tick -= new EventHandler(SearchTimer_Tick);
1522 1542
            }
......
1544 1564
            }
1545 1565
        }
1546 1566

  
1547
#endregion
1567
        #endregion
1548 1568

  
1549
#region Data Search
1569
        #region Data Search
1550 1570

  
1551 1571
        public void RemoveCreateTimeFilter(object obj)
1552 1572
        {
......
1555 1575
            SelectedCreateTimeEnd = DefaultCreateTime;
1556 1576
        }
1557 1577

  
1558
#endregion
1578
        #endregion
1559 1579

  
1560
#region Reset
1580
        #region Reset
1561 1581

  
1562 1582
        /// <summary>
1563 1583
        /// 그리드 상단 원상복귀 버튼
......
1585 1605
            dispatcherTimer.Tick += new EventHandler(Timer_Tick);
1586 1606
        }
1587 1607

  
1588
#endregion
1608
        #endregion
1589 1609

  
1590
#region ConvertAddDialog
1610
        #region ConvertAddDialog
1591 1611

  
1592 1612
        /// <summary>
1593 1613
        /// 그리드 상단 Conver 추가 버튼
......
1623 1643
                    dispatcherTimer.Tick += new EventHandler(Timer_Tick);
1624 1644
                }
1625 1645
            }
1626
            catch(Exception ex)
1646
            catch (Exception ex)
1627 1647
            {
1628 1648
                MessageBox.Show(ex.ToString());
1629 1649
            }
1630 1650
        }
1631 1651

  
1632
#endregion
1652
        #endregion
1633 1653

  
1634
#region ConvertPathFileSearch
1654
        #region ConvertPathFileSearch
1635 1655

  
1636 1656
        /// <summary>
1637 1657
        ///  ConvertPath 파일 탐색기로 열리는 아이콘
......
1653 1673
            }
1654 1674
        }
1655 1675

  
1656
#endregion
1676
        #endregion
1657 1677

  
1658
#endregion
1678
        #endregion
1659 1679
    }
1660 1680
}

내보내기 Unified diff

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