CmisSync.About.LoadAbout C# (CSharp) Метод

LoadAbout() приватный Метод

private LoadAbout ( ) : void
Результат void
        private void LoadAbout() {
            System.Uri resourceLocater = new System.Uri("/DataSpaceSync;component/AboutWPF.xaml", System.UriKind.Relative);
            UserControl aboutWPF = Application.LoadComponent(resourceLocater) as UserControl;

            canvas = aboutWPF.FindName("canvas") as Canvas;
            image = aboutWPF.FindName("image") as Image;
            version = aboutWPF.FindName("version") as Label;
            credits = aboutWPF.FindName("credits") as TextBlock;

            image.Source = UIHelpers.GetImageSource("about");
            version.Content = string.Format(Properties_Resources.Version, Controller.RunningVersion, Controller.CreateTime.GetValueOrDefault().ToString("d"));
            credits.Text = string.Format("Copyright © {0}–{1} {2}\n\n{3} {4}",
                    "2013",
                    DateTime.Now.Year.ToString(),
                    " GRAU DATA AG, Aegif and others.",
                    Properties_Resources.ApplicationName,
                    "is Open Source software. You are free to use, modify, and redistribute it under the GNU General Public License version 3 or later.");

            Content = aboutWPF;
        }