Пример #1
0
        private void LinkPreview_LinkClicked(object sender, LinkLabelLinkClickedEventArgs e)
        {
            if (TemplateCombo.SelectedItem == null)
            {
                return;
            }

            ProfileTemplate template = (ProfileTemplate)TemplateCombo.SelectedItem;

            if (template.Inactive)
            {
                return;
            }

            PreviewTemplate preview = new PreviewTemplate(template.Html, this);

            preview.ShowDialog(this);
        }
Пример #2
0
        private void LinkPreview_LinkClicked(object sender, LinkLabelLinkClickedEventArgs e)
        {
            if (TemplateCombo.SelectedItem == null)
                return;

            ProfileTemplate template = (ProfileTemplate) TemplateCombo.SelectedItem;
            if (template.Inactive)
                return;

            PreviewTemplate preview = new PreviewTemplate(template.Html, this);
            preview.ShowDialog(this);
        }
Пример #3
0
        private void LinkPreview_LinkClicked(object sender, LinkLabelLinkClickedEventArgs e)
        {
            PreviewTemplate preview = new PreviewTemplate(HtmlBox.Text, EditForm);

            preview.ShowDialog(this);
        }
Пример #4
0
 private void LinkPreview_LinkClicked(object sender, LinkLabelLinkClickedEventArgs e)
 {
     PreviewTemplate preview = new PreviewTemplate(HtmlBox.Text, EditForm);
     preview.ShowDialog(this);
 }