Initialization

Just add the Gat.Controls.About.dll to your References. No further dependencies are needed.

Usage

AboutControlView about = new AboutControlView();
AboutControlViewModel vm = (AboutControlViewModel)about.FindResource("ViewModel");

// setting several properties here
vm.ApplicationLogo = new BitmapImage(new System.Uri("pack://application:,,,/AppLogo.bmp"));
// ...

vm.Window.Content = about;
vm.Window.Show();

Non-MVVM Version

About about = new About();

// setting several properties here
about.ApplicationLogo = new BitmapImage(new System.Uri("pack://application:,,,/AppLogo.bmp"));
// ...

about.Show();

Last edited Oct 29, 2012 at 7:29 PM by kittof, version 2

Comments

ericwood8 Jun 18, 2013 at 9:08 PM 
Source Code has dependency on Caliburn.Micro .