csharp/AmpScm/AnkhSVN/src/Ankh.Diff/Common/Classes/Finder.cs

Finder.cs
// Copyright 2008 The AnkhSVN Project
//
//  Licensed under the Apache License, Version 2.0 (the "License");
//  you may not use this file except in compliance with the License.
//  You may obtain a copy of the License at
//
//    http://www.apache.org/licenses/LICENSE-2.0
//
//  Unless required by applicable law or agreed to in writing, software
//  distributed under the License is distributed on an "AS IS" BASIS,
//  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
//  See the License for the specific language governing permissions and
//  limitations under the License.

#region Copyright And Revision History

/*---------------------------------------------------------------------------

	Copyright (c) 2003 Bill Menees.  All rights reserved.
	[email protected]

	$History: Finder.cs $
	
	*****************  Version 2  *****************
	User: Bill         Date: 11/06/05   Time: 12:51p
	Updated in $/CSharp/Menees/Clastes
	FindNext and FindPrevious wouldn't work with a custom IFindDlg.

	Who		When		What
	-------	----------	-----------------------------------------------------
	BMenees	5.31.2003	Created.

-----------------------------------------------------------------------------*/

#endregion

#region Using Directives

using System;
using System.Windows.Forms;

#endregion

namespace Ankh.Diff
{
    //This clast isn't sealed, so you can inherit from it
    //and add your own data members.  Then you can use a
    //custom IFindDlg implementation to edit your data.
    public clast FindData
    {
        #region Public Properties

        public string Text { get { return m_strText; } set { m_strText = value; } }
        public bool MatchCase { get { return m_bMatchCase; } set { m_bMatchCase = value; } }
        public bool SearchUp { get { return m_bSearchUp; } set { m_bSearchUp = value; } }

        #endregion

        #region Private Data Members

        private string m_strText = "";
        private bool m_bMatchCase;
        private bool m_bSearchUp;

        #endregion
    }
}