Ejemplo n.º 1
0
 void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
     switch (connectionId)
     {
     case 1:
     this.Window = ((SecretSound.DecipheringWindow)(target));
     
     #line 8 "..\..\DecipheringWindow.xaml"
     this.Window.Loaded += new System.Windows.RoutedEventHandler(this.Window_Loaded);
     
     #line default
     #line hidden
     
     #line 8 "..\..\DecipheringWindow.xaml"
     this.Window.MouseMove += new System.Windows.Input.MouseEventHandler(this.Window_MouseMove);
     
     #line default
     #line hidden
     return;
     case 2:
     this.LayoutRoot = ((System.Windows.Controls.Grid)(target));
     return;
     case 3:
     this.MixBitRank = ((SecretSound.Rank)(target));
     return;
     case 4:
     this.TB_FileSource = ((System.Windows.Controls.TextBox)(target));
     return;
     case 5:
     this.BT_Close = ((System.Windows.Controls.Button)(target));
     
     #line 58 "..\..\DecipheringWindow.xaml"
     this.BT_Close.Click += new System.Windows.RoutedEventHandler(this.BT_Close_Click);
     
     #line default
     #line hidden
     return;
     case 6:
     this.BT_Min = ((System.Windows.Controls.Button)(target));
     
     #line 59 "..\..\DecipheringWindow.xaml"
     this.BT_Min.Click += new System.Windows.RoutedEventHandler(this.BT_Min_Click);
     
     #line default
     #line hidden
     return;
     case 7:
     this.TB_FileInput = ((System.Windows.Controls.TextBox)(target));
     return;
     case 8:
     this.TB_FileOntput = ((System.Windows.Controls.TextBox)(target));
     return;
     case 9:
     this.PB = ((System.Windows.Controls.ProgressBar)(target));
     return;
     case 10:
     
     #line 63 "..\..\DecipheringWindow.xaml"
     ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Button_Click);
     
     #line default
     #line hidden
     return;
     case 11:
     this.BT_FileSource = ((System.Windows.Controls.Button)(target));
     
     #line 64 "..\..\DecipheringWindow.xaml"
     this.BT_FileSource.Click += new System.Windows.RoutedEventHandler(this.BT_FileSource_Click);
     
     #line default
     #line hidden
     return;
     case 12:
     this.BT_FileInput = ((System.Windows.Controls.Button)(target));
     
     #line 65 "..\..\DecipheringWindow.xaml"
     this.BT_FileInput.Click += new System.Windows.RoutedEventHandler(this.BT_FileInput_Click);
     
     #line default
     #line hidden
     return;
     case 13:
     this.BT_FileOutput = ((System.Windows.Controls.Button)(target));
     
     #line 66 "..\..\DecipheringWindow.xaml"
     this.BT_FileOutput.Click += new System.Windows.RoutedEventHandler(this.BT_FileOutput_Click);
     
     #line default
     #line hidden
     return;
     }
     this._contentLoaded = true;
 }
Ejemplo n.º 2
0
 private void BT_Enciphering_Click(object sender, RoutedEventArgs e)
 {
     DecipheringWindow DW = new DecipheringWindow();
     DW.Show();
     this.Close();
 }