void FindOnExecute(object sender, ExecutedRoutedEventArgs e) { FindDialog dlg = new FindDialog(this) { FindWhat = strFindWhat, MatchCase = strcomp == StringComparison.Ordinal, Direction = dirFind }; dlg.FindNext += FindDialogOnFindNext; dlg.Show(); }
// Event handler for Find menu item. void FindOnExecute(object sender, ExecutedRoutedEventArgs args) { // Create dialog box. FindDialog dlg = new FindDialog(this); // Initialize properties. dlg.FindWhat = strFindWhat; dlg.MatchCase = strcomp == StringComparison.Ordinal; dlg.Direction = dirFind; // Install event handler and show dialog. dlg.FindNext += FindDialogOnFindNext; dlg.Show(); }
// ======================================================================================================================= // Find �� �� ���� �̺�Ʈ �ڵ鷯 void FindOnExecute(object sender, ExecutedRoutedEventArgs args) { // ��ȭ���� ���� FindDialog dlg = new FindDialog(this); // ������Ƽ �ʱ�ȭ dlg.FindWhat = strFindWhat; // �˻��� ���ڿ� dlg.MatchCase = strcomp == StringComparison.Ordinal; // ���� ���� ��Ģ�� ����Ͽ� ���ڿ��� �� dlg.Direction = dirFind; // �˻� ���� ���� // �̺�Ʈ �ڵ鷯�� �����ϰ� ��ȭ���ڸ� ��� dlg.FindNext += FindDialogOnFindNext; dlg.Show(); }