Rereferencing RTF files with resource identifier now.

zmq
Sean McArdle 2016-12-29 16:23:18 -08:00
parent 05b7b06af4
commit 13a44f7cef
1 changed files with 4 additions and 4 deletions

View File

@ -24,10 +24,10 @@ namespace WifiSitterGui.View
public About() {
InitializeComponent();
Rtb_About.SetRtf(new Uri("pack://application:,,,/Resources/About.rtf"));
Rtb_ReadMe.SetRtf(new Uri("pack://application:,,,/Resources/ReadMe.rtf"));
Rtb_License.SetRtf(new Uri("pack://application:,,,/Resources/LICENSE.rtf"));
Rtb_Troubleshooting.SetRtf(new Uri("pack://application:,,,/Resources/Troubleshooting.rtf"));
Rtb_About.SetRtf(Properties.Resources.About);
Rtb_ReadMe.SetRtf(Properties.Resources.ReadMe);
Rtb_License.SetRtf(Properties.Resources.LICENSE);
Rtb_Troubleshooting.SetRtf(Properties.Resources.Troubleshooting);
Rtb_About.VerticalScrollBarVisibility = ScrollBarVisibility.Auto;
Rtb_ReadMe.VerticalScrollBarVisibility = ScrollBarVisibility.Auto;