Exemple #1
0
 void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
     switch (connectionId)
     {
     case 1:
     this.Window = ((SecretSound.DWindow)(target));
     return;
     case 2:
     this.LayoutRoot = ((System.Windows.Controls.Grid)(target));
     return;
     case 3:
     this.BT_Close = ((System.Windows.Controls.Button)(target));
     
     #line 12 "..\..\DWindow.xaml"
     this.BT_Close.Click += new System.Windows.RoutedEventHandler(this.BT_Close_Click);
     
     #line default
     #line hidden
     return;
     case 4:
     this.BT_Min = ((System.Windows.Controls.Button)(target));
     
     #line 13 "..\..\DWindow.xaml"
     this.BT_Min.Click += new System.Windows.RoutedEventHandler(this.BT_Min_Click);
     
     #line default
     #line hidden
     return;
     case 5:
     
     #line 14 "..\..\DWindow.xaml"
     ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Button_Click_1);
     
     #line default
     #line hidden
     return;
     case 6:
     this.TB_FileSource = ((System.Windows.Controls.TextBox)(target));
     return;
     case 7:
     this.BT_FileOutput = ((System.Windows.Controls.Button)(target));
     return;
     case 8:
     this.BT_FileOutput_Copy = ((System.Windows.Controls.Button)(target));
     return;
     case 9:
     this.MixBitRank = ((SecretSound.Rank)(target));
     return;
     case 10:
     this.PB = ((System.Windows.Controls.ProgressBar)(target));
     return;
     case 11:
     this.TB_FileSource_Copy = ((System.Windows.Controls.TextBox)(target));
     return;
     }
     this._contentLoaded = true;
 }
 private void BT_Deciphering_Click(object sender, RoutedEventArgs e)
 {
     DWindow DW = new DWindow();
     DW.Show();
     this.Close();
 }