Misc
var regex = new Regex(@"\((?<key>.*) NOT (?<not>.*)\)", RegexOptions.Compiled);
MatchCollection matches = regex.Matches(Filter[1]);
if(matches != null && matches.Count > 0)
{
foreach (Match m in matches)
{
var keyword = m.Groups["key"].Value;
var not = m.Groups["not"].Value;
}
}
this.RequestEncoding = (reader["RequestEncoding"] == null) ? "" : reader["RequestEncoding"].ToString();
MessageBox.Show("Insira o Titulo primeiro!", "Resultado",
MessageBoxButtons.OKCancel, MessageBoxIcon.Asterisk);
var watch = System.Diagnostics.Stopwatch.StartNew();
// the code that you want to measure comes here
watch.Stop();
var elapsedMs = watch.ElapsedMilliseconds;