Print preview works. Working on the damn Credits box.

Signed-off-by: Melissa Avery-Weir <melissa.avery@wellsfargo.com>
This commit is contained in:
Melissa Avery-Weir
2011-09-23 16:29:56 -04:00
parent afdd8d0b17
commit ddd0ae85a9
49 changed files with 2484 additions and 278 deletions

View File

@@ -15,7 +15,14 @@ namespace d20_SRD_Spell_Lists {
this.labelVersion.Text = String.Format("Version {0}", AssemblyVersion);
this.labelCopyright.Text = AssemblyCopyright;
this.labelCompanyName.Text = AssemblyCompany;
this.textBoxDescription.Text = AssemblyDescription;
var webBrowser = new WebBrowser();
//webBrowser.CreateControl(); // only if needed
webBrowser.DocumentText = AssemblyDescription;
webBrowser.Document.ExecCommand("SelectAll", false, null);
webBrowser.Document.ExecCommand("Copy", false, null);
this.textBoxDescription.Text = "";
this.textBoxDescription.Paste();
}
#region Assembly Attribute Accessors