public static void openArticle(object sender, EventArgs e)
        {
            Label       lbl = (Label)sender;
            ArticleForm af  = new ArticleForm(lbl.Text, lbl.AccessibleDescription);

            af.Show();
        }
Beispiel #2
0
        /// <summary>
        /// Открываем статью в новом окне
        /// </summary>
        public static void OpenArticle(object sender, EventArgs e)
        {
            Label       lbl = (Label)sender;
            ArticleForm af  = new ArticleForm(lbl.AccessibleDescription);

            af.Dock = DockStyle.Fill;
            MainForm.mainPanel.Controls.Clear();
            MainForm.mainPanel.Controls.Add(af);
        }