private void On_UIReady(object sender, EventArgs e)
 {
     PianoControl             = new ControlHost(ControlHostElement.ActualHeight, ControlHostElement.ActualWidth);
     ControlHostElement.Child = PianoControl;
 }
 public MainWindow()
 {
     InitializeComponent();
     PianoControl = null;
 }