Exemple #1
0
 void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
     switch (connectionId)
     {
     case 1:
     this.Aboutxaml = ((Mylly.About)(target));
     return;
     }
     this._contentLoaded = true;
 }
Exemple #2
0
 /// <summary>
 /// About komento. Avaa uuden About-ikkunan.
 /// </summary>
 /// <param name="sender"></param>
 /// <param name="e"></param>
 private void CommandBindingAbout_Executed(object sender, ExecutedRoutedEventArgs e)
 {
     About about = new About();
     about.ShowDialog();
 }