public FormatQuickFilter ( string filter, bool parameters, string &revListArgs, string &inMemMessageFilter, string &inMemCommitterFilter, string &inMemAuthorFilter ) : void | ||
filter | string | |
parameters | bool | |
revListArgs | string | |
inMemMessageFilter | string | |
inMemCommitterFilter | string | |
inMemAuthorFilter | string | |
리턴 | void |
private void ApplyFilter() { string revListArgs; string inMemMessageFilter; string inMemCommitterFilter; string inMemAuthorFilter; var filterParams = new bool[4]; filterParams[0] = _commitToolStripMenuItem.Checked; filterParams[1] = _committerToolStripMenuItem.Checked; filterParams[2] = _authorToolStripMenuItem.Checked; filterParams[3] = _diffContainsToolStripMenuItem.Checked; try { _NO_TRANSLATE_revisionGrid.FormatQuickFilter( _NO_TRANSLATE_textBox.Text, filterParams, out revListArgs, out inMemMessageFilter, out inMemCommitterFilter, out inMemAuthorFilter); } catch (InvalidOperationException ex) { MessageBox.Show(_NO_TRANSLATE_form, ex.Message, "Filter error"); _NO_TRANSLATE_textBox.Text = ""; return; } if ((_NO_TRANSLATE_revisionGrid.QuickRevisionFilter == revListArgs) && (_NO_TRANSLATE_revisionGrid.InMemMessageFilter == inMemMessageFilter) && (_NO_TRANSLATE_revisionGrid.InMemCommitterFilter == inMemCommitterFilter) && (_NO_TRANSLATE_revisionGrid.InMemAuthorFilter == inMemAuthorFilter) && _NO_TRANSLATE_revisionGrid.InMemFilterIgnoreCase) { return; } _NO_TRANSLATE_revisionGrid.QuickRevisionFilter = revListArgs; _NO_TRANSLATE_revisionGrid.InMemMessageFilter = inMemMessageFilter; _NO_TRANSLATE_revisionGrid.InMemCommitterFilter = inMemCommitterFilter; _NO_TRANSLATE_revisionGrid.InMemAuthorFilter = inMemAuthorFilter; _NO_TRANSLATE_revisionGrid.InMemFilterIgnoreCase = true; _NO_TRANSLATE_revisionGrid.Visible = true; _NO_TRANSLATE_revisionGrid.ForceRefreshRevisions(); }