Пример #1
0
        public SearchImage()
        {
            InitializeComponent();
            searchListDAO = new SearchListDAO();
            parsingData   = new ParsingData();
            list          = new List <ImageData>();

            searchTextBox.Text       = "검색어 입력!";
            searchTextBox.Foreground = Brushes.Gray;
        }
Пример #2
0
        private CommonEvent commonEvent;            //버튼에 이벤트를 추가하기 위함

        //기본 생성자로써 초기화한다.
        public SearchLog()
        {
            InitializeComponent();
            searchListDAO = new SearchListDAO();
            UpdateList();
            commonEvent = new CommonEvent();
            list        = new List <LogData>();

            deleteButton.Foreground = Constants.ENTER[1];
            deleteButton.Background = Constants.ENTER[0];

            deleteButton.MouseEnter += commonEvent.Button_MouseEnter;
            deleteButton.MouseLeave += commonEvent.Button_MouseLeave;
        }
Пример #3
0
        private CommonEvent commonEvent;     //버튼 액션에 대한 처리를 위한 객체


        //기본 생성자로써 객체들 초기화와 각각의 이벤트들을 추가한다.
        public SearchImage()
        {
            InitializeComponent();
            searchListDAO = new SearchListDAO();
            parsingData   = new ParsingData();
            list          = new List <ImageData>();
            commonEvent   = new CommonEvent();

            searchTextBox.Text       = "검색어 입력!";
            searchTextBox.Foreground = Brushes.Gray;

            Search.Foreground = Constants.ENTER[1];
            Search.Background = Constants.ENTER[0];

            Search.MouseEnter += commonEvent.Button_MouseEnter;
            Search.MouseLeave += commonEvent.Button_MouseLeave;

            searchTextBox.KeyDown += TextBox_KeyDown;
        }
Пример #4
0
 public SearchLog()
 {
     InitializeComponent();
     searchListDAO = new SearchListDAO();
     UpdateList();
 }