Example #1
0
        private void butViewReadme_Click(object sender, EventArgs e)
        {
            if (lvModList.SelectedItems.Count != 1)
            {
                return;
            }
            var mod = (fomod)lvModList.SelectedItems[0].Tag;

            if (mod.HasReadme)
            {
                var vrfEditor = new ViewReadmeForm(mod.GetReadme());
                vrfEditor.ShowDialog(this);
            }
        }
Example #2
0
 private void butViewReadme_Click(object sender, EventArgs e)
 {
     if (lvModList.SelectedItems.Count != 1)
         return;
     fomod mod = (fomod)lvModList.SelectedItems[0].Tag;
     if (mod.HasReadme)
     {
         ViewReadmeForm vrfEditor = new ViewReadmeForm(mod.GetReadme());
         vrfEditor.ShowDialog(this);
     }
 }