Exemple #1
0
        private void SearchListBox_SelectedIndexChanged(object sender, EventArgs e)
        {
            ListBox list_box = sender as ListBox;

            string index = Regex.Match(list_box.SelectedItem.ToString(), @"\[([^]]*)\]").Groups[1].Value;

            ArticleBox text_box_for_article = new ArticleBox(selected_paths_dictinary[Convert.ToInt32(index)], SearchTextBox.Text);

            text_box_for_article.ShowDialog();
        }
Exemple #2
0
        private void helpToolStripMenuItem_Click(object sender, EventArgs e)
        {
            ArticleBox text_box_for_Help = new ArticleBox(root_path_to_readme_file, "HelperForUser");

            text_box_for_Help.ShowDialog();
        }
        private void helpToolStripMenuItem_Click(object sender, EventArgs e)
        {
            ArticleBox text_box_for_Help = new ArticleBox(root_path_to_readme_file, "HelperForUser");

            text_box_for_Help.ShowDialog();
        }
        private void SearchListBox_SelectedIndexChanged(object sender, EventArgs e)
        {
            ListBox list_box = sender as ListBox;

            string index = Regex.Match(list_box.SelectedItem.ToString(), @"\[([^]]*)\]").Groups[1].Value; 

            ArticleBox text_box_for_article = new ArticleBox(selected_paths_dictinary[Convert.ToInt32(index)], SearchTextBox.Text);

            text_box_for_article.ShowDialog();
        }