Ejemplo n.º 1
0
        private void labelNewVersion_LinkClicked(object sender, LinkLabelLinkClickedEventArgs e)
        {
            if (UpdateInfo.Length == 0)
            {
                return;
            }
            frmUpdateInfoDialog form = new frmUpdateInfoDialog();
            string html = HMS.ReadTextFromResource("Markdown.html");

            form.SetText(html.Replace("<MarkdownText>", UpdateInfo));
            form.ShowDialog();
        }
Ejemplo n.º 2
0
        private void labelNewTemplates_LinkClicked(object sender, LinkLabelLinkClickedEventArgs e)
        {
            if (TemplatesInfo.Length == 0)
            {
                return;
            }
            frmUpdateInfoDialog form = new frmUpdateInfoDialog();
            string html = HMS.ReadTextFromResource("Markdown.html");

            form.SetText(html.Replace("<MarkdownText>", TemplatesInfo));
            form.Text = "Информация о новых шаблонах HMS Editor";
            form.ShowDialog();
        }
Ejemplo n.º 3
0
 private void labelNewVersion_LinkClicked(object sender, LinkLabelLinkClickedEventArgs e)
 {
     if (HMS.UpdateInfo.Length == 0) return;
     frmUpdateInfoDialog form = new frmUpdateInfoDialog();
     string html = HMS.ReadTextFromResource("Markdown.html");
     form.SetText(html.Replace("<MarkdownText>", HMS.UpdateInfo));
     form.ShowDialog();
 }
Ejemplo n.º 4
0
 private void labelNewTemplates_LinkClicked(object sender, LinkLabelLinkClickedEventArgs e)
 {
     if (TemplatesInfo.Length == 0) return;
     frmUpdateInfoDialog form = new frmUpdateInfoDialog();
     string html = HMS.ReadTextFromResource("Markdown.html");
     form.SetText(html.Replace("<MarkdownText>", TemplatesInfo));
     form.Text = Resources.AboutDialog_labelNewTemplates_LinkClicked_Информация_о_новых_шаблонах_HMS_Editor;
     form.ShowDialog();
 }