void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) { switch (connectionId) { case 1: this.PassWord = ((System.Windows.Controls.PasswordBox)(target)); return; case 2: #line 12 "..\..\..\Password.xaml" ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Button_Click); #line default #line hidden return; case 3: #line 13 "..\..\..\Password.xaml" ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Button_Click_1); #line default #line hidden return; } this._contentLoaded = true; }
private static void AddPasswordBox( UIElementCollection labelCollection, UIElementCollection inputCollection, UIElementCollection checkBoxCollection, string content, object dataContext, string key, int index) { var viewModel = (INotifyPropertyChanged)dataContext; labelCollection.Add(new Label() { Content = content }); var control = new PasswordBox() { DataContext = dataContext, TabIndex = index }; var parameters = (IDictionary<string, string>)((dynamic)dataContext).Dictionary; control.Password = parameters[key]; PropertyChangedEventHandler onSourceChanged = (sender, e) => { if (e.PropertyName != key) { return; } if (control.Password == parameters[key]) { return; } control.Password = parameters[key]; }; viewModel.PropertyChanged += onSourceChanged; control.PasswordChanged += (sender, e) => { if (parameters[key] != control.Password) { parameters[key] = control.Password; } }; control.Unloaded += (sender, e) => viewModel.PropertyChanged -= onSourceChanged; inputCollection.Add(new UserControl() { Content = control }); checkBoxCollection.Add(new FrameworkElement()); }
private static void SetEnabledForPasswordBox(PasswordBox passwordBox, bool enabled) { if (enabled) passwordBox.PasswordChanged += OnPasswordChanged; else passwordBox.PasswordChanged -= OnPasswordChanged; }
private static void SetPasswordBoxSelection(PasswordBox passwordBox, int start, int length) { var select = passwordBox.GetType().GetMethod("Select", BindingFlags.Instance | BindingFlags.NonPublic); select.Invoke(passwordBox, new object[] { start, length }); }
static void MessageBoxEvent(PasswordBox password) { password.PasswordChanged += delegate { MessageBox.Show(""); }; }
/**************************************************************** * Constructors **/ public LoginScreen () { InitializeComponent(); m_txtUsername = this.txt_username; m_txtPassword = this.txt_password; m_buttonLogin = this.btn_login; }
public void initTextinput(int maxLen, int inputMode) { if (m_inputFlag == 0) { // kEditBoxInputFlagPassword PasswordBox pwdBox = new PasswordBox(); pwdBox.MaxLength = maxLen < 0 ? 0 : maxLen; pwdBox.Password = m_strText; pwdBox.GotFocus += pwdBox_GotFocus; m_textinput = pwdBox; } else { TextBox textbox = new TextBox(); textbox.MaxLength = maxLen < 0 ? 0 : maxLen; SetInputScope(textbox, inputMode); textbox.TextChanged += textinput_TextChanged; textbox.GotFocus += textinput_GotFocus; textbox.LostFocus += textinput_LostFocus; m_textinput = textbox; } m_textinput.Margin = new System.Windows.Thickness(0, 0, 220, 0); m_textinput.Height = 72.0; m_textinput.TabIndex = 0; m_textinput.VerticalAlignment = VerticalAlignment.Top; m_textinput.KeyDown += OnKeyDownHandler; this.LayoutRoot.Children.Add(m_textinput); }
public override void OnApplyTemplate() { base.OnApplyTemplate(); PasswordBox = (PasswordBox)GetTemplateChild("PART_PasswordBox"); PasswordBox.PasswordChanged += PasswordBox_PasswordChanged; }
private static byte[] GetHash(PasswordBox pwb) { MD5 md5 = System.Security.Cryptography.MD5.Create(); byte[] inputBytes = System.Text.Encoding.ASCII.GetBytes(pwb.Password.ToString()); byte[] hash = md5.ComputeHash(inputBytes); return hash; }
public void MainCasePasswordBoxTest() { var propertyChangedViewModel = new PropertyChangedViewModel(); var passwordBox = new PasswordBox() { DataContext = propertyChangedViewModel }; ShowWindow(passwordBox); var behavior = new DependencyPropertyBehavior(); behavior.EventName = "PasswordChanged"; behavior.PropertyName = "Password"; Interaction.GetBehaviors(passwordBox).Add(behavior); BindingOperations.SetBinding(behavior, DependencyPropertyBehavior.BindingProperty, new Binding("Text") { Mode = BindingMode.TwoWay }); Assert.AreEqual(0, propertyChangedViewModel.TextChangedCounter); EnqueueShowWindow(); EnqueueCallback(() => { passwordBox.Password = "******"; }); EnqueueWindowUpdateLayout(); EnqueueCallback(() => { Assert.AreEqual(1, propertyChangedViewModel.TextChangedCounter); Assert.AreEqual("123456", propertyChangedViewModel.Text); passwordBox.Password = ""; }); EnqueueWindowUpdateLayout(); EnqueueCallback(() => { Assert.AreEqual(2, propertyChangedViewModel.TextChangedCounter); propertyChangedViewModel.Text = "654321"; }); EnqueueWindowUpdateLayout(); EnqueueCallback(() => { Assert.AreEqual("654321", passwordBox.Password); }); EnqueueTestComplete(); }
public override FrameworkElement CreateControl(FormItemContext context) { PasswordBox tb = new PasswordBox(); CustomValidation.SetValidationCallback(tb, () => { string errMsg = null; if (tb.Password == null || tb.Password.Length < 6) { errMsg = "密码强度不够"; } CustomValidation.SetValidationError(tb, errMsg); return errMsg; }); tb.PasswordChanged += (s, e) => { CustomValidation.ForceValidation(tb); context.SetValueToBindedProperty(tb.Password); }; StyleHelper.ApplyStyle(tb, "editctl_pwd"); return tb; }
public BindablePasswordBox() { savedCallback = HandlePasswordChanged; var passwordBox = new PasswordBox(); passwordBox.PasswordChanged += savedCallback; Child = passwordBox; }
protected override void OnViewAttached(object view, object context) { base.OnViewAttached(view, context); _passwordBox = ((LoginView)view).Password; Username = "******"; _passwordBox.Password = "******"; }
/// <summary> /// Wire up the Password and PasswordConfirmation accessors as the fields get generated. /// Also bind the Question field to a ComboBox full of security questions, and handle the LostFocus event for the UserName TextBox. /// </summary> private void RegisterForm_AutoGeneratingField(object dataForm, DataFormAutoGeneratingFieldEventArgs e) { // Put all the fields in adding mode e.Field.Mode = DataFieldMode.AddNew; if (e.PropertyName == "UserName") { this.userNameTextBox = (TextBox)e.Field.Content; this.userNameTextBox.LostFocus += this.UserNameLostFocus; } else if (e.PropertyName == "Password") { PasswordBox passwordBox = new PasswordBox(); e.Field.ReplaceTextBox(passwordBox, PasswordBox.PasswordProperty); this.registrationData.PasswordAccessor = () => passwordBox.Password; } else if (e.PropertyName == "PasswordConfirmation") { PasswordBox passwordConfirmationBox = new PasswordBox(); e.Field.ReplaceTextBox(passwordConfirmationBox, PasswordBox.PasswordProperty); this.registrationData.PasswordConfirmationAccessor = () => passwordConfirmationBox.Password; } else if (e.PropertyName == "Question") { ComboBox questionComboBox = new ComboBox(); questionComboBox.ItemsSource = RegistrationForm.GetSecurityQuestions(); e.Field.ReplaceTextBox(questionComboBox, ComboBox.SelectedItemProperty, binding => binding.Converter = new TargetNullValueConverter()); } }
/// <summary> /// Saves the password changed callback and sets the child element to the password box. /// </summary> public PasswordBoxEx() { savedCallback = HandlePasswordChanged; PasswordBox passwordBox = new PasswordBox(); passwordBox.PasswordChanged += savedCallback; Child = passwordBox; }
public PasswordEditor(WorkFrame frame) : base(frame) { CustomSetter = new EditorPropertySetter(SetPassword); password = new PasswordBox(); password.PasswordChanged += password_PasswordChanged; Content = password; }
public PasswordBoxHintProxy(PasswordBox passwordBox) { if (passwordBox == null) throw new ArgumentNullException(nameof(passwordBox)); _passwordBox = passwordBox; _passwordBox.PasswordChanged += PasswordBoxPasswordChanged; _passwordBox.Loaded += PasswordBoxLoaded; _passwordBox.IsVisibleChanged += PasswordBoxIsVisibleChanged; }
/// <summary> /// Saves the password changed callback and sets the child element to the password box. /// </summary> public BindablePasswordBox() { savedCallback = HandlePasswordChanged; PasswordBox passwordBox = new PasswordBox(); passwordBox.FontSize = 20; passwordBox.PasswordChanged += savedCallback; Child = passwordBox; }
void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) { switch (connectionId) { case 1: this.pwbReenter = ((System.Windows.Controls.PasswordBox)(target)); return; } this._contentLoaded = true; }
public static bool ShowOptionsWindow( FrameworkElement ChatControl, RatChat.Core.ConfigStorage ChatConfigStorage ) { ChatOptionsWindow cow = new ChatOptionsWindow(); var data = ChatControl.Tag as Tuple<RatChat.Core.IChatSource, string>; var configs = (from a in ConfigValueAttribute.GetAttribute(data.Item1.GetType()) orderby a.Caption select a).ToArray(); for (int j=0; j<configs.Length; ++j ) { cow.OptionsGrid.RowDefinitions.Add(new RowDefinition() { Height = new GridLength(30.0) }); // add text, TextBlock text = new TextBlock() { Text = configs[j].Caption }; text.SetResourceReference(TextBlock.StyleProperty, "ConfigText"); cow.OptionsGrid.Children.Add(text); Grid.SetRow(text, j); // add textbox UIElement val = null; if (configs[j].IsPasswordInput) { val = new PasswordBox() { Tag = data.Item1.ConfigPrefix + configs[j].Name, Margin = new Thickness(2) }; ((PasswordBox)val).Password = (string)ChatConfigStorage.GetDefault(data.Item1.ConfigPrefix + configs[j].Name, configs[j].DefaultValue); } else { val = new TextBox() { Tag = data.Item1.ConfigPrefix + configs[j].Name, Margin = new Thickness(2) }; ((TextBox)val).Text = (string)ChatConfigStorage.GetDefault(data.Item1.ConfigPrefix + configs[j].Name, configs[j].DefaultValue); } cow.OptionsGrid.Children.Add(val); Grid.SetRow(val, j); Grid.SetColumn(val, 1); } bool? ret = cow.ShowDialog(); if (ret.HasValue && ret.Value) { // save for (int j = 0; j < cow.OptionsGrid.Children.Count; ++j) { TextBox val = cow.OptionsGrid.Children[j] as TextBox; if (val != null) { string name = val.Tag as string; ChatConfigStorage[name] = val.Text; } else { PasswordBox pb = cow.OptionsGrid.Children[j] as PasswordBox; if (pb != null) { string name = pb.Tag as string; ChatConfigStorage[name] = pb.Password; } } } return true; } return false; }
/// <summary> /// Saves the password changed callback and sets the child element to the password box. /// </summary> public BindablePasswordBox() { _savedCallback = HandlePasswordChanged; var passwordBox = new PasswordBox(); passwordBox.Style = Application.Current.Resources["CommonPasswordBoxStyle"] as Style; passwordBox.PasswordChanged += _savedCallback; Child = passwordBox; }
public PasswordBoxControl() { savedCallback = HandlePasswordChanged; var passwordBox = new PasswordBox(); passwordBox.ContextMenu = null; passwordBox.PasswordChanged += savedCallback; Child = passwordBox; }
public PasswordEntryBackend () { Widget = new PasswordBox (); Adorner = new PlaceholderTextAdorner (PasswordBox); PasswordBox.Loaded += delegate { AdornerLayer.GetAdornerLayer (PasswordBox).Add (Adorner); }; PasswordBox.VerticalContentAlignment = VerticalAlignment.Center; }
/**************************************************************** * Constructors **/ public CreateAccountEmail() { Kreyos_User_Profile.Instance.Clear(); InitializeComponent(); m_txtEmail = this.txt_email; m_txtPassword = this.txt_password; m_txtConfirmPassword = this.txt_password_confirm; }
public void LoginMySql(PasswordBox pPasswordBox) { //need to do null check values here, calling .Trim() on null = bad lawl string vConnectionString; string vUsername = this.DatabaseModel.Username.Trim(); string vHost = this.DatabaseModel.Host.Trim(); string vDatabase = this.DatabaseModel.Database.Trim(); string vPort = this.DatabaseModel.Port.Trim(); //This is a bad practice, exposing a password into plain text. I don't care for right now, we can deal with this later //Notice we're using an "Extension" method here though, .ConvertToUnsecureString is defined in SecurityExtensions.cs //Extensions essentially allow you to add Methods to already existing classes that you may or may not have created (SecureString for example) string vPassword = string.Empty; if (pPasswordBox != null) { vPassword = pPasswordBox.SecurePassword.ConvertToUnsecureString(); } vConnectionString = string.Format("server={0};port={1};uid={2};pwd={3};database={4};", vHost, vPort, vUsername, vPassword, vDatabase); //this is for debugging so i don't have to type the contents into the ui every time //i have a local mysql database installed on my laptop so connection actually works vConnectionString = string.Format("server=localhost;port=3306;uid=root;pwd=test123;database=dayz_epoch;", vHost, vPort, vUsername, vPassword, vDatabase); try { using (MySqlConnection vMySqlConnection = new MySqlConnection()) { vMySqlConnection.ConnectionString = vConnectionString; vMySqlConnection.Open(); ScriptView vScriptView = new ScriptView(); vScriptView.ShowDialog(); /* using (MySqlCommand vMySqlCommand = new MySqlCommand()) { vMySqlCommand.CommandText = "DELETE FROM `object_data` WHERE `ObjectUID` = '0000500001393';DELETE FROM `object_data` WHERE `ObjectUID` = '0000500001394';DELETE FROM `object_data` WHERE `ObjectUID` = '0000500001395';DELETE FROM `object_data` WHERE `ObjectUID` = '0000500001396'; DELETE FROM `object_data` WHERE `ObjectUID` = '0000500001397'; DELETE FROM `object_data` WHERE `ObjectUID` = '0000500001398';"; vMySqlCommand.CommandText += "UPDATE character_data SET `inventory` = REPLACE(`inventory`,'ItemKeyGreen1904','ItemKeyKit');UPDATE character_data SET `backpack` = REPLACE(`backpack`,'ItemKeyGreen1904','ItemKeyKit');UPDATE object_data SET `inventory` = REPLACE(`inventory`,'ItemKeyGreen1904','ItemKeyKit');"; vMySqlCommand.CommandText += "UPDATE character_data SET `inventory` = REPLACE(`inventory`,'ItemKeyGreen1355','ItemKeyKit');UPDATE character_data SET `backpack` = REPLACE(`backpack`,'ItemKeyGreen1355','ItemKeyKit');UPDATE object_data SET `inventory` = REPLACE(`inventory`,'ItemKeyGreen1355','ItemKeyKit');"; vMySqlCommand.CommandText += "UPDATE character_data SET `inventory` = REPLACE(`inventory`,'ItemKeyGreen1248','ItemKeyKit');UPDATE character_data SET `backpack` = REPLACE(`backpack`,'ItemKeyGreen1248','ItemKeyKit');UPDATE object_data SET `inventory` = REPLACE(`inventory`,'ItemKeyGreen1248','ItemKeyKit');UPDATE character_data SET `inventory` = REPLACE(`inventory`,'ItemKeyGreen1364','ItemKeyKit');UPDATE character_data SET `backpack` = REPLACE(`backpack`,'ItemKeyGreen1364','ItemKeyKit');UPDATE object_data SET `inventory` = REPLACE(`inventory`,'ItemKeyGreen1364','ItemKeyKit');UPDATE character_data SET `inventory` = REPLACE(`inventory`,'ItemKeyGreen137','ItemKeyKit');UPDATE character_data SET `backpack` = REPLACE(`backpack`,'ItemKeyGreen137','ItemKeyKit');UPDATE object_data SET `inventory` = REPLACE(`inventory`,'ItemKeyGreen137','ItemKeyKit');"; vMySqlCommand.CommandText += "INSERT INTO `object_data` (`ObjectID`, `ObjectUID`, `Instance`, `Classname`, `Datestamp`, `LastUpdated`, `CharacterID`, `Worldspace`, `Inventory`, `Hitpoints`, `Fuel`, `Damage`) VALUES (NULL, '0000500001393', '11', 'MTVR', NOW(), NOW(), '1904', '[135,[13313.4,2738.29,0]]', '[[[],[]],[[\"ItemAntibiotic\",\"ItemBandage\",\"ItemBloodbag\",\"ItemEpinephrine\",\"ItemMorphine\",\"ItemPainkiller\",\"ItemSodaRbull\",\"FoodCanFrankBeans\",\"FoodCanPasta\",\"FoodCanSardines\",\"ItemSodaCoke\",\"ItemSodaOrangeSherbet\",\"ItemHeatPack\"],[15,15,15,15,15,15,15,15,15,15,15,15,15]],[[\"DZ_Backpack_EP1\",\"DZ_LargeGunBag_EP1\"],[1,1]]]', '[[\"motor\",0.8],[\"karoserie\",1],[\"palivo\",0.8],[\"wheel_1_1_steering\",1],[\"wheel_2_1_steering\",1],[\"wheel_1_2_steering\",1],[\"wheel_2_2_steering\",1]]', '0.01000', '0.05'), (NULL, '0000500001394', '11', 'MTVR', NOW(), NOW(), '1355', '[292,[14133.5,2747.52,0]]', '[[[\"ItemCrowbar\"],[2]],[[\"ItemLockbox\",\"30m_plot_kit\",\"metal_floor_kit\",\"CinderBlocks\",\"cinder_wall_kit\",\"MortarBucket\",\"MortarBucket\",\"PartScrap\",\"PartWoodPile\",\"forest_large_net_kit\"],[3,3,3,3,3,15,5,10,15,3]],[[\"DZ_Backpack_EP1\",\"DZ_LargeGunBag_EP1\"],[1,1]]]', '[[\"motor\",0.8],[\"karoserie\",1],[\"palivo\",0.8],[\"wheel_1_1_steering\",1],[\"wheel_2_1_steering\",1],[\"wheel_1_2_steering\",1],[\"wheel_2_2_steering\",1]]', '0.01000', '0.05'), (NULL, '0000500001395', '11', 'MTVR', NOW(), NOW(), '1248', '[150,[13596.3,3156.26,0]]', '[[[\"ItemBriefcase100oz\",\"AKS_74_kobra\",\"M16A2GL\",\"AKS_74_U\",\"FN_FAL\",\"M9SD\",\"SCAR_L_STD_Mk4CQT\",\"Pecheneg_DZ\",\"bizon_silenced\",\"M4A1_HWS_GL_SD_Camo\",\"NVGoggles\",\"ItemGPS\",\"G36A_camo\"],[2,3,3,3,3,3,3,3,3,3,2,2,1]],[[\"ItemBloodbag\",\"100Rnd_762x54_PK\",\"30Rnd_556x45_Stanag\",\"100Rnd_762x51_M240\",\"30Rnd_556x45_G36SD\",\"10Rnd_9x39_SP5_VSS\",\"ItemAntibiotic\",\"30Rnd_545x39_AK\",\"20Rnd_762x51_FNFAL\",\"20Rnd_762x51_B_SCAR\",\"64Rnd_9x19_SD_Bizon\",\"1Rnd_HE_GP25\",\"PartGeneric\",\"PartEngine\",\"PartGlass\",\"PartVRotor\",\"ItemJerrycan\",\"ItemTent\"],[10,10,10,10,10,10,10,10,10,10,10,10,4,2,6,2,10,2]],[[\"DZ_Backpack_EP1\",\"DZ_LargeGunBag_EP1\"],[1,1]]]', '[[\"motor\",0.8],[\"karoserie\",1],[\"palivo\",0.8],[\"wheel_1_1_steering\",1],[\"wheel_2_1_steering\",1],[\"wheel_1_2_steering\",1],[\"wheel_2_2_steering\",1]]', '0.01000', '0.05'), (NULL, '0000500001396', '11', 'MTVR', NOW(), NOW(), '1364', '[337,[13669.7,2882.46,0]]', '[[[\"ItemBriefcase100oz\",\"AKS_74_kobra\",\"M16A2GL\",\"AKS_74_U\",\"FN_FAL\",\"M9SD\",\"SCAR_L_STD_Mk4CQT\",\"Pecheneg_DZ\",\"bizon_silenced\",\"M4A1_HWS_GL_SD_Camo\",\"NVGoggles\",\"ItemGPS\",\"G36A_camo\"],[2,3,3,3,3,3,3,3,3,3,2,2,1]],[[\"ItemBloodbag\",\"100Rnd_762x54_PK\",\"30Rnd_556x45_Stanag\",\"100Rnd_762x51_M240\",\"30Rnd_556x45_G36SD\",\"10Rnd_9x39_SP5_VSS\",\"ItemAntibiotic\",\"30Rnd_545x39_AK\",\"20Rnd_762x51_FNFAL\",\"20Rnd_762x51_B_SCAR\",\"64Rnd_9x19_SD_Bizon\",\"1Rnd_HE_GP25\",\"PartGeneric\",\"PartEngine\",\"PartGlass\",\"PartVRotor\",\"ItemJerrycan\",\"ItemTent\"],[10,10,10,10,10,10,10,10,10,10,10,10,4,2,6,2,10,2]],[[\"DZ_Backpack_EP1\",\"DZ_LargeGunBag_EP1\"],[1,1]]]', '[[\"motor\",0.8],[\"karoserie\",1],[\"palivo\",0.8],[\"wheel_1_1_steering\",1],[\"wheel_2_1_steering\",1],[\"wheel_1_2_steering\",1],[\"wheel_2_2_steering\",1]]', '0.01000', '0.05'), (NULL, '0000500001397', '11', 'MTVR', NOW(), NOW(), '1370', '[311,[14054.2,2888.33,0]]', '[[[\"ItemCrowbar\"],[2]],[[\"ItemLockbox\",\"30m_plot_kit\",\"metal_floor_kit\",\"CinderBlocks\",\"cinder_wall_kit\",\"MortarBucket\",\"MortarBucket\",\"PartScrap\",\"PartWoodPile\",\"forest_large_net_kit\"],[3,3,3,3,3,15,5,10,15,3]],[[\"DZ_Backpack_EP1\",\"DZ_LargeGunBag_EP1\"],[1,1]]]', '[[\"motor\",0.8],[\"karoserie\",1],[\"palivo\",0.8],[\"wheel_1_1_steering\",1],[\"wheel_2_1_steering\",1],[\"wheel_1_2_steering\",1],[\"wheel_2_2_steering\",1]]', '0.01000', '0.05'), (NULL, '0000500001398', '11', 'GunRack_DZ', NOW(), NOW(), '871', '[319.618,[13693.4,2904.62,4.478]]', '[[[\"ItemKeyGreen137\",\"ItemKeyGreen1355\",\"ItemKeyGreen1248\",\"ItemKeyGreen1904\",\"ItemKeyGreen1364\"],[1,1,1,1,1]],[[],[]],[[],[]]]', '[]', '0.00000', '0.00000');"; vMySqlCommand.CommandType = System.Data.CommandType.Text; vMySqlCommand.Connection = vMySqlConnection; int vReturnValue = vMySqlCommand.ExecuteNonQuery(); } */ } } catch (MySqlException vException) { MessageBox.Show(vException.Message); } }
public void InitializeComponent() { if (_contentLoaded) { return; } _contentLoaded = true; System.Windows.Application.LoadComponent(this, new System.Uri("/Santander;component/View/UserControls/Token.xaml", System.UriKind.Relative)); this.LayoutRoot = ((System.Windows.Controls.Grid)(this.FindName("LayoutRoot"))); this.tbTitle = ((System.Windows.Controls.TextBlock)(this.FindName("tbTitle"))); this.tbxToken = ((System.Windows.Controls.PasswordBox)(this.FindName("tbxToken"))); }
public void InitializeComponent() { if (_contentLoaded) { return; } _contentLoaded = true; System.Windows.Application.LoadComponent(this, new System.Uri("/SchedulerApp;component/View/PasswordPage.xaml", System.UriKind.Relative)); this.LayoutRoot = ((System.Windows.Controls.Grid)(this.FindName("LayoutRoot"))); this.Password_TextBox = ((System.Windows.Controls.PasswordBox)(this.FindName("Password_TextBox"))); this.Enter_Button = ((System.Windows.Controls.Button)(this.FindName("Enter_Button"))); }
bool checkSetting(bool result, PasswordBox passwordBox, string message) { if (!result) { MessageBox.Show(message, resources["Connect"] as string, MessageBoxButton.OK, MessageBoxImage.Warning); passwordBox.SelectAll(); passwordBox.Focus(); } return result; }
public void InitializeComponent() { if (_contentLoaded) { return; } _contentLoaded = true; System.Windows.Application.LoadComponent(this, new System.Uri("/FinalWindowsPony;component/PasswordRequest.xaml", System.UriKind.Relative)); this.LayoutRoot = ((System.Windows.Controls.Grid)(this.FindName("LayoutRoot"))); this.ContentPanel = ((System.Windows.Controls.Grid)(this.FindName("ContentPanel"))); this.pwdSignIn = ((System.Windows.Controls.PasswordBox)(this.FindName("pwdSignIn"))); }
public override void OnApplyTemplate() { base.OnApplyTemplate(); _pswb = (PasswordBox)GetTemplateChild("pswb"); if (_pswb != null) { _pswb.Focus(); } _pswb = (PasswordBox)GetTemplateChild("pswb"); }
void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) { switch (connectionId) { case 1: this.Mainform = ((System.Windows.Controls.Grid)(target)); return; case 2: #line 278 "..\..\MainWindow.xaml" ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.minimize); #line default #line hidden return; case 3: #line 279 "..\..\MainWindow.xaml" ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.maximize); #line default #line hidden return; case 4: #line 280 "..\..\MainWindow.xaml" ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.close); #line default #line hidden return; case 5: this.about = ((System.Windows.Controls.TextBlock)(target)); return; case 6: this.typeA = ((System.Windows.Controls.TextBlock)(target)); return; case 7: this.typeB = ((System.Windows.Controls.TextBlock)(target)); return; case 8: this.apply_A = ((System.Windows.Controls.Button)(target)); #line 290 "..\..\MainWindow.xaml" this.apply_A.Click += new System.Windows.RoutedEventHandler(this.apply_A_Click); #line default #line hidden return; case 9: this.apply_B = ((System.Windows.Controls.Button)(target)); #line 291 "..\..\MainWindow.xaml" this.apply_B.Click += new System.Windows.RoutedEventHandler(this.apply_B_Click); #line default #line hidden return; case 10: this.About = ((System.Windows.Controls.Grid)(target)); #line 348 "..\..\MainWindow.xaml" this.About.MouseEnter += new System.Windows.Input.MouseEventHandler(this.About_MouseEnter); #line default #line hidden return; case 11: this.aSelected = ((System.Windows.Controls.Grid)(target)); return; case 12: this.LoneType_A = ((System.Windows.Controls.Grid)(target)); #line 356 "..\..\MainWindow.xaml" this.LoneType_A.MouseEnter += new System.Windows.Input.MouseEventHandler(this.LoneType_A_MouseEnter); #line default #line hidden return; case 13: this.ASelected = ((System.Windows.Controls.Grid)(target)); return; case 14: this.LoneType_B = ((System.Windows.Controls.Grid)(target)); #line 366 "..\..\MainWindow.xaml" this.LoneType_B.MouseEnter += new System.Windows.Input.MouseEventHandler(this.LoneType_B_MouseEnter); #line default #line hidden return; case 15: this.BSelected = ((System.Windows.Controls.Grid)(target)); return; case 16: this.GridSignIn = ((System.Windows.Controls.Grid)(target)); return; case 17: this.signin = ((System.Windows.Controls.Button)(target)); #line 383 "..\..\MainWindow.xaml" this.signin.Click += new System.Windows.RoutedEventHandler(this.signin_Click); #line default #line hidden return; case 18: this.signUp = ((System.Windows.Controls.Button)(target)); #line 412 "..\..\MainWindow.xaml" this.signUp.Click += new System.Windows.RoutedEventHandler(this.signUp_Click); #line default #line hidden return; case 19: this.text_username = ((System.Windows.Controls.TextBox)(target)); #line 449 "..\..\MainWindow.xaml" this.text_username.MouseLeave += new System.Windows.Input.MouseEventHandler(this.username_Leave); #line default #line hidden #line 449 "..\..\MainWindow.xaml" this.text_username.MouseEnter += new System.Windows.Input.MouseEventHandler(this.username_Enter); #line default #line hidden return; case 20: this.text_password = ((System.Windows.Controls.PasswordBox)(target)); #line 458 "..\..\MainWindow.xaml" this.text_password.MouseEnter += new System.Windows.Input.MouseEventHandler(this.password_Enter); #line default #line hidden #line 458 "..\..\MainWindow.xaml" this.text_password.MouseLeave += new System.Windows.Input.MouseEventHandler(this.password_Leave); #line default #line hidden return; case 21: #line 460 "..\..\MainWindow.xaml" ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Button_Click); #line default #line hidden return; case 22: this.GridSignUP = ((System.Windows.Controls.Grid)(target)); return; case 23: this.signin1 = ((System.Windows.Controls.Button)(target)); #line 470 "..\..\MainWindow.xaml" this.signin1.Click += new System.Windows.RoutedEventHandler(this.signin_Click); #line default #line hidden return; case 24: this.signUp1 = ((System.Windows.Controls.Button)(target)); #line 499 "..\..\MainWindow.xaml" this.signUp1.Click += new System.Windows.RoutedEventHandler(this.signUp1_Click); #line default #line hidden return; case 25: this.email = ((System.Windows.Controls.TextBox)(target)); return; case 26: this.password = ((System.Windows.Controls.TextBox)(target)); return; case 27: this.combo = ((System.Windows.Controls.ComboBox)(target)); return; case 28: #line 560 "..\..\MainWindow.xaml" ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.signUP); #line default #line hidden return; } this._contentLoaded = true; }
void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) { switch (connectionId) { case 1: #line 13 "..\..\..\..\..\Tabs\TabManageConnection\TabManageConnection.xaml" ((System.Windows.Controls.Grid)(target)).Loaded += new System.Windows.RoutedEventHandler(this.UserControl_Loaded); #line default #line hidden return; case 2: this.grdContent = ((System.Windows.Controls.Grid)(target)); return; case 3: this.lblHostId = ((System.Windows.Controls.Label)(target)); return; case 4: this.lblHostNew = ((System.Windows.Controls.Label)(target)); return; case 5: this.txtName = ((System.Windows.Controls.TextBox)(target)); return; case 6: this.lblHostname = ((System.Windows.Controls.Label)(target)); return; case 7: this.txtHostname = ((System.Windows.Controls.TextBox)(target)); return; case 8: this.lblDescription = ((System.Windows.Controls.Label)(target)); return; case 9: this.txtDescription = ((System.Windows.Controls.TextBox)(target)); return; case 10: this.lblOperatingSystem = ((System.Windows.Controls.Label)(target)); return; case 11: this.cmbOperatingSystem = ((System.Windows.Controls.ComboBox)(target)); return; case 12: this.lblFolder = ((System.Windows.Controls.Label)(target)); return; case 13: this.ccbFolder = ((beRemote.GUI.Controls.ConnectionComboBox)(target)); #line 30 "..\..\..\..\..\Tabs\TabManageConnection\TabManageConnection.xaml" this.ccbFolder.MenuExpanded += new System.Windows.RoutedEventHandler(this.ccbFolder_Expanded); #line default #line hidden #line 30 "..\..\..\..\..\Tabs\TabManageConnection\TabManageConnection.xaml" this.ccbFolder.MenuContract += new System.Windows.RoutedEventHandler(this.ccbFolder_MenuContract); #line default #line hidden return; case 14: this.lblVpn = ((System.Windows.Controls.Label)(target)); return; case 15: this.cmbVpn = ((System.Windows.Controls.ComboBox)(target)); return; case 16: this.chkPublic = ((System.Windows.Controls.CheckBox)(target)); return; case 17: this.cmbProtocol = ((System.Windows.Controls.ComboBox)(target)); return; case 18: this.btnAdd = ((System.Windows.Controls.Button)(target)); #line 45 "..\..\..\..\..\Tabs\TabManageConnection\TabManageConnection.xaml" this.btnAdd.Click += new System.Windows.RoutedEventHandler(this.btnAdd_Click); #line default #line hidden return; case 19: this.cmbExistingProtocols = ((System.Windows.Controls.ComboBox)(target)); #line 49 "..\..\..\..\..\Tabs\TabManageConnection\TabManageConnection.xaml" this.cmbExistingProtocols.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.cmbExistingProtocols_SelectionChanged); #line default #line hidden return; case 20: this.gbProtocols = ((System.Windows.Controls.GroupBox)(target)); return; case 21: this.grdProtocolsettings = ((System.Windows.Controls.Grid)(target)); return; case 22: this.nudPort = ((beRemote.GUI.Controls.NumericUpDown)(target)); return; case 23: this.chkCredentials = ((System.Windows.Controls.CheckBox)(target)); #line 62 "..\..\..\..\..\Tabs\TabManageConnection\TabManageConnection.xaml" this.chkCredentials.Checked += new System.Windows.RoutedEventHandler(this.chkCredentials_Checked); #line default #line hidden #line 62 "..\..\..\..\..\Tabs\TabManageConnection\TabManageConnection.xaml" this.chkCredentials.Unchecked += new System.Windows.RoutedEventHandler(this.chkCredentials_Checked); #line default #line hidden return; case 24: this.cmbCredentials = ((System.Windows.Controls.ComboBox)(target)); return; case 25: this.btnAddCredentials = ((System.Windows.Controls.Button)(target)); #line 64 "..\..\..\..\..\Tabs\TabManageConnection\TabManageConnection.xaml" this.btnAddCredentials.Click += new System.Windows.RoutedEventHandler(this.btnAddCredentials_Click_1); #line default #line hidden return; case 26: this.spCredentials = ((System.Windows.Controls.StackPanel)(target)); return; case 27: this.txtCredUser = ((System.Windows.Controls.TextBox)(target)); return; case 28: this.pwCredPass = ((System.Windows.Controls.PasswordBox)(target)); return; case 29: this.txtCredDom = ((System.Windows.Controls.TextBox)(target)); return; case 30: this.txtCredDesc = ((System.Windows.Controls.TextBox)(target)); return; case 31: #line 99 "..\..\..\..\..\Tabs\TabManageConnection\TabManageConnection.xaml" ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.btnAddCredentials_Click); #line default #line hidden return; case 32: this.pogProtocolSettings = ((beRemote.GUI.Controls.ProtocolOptionGrid)(target)); return; case 33: this.btnSave = ((System.Windows.Controls.Button)(target)); #line 113 "..\..\..\..\..\Tabs\TabManageConnection\TabManageConnection.xaml" this.btnSave.Click += new System.Windows.RoutedEventHandler(this.btnSave_Click); #line default #line hidden return; case 34: this.btnCancel = ((System.Windows.Controls.Button)(target)); #line 114 "..\..\..\..\..\Tabs\TabManageConnection\TabManageConnection.xaml" this.btnCancel.Click += new System.Windows.RoutedEventHandler(this.btnCancel_Click); #line default #line hidden return; } this._contentLoaded = true; }
void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) { switch (connectionId) { case 1: this.lblNote = ((System.Windows.Controls.Label)(target)); return; case 2: this.grd_reg = ((System.Windows.Controls.Grid)(target)); return; case 3: this.txt_Fname = ((System.Windows.Controls.TextBox)(target)); return; case 4: this.txt_Lname = ((System.Windows.Controls.TextBox)(target)); return; case 5: this.txt_Uname = ((System.Windows.Controls.TextBox)(target)); return; case 6: this.txt_email = ((System.Windows.Controls.TextBox)(target)); return; case 7: this.lblat = ((System.Windows.Controls.Label)(target)); return; case 8: this.cmb_Email_Ext = ((System.Windows.Controls.ComboBox)(target)); #line 51 "..\..\..\Screens\Register.xaml" this.cmb_Email_Ext.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.cmb_Email_Ext_SelectionChanged); #line default #line hidden return; case 9: this.txt_pass = ((System.Windows.Controls.PasswordBox)(target)); return; case 10: this.Policy = ((System.Windows.Controls.Label)(target)); return; case 11: this.btn_reg = ((System.Windows.Controls.Button)(target)); #line 62 "..\..\..\Screens\Register.xaml" this.btn_reg.Click += new System.Windows.RoutedEventHandler(this.btn_reg_Click); #line default #line hidden return; } this._contentLoaded = true; }
void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) { switch (connectionId) { case 1: this.textBox_Usuario = ((System.Windows.Controls.TextBox)(target)); #line 19 "..\..\Login.xaml" this.textBox_Usuario.MouseEnter += new System.Windows.Input.MouseEventHandler(this.TextBox_Usuario_MouseEnter); #line default #line hidden #line 19 "..\..\Login.xaml" this.textBox_Usuario.MouseLeave += new System.Windows.Input.MouseEventHandler(this.TextBox_Usuario_MouseLeave); #line default #line hidden return; case 2: this.Button_InciarSesión = ((System.Windows.Controls.Button)(target)); #line 27 "..\..\Login.xaml" this.Button_InciarSesión.Click += new System.Windows.RoutedEventHandler(this.Button_IniciarSesion); #line default #line hidden return; case 3: this.PasswordBox = ((System.Windows.Controls.PasswordBox)(target)); #line 37 "..\..\Login.xaml" this.PasswordBox.MouseLeave += new System.Windows.Input.MouseEventHandler(this.PasswordBox_MouseLeave); #line default #line hidden #line 37 "..\..\Login.xaml" this.PasswordBox.MouseEnter += new System.Windows.Input.MouseEventHandler(this.PasswordBox_MouseEnter); #line default #line hidden return; case 4: this.Button_ConsultarPuntajes = ((System.Windows.Controls.Button)(target)); #line 38 "..\..\Login.xaml" this.Button_ConsultarPuntajes.Click += new System.Windows.RoutedEventHandler(this.Button_IniciarSesion); #line default #line hidden return; case 5: this.Button_Registro = ((System.Windows.Controls.Button)(target)); #line 43 "..\..\Login.xaml" this.Button_Registro.Click += new System.Windows.RoutedEventHandler(this.Button_Registrarse); #line default #line hidden return; } this._contentLoaded = true; }
void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) { switch (connectionId) { case 1: this.imgAvatar = ((System.Windows.Controls.Image)(target)); return; case 2: this.btnDownloadAvatar = ((System.Windows.Controls.Button)(target)); #line 14 "..\..\..\RegistrationTenantWindow.xaml" this.btnDownloadAvatar.Click += new System.Windows.RoutedEventHandler(this.btnDownloadAvatar_Click); #line default #line hidden return; case 3: this.tbName = ((System.Windows.Controls.TextBox)(target)); #line 18 "..\..\..\RegistrationTenantWindow.xaml" this.tbName.KeyDown += new System.Windows.Input.KeyEventHandler(this.tbName_KeyDown); #line default #line hidden return; case 4: this.tbSurname = ((System.Windows.Controls.TextBox)(target)); #line 22 "..\..\..\RegistrationTenantWindow.xaml" this.tbSurname.KeyDown += new System.Windows.Input.KeyEventHandler(this.tbSurname_KeyDown); #line default #line hidden return; case 5: this.tbBirthDate = ((System.Windows.Controls.DatePicker)(target)); return; case 6: this.cmbAddress = ((System.Windows.Controls.ComboBox)(target)); return; case 7: this.tbEntranceNumber = ((System.Windows.Controls.TextBox)(target)); #line 34 "..\..\..\RegistrationTenantWindow.xaml" this.tbEntranceNumber.KeyDown += new System.Windows.Input.KeyEventHandler(this.tbEntranceNumber_KeyDown); #line default #line hidden return; case 8: this.tbFlatNumber = ((System.Windows.Controls.TextBox)(target)); #line 38 "..\..\..\RegistrationTenantWindow.xaml" this.tbFlatNumber.KeyDown += new System.Windows.Input.KeyEventHandler(this.tbFlatNumber_KeyDown); #line default #line hidden return; case 9: this.psbNewPassword = ((System.Windows.Controls.PasswordBox)(target)); #line 42 "..\..\..\RegistrationTenantWindow.xaml" this.psbNewPassword.KeyDown += new System.Windows.Input.KeyEventHandler(this.PsbNewPassword_KeyDown); #line default #line hidden return; case 10: this.psbRepeatPassword = ((System.Windows.Controls.PasswordBox)(target)); #line 46 "..\..\..\RegistrationTenantWindow.xaml" this.psbRepeatPassword.KeyDown += new System.Windows.Input.KeyEventHandler(this.PsbRepeatPassword_KeyDown); #line default #line hidden return; case 11: this.btnSaveNewTenant = ((System.Windows.Controls.Button)(target)); #line 48 "..\..\..\RegistrationTenantWindow.xaml" this.btnSaveNewTenant.Click += new System.Windows.RoutedEventHandler(this.btnSaveNewTenant_Click); #line default #line hidden return; case 12: this.lbErrorMessage = ((System.Windows.Controls.Label)(target)); return; } this._contentLoaded = true; }
void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) { switch (connectionId) { case 1: this.AdminUsername = ((System.Windows.Controls.TextBox)(target)); #line 23 "..\..\MainWindow.xaml" this.AdminUsername.PreviewKeyUp += new System.Windows.Input.KeyEventHandler(this.AdminUsername_PreviewKeyUp); #line default #line hidden return; case 2: this.AdminPassword = ((System.Windows.Controls.PasswordBox)(target)); #line 25 "..\..\MainWindow.xaml" this.AdminPassword.PreviewKeyUp += new System.Windows.Input.KeyEventHandler(this.AdminPassword_PreviewKeyUp); #line default #line hidden return; case 3: this.AdminSubmit = ((System.Windows.Controls.Button)(target)); #line 26 "..\..\MainWindow.xaml" this.AdminSubmit.Click += new System.Windows.RoutedEventHandler(this.adminClick); #line default #line hidden return; case 4: #line 42 "..\..\MainWindow.xaml" ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.testerClick); #line default #line hidden return; case 5: this.comboBoxTesterID = ((System.Windows.Controls.ComboBox)(target)); #line 43 "..\..\MainWindow.xaml" this.comboBoxTesterID.PreviewKeyUp += new System.Windows.Input.KeyEventHandler(this.testerId_EnterButton); #line default #line hidden return; case 6: this.comboBoxTraineeId = ((System.Windows.Controls.ComboBox)(target)); #line 58 "..\..\MainWindow.xaml" this.comboBoxTraineeId.PreviewKeyUp += new System.Windows.Input.KeyEventHandler(this.traineeid_EnterButton); #line default #line hidden return; case 7: #line 59 "..\..\MainWindow.xaml" ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.traineeClick); #line default #line hidden return; } this._contentLoaded = true; }
void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) { switch (connectionId) { case 1: this.text_server = ((System.Windows.Controls.TextBox)(target)); return; case 2: this.dp_sqltype = ((System.Windows.Controls.DockPanel)(target)); return; case 3: this.cb_sqltype = ((System.Windows.Controls.ComboBox)(target)); #line 18 "..\..\CreateLink.xaml" this.cb_sqltype.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.cb_sqltype_SelectionChanged); #line default #line hidden return; case 4: this.text_uid = ((System.Windows.Controls.TextBox)(target)); return; case 5: this.text_pwd = ((System.Windows.Controls.PasswordBox)(target)); return; case 6: this.but_test = ((System.Windows.Controls.Button)(target)); #line 31 "..\..\CreateLink.xaml" this.but_test.Click += new System.Windows.RoutedEventHandler(this.but_test_Click); #line default #line hidden return; case 7: this.cb_database = ((System.Windows.Controls.ComboBox)(target)); return; case 8: this.but_ok = ((System.Windows.Controls.Button)(target)); #line 35 "..\..\CreateLink.xaml" this.but_ok.Click += new System.Windows.RoutedEventHandler(this.but_ok_Click); #line default #line hidden return; case 9: this.but_cancol = ((System.Windows.Controls.Button)(target)); #line 36 "..\..\CreateLink.xaml" this.but_cancol.Click += new System.Windows.RoutedEventHandler(this.but_cancol_Click); #line default #line hidden return; } this._contentLoaded = true; }
void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) { switch (connectionId) { case 1: #line 10 "..\..\Reader.xaml" ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Button_Click); #line default #line hidden return; case 2: #line 11 "..\..\Reader.xaml" ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Button_Click_1); #line default #line hidden return; case 3: #line 17 "..\..\Reader.xaml" ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Button_Click_2); #line default #line hidden return; case 4: this.name = ((System.Windows.Controls.TextBox)(target)); return; case 5: this.id = ((System.Windows.Controls.TextBox)(target)); return; case 6: this.phone = ((System.Windows.Controls.TextBox)(target)); return; case 7: this.email = ((System.Windows.Controls.TextBox)(target)); return; case 8: #line 25 "..\..\Reader.xaml" ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Button_Click_3); #line default #line hidden return; case 9: this.password = ((System.Windows.Controls.PasswordBox)(target)); return; case 10: this.boy = ((System.Windows.Controls.CheckBox)(target)); #line 28 "..\..\Reader.xaml" this.boy.Checked += new System.Windows.RoutedEventHandler(this.boy_Checked); #line default #line hidden return; case 11: this.girl = ((System.Windows.Controls.CheckBox)(target)); #line 29 "..\..\Reader.xaml" this.girl.Checked += new System.Windows.RoutedEventHandler(this.girl_Checked); #line default #line hidden return; } this._contentLoaded = true; }
void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) { switch (connectionId) { case 1: this.gridUser = ((System.Windows.Controls.Grid)(target)); return; case 2: this.Labe2 = ((System.Windows.Controls.Label)(target)); return; case 3: this.Labe3 = ((System.Windows.Controls.Label)(target)); return; case 4: this.Labe20 = ((System.Windows.Controls.Label)(target)); return; case 5: this.Labe4 = ((System.Windows.Controls.Label)(target)); return; case 6: this.Labe8 = ((System.Windows.Controls.Label)(target)); return; case 7: this.Labe5 = ((System.Windows.Controls.Label)(target)); return; case 8: this.Labe15 = ((System.Windows.Controls.Label)(target)); return; case 9: this.Labe6 = ((System.Windows.Controls.Label)(target)); return; case 10: this.Labe7 = ((System.Windows.Controls.Label)(target)); return; case 11: this.Labe9 = ((System.Windows.Controls.Label)(target)); return; case 12: this.imageMain = ((System.Windows.Controls.Image)(target)); return; case 13: this.userAvatar = ((System.Windows.Controls.Image)(target)); return; case 14: this.btnSave = ((System.Windows.Controls.Button)(target)); #line 40 "..\..\AddUser.xaml" this.btnSave.Click += new System.Windows.RoutedEventHandler(this.btnSave_Click1); #line default #line hidden return; case 15: this.btnCancel = ((System.Windows.Controls.Button)(target)); #line 44 "..\..\AddUser.xaml" this.btnCancel.Click += new System.Windows.RoutedEventHandler(this.btnCancel_Click2); #line default #line hidden return; case 16: this.tbUserName = ((System.Windows.Controls.TextBox)(target)); return; case 17: this.tbWorknum = ((System.Windows.Controls.TextBox)(target)); return; case 18: this.tbName = ((System.Windows.Controls.TextBox)(target)); return; case 19: this.tbPassword = ((System.Windows.Controls.PasswordBox)(target)); return; case 20: this.tbSurePassword = ((System.Windows.Controls.PasswordBox)(target)); return; case 21: this.depName = ((System.Windows.Controls.ComboBox)(target)); return; case 22: this.tbPosition = ((System.Windows.Controls.TextBox)(target)); return; case 23: this.tbPhone = ((System.Windows.Controls.TextBox)(target)); return; case 24: this.boy = ((System.Windows.Controls.RadioButton)(target)); return; case 25: this.girl = ((System.Windows.Controls.RadioButton)(target)); return; case 26: this.Admin = ((System.Windows.Controls.RadioButton)(target)); return; case 27: this.ComUser = ((System.Windows.Controls.RadioButton)(target)); return; case 28: this.chooseImage = ((System.Windows.Controls.Button)(target)); #line 90 "..\..\AddUser.xaml" this.chooseImage.Click += new System.Windows.RoutedEventHandler(this.chooseImage_Click3); #line default #line hidden return; case 29: this.AvatarPath = ((System.Windows.Controls.TextBox)(target)); return; } this._contentLoaded = true; }
void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) { switch (connectionId) { case 1: #line 12 "..\..\Register.xaml" ((WPF.Window1)(target)).MouseDown += new System.Windows.Input.MouseButtonEventHandler(this.Window_MouseDown); #line default #line hidden return; case 2: this.exitButton = ((System.Windows.Controls.Button)(target)); #line 44 "..\..\Register.xaml" this.exitButton.Click += new System.Windows.RoutedEventHandler(this.ExitButton_Click); #line default #line hidden return; case 3: this.profile = ((System.Windows.Controls.Image)(target)); return; case 4: this.choosePhotoButton = ((System.Windows.Controls.Button)(target)); #line 53 "..\..\Register.xaml" this.choosePhotoButton.Click += new System.Windows.RoutedEventHandler(this.ChoosePhotoButton_Click); #line default #line hidden return; case 5: this.name_tb = ((System.Windows.Controls.TextBox)(target)); return; case 6: this.email_tb = ((System.Windows.Controls.TextBox)(target)); return; case 7: this.phoneNumber_tb = ((System.Windows.Controls.TextBox)(target)); return; case 8: this.pass_tb = ((System.Windows.Controls.PasswordBox)(target)); return; case 9: this.BackButton = ((System.Windows.Controls.Button)(target)); #line 165 "..\..\Register.xaml" this.BackButton.Click += new System.Windows.RoutedEventHandler(this.BackButton_Click); #line default #line hidden return; case 10: this.PayButton = ((System.Windows.Controls.Button)(target)); #line 166 "..\..\Register.xaml" this.PayButton.Click += new System.Windows.RoutedEventHandler(this.PayButton_Click); #line default #line hidden return; } this._contentLoaded = true; }
void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) { switch (connectionId) { case 1: this.adminWindow = ((Magankorhaz.AdminWindow)(target)); #line 5 "..\..\AdminWindow.xaml" this.adminWindow.Closing += new System.ComponentModel.CancelEventHandler(this.adminWindow_Closing); #line default #line hidden return; case 2: this.menu_background = ((System.Windows.Shapes.Rectangle)(target)); return; case 3: this.menu_header_background = ((System.Windows.Shapes.Rectangle)(target)); return; case 4: this.header_background = ((System.Windows.Shapes.Rectangle)(target)); return; case 5: this.kijelentkezesButton = ((System.Windows.Controls.Button)(target)); #line 10 "..\..\AdminWindow.xaml" this.kijelentkezesButton.Click += new System.Windows.RoutedEventHandler(this.kijelentkezesButton_Click); #line default #line hidden return; case 6: this.felhasznalokMenuGomb = ((System.Windows.Controls.Button)(target)); #line 12 "..\..\AdminWindow.xaml" this.felhasznalokMenuGomb.Click += new System.Windows.RoutedEventHandler(this.felhasznalokMenuGomb_Click); #line default #line hidden return; case 7: this.osztalyokMenuGomb = ((System.Windows.Controls.Button)(target)); #line 13 "..\..\AdminWindow.xaml" this.osztalyokMenuGomb.Click += new System.Windows.RoutedEventHandler(this.osztalyokMenuGomb_Click); #line default #line hidden return; case 8: this.felhasznalo = ((System.Windows.Controls.Label)(target)); return; case 9: this.felhasznaloTipus = ((System.Windows.Controls.Label)(target)); return; case 10: this.felhasznaloVaszon = ((System.Windows.Controls.Canvas)(target)); return; case 11: this.felhasznaloLista = ((System.Windows.Controls.ListView)(target)); #line 17 "..\..\AdminWindow.xaml" this.felhasznaloLista.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.felhasznaloLista_SelectionChanged); #line default #line hidden return; case 12: this.jelszoValt = ((System.Windows.Controls.Button)(target)); #line 32 "..\..\AdminWindow.xaml" this.jelszoValt.Click += new System.Windows.RoutedEventHandler(this.jelszoValt_Click); #line default #line hidden return; case 13: this.adatMod = ((System.Windows.Controls.Button)(target)); #line 33 "..\..\AdminWindow.xaml" this.adatMod.Click += new System.Windows.RoutedEventHandler(this.adatMod_Click); #line default #line hidden return; case 14: this.ujUser = ((System.Windows.Controls.Button)(target)); #line 34 "..\..\AdminWindow.xaml" this.ujUser.Click += new System.Windows.RoutedEventHandler(this.ujUser_Click); #line default #line hidden return; case 15: this.torlesUser = ((System.Windows.Controls.Button)(target)); #line 35 "..\..\AdminWindow.xaml" this.torlesUser.Click += new System.Windows.RoutedEventHandler(this.torlesUser_Click); #line default #line hidden return; case 16: this.osztalyVaszon = ((System.Windows.Controls.Canvas)(target)); return; case 17: this.osztalyLista = ((System.Windows.Controls.ListView)(target)); #line 38 "..\..\AdminWindow.xaml" this.osztalyLista.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.osztalyLista_SelectionChanged); #line default #line hidden return; case 18: this.ferohelyValt = ((System.Windows.Controls.Button)(target)); #line 53 "..\..\AdminWindow.xaml" this.ferohelyValt.Click += new System.Windows.RoutedEventHandler(this.ferohelyValt_Click); #line default #line hidden return; case 19: this.ujOsztaly = ((System.Windows.Controls.Button)(target)); #line 54 "..\..\AdminWindow.xaml" this.ujOsztaly.Click += new System.Windows.RoutedEventHandler(this.ujOsztaly_Click); #line default #line hidden return; case 20: this.torlesOsztaly = ((System.Windows.Controls.Button)(target)); #line 55 "..\..\AdminWindow.xaml" this.torlesOsztaly.Click += new System.Windows.RoutedEventHandler(this.torlesOsztaly_Click); #line default #line hidden return; case 21: this.orvosVaszon = ((System.Windows.Controls.Canvas)(target)); return; case 22: this.kepesitLabel = ((System.Windows.Controls.Label)(target)); return; case 23: this.osztalyLabel = ((System.Windows.Controls.Label)(target)); return; case 24: this.belepLabel = ((System.Windows.Controls.Label)(target)); return; case 25: this.orvosNev = ((System.Windows.Controls.TextBox)(target)); return; case 26: this.orvosEmail = ((System.Windows.Controls.TextBox)(target)); return; case 27: this.orvosUsernev = ((System.Windows.Controls.TextBox)(target)); return; case 28: this.orvosPass1 = ((System.Windows.Controls.PasswordBox)(target)); return; case 29: this.orvosPass2 = ((System.Windows.Controls.PasswordBox)(target)); return; case 30: this.orvosSzemszam = ((System.Windows.Controls.TextBox)(target)); return; case 31: this.orvosTAJ = ((System.Windows.Controls.TextBox)(target)); return; case 32: this.orvosAdoszam = ((System.Windows.Controls.TextBox)(target)); return; case 33: this.orvosCim = ((System.Windows.Controls.TextBox)(target)); return; case 34: this.orvosTelefon = ((System.Windows.Controls.TextBox)(target)); return; case 35: this.orvosSzuletes = ((System.Windows.Controls.DatePicker)(target)); return; case 36: this.orvosKepesites = ((System.Windows.Controls.TextBox)(target)); return; case 37: this.orvosOsztaly = ((System.Windows.Controls.ComboBox)(target)); return; case 38: this.orvosBelepes = ((System.Windows.Controls.DatePicker)(target)); return; case 39: this.orvosOraber = ((System.Windows.Controls.TextBox)(target)); return; case 40: this.orvosSzabadnap = ((System.Windows.Controls.TextBox)(target)); return; case 41: this.szerepkorLabel = ((System.Windows.Controls.Label)(target)); return; case 42: this.tipusCombo = ((System.Windows.Controls.ComboBox)(target)); #line 92 "..\..\AdminWindow.xaml" this.tipusCombo.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.tipusCombo_SelectionChanged); #line default #line hidden return; case 43: this.felveszButton = ((System.Windows.Controls.Button)(target)); #line 97 "..\..\AdminWindow.xaml" this.felveszButton.Click += new System.Windows.RoutedEventHandler(this.felveszButton_Click); #line default #line hidden return; case 44: this.modositButton = ((System.Windows.Controls.Button)(target)); #line 98 "..\..\AdminWindow.xaml" this.modositButton.Click += new System.Windows.RoutedEventHandler(this.modositButton_Click); #line default #line hidden return; } this._contentLoaded = true; }
void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) { switch (connectionId) { case 1: #line 10 "..\..\..\Registration\SignUP.xaml" ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.BackButton); #line default #line hidden return; case 2: #line 13 "..\..\..\Registration\SignUP.xaml" ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Signup); #line default #line hidden return; case 3: this.MiddleName = ((System.Windows.Controls.TextBox)(target)); return; case 4: this.LastName = ((System.Windows.Controls.TextBox)(target)); return; case 5: this.FirstName = ((System.Windows.Controls.TextBox)(target)); return; case 6: this.Login = ((System.Windows.Controls.TextBox)(target)); return; case 7: this.Password = ((System.Windows.Controls.PasswordBox)(target)); return; case 8: this.RepeatPassword = ((System.Windows.Controls.PasswordBox)(target)); return; case 9: this.Picture = ((System.Windows.Controls.Image)(target)); return; case 10: #line 28 "..\..\..\Registration\SignUP.xaml" ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.UploadPicture); #line default #line hidden return; } this._contentLoaded = true; }
void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) { switch (connectionId) { case 1: this.TbRent = ((System.Windows.Controls.TabItem)(target)); return; case 2: this.lblItem = ((System.Windows.Controls.Label)(target)); return; case 3: this.lblId = ((System.Windows.Controls.Label)(target)); return; case 4: this.cmbId = ((System.Windows.Controls.ComboBox)(target)); #line 30 "..\..\MainWindow.xaml" this.cmbId.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.ComboBox_SelectionChanged); #line default #line hidden return; case 5: this.btnWyp = ((System.Windows.Controls.Button)(target)); #line 31 "..\..\MainWindow.xaml" this.btnWyp.Click += new System.Windows.RoutedEventHandler(this.btnWyp_Click); #line default #line hidden return; case 6: this.btnShow = ((System.Windows.Controls.Button)(target)); #line 32 "..\..\MainWindow.xaml" this.btnShow.Click += new System.Windows.RoutedEventHandler(this.Button_Click); #line default #line hidden return; case 7: this.txtAvailableItems = ((System.Windows.Controls.TextBox)(target)); return; case 8: this.lblAvailableItems = ((System.Windows.Controls.Label)(target)); return; case 9: this.cmbItem = ((System.Windows.Controls.ComboBox)(target)); #line 35 "..\..\MainWindow.xaml" this.cmbItem.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.cmbItem_SelectionChanged); #line default #line hidden return; case 10: this.cmbItemReturn = ((System.Windows.Controls.ComboBox)(target)); #line 38 "..\..\MainWindow.xaml" this.cmbItemReturn.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.cmbItemReturn_SelectionChanged); #line default #line hidden return; case 11: this.cmbIdReturn = ((System.Windows.Controls.ComboBox)(target)); #line 39 "..\..\MainWindow.xaml" this.cmbIdReturn.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.cmbIdReturn_SelectionChanged); #line default #line hidden return; case 12: this.btnzwrot = ((System.Windows.Controls.Button)(target)); #line 40 "..\..\MainWindow.xaml" this.btnzwrot.Click += new System.Windows.RoutedEventHandler(this.Button_Click_1); #line default #line hidden return; case 13: this.imgtmpQR = ((System.Windows.Controls.Image)(target)); return; case 14: this.btnsaveQR = ((System.Windows.Controls.Button)(target)); #line 42 "..\..\MainWindow.xaml" this.btnsaveQR.Click += new System.Windows.RoutedEventHandler(this.btnsaveQR_Click); #line default #line hidden return; case 15: this.lblSelItemQR = ((System.Windows.Controls.Label)(target)); return; case 16: this.SelectedQRItem = ((System.Windows.Controls.Image)(target)); return; case 17: this.rbnQRmode = ((System.Windows.Controls.RadioButton)(target)); #line 46 "..\..\MainWindow.xaml" this.rbnQRmode.Checked += new System.Windows.RoutedEventHandler(this.rbnQRmode_Checked); #line default #line hidden return; case 18: this.rbnSelectmode = ((System.Windows.Controls.RadioButton)(target)); #line 47 "..\..\MainWindow.xaml" this.rbnSelectmode.Checked += new System.Windows.RoutedEventHandler(this.rbnSelectmode_Checked); #line default #line hidden return; case 19: this.btnUpdate = ((System.Windows.Controls.Button)(target)); #line 48 "..\..\MainWindow.xaml" this.btnUpdate.Click += new System.Windows.RoutedEventHandler(this.btnUpdate_Click); #line default #line hidden return; case 20: this.txtqedata = ((System.Windows.Controls.TextBox)(target)); return; case 21: this.txtQrReadWypo = ((System.Windows.Controls.TextBox)(target)); return; case 22: this.txtqedatazw = ((System.Windows.Controls.TextBox)(target)); return; case 23: this.btnIdentyfi = ((System.Windows.Controls.Button)(target)); #line 52 "..\..\MainWindow.xaml" this.btnIdentyfi.Click += new System.Windows.RoutedEventHandler(this.btnIdentyfi_Click); #line default #line hidden return; case 24: this.txtQRtoreadandfind = ((System.Windows.Controls.TextBox)(target)); return; case 25: this.btnReport = ((System.Windows.Controls.Button)(target)); #line 65 "..\..\MainWindow.xaml" this.btnReport.Click += new System.Windows.RoutedEventHandler(this.btnReport_Click); #line default #line hidden return; case 26: this.TbFindTransfer = ((System.Windows.Controls.TabItem)(target)); return; case 27: this.TxtTransfer = ((System.Windows.Controls.TextBox)(target)); return; case 28: this.cmbNameTransfer = ((System.Windows.Controls.ComboBox)(target)); #line 92 "..\..\MainWindow.xaml" this.cmbNameTransfer.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.cmbNameTransfer_SelectionChanged); #line default #line hidden return; case 29: this.btnTransfer = ((System.Windows.Controls.Button)(target)); #line 95 "..\..\MainWindow.xaml" this.btnTransfer.Click += new System.Windows.RoutedEventHandler(this.btnTransfer_Click); #line default #line hidden return; case 30: this.cmbItemFind = ((System.Windows.Controls.ComboBox)(target)); #line 96 "..\..\MainWindow.xaml" this.cmbItemFind.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.cmbItemFind_SelectionChanged); #line default #line hidden return; case 31: this.cmbIdFind = ((System.Windows.Controls.ComboBox)(target)); return; case 32: this.btnFind = ((System.Windows.Controls.Button)(target)); #line 98 "..\..\MainWindow.xaml" this.btnFind.Click += new System.Windows.RoutedEventHandler(this.btnFind_Click); #line default #line hidden return; case 33: this.cmbIdTransfer = ((System.Windows.Controls.ComboBox)(target)); #line 101 "..\..\MainWindow.xaml" this.cmbIdTransfer.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.cmbIdTransfer_SelectionChanged); #line default #line hidden return; case 34: this.TbAvailableItems = ((System.Windows.Controls.TabItem)(target)); return; case 35: this.txtAllAvailableItems = ((System.Windows.Controls.TextBox)(target)); return; case 36: this.btnRefreshAvailableItems = ((System.Windows.Controls.Button)(target)); #line 120 "..\..\MainWindow.xaml" this.btnRefreshAvailableItems.Click += new System.Windows.RoutedEventHandler(this.btnRefreshAvailableItems_Click); #line default #line hidden return; case 37: this.TbmyItems = ((System.Windows.Controls.TabItem)(target)); return; case 38: this.txtMyItems = ((System.Windows.Controls.TextBox)(target)); return; case 39: this.lblUser = ((System.Windows.Controls.Label)(target)); return; case 40: this.txtUser = ((System.Windows.Controls.TextBox)(target)); #line 134 "..\..\MainWindow.xaml" this.txtUser.TextChanged += new System.Windows.Controls.TextChangedEventHandler(this.txtUser_TextChanged); #line default #line hidden return; case 41: this.lblpass = ((System.Windows.Controls.Label)(target)); return; case 42: this.txtPass = ((System.Windows.Controls.PasswordBox)(target)); return; case 43: this.btnpassconfirm = ((System.Windows.Controls.Button)(target)); #line 137 "..\..\MainWindow.xaml" this.btnpassconfirm.Click += new System.Windows.RoutedEventHandler(this.btnpassconfirm_Click); #line default #line hidden return; case 44: this.TbSett = ((System.Windows.Controls.TabItem)(target)); return; case 45: this.lblLang = ((System.Windows.Controls.Label)(target)); return; case 46: this.cmbLeng = ((System.Windows.Controls.ComboBox)(target)); #line 147 "..\..\MainWindow.xaml" this.cmbLeng.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.cmbLeng_SelectionChanged); #line default #line hidden return; } this._contentLoaded = true; }
void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) { switch (connectionId) { case 1: #line 8 "..\..\ConfigWindow.xaml" ((Kntacooh.AutoCourseRegistration.ConfigWindow)(target)).Closing += new System.ComponentModel.CancelEventHandler(this.Window_Closing); #line default #line hidden return; case 2: this.QuarterText = ((System.Windows.Controls.TextBox)(target)); return; case 3: this.IntervalText = ((System.Windows.Controls.TextBox)(target)); return; case 4: this.UpdateButton = ((System.Windows.Controls.Button)(target)); #line 29 "..\..\ConfigWindow.xaml" this.UpdateButton.Click += new System.Windows.RoutedEventHandler(this.UpdateButton_Click); #line default #line hidden return; case 5: this.LogMaxRowText = ((System.Windows.Controls.TextBox)(target)); return; case 6: this.CourseHeightText = ((System.Windows.Controls.TextBox)(target)); return; case 7: this.UserID = ((System.Windows.Controls.TextBox)(target)); return; case 8: this.UnvisibleUserID = ((System.Windows.Controls.PasswordBox)(target)); return; case 9: this.UserPassword = ((System.Windows.Controls.PasswordBox)(target)); return; case 10: #line 91 "..\..\ConfigWindow.xaml" ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.LogOnButton_Click); #line default #line hidden return; case 11: #line 94 "..\..\ConfigWindow.xaml" ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.LogOffButton_Click); #line default #line hidden return; case 12: this.GakuikiComboBox = ((System.Windows.Controls.ComboBox)(target)); #line 127 "..\..\ConfigWindow.xaml" this.GakuikiComboBox.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.GakuikiComboBox_SelectionChanged); #line default #line hidden return; case 13: this.GakuruiComboBox = ((System.Windows.Controls.ComboBox)(target)); return; case 14: this.StudentYearComboBox = ((System.Windows.Controls.ComboBox)(target)); return; case 15: this.IsReadAllSyllabusData = ((System.Windows.Controls.CheckBox)(target)); return; } this._contentLoaded = true; }
void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) { switch (connectionId) { case 1: this.ButtonOperator = ((System.Windows.Controls.Button)(target)); #line 66 "..\..\..\HomePage\HomePage.xaml" this.ButtonOperator.Click += new System.Windows.RoutedEventHandler(this.ButtonOperator_Click); #line default #line hidden return; case 2: this.ButtonManager = ((System.Windows.Controls.Button)(target)); #line 73 "..\..\..\HomePage\HomePage.xaml" this.ButtonManager.Click += new System.Windows.RoutedEventHandler(this.ButtonManager_Click); #line default #line hidden return; case 3: this.ButtonAdministrator = ((System.Windows.Controls.Button)(target)); #line 80 "..\..\..\HomePage\HomePage.xaml" this.ButtonAdministrator.Click += new System.Windows.RoutedEventHandler(this.ButtonAdministrator_Click); #line default #line hidden return; case 4: this.ButtonConnection = ((System.Windows.Controls.Button)(target)); #line 103 "..\..\..\HomePage\HomePage.xaml" this.ButtonConnection.Click += new System.Windows.RoutedEventHandler(this.ButtonConnection_Click); #line default #line hidden return; case 5: this.ButtonDeconnection = ((System.Windows.Controls.Button)(target)); #line 104 "..\..\..\HomePage\HomePage.xaml" this.ButtonDeconnection.Click += new System.Windows.RoutedEventHandler(this.ButtonDeconnection_Click); #line default #line hidden return; case 6: this.TextBlockConnectionResult = ((System.Windows.Controls.TextBlock)(target)); return; case 7: this.PasswordBoxProfile = ((System.Windows.Controls.PasswordBox)(target)); return; case 8: this.GroupBoxModifyPassword = ((System.Windows.Controls.GroupBox)(target)); return; case 9: this.ButtonValidate = ((System.Windows.Controls.Button)(target)); #line 116 "..\..\..\HomePage\HomePage.xaml" this.ButtonValidate.Click += new System.Windows.RoutedEventHandler(this.ButtonValidate_Click); #line default #line hidden return; case 10: this.PasswordBoxModify = ((System.Windows.Controls.PasswordBox)(target)); return; } this._contentLoaded = true; }
void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) { switch (connectionId) { case 1: this.win_NewParent = ((AdminTools.NewParentLogin)(target)); return; case 2: this.txt_ParentID1 = ((System.Windows.Controls.TextBox)(target)); #line 11 "..\..\..\AdminTools\NewParentLogin.xaml" this.txt_ParentID1.GotFocus += new System.Windows.RoutedEventHandler(this.SelectAllGotFocus); #line default #line hidden #line 11 "..\..\..\AdminTools\NewParentLogin.xaml" this.txt_ParentID1.KeyUp += new System.Windows.Input.KeyEventHandler(this.Key_Up_Event); #line default #line hidden return; case 3: this.txt_ParentID2 = ((System.Windows.Controls.TextBox)(target)); #line 12 "..\..\..\AdminTools\NewParentLogin.xaml" this.txt_ParentID2.GotFocus += new System.Windows.RoutedEventHandler(this.SelectAllGotFocus); #line default #line hidden #line 12 "..\..\..\AdminTools\NewParentLogin.xaml" this.txt_ParentID2.KeyUp += new System.Windows.Input.KeyEventHandler(this.Key_Up_Event); #line default #line hidden return; case 4: this.psw_ParentPIN1 = ((System.Windows.Controls.PasswordBox)(target)); #line 13 "..\..\..\AdminTools\NewParentLogin.xaml" this.psw_ParentPIN1.GotFocus += new System.Windows.RoutedEventHandler(this.SelectAllGotFocusPW); #line default #line hidden #line 13 "..\..\..\AdminTools\NewParentLogin.xaml" this.psw_ParentPIN1.KeyUp += new System.Windows.Input.KeyEventHandler(this.Key_Up_Event); #line default #line hidden return; case 5: this.psw_ParentPIN2 = ((System.Windows.Controls.PasswordBox)(target)); #line 14 "..\..\..\AdminTools\NewParentLogin.xaml" this.psw_ParentPIN2.GotFocus += new System.Windows.RoutedEventHandler(this.SelectAllGotFocusPW); #line default #line hidden #line 14 "..\..\..\AdminTools\NewParentLogin.xaml" this.psw_ParentPIN2.KeyUp += new System.Windows.Input.KeyEventHandler(this.Key_Up_Event); #line default #line hidden return; case 6: this.btn_AddNewParent = ((System.Windows.Controls.Button)(target)); #line 19 "..\..\..\AdminTools\NewParentLogin.xaml" this.btn_AddNewParent.Click += new System.Windows.RoutedEventHandler(this.btn_AddNewParent_Click); #line default #line hidden return; case 7: this.btn_Cancel = ((System.Windows.Controls.Button)(target)); #line 20 "..\..\..\AdminTools\NewParentLogin.xaml" this.btn_Cancel.Click += new System.Windows.RoutedEventHandler(this.btn_Cancel_Click); #line default #line hidden return; } this._contentLoaded = true; }
void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) { switch (connectionId) { case 1: this.lblEmail = ((System.Windows.Controls.Label)(target)); return; case 2: this.lblPassword = ((System.Windows.Controls.Label)(target)); return; case 3: this.tbxEmail = ((System.Windows.Controls.TextBox)(target)); return; case 4: this.tbxPassword = ((System.Windows.Controls.PasswordBox)(target)); return; case 5: this.btnLogin = ((System.Windows.Controls.Button)(target)); #line 14 "..\..\MainWindow.xaml" this.btnLogin.Click += new System.Windows.RoutedEventHandler(this.btnLogin_Click); #line default #line hidden return; case 6: this.btnStopListening = ((System.Windows.Controls.Button)(target)); #line 15 "..\..\MainWindow.xaml" this.btnStopListening.Click += new System.Windows.RoutedEventHandler(this.btnStopListening_Click); #line default #line hidden return; case 7: this.tbxSendMessage = ((System.Windows.Controls.TextBox)(target)); return; case 8: this.btnSendMessage = ((System.Windows.Controls.Button)(target)); #line 17 "..\..\MainWindow.xaml" this.btnSendMessage.Click += new System.Windows.RoutedEventHandler(this.btnSendMessage_Click); #line default #line hidden return; case 9: this.tbxReceivedMessage = ((System.Windows.Controls.TextBox)(target)); return; case 10: this.tbxSearchTerm = ((System.Windows.Controls.TextBox)(target)); return; case 11: this.tbxSearchResult = ((System.Windows.Controls.TextBox)(target)); return; case 12: this.btnSearchUser = ((System.Windows.Controls.Button)(target)); #line 21 "..\..\MainWindow.xaml" this.btnSearchUser.Click += new System.Windows.RoutedEventHandler(this.btnSearchUser_Click); #line default #line hidden return; case 13: this.tbxGroupMembers = ((System.Windows.Controls.TextBox)(target)); return; case 14: this.btnCreateGroup = ((System.Windows.Controls.Button)(target)); #line 23 "..\..\MainWindow.xaml" this.btnCreateGroup.Click += new System.Windows.RoutedEventHandler(this.btnCreateGroup_Click); #line default #line hidden return; case 15: this.btnLogout = ((System.Windows.Controls.Button)(target)); #line 24 "..\..\MainWindow.xaml" this.btnLogout.Click += new System.Windows.RoutedEventHandler(this.btnLogout_Click); #line default #line hidden return; case 16: this.tbxUserID = ((System.Windows.Controls.TextBox)(target)); return; case 17: this.tbxThreadID = ((System.Windows.Controls.TextBox)(target)); return; case 18: this.btnRemoveUser = ((System.Windows.Controls.Button)(target)); #line 27 "..\..\MainWindow.xaml" this.btnRemoveUser.Click += new System.Windows.RoutedEventHandler(this.btnRemoveUser_Click); #line default #line hidden return; } this._contentLoaded = true; }
void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) { switch (connectionId) { case 1: #line 5 "..\..\MainWindow.xaml" ((ChatClient.MainWindow)(target)).KeyDown += new System.Windows.Input.KeyEventHandler(this.IntroductionSkip); #line default #line hidden return; case 2: #line 7 "..\..\MainWindow.xaml" ((System.Windows.Media.Animation.Storyboard)(target)).Completed += new System.EventHandler(this.IntroductionCompleted); #line default #line hidden return; case 3: this.logolayer2excompsoundfad_mp4_BeginStoryboard = ((System.Windows.Media.Animation.BeginStoryboard)(target)); return; case 4: this.logolayer2excompsoundfad_mp4 = ((System.Windows.Controls.MediaElement)(target)); return; case 5: this.Menu = ((System.Windows.Shapes.Rectangle)(target)); return; case 6: this.button = ((System.Windows.Controls.Button)(target)); #line 76 "..\..\MainWindow.xaml" this.button.Click += new System.Windows.RoutedEventHandler(this.logIn); #line default #line hidden return; case 7: this.UsernameField = ((System.Windows.Controls.TextBox)(target)); return; case 8: this.textBlock = ((System.Windows.Controls.TextBlock)(target)); return; case 9: this.UserPassField = ((System.Windows.Controls.PasswordBox)(target)); return; case 10: this.textBlock1 = ((System.Windows.Controls.TextBlock)(target)); return; case 11: this.errorCanvas = ((System.Windows.Controls.Canvas)(target)); return; case 12: this.errorMarquee = ((System.Windows.Shapes.Rectangle)(target)); return; case 13: this.errorText = ((System.Windows.Controls.TextBlock)(target)); return; } this._contentLoaded = true; }
void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) { switch (connectionId) { case 1: #line 5 "..\..\login.xaml" ((System.Windows.Controls.Grid)(target)).MouseDown += new System.Windows.Input.MouseButtonEventHandler(this.Grid_MouseDown); #line default #line hidden return; case 2: this.name = ((System.Windows.Controls.TextBox)(target)); #line 13 "..\..\login.xaml" this.name.KeyDown += new System.Windows.Input.KeyEventHandler(this.name_KeyDown); #line default #line hidden return; case 3: this.pwd = ((System.Windows.Controls.PasswordBox)(target)); #line 14 "..\..\login.xaml" this.pwd.KeyDown += new System.Windows.Input.KeyEventHandler(this.pwd_KeyDown); #line default #line hidden return; case 4: this.lo_but = ((System.Windows.Controls.Button)(target)); #line 15 "..\..\login.xaml" this.lo_but.Click += new System.Windows.RoutedEventHandler(this.lo_but_Click); #line default #line hidden return; case 5: this.regi_but = ((System.Windows.Controls.Button)(target)); #line 16 "..\..\login.xaml" this.regi_but.Click += new System.Windows.RoutedEventHandler(this.regi_but_Click); #line default #line hidden return; case 6: this.exit_but = ((System.Windows.Controls.Button)(target)); #line 17 "..\..\login.xaml" this.exit_but.Click += new System.Windows.RoutedEventHandler(this.exit_but_Click); #line default #line hidden return; } this._contentLoaded = true; }
void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) { switch (connectionId) { case 1: this.GridMain = ((System.Windows.Controls.Grid)(target)); return; case 2: this.GridRegistration = ((System.Windows.Controls.Grid)(target)); return; case 3: this.ButtonRegistered = ((System.Windows.Controls.Button)(target)); #line 12 "..\..\LoginWindow.xaml" this.ButtonRegistered.Click += new System.Windows.RoutedEventHandler(this.ButtonRegistered_Click); #line default #line hidden return; case 4: #line 13 "..\..\LoginWindow.xaml" ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.ButtonBack_Click); #line default #line hidden return; case 5: this.TextBoxRegName = ((System.Windows.Controls.TextBox)(target)); return; case 6: this.TextBoxRegSubname = ((System.Windows.Controls.TextBox)(target)); return; case 7: this.TextBoxRegLogin = ((System.Windows.Controls.TextBox)(target)); return; case 8: this.PasswordBoxRegPassword = ((System.Windows.Controls.PasswordBox)(target)); return; case 9: this.GridLogin = ((System.Windows.Controls.Grid)(target)); return; case 10: this.ButtonShowRegistration = ((System.Windows.Controls.Button)(target)); #line 29 "..\..\LoginWindow.xaml" this.ButtonShowRegistration.Click += new System.Windows.RoutedEventHandler(this.ButtonShowRegistration_Click); #line default #line hidden return; case 11: this.ButtonShowSettings = ((System.Windows.Controls.Button)(target)); #line 30 "..\..\LoginWindow.xaml" this.ButtonShowSettings.Click += new System.Windows.RoutedEventHandler(this.ButtonShowSettings_Click); #line default #line hidden return; case 12: this.ButtonLogin = ((System.Windows.Controls.Button)(target)); #line 31 "..\..\LoginWindow.xaml" this.ButtonLogin.Click += new System.Windows.RoutedEventHandler(this.ButtonLogin_Click); #line default #line hidden return; case 13: this.TextBoxLogin = ((System.Windows.Controls.TextBox)(target)); return; case 14: this.TextBoxPassword = ((System.Windows.Controls.PasswordBox)(target)); return; case 15: this.ImageDb = ((System.Windows.Controls.Image)(target)); return; case 16: this.GridSettings = ((System.Windows.Controls.Grid)(target)); return; case 17: this.ComboBoxServer = ((System.Windows.Controls.ComboBox)(target)); return; case 18: #line 46 "..\..\LoginWindow.xaml" ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.ButtonBack_Click); #line default #line hidden return; case 19: this.ButtonRefreshServerList = ((System.Windows.Controls.Button)(target)); #line 47 "..\..\LoginWindow.xaml" this.ButtonRefreshServerList.Click += new System.Windows.RoutedEventHandler(this.ButtonRefreshServerList_Click); #line default #line hidden return; case 20: this.GridExpectations = ((System.Windows.Controls.Grid)(target)); return; case 21: this.ButtonSaveSettings = ((System.Windows.Controls.Button)(target)); #line 51 "..\..\LoginWindow.xaml" this.ButtonSaveSettings.Click += new System.Windows.RoutedEventHandler(this.ButtonSaveSettings_Click); #line default #line hidden return; } this._contentLoaded = true; }
void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) { switch (connectionId) { case 1: this.Unsubscribe = ((System.Windows.Controls.Grid)(target)); return; case 2: this.btnSubscribe = ((System.Windows.Controls.Button)(target)); return; case 3: this.txtTopicSubscribe = ((System.Windows.Controls.TextBox)(target)); return; case 4: this.txtReceived = ((System.Windows.Controls.TextBox)(target)); return; case 5: this.btnPublish = ((System.Windows.Controls.Button)(target)); return; case 6: this.txtTopicPublish = ((System.Windows.Controls.TextBox)(target)); return; case 7: this.txtPublish = ((System.Windows.Controls.TextBox)(target)); return; case 8: this.btnUnSubscribe = ((System.Windows.Controls.Button)(target)); return; case 9: this.txtbox_Url = ((System.Windows.Controls.TextBox)(target)); return; case 10: this.btnGet_Ip = ((System.Windows.Controls.Button)(target)); return; case 11: this.txtIp_Address = ((System.Windows.Controls.TextBox)(target)); return; case 12: this.btn_Connect = ((System.Windows.Controls.Button)(target)); return; case 13: this.tbData = ((System.Windows.Controls.TextBox)(target)); return; case 14: this.btn_Takeover = ((System.Windows.Controls.Button)(target)); return; case 15: this.btn_Disconnect = ((System.Windows.Controls.Button)(target)); return; case 16: this.btnOpenCaCertDialog = ((System.Windows.Controls.Button)(target)); return; case 17: this.ComboBox_Url = ((System.Windows.Controls.ComboBox)(target)); return; case 18: this.txtbox_CaCertPath = ((System.Windows.Controls.TextBox)(target)); return; case 19: this.txtbox_ClientCertPath = ((System.Windows.Controls.TextBox)(target)); return; case 20: this.btnOpenClientCertDialog = ((System.Windows.Controls.Button)(target)); return; case 21: this.txtBox_Password = ((System.Windows.Controls.TextBox)(target)); return; case 22: this.comboBox_Port = ((System.Windows.Controls.ComboBox)(target)); return; case 23: this.btn_SaveAccountSettings = ((System.Windows.Controls.Button)(target)); return; case 24: this.txtBox_ClientName = ((System.Windows.Controls.TextBox)(target)); return; case 25: this.txtBox_User = ((System.Windows.Controls.TextBox)(target)); return; case 26: this.btn_New = ((System.Windows.Controls.Button)(target)); return; case 27: this.btn_Create = ((System.Windows.Controls.Button)(target)); return; case 28: this.btn_DeleteAccount = ((System.Windows.Controls.Button)(target)); return; case 29: this.btn_CancelAccount = ((System.Windows.Controls.Button)(target)); return; case 30: this.ComboBox_TopicsToSubsribe = ((System.Windows.Controls.ComboBox)(target)); return; case 31: this.btn_Change_TopicSubscribe = ((System.Windows.Controls.Button)(target)); return; case 32: this.ComboBox_TopicsToPublish = ((System.Windows.Controls.ComboBox)(target)); return; case 33: this.btn_Change_TopicPublish = ((System.Windows.Controls.Button)(target)); return; case 34: this.checkBox_publish_Retain = ((System.Windows.Controls.CheckBox)(target)); return; case 35: this.checkBox_CleanSession = ((System.Windows.Controls.CheckBox)(target)); return; case 36: this.ComboBox_Messages = ((System.Windows.Controls.ComboBox)(target)); return; case 37: this.btn_Change_Messages = ((System.Windows.Controls.Button)(target)); return; case 38: this.comboBox_QosLevels_Subscribe = ((System.Windows.Controls.ComboBox)(target)); return; case 39: this.comboBox_QoSLevels = ((System.Windows.Controls.ComboBox)(target)); return; case 40: this.checkBox_BrokerMessages = ((System.Windows.Controls.CheckBox)(target)); return; case 41: this.checkBox_ShowClientMessages = ((System.Windows.Controls.CheckBox)(target)); return; case 42: this.btn_Help = ((System.Windows.Controls.Button)(target)); return; case 43: this.p_w_d_Box = ((System.Windows.Controls.PasswordBox)(target)); #line 67 "..\..\MainWindow.xaml" this.p_w_d_Box.PasswordChanged += new System.Windows.RoutedEventHandler(this.P_w_d_Box_PasswordChanged); #line default #line hidden return; } this._contentLoaded = true; }
void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) { switch (connectionId) { case 1: #line 10 "..\..\RegisterPage.xaml" ((StudClient.RegisterPage)(target)).Loaded += new System.Windows.RoutedEventHandler(this.Page_Initialized); #line default #line hidden return; case 2: this.LoginBox = ((System.Windows.Controls.TextBox)(target)); return; case 3: this.PasswordBox = ((System.Windows.Controls.PasswordBox)(target)); return; case 4: this.PasswordRepeatBox = ((System.Windows.Controls.PasswordBox)(target)); return; case 5: this.LastNameBox = ((System.Windows.Controls.TextBox)(target)); return; case 6: this.FirstNameBox = ((System.Windows.Controls.TextBox)(target)); return; case 7: this.SecondNameBox = ((System.Windows.Controls.TextBox)(target)); return; case 8: this.RecordBookBox = ((System.Windows.Controls.TextBox)(target)); return; case 9: this.FacultyBox = ((System.Windows.Controls.ComboBox)(target)); return; case 10: this.GroupBox = ((System.Windows.Controls.ComboBox)(target)); return; case 11: this.BackButton = ((System.Windows.Controls.Button)(target)); #line 113 "..\..\RegisterPage.xaml" this.BackButton.Click += new System.Windows.RoutedEventHandler(this.BackButton_Click); #line default #line hidden return; case 12: this.RegisterButton = ((System.Windows.Controls.Button)(target)); #line 114 "..\..\RegisterPage.xaml" this.RegisterButton.Click += new System.Windows.RoutedEventHandler(this.RegisterButton_Click); #line default #line hidden return; } this._contentLoaded = true; }
void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) { switch (connectionId) { case 1: this.id = ((System.Windows.Controls.TextBox)(target)); return; case 2: this.password = ((System.Windows.Controls.PasswordBox)(target)); return; case 3: #line 16 "..\..\..\View\UserView.xaml" ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Button_Click); #line default #line hidden return; case 4: #line 17 "..\..\..\View\UserView.xaml" ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Button_Click); #line default #line hidden return; case 5: this.btn1 = ((System.Windows.Controls.Button)(target)); return; case 6: this.btn2 = ((System.Windows.Controls.Button)(target)); return; case 7: this.btn3 = ((System.Windows.Controls.Button)(target)); return; case 8: this.btn4 = ((System.Windows.Controls.Button)(target)); return; case 9: this.btn5 = ((System.Windows.Controls.Button)(target)); return; case 10: this.btn6 = ((System.Windows.Controls.Button)(target)); return; case 11: this.btn7 = ((System.Windows.Controls.Button)(target)); return; case 12: this.btn8 = ((System.Windows.Controls.Button)(target)); return; case 13: this.btn9 = ((System.Windows.Controls.Button)(target)); return; case 14: this.btn10 = ((System.Windows.Controls.Button)(target)); return; case 15: this.btn11 = ((System.Windows.Controls.Button)(target)); return; case 16: this.btn12 = ((System.Windows.Controls.Button)(target)); return; case 17: this.btn13 = ((System.Windows.Controls.Button)(target)); return; case 18: this.btn14 = ((System.Windows.Controls.Button)(target)); return; case 19: this.btn15 = ((System.Windows.Controls.Button)(target)); return; case 20: this.btn16 = ((System.Windows.Controls.Button)(target)); return; case 21: this.btn17 = ((System.Windows.Controls.Button)(target)); return; case 22: this.btn18 = ((System.Windows.Controls.Button)(target)); return; case 23: this.btn19 = ((System.Windows.Controls.Button)(target)); return; case 24: this.btn20 = ((System.Windows.Controls.Button)(target)); return; case 25: this.btn21 = ((System.Windows.Controls.Button)(target)); return; case 26: this.btn22 = ((System.Windows.Controls.Button)(target)); return; case 27: this.btn23 = ((System.Windows.Controls.Button)(target)); return; case 28: this.btn24 = ((System.Windows.Controls.Button)(target)); return; case 29: this.btn25 = ((System.Windows.Controls.Button)(target)); return; case 30: this.btn26 = ((System.Windows.Controls.Button)(target)); return; case 31: this.btn27 = ((System.Windows.Controls.Button)(target)); return; case 32: this.btn28 = ((System.Windows.Controls.Button)(target)); return; case 33: this.btn29 = ((System.Windows.Controls.Button)(target)); return; case 34: this.btn30 = ((System.Windows.Controls.Button)(target)); return; case 35: this.btn31 = ((System.Windows.Controls.Button)(target)); return; case 36: this.btn32 = ((System.Windows.Controls.Button)(target)); return; case 37: this.btn33 = ((System.Windows.Controls.Button)(target)); return; case 38: this.btn34 = ((System.Windows.Controls.Button)(target)); return; case 39: this.btn35 = ((System.Windows.Controls.Button)(target)); return; case 40: this.btn36 = ((System.Windows.Controls.Button)(target)); return; } this._contentLoaded = true; }
void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) { switch (connectionId) { case 1: this.stackPanel1 = ((System.Windows.Controls.StackPanel)(target)); return; case 2: this.groupBox1 = ((System.Windows.Controls.GroupBox)(target)); return; case 3: this.grid1 = ((System.Windows.Controls.Grid)(target)); return; case 4: this.lblLogin = ((System.Windows.Controls.Label)(target)); return; case 5: this.lblNom = ((System.Windows.Controls.Label)(target)); return; case 6: this.txtLogin = ((System.Windows.Controls.TextBox)(target)); return; case 7: this.pwdAncien = ((System.Windows.Controls.PasswordBox)(target)); return; case 8: this.label1 = ((System.Windows.Controls.Label)(target)); return; case 9: this.label2 = ((System.Windows.Controls.Label)(target)); return; case 10: this.pwdNouveau = ((System.Windows.Controls.PasswordBox)(target)); return; case 11: this.pwdNouveauConfimer = ((System.Windows.Controls.PasswordBox)(target)); return; case 12: this.grid = ((System.Windows.Controls.Grid)(target)); return; case 13: this.cmdEnregistrer = ((System.Windows.Controls.Button)(target)); #line 37 "..\..\..\UI\ModifierPasswordUI.xaml" this.cmdEnregistrer.Click += new System.Windows.RoutedEventHandler(this.cmdEnregistrer_Click); #line default #line hidden return; case 14: this.cmdAnnuler = ((System.Windows.Controls.Button)(target)); #line 38 "..\..\..\UI\ModifierPasswordUI.xaml" this.cmdAnnuler.Click += new System.Windows.RoutedEventHandler(this.cmdAnnuler_Click); #line default #line hidden return; case 15: this.cmdFermer = ((System.Windows.Controls.Button)(target)); #line 39 "..\..\..\UI\ModifierPasswordUI.xaml" this.cmdFermer.Click += new System.Windows.RoutedEventHandler(this.cmdFermer_Click); #line default #line hidden return; } this._contentLoaded = true; }
void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) { switch (connectionId) { case 1: this.first_name = ((System.Windows.Controls.TextBox)(target)); #line 39 "..\..\SignUp.xaml" this.first_name.TextChanged += new System.Windows.Controls.TextChangedEventHandler(this.first_name_TextChanged); #line default #line hidden return; case 2: this.last_name = ((System.Windows.Controls.TextBox)(target)); return; case 3: this.email = ((System.Windows.Controls.TextBox)(target)); return; case 4: this.mobile = ((System.Windows.Controls.TextBox)(target)); return; case 5: this.password = ((System.Windows.Controls.PasswordBox)(target)); return; case 6: this.confirm_password = ((System.Windows.Controls.PasswordBox)(target)); return; case 7: this.security_question = ((System.Windows.Controls.ComboBox)(target)); return; case 8: this.security_answer = ((System.Windows.Controls.TextBox)(target)); return; case 9: this.forgot_pass_submit = ((System.Windows.Controls.Button)(target)); #line 62 "..\..\SignUp.xaml" this.forgot_pass_submit.Click += new System.Windows.RoutedEventHandler(this.forgot_pass_submit_Click); #line default #line hidden return; case 10: #line 65 "..\..\SignUp.xaml" ((System.Windows.Documents.Hyperlink)(target)).Click += new System.Windows.RoutedEventHandler(this.Hyperlink_Click_2); #line default #line hidden return; case 11: this.result1 = ((System.Windows.Controls.TextBlock)(target)); return; case 12: this.resultButton = ((System.Windows.Controls.Button)(target)); #line 73 "..\..\SignUp.xaml" this.resultButton.Click += new System.Windows.RoutedEventHandler(this.resultButton_Click); #line default #line hidden return; } this._contentLoaded = true; }
void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) { switch (connectionId) { case 1: this.AddPegawai = ((System.Windows.Controls.Grid)(target)); return; case 2: this.textBlock6 = ((System.Windows.Controls.TextBlock)(target)); return; case 3: this.nopegawai = ((System.Windows.Controls.TextBox)(target)); #line 11 "..\..\tambahpegawai.xaml" this.nopegawai.PreviewTextInput += new System.Windows.Input.TextCompositionEventHandler(this.nopegawai_PreviewTextInput); #line default #line hidden return; case 4: this.textBlock8 = ((System.Windows.Controls.TextBlock)(target)); return; case 5: this.textBlock9 = ((System.Windows.Controls.TextBlock)(target)); return; case 6: this.username = ((System.Windows.Controls.TextBox)(target)); return; case 7: this.textBlock = ((System.Windows.Controls.TextBlock)(target)); return; case 8: this.textBlock1 = ((System.Windows.Controls.TextBlock)(target)); return; case 9: this.textBox = ((System.Windows.Controls.TextBox)(target)); return; case 10: this.textBlock3 = ((System.Windows.Controls.TextBlock)(target)); return; case 11: this.textBlock5 = ((System.Windows.Controls.TextBlock)(target)); return; case 12: this.rumah = ((System.Windows.Controls.TextBox)(target)); return; case 13: this.gridSplitter = ((System.Windows.Controls.GridSplitter)(target)); return; case 14: this.textBlock7 = ((System.Windows.Controls.TextBlock)(target)); return; case 15: this.hp = ((System.Windows.Controls.TextBox)(target)); #line 33 "..\..\tambahpegawai.xaml" this.hp.PreviewTextInput += new System.Windows.Input.TextCompositionEventHandler(this.nohp_PreviewTextInput); #line default #line hidden return; case 16: this.gridSplitter_Copy1 = ((System.Windows.Controls.GridSplitter)(target)); return; case 17: this.save = ((System.Windows.Controls.Button)(target)); #line 44 "..\..\tambahpegawai.xaml" this.save.Click += new System.Windows.RoutedEventHandler(this.save_Click); #line default #line hidden return; case 18: this.textBlock9_Copy = ((System.Windows.Controls.TextBlock)(target)); return; case 19: this.password = ((System.Windows.Controls.PasswordBox)(target)); return; case 20: this.delete = ((System.Windows.Controls.Button)(target)); #line 47 "..\..\tambahpegawai.xaml" this.delete.Click += new System.Windows.RoutedEventHandler(this.cancel_Click); #line default #line hidden return; case 21: this.ttl = ((System.Windows.Controls.DatePicker)(target)); return; } this._contentLoaded = true; }
void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) { switch (connectionId) { case 1: #line 12 "..\..\..\..\View\windows\wd_changePassword.xaml" ((AdministratorApp.View.windows.wd_changePassword)(target)).Loaded += new System.Windows.RoutedEventHandler(this.Window_Loaded); #line default #line hidden #line 12 "..\..\..\..\View\windows\wd_changePassword.xaml" ((AdministratorApp.View.windows.wd_changePassword)(target)).Closing += new System.ComponentModel.CancelEventHandler(this.Window_Closing); #line default #line hidden #line 12 "..\..\..\..\View\windows\wd_changePassword.xaml" ((AdministratorApp.View.windows.wd_changePassword)(target)).KeyDown += new System.Windows.Input.KeyEventHandler(this.HandleKeyPress); #line default #line hidden #line 12 "..\..\..\..\View\windows\wd_changePassword.xaml" ((AdministratorApp.View.windows.wd_changePassword)(target)).Unloaded += new System.Windows.RoutedEventHandler(this.Window_Unloaded); #line default #line hidden return; case 2: this.grid_main = ((System.Windows.Controls.Grid)(target)); return; case 3: this.btn_colse = ((System.Windows.Controls.Button)(target)); #line 24 "..\..\..\..\View\windows\wd_changePassword.xaml" this.btn_colse.Click += new System.Windows.RoutedEventHandler(this.Btn_colse_Click); #line default #line hidden return; case 4: this.txt_title = ((System.Windows.Controls.TextBlock)(target)); return; case 5: this.grid_mainGrid = ((System.Windows.Controls.Grid)(target)); return; case 6: this.tb_oldPassword = ((System.Windows.Controls.TextBox)(target)); return; case 7: this.pb_oldPassword = ((System.Windows.Controls.PasswordBox)(target)); #line 71 "..\..\..\..\View\windows\wd_changePassword.xaml" this.pb_oldPassword.PasswordChanged += new System.Windows.RoutedEventHandler(this.Tb_validateEmptyTextChange); #line default #line hidden #line 72 "..\..\..\..\View\windows\wd_changePassword.xaml" this.pb_oldPassword.LostFocus += new System.Windows.RoutedEventHandler(this.Tb_validateEmptyLostFocus); #line default #line hidden return; case 8: this.tt_oldPassword = ((System.Windows.Controls.ToolTip)(target)); return; case 9: this.p_errorOldPassword = ((System.Windows.Shapes.Path)(target)); return; case 10: this.tt_errorOldPassword = ((System.Windows.Controls.ToolTip)(target)); return; case 11: this.p_showOldPassword = ((System.Windows.Shapes.Path)(target)); #line 96 "..\..\..\..\View\windows\wd_changePassword.xaml" this.p_showOldPassword.MouseEnter += new System.Windows.Input.MouseEventHandler(this.P_showOldPassword_MouseEnter); #line default #line hidden #line 97 "..\..\..\..\View\windows\wd_changePassword.xaml" this.p_showOldPassword.MouseLeave += new System.Windows.Input.MouseEventHandler(this.P_showOldPassword_MouseLeave); #line default #line hidden return; case 12: this.tb_newPassword = ((System.Windows.Controls.TextBox)(target)); return; case 13: this.pb_newPassword = ((System.Windows.Controls.PasswordBox)(target)); #line 118 "..\..\..\..\View\windows\wd_changePassword.xaml" this.pb_newPassword.PasswordChanged += new System.Windows.RoutedEventHandler(this.Tb_validateEmptyTextChange); #line default #line hidden #line 119 "..\..\..\..\View\windows\wd_changePassword.xaml" this.pb_newPassword.LostFocus += new System.Windows.RoutedEventHandler(this.Tb_validateEmptyLostFocus); #line default #line hidden return; case 14: this.tt_newPassword = ((System.Windows.Controls.ToolTip)(target)); return; case 15: this.p_errorNewPassword = ((System.Windows.Shapes.Path)(target)); return; case 16: this.tt_errorNewPassword = ((System.Windows.Controls.ToolTip)(target)); return; case 17: this.p_showNewPassword = ((System.Windows.Shapes.Path)(target)); #line 143 "..\..\..\..\View\windows\wd_changePassword.xaml" this.p_showNewPassword.MouseEnter += new System.Windows.Input.MouseEventHandler(this.P_showNewPassword_MouseEnter); #line default #line hidden #line 144 "..\..\..\..\View\windows\wd_changePassword.xaml" this.p_showNewPassword.MouseLeave += new System.Windows.Input.MouseEventHandler(this.P_showNewPassword_MouseLeave); #line default #line hidden return; case 18: this.tb_confirmPassword = ((System.Windows.Controls.TextBox)(target)); return; case 19: this.pb_confirmPassword = ((System.Windows.Controls.PasswordBox)(target)); #line 163 "..\..\..\..\View\windows\wd_changePassword.xaml" this.pb_confirmPassword.PasswordChanged += new System.Windows.RoutedEventHandler(this.Tb_validateEmptyTextChange); #line default #line hidden #line 164 "..\..\..\..\View\windows\wd_changePassword.xaml" this.pb_confirmPassword.LostFocus += new System.Windows.RoutedEventHandler(this.Tb_validateEmptyLostFocus); #line default #line hidden return; case 20: this.tt_confirmPassword = ((System.Windows.Controls.ToolTip)(target)); return; case 21: this.p_errorConfirmPassword = ((System.Windows.Shapes.Path)(target)); return; case 22: this.tt_errorConfirmPassword = ((System.Windows.Controls.ToolTip)(target)); return; case 23: this.p_showConfirmPassword = ((System.Windows.Shapes.Path)(target)); #line 188 "..\..\..\..\View\windows\wd_changePassword.xaml" this.p_showConfirmPassword.MouseEnter += new System.Windows.Input.MouseEventHandler(this.P_showConfirmPassword_MouseEnter); #line default #line hidden #line 189 "..\..\..\..\View\windows\wd_changePassword.xaml" this.p_showConfirmPassword.MouseLeave += new System.Windows.Input.MouseEventHandler(this.P_showConfirmPassword_MouseLeave); #line default #line hidden return; case 24: this.btn_save = ((System.Windows.Controls.Button)(target)); #line 194 "..\..\..\..\View\windows\wd_changePassword.xaml" this.btn_save.Click += new System.Windows.RoutedEventHandler(this.Btn_save_Click); #line default #line hidden return; } this._contentLoaded = true; }
void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) { switch (connectionId) { case 1: this.CajaLogin = ((CajaIndigo.MainWindow)(target)); #line 4 "..\..\..\..\..\Vista\Login\Login.xaml" this.CajaLogin.Closing += new System.ComponentModel.CancelEventHandler(this.CajaLogin_Closing); #line default #line hidden #line 4 "..\..\..\..\..\Vista\Login\Login.xaml" this.CajaLogin.Closed += new System.EventHandler(this.CajaLogin_Closed); #line default #line hidden #line 4 "..\..\..\..\..\Vista\Login\Login.xaml" this.CajaLogin.Loaded += new System.Windows.RoutedEventHandler(this.CajaLogin_Loaded); #line default #line hidden return; case 2: this.button1 = ((System.Windows.Controls.Button)(target)); #line 6 "..\..\..\..\..\Vista\Login\Login.xaml" this.button1.Click += new System.Windows.RoutedEventHandler(this.button1_Click); #line default #line hidden return; case 3: this.label4 = ((System.Windows.Controls.Label)(target)); return; case 4: this.image1 = ((System.Windows.Controls.Image)(target)); return; case 5: this.textUser = ((System.Windows.Controls.TextBox)(target)); return; case 6: this.label1 = ((System.Windows.Controls.Label)(target)); return; case 7: this.passwordBox = ((System.Windows.Controls.PasswordBox)(target)); return; case 8: this.checkBox1 = ((System.Windows.Controls.CheckBox)(target)); return; case 9: this.label2 = ((System.Windows.Controls.Label)(target)); return; case 10: this.GDConfigSAP = ((System.Windows.Controls.Grid)(target)); return; case 11: this.label3 = ((System.Windows.Controls.Label)(target)); return; case 12: this.txtIdSistema = ((System.Windows.Controls.TextBox)(target)); return; case 13: this.label5 = ((System.Windows.Controls.Label)(target)); return; case 14: this.txtInstancia = ((System.Windows.Controls.TextBox)(target)); return; case 15: this.label6 = ((System.Windows.Controls.Label)(target)); return; case 16: this.txtMandante = ((System.Windows.Controls.TextBox)(target)); return; case 17: this.label7 = ((System.Windows.Controls.Label)(target)); return; case 18: this.txtSapRouter = ((System.Windows.Controls.TextBox)(target)); return; case 19: this.label8 = ((System.Windows.Controls.Label)(target)); return; case 20: this.txtServer = ((System.Windows.Controls.TextBox)(target)); return; case 21: this.label9 = ((System.Windows.Controls.Label)(target)); return; case 22: this.txtIdioma = ((System.Windows.Controls.TextBox)(target)); return; case 23: this.btnConfig = ((System.Windows.Controls.Button)(target)); #line 28 "..\..\..\..\..\Vista\Login\Login.xaml" this.btnConfig.Click += new System.Windows.RoutedEventHandler(this.btnConfig_Click); #line default #line hidden return; case 24: this.label10 = ((System.Windows.Controls.TextBox)(target)); return; case 25: this.lblVersion = ((System.Windows.Controls.Label)(target)); return; } this._contentLoaded = true; }
void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) { switch (connectionId) { case 1: this.TaiKhoanTextBox = ((System.Windows.Controls.TextBox)(target)); return; case 2: this.PasswordTextBox = ((System.Windows.Controls.PasswordBox)(target)); return; case 3: this.RepasswordTextBox = ((System.Windows.Controls.PasswordBox)(target)); return; case 4: this.HoTenTextBox = ((System.Windows.Controls.TextBox)(target)); return; case 5: this.DiaChiTextBox = ((System.Windows.Controls.TextBox)(target)); return; case 6: this.SDTTextBox = ((System.Windows.Controls.TextBox)(target)); return; case 7: this.EmailTextBox = ((System.Windows.Controls.TextBox)(target)); return; case 8: #line 31 "..\..\RegisterWindow.xaml" ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.ButtonNhapLai_Click); #line default #line hidden return; case 9: #line 32 "..\..\RegisterWindow.xaml" ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.ButtonDangKy_Click); #line default #line hidden return; case 10: #line 33 "..\..\RegisterWindow.xaml" ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.ButtonDong_Click); #line default #line hidden return; } this._contentLoaded = true; }
void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) { switch (connectionId) { case 1: this.textBoxName = ((System.Windows.Controls.TextBox)(target)); #line 25 "..\..\RegisterWindow.xaml" this.textBoxName.LostFocus += new System.Windows.RoutedEventHandler(this.textBoxName_LostFocus); #line default #line hidden return; case 2: this.fakeTextBoxName = ((System.Windows.Controls.TextBox)(target)); #line 27 "..\..\RegisterWindow.xaml" this.fakeTextBoxName.GotFocus += new System.Windows.RoutedEventHandler(this.fakeTextBoxName_GotFocus); #line default #line hidden return; case 3: this.emptyNameMessage = ((System.Windows.Controls.TextBlock)(target)); return; case 4: this.textBoxSurname = ((System.Windows.Controls.TextBox)(target)); #line 37 "..\..\RegisterWindow.xaml" this.textBoxSurname.LostFocus += new System.Windows.RoutedEventHandler(this.textBoxSurname_LostFocus); #line default #line hidden return; case 5: this.fakeTextBoxSurname = ((System.Windows.Controls.TextBox)(target)); #line 39 "..\..\RegisterWindow.xaml" this.fakeTextBoxSurname.GotFocus += new System.Windows.RoutedEventHandler(this.fakeTextBoxSurname_GotFocus); #line default #line hidden return; case 6: this.emptySurnameMessage = ((System.Windows.Controls.TextBlock)(target)); return; case 7: this.textBoxEmail = ((System.Windows.Controls.TextBox)(target)); #line 49 "..\..\RegisterWindow.xaml" this.textBoxEmail.LostFocus += new System.Windows.RoutedEventHandler(this.textBoxEmail_LostFocus); #line default #line hidden return; case 8: this.fakeTextBoxEmail = ((System.Windows.Controls.TextBox)(target)); #line 51 "..\..\RegisterWindow.xaml" this.fakeTextBoxEmail.GotFocus += new System.Windows.RoutedEventHandler(this.fakeTextBoxEmail_GotFocus); #line default #line hidden return; case 9: this.emptyEmailMessage = ((System.Windows.Controls.TextBlock)(target)); return; case 10: this.existingEmailMessage = ((System.Windows.Controls.TextBlock)(target)); return; case 11: this.passwordBoxPassword = ((System.Windows.Controls.PasswordBox)(target)); #line 65 "..\..\RegisterWindow.xaml" this.passwordBoxPassword.LostFocus += new System.Windows.RoutedEventHandler(this.passwordBoxPassword_LostFocus); #line default #line hidden return; case 12: this.fakePasswordBoxPassword = ((System.Windows.Controls.TextBox)(target)); #line 67 "..\..\RegisterWindow.xaml" this.fakePasswordBoxPassword.GotFocus += new System.Windows.RoutedEventHandler(this.fakePasswordBoxPassword_GotFocus); #line default #line hidden return; case 13: this.emptyPasswordMessage = ((System.Windows.Controls.TextBlock)(target)); return; case 14: this.invalidPasswordMessage = ((System.Windows.Controls.TextBlock)(target)); return; case 15: #line 75 "..\..\RegisterWindow.xaml" ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Button_Submit_Click); #line default #line hidden return; case 16: #line 76 "..\..\RegisterWindow.xaml" ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Button_Back_Click); #line default #line hidden return; } this._contentLoaded = true; }