void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) { switch (connectionId) { case 1: this.Settings = ((System.Windows.Controls.Grid)(target)); return; case 2: this.lfsr1 = ((System.Windows.Controls.TextBox)(target)); #line 15 "..\..\..\..\GeneratorsFront\Lfsr\SelfShrinkingSettings.xaml" this.lfsr1.AddHandler(System.Windows.DataObject.PastingEvent, new System.Windows.DataObjectPastingEventHandler(this.BinaryStringPasting)); #line default #line hidden #line 15 "..\..\..\..\GeneratorsFront\Lfsr\SelfShrinkingSettings.xaml" this.lfsr1.PreviewTextInput += new System.Windows.Input.TextCompositionEventHandler(this.BinaryStringValidationTextBox); #line default #line hidden #line 15 "..\..\..\..\GeneratorsFront\Lfsr\SelfShrinkingSettings.xaml" this.lfsr1.TextChanged += new System.Windows.Controls.TextChangedEventHandler(this.lfsr1_TextChanged); #line default #line hidden return; case 3: #line 16 "..\..\..\..\GeneratorsFront\Lfsr\SelfShrinkingSettings.xaml" ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Clear_lfsr1); #line default #line hidden return; case 4: this.seriesLengthLabel = ((System.Windows.Controls.Label)(target)); return; case 5: this.outputLength = ((System.Windows.Controls.TextBox)(target)); #line 23 "..\..\..\..\GeneratorsFront\Lfsr\SelfShrinkingSettings.xaml" this.outputLength.AddHandler(System.Windows.DataObject.PastingEvent, new System.Windows.DataObjectPastingEventHandler(this.TextBoxPasting)); #line default #line hidden #line 23 "..\..\..\..\GeneratorsFront\Lfsr\SelfShrinkingSettings.xaml" this.outputLength.PreviewTextInput += new System.Windows.Input.TextCompositionEventHandler(this.NumberValidationTextBox); #line default #line hidden return; case 6: #line 24 "..\..\..\..\GeneratorsFront\Lfsr\SelfShrinkingSettings.xaml" ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Clear_outputLength); #line default #line hidden return; case 7: this.r1Counter = ((System.Windows.Controls.Label)(target)); return; case 8: this.outputFormatComboBox = ((System.Windows.Controls.ComboBox)(target)); #line 41 "..\..\..\..\GeneratorsFront\Lfsr\SelfShrinkingSettings.xaml" this.outputFormatComboBox.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.outputFormatComboBox_SelectionChanged); #line default #line hidden return; case 9: this.char_type = ((System.Windows.Controls.ComboBoxItem)(target)); return; case 10: this.base64_type = ((System.Windows.Controls.ComboBoxItem)(target)); return; case 11: this.r1State = ((System.Windows.Controls.Label)(target)); return; case 12: this.output = ((System.Windows.Controls.TextBox)(target)); return; case 13: this.saveFileTxt = ((System.Windows.Controls.Button)(target)); #line 58 "..\..\..\..\GeneratorsFront\Lfsr\SelfShrinkingSettings.xaml" this.saveFileTxt.Click += new System.Windows.RoutedEventHandler(this.saveFileTxt_Click); #line default #line hidden return; case 14: this.saveFileBin = ((System.Windows.Controls.Button)(target)); #line 59 "..\..\..\..\GeneratorsFront\Lfsr\SelfShrinkingSettings.xaml" this.saveFileBin.Click += new System.Windows.RoutedEventHandler(this.saveFileBin_Click); #line default #line hidden return; case 15: this.GenerateBtn = ((System.Windows.Controls.Button)(target)); #line 60 "..\..\..\..\GeneratorsFront\Lfsr\SelfShrinkingSettings.xaml" this.GenerateBtn.Click += new System.Windows.RoutedEventHandler(this.GenerateBtn_Click); #line default #line hidden return; case 16: this.LoadingCircle = ((CryptoDesktopApplication.LoadingControl.LoadingAnimation)(target)); return; case 17: this.singleBit = ((MaterialDesignThemes.Wpf.PackIcon)(target)); return; case 18: this.seriesTest = ((MaterialDesignThemes.Wpf.PackIcon)(target)); return; case 19: this.longSeriesTest = ((MaterialDesignThemes.Wpf.PackIcon)(target)); return; case 20: this.poker = ((MaterialDesignThemes.Wpf.PackIcon)(target)); return; case 21: this.setRegister1 = ((System.Windows.Controls.Button)(target)); #line 80 "..\..\..\..\GeneratorsFront\Lfsr\SelfShrinkingSettings.xaml" this.setRegister1.Click += new System.Windows.RoutedEventHandler(this.setRegister1_Click); #line default #line hidden return; case 22: this.PolynomialDataGrid = ((System.Windows.Controls.DataGrid)(target)); #line 81 "..\..\..\..\GeneratorsFront\Lfsr\SelfShrinkingSettings.xaml" this.PolynomialDataGrid.AddHandler(System.Windows.DataObject.PastingEvent, new System.Windows.DataObjectPastingEventHandler(this.PolynomialDataGrid_Pasting)); #line default #line hidden #line 81 "..\..\..\..\GeneratorsFront\Lfsr\SelfShrinkingSettings.xaml" this.PolynomialDataGrid.CellEditEnding += new System.EventHandler <System.Windows.Controls.DataGridCellEditEndingEventArgs>(this.DatagridValidation); #line default #line hidden return; case 23: this.setPolynomial = ((System.Windows.Controls.Button)(target)); #line 99 "..\..\..\..\GeneratorsFront\Lfsr\SelfShrinkingSettings.xaml" this.setPolynomial.Click += new System.Windows.RoutedEventHandler(this.setPolynomial_Click); #line default #line hidden return; case 24: this.r1CurrentCounter = ((System.Windows.Controls.Label)(target)); return; } this._contentLoaded = true; }
void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) { switch (connectionId) { case 1: this.inputEncrypt = ((System.Windows.Controls.TextBox)(target)); return; case 2: this.loadKeyBtn = ((System.Windows.Controls.Button)(target)); #line 13 "..\..\..\StreamCipher\StreamCipherUserControl.xaml" this.loadKeyBtn.Click += new System.Windows.RoutedEventHandler(this.loadKeyBtn_Click); #line default #line hidden return; case 3: this.txtFile = ((System.Windows.Controls.CheckBox)(target)); #line 14 "..\..\..\StreamCipher\StreamCipherUserControl.xaml" this.txtFile.Checked += new System.Windows.RoutedEventHandler(this.txtFile_Checked); #line default #line hidden return; case 4: this.binFile = ((System.Windows.Controls.CheckBox)(target)); #line 15 "..\..\..\StreamCipher\StreamCipherUserControl.xaml" this.binFile.Checked += new System.Windows.RoutedEventHandler(this.binFile_Checked); #line default #line hidden return; case 5: this.outputEncrypt = ((System.Windows.Controls.TextBox)(target)); return; case 6: this.loadFileEncrypt = ((System.Windows.Controls.Button)(target)); #line 21 "..\..\..\StreamCipher\StreamCipherUserControl.xaml" this.loadFileEncrypt.Click += new System.Windows.RoutedEventHandler(this.loadFileEncrypt_Click); #line default #line hidden return; case 7: this.encryptFileBtn = ((System.Windows.Controls.Button)(target)); #line 22 "..\..\..\StreamCipher\StreamCipherUserControl.xaml" this.encryptFileBtn.Click += new System.Windows.RoutedEventHandler(this.encryptFileBtn_Click); #line default #line hidden return; case 8: this.encryptBtn = ((System.Windows.Controls.Button)(target)); #line 23 "..\..\..\StreamCipher\StreamCipherUserControl.xaml" this.encryptBtn.Click += new System.Windows.RoutedEventHandler(this.encryptBtn_Click); #line default #line hidden return; case 9: this.LoadingCircle = ((CryptoDesktopApplication.LoadingControl.LoadingAnimation)(target)); return; case 10: this.filenameInfo = ((System.Windows.Controls.TextBlock)(target)); return; case 11: this.inputFormat = ((System.Windows.Controls.Grid)(target)); return; case 12: this.seriesTest = ((MaterialDesignThemes.Wpf.PackIcon)(target)); return; case 13: this.keyFileInfo = ((System.Windows.Controls.TextBlock)(target)); return; case 14: this.outputFormat = ((System.Windows.Controls.Grid)(target)); return; case 15: #line 45 "..\..\..\StreamCipher\StreamCipherUserControl.xaml" ((System.Windows.Controls.RadioButton)(target)).Checked += new System.Windows.RoutedEventHandler(this.ChangeOutputToAscii); #line default #line hidden return; case 16: #line 48 "..\..\..\StreamCipher\StreamCipherUserControl.xaml" ((System.Windows.Controls.RadioButton)(target)).Checked += new System.Windows.RoutedEventHandler(this.ChangeOutputToHex); #line default #line hidden return; case 17: #line 51 "..\..\..\StreamCipher\StreamCipherUserControl.xaml" ((System.Windows.Controls.RadioButton)(target)).Checked += new System.Windows.RoutedEventHandler(this.ChangeOutputToBase64); #line default #line hidden return; case 18: #line 54 "..\..\..\StreamCipher\StreamCipherUserControl.xaml" ((System.Windows.Controls.RadioButton)(target)).Checked += new System.Windows.RoutedEventHandler(this.ChangeOutputToUnicode); #line default #line hidden return; case 19: this.keyFilenameInfo = ((System.Windows.Controls.TextBlock)(target)); return; case 20: this.fileLengthInfo = ((System.Windows.Controls.TextBlock)(target)); return; } this._contentLoaded = true; }