예제 #1
0
        SortedDictionary <string, int> _webRequestsAccumulated = new SortedDictionary <string, int>(); // ip - num requests

        private void btSelectLogFolder_Click(object sender, EventArgs e)
        {
            if (DialogResult.OK == LogFolderBrowserDialog.ShowDialog())
            {
                tbLogFolder.Text = LogFolderBrowserDialog.SelectedPath;
            }
        }
 private void OpenFileButton_Click(object sender, EventArgs e)
 {
     if (FileRadioButton.Checked)
     {
         if (OpenLogFileDialog.ShowDialog(this) == DialogResult.OK)
         {
             LogFileTextBox.Text = OpenLogFileDialog.FileName;
         }
     }
     else
     {
         if (LogFolderBrowserDialog.ShowDialog(this) == DialogResult.OK)
         {
             LogFileTextBox.Text = LogFolderBrowserDialog.SelectedPath;
         }
     }
 }