Beispiel #1
0
        private void txtSearchPlayingBoard_TextChanged(object sender, EventArgs e)
        {
            DataBaseDataContext myConnection = Setting.DataBase;

            //if (cmbSearchPlayingBoardBy.SelectedIndex == 0)
            PlayingBoard.Search_By_PlayingBoardTitle_LoadGridAvailables(txtSearchPlayingBoard.Text, gridPlayingBoard, myConnection);
            //else if (cmbSearchPlayingBoardBy.SelectedIndex == 1)
            //    Member.SearchGridByMemberFullName_LoadGridBriefly(txtSearchMember.Text, gridMember, myConnection);
            //else if (cmbSearchPlayingBoardBy.SelectedIndex == 2)
            //Member.SearchGridByMemberNationalCode_LoadGridBriefly(txtSearchMember.Text, gridMember, myConnection);
        }