Inheritance: System.Windows.Controls.Primitives.TextBoxBase, IAddChild, ITextBoxViewHost
Esempio n. 1
1
 private void for_MouseDown(object sender, MouseButtonEventArgs e)
 {
     SolidColorBrush[] brushes = new SolidColorBrush[]
                                 {   Brushes.Green, Brushes.BurlyWood,Brushes.CadetBlue,
                                     Brushes.Gray,Brushes.Chartreuse,Brushes.Chocolate,
                                     Brushes.AliceBlue,Brushes.Coral,Brushes.CornflowerBlue,
                                     Brushes.AntiqueWhite,Brushes.Cornsilk,Brushes.Crimson,
                                     Brushes.Aqua,Brushes.Cyan,Brushes.DarkBlue,Brushes.DarkCyan,
                                     Brushes.Aquamarine,Brushes.DarkGoldenrod,Brushes.DarkGray,
                                     Brushes.Azure,Brushes.DarkGreen,Brushes.DarkKhaki,
                                     Brushes.Beige,Brushes.DarkMagenta,Brushes.DarkOliveGreen,
                                     Brushes.Bisque,Brushes.DarkOrange,Brushes.DarkOrchid,
                                     Brushes.Black,Brushes.DarkRed,Brushes.DarkSalmon,
                                     Brushes.BlanchedAlmond,Brushes.DarkSeaGreen,Brushes.DarkSlateBlue,
                                     Brushes.Blue,Brushes.DarkSlateGray,Brushes.DarkTurquoise,
                                     Brushes.BlueViolet,Brushes.Brown,Brushes.DarkViolet
                                 };
     TextBox b = new TextBox() { Text = "Label " + contC };
     b.Name = "s" + contador;
     b.Background = brushes[new Random().Next(brushes.Length)];
     b.HorizontalAlignment = System.Windows.HorizontalAlignment.Left;
     b.VerticalAlignment = System.Windows.VerticalAlignment.Top;
     b.PreviewMouseLeftButtonDown += new System.Windows.Input.MouseButtonEventHandler(this.TextBox_PreviewMouseLeftButtonDown);
     b.PreviewMouseDown += new System.Windows.Input.MouseButtonEventHandler(this.TextBox_PreviewDown);
     this.workSpace.Children.Add(b);
     b.Margin = new Thickness(0, 0, 0, 0);
     contC++;
 }
 public UIElement CreateContent(string defaultText)
 {
     TextBox textBox_textEntry = new TextBox();
     textBox_textEntry.TextChanged += (sender, args) => { Text = textBox_textEntry.Text; };
     textBox_textEntry.Text = defaultText;
     return textBox_textEntry;
 }
Esempio n. 3
0
 public static void Alphanumeric(KeyEventArgs e, TextBox tb)
 {
     if ((e.Key < Key.D0 || e.Key > Key.D9) && ((e.Key < Key.NumPad0) || (e.Key > Key.NumPad9)) && ((e.Key < Key.A) || (e.Key > Key.Z)) && (e.Key != Key.OemMinus))
     {
         e.Handled = true;
     }
 }
Esempio n. 4
0
 public static void OnlyNumbers(KeyEventArgs e, TextBox textBox)
 {
     if ((e.Key < Key.D0 || e.Key > Key.D9) && (e.Key < Key.NumPad0 || e.Key > Key.NumPad9))
     {
         e.Handled = true;
     }
 }
Esempio n. 5
0
        internal static bool IsNonEmpty(TextBox input)
        {
            bool result = false;
            try
            {
                if (false == string.IsNullOrEmpty(input.Text))
                {
                    SetToDefaultStyle(input);

                    result = true;
                }
                else
                {
                    Style textBoxErrorStyle;
                    FrameworkElement frameworkElement;
                    frameworkElement = new FrameworkElement();
                    textBoxErrorStyle = (Style)frameworkElement.TryFindResource("textBoxEmptyErrorStyle");
                    input.Style = textBoxErrorStyle;
                }
            }
            catch (Exception ex)
            {
                Logger.LogException(ex);
            }

            return result;
        }
Esempio n. 6
0
 public static void OnlyNumbersAndCommas(KeyEventArgs e, TextBox tb)
 {
     if (e.Key != Key.Decimal && e.Key != Key.OemComma && (e.Key < Key.D0 || e.Key > Key.D9) && (e.Key < Key.NumPad0 || e.Key > Key.NumPad9))
     {
         e.Handled = true;
     }
 }
 private static double? GetOverride(TextBox box)
 {
     double value;
     if (double.TryParse(box.Text, out value))
         return value;
     return null;
 }
Esempio n. 8
0
        public KinectDance(double layoutHeight, double layoutWidth, List<TextBlock> menus, Style mouseOverStyle, Border menuBorder,TextBox debugBox = null)
        {
            _layoutHeight = layoutHeight;
            _layoutWidth = layoutWidth;
            _debugBox = debugBox;
            _menus = menus;
            _menuBorder = menuBorder;
            _mouseOverStyle = mouseOverStyle;

            _kinect = KinectSensor.KinectSensors.FirstOrDefault();

            if (_kinect == null) return;
            //_kinect.SkeletonStream.TrackingMode = SkeletonTrackingMode.Seated;
            _kinect.Start();

            _kinect.ColorStream.Enable();
            _kinect.SkeletonStream.Enable(new TransformSmoothParameters
                {
                    Smoothing = 0.7f,
                    Correction = 0.3f,
                    Prediction = 0.4f,
                    JitterRadius = 0.5f,
                    MaxDeviationRadius = 0.5f
                });

            _kinect.SkeletonFrameReady += kinect_SkeletonFrameReady;
        }
Esempio n. 9
0
        public override void OnApplyTemplate()
        {
            if (PART_TextBox != null)
            {
                PART_TextBox.KeyDown -= PART_TextBox_KeyDown;
                PART_TextBox.SelectionChanged -= PART_TextBox_SelectionChanged;
                PART_TextBox.MouseLeftButtonDown -= PART_TextBox_MouseLeftButtonDown;
                PART_TextBox.MouseLeftButtonUp -= PART_TextBox_MouseLeftButtonUp;
            }

            base.OnApplyTemplate();

            PART_TextBox = GetTemplateChild(TextBoxName) as TextBox;

            if (PART_TextBox != null)
            {
                PART_TextBox.IsReadOnly = true;
                PART_TextBox.Background = null;
                PART_TextBox.KeyDown += PART_TextBox_KeyDown;
                PART_TextBox.SelectionChanged += PART_TextBox_SelectionChanged;
                PART_TextBox.MouseLeftButtonDown += PART_TextBox_MouseLeftButtonDown;
                PART_TextBox.MouseLeftButtonUp += PART_TextBox_MouseLeftButtonUp;
            }

            OnDataChanged(null);
        }
Esempio n. 10
0
        public static void GenereateFields()
        {
            // Get the Grid from the MainWindow
            Grid AuthenticationGrid = ((MainWindow)System.Windows.Application.Current.MainWindow).AuthenticationGrid;

            // Build a list of Digest Auth Fields
            List<string> fields = new List<string>();
            fields.Add("Username");
            fields.Add("Password");

            for (int i = 0; i < fields.Count; i++)
            {
                // Add a row to the AuthGrid
                RowDefinition rowDefinition = new RowDefinition();
                rowDefinition.Height = GridLength.Auto;
                AuthenticationGrid.RowDefinitions.Add(rowDefinition);

                // Add a Label
                Label label = new Label();
                label.SetValue(Grid.RowProperty, i + 1);
                label.SetValue(Grid.ColumnProperty, 0);
                label.Name = "AuthenticationKey" + i;
                label.Content = fields[i] + ":";
                AuthenticationGrid.Children.Add(label);

                // Add a textbox
                TextBox textBox = new TextBox();
                textBox.SetValue(Grid.RowProperty, i + 1);
                textBox.SetValue(Grid.ColumnProperty, 1);
                textBox.Name = "AuthenticationValue" + i;
                AuthenticationGrid.Children.Add(textBox);
            }
        }
        /// <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());
            }
        }
Esempio n. 12
0
        public KinectControl(HoverButton kinectButton, double layoutHeight, double layoutWidth, List<Button> buttons, TextBox debugBox = null)
        {
            _kinectButton = kinectButton;
            _layoutHeight = layoutHeight;
            _layoutWidth = layoutWidth;
            _buttons = buttons;
            _debugBox = debugBox;

            _kinect = KinectSensor.KinectSensors.FirstOrDefault();

            if (_kinect != null)
            {
                _kinect.Start();

                _kinect.ColorStream.Enable();
                _kinect.SkeletonStream.Enable(new TransformSmoothParameters
                    {
                        Smoothing = 0.7f,
                        Correction = 0.1f,
                        Prediction = 0.1f,
                        JitterRadius = 0.05f,
                        MaxDeviationRadius = 0.05f
                    });

                _kinect.SkeletonFrameReady += kinect_SkeletonFrameReady;
            }

            _activeRecognizer = CreateRecognizer();
            _kinectButton.Click += KinectButton_Click;
        }
        public CustomerInfoSearch(ICollectionView filteredList, TextBox textEdit)
        {
            string filterText = string.Empty;

            filteredList.Filter = delegate(object obj)
            {
                if (String.IsNullOrEmpty(filterText))
                {
                    return true;
                }
                ModelCustomer str = obj as ModelCustomer;
                if (str.UserName==null)
                {
                    return true;
                }
                if (str.UserName.ToUpper().Contains(filterText.ToUpper()))
                {
                    return true;
                }
                else
                {
                    return false;
                }
            };
            textEdit.TextChanged += delegate
            {
                filterText = textEdit.Text;
                filteredList.Refresh();
            };
        }
 private static int toInt(TextBox tb)
 {
     if (string.IsNullOrEmpty(tb.Text))
         return 0;
     else
         return Convert.ToInt32(tb.Text);
 }
Esempio n. 15
0
        private void lstAdapters_SelectionChanged(object sender, SelectionChangedEventArgs e)
        {
            lstAdapterItem selItem = ((lstAdapterItem)lstAdapters.SelectedItem);
            TextBox dnsBox = new TextBox() { Text = selItem.PrimaryDNS };

            TiltEffect.SetIsTiltEnabled(dnsBox, true);

            CustomMessageBox messageBox = new CustomMessageBox()
            {
                Caption = "Edit DNS for " + selItem.Name,
                Message = "Primary DNS Server:",
                Content = dnsBox,
                LeftButtonContent = "save",
                RightButtonContent = "cancel",
                IsFullScreen = false
            };

            messageBox.Dismissed += (s1, e1) =>
            {
                if (e1.Result == CustomMessageBoxResult.LeftButton)
                {
                    Registry.SetMultiStringValue(selItem.KeyRoot, selItem.KeyPath, "DNS", new string[] { dnsBox.Text });
                    //TODO: Clear the list first
                    refreshAdapters();
                }
                //TODO: Fix this
                //lstAdapters.SelectedIndex = -1;
            };

            messageBox.Show();
        }
Esempio n. 16
0
 public StateChangeAdorner(TextBox adornedElement, StateChange change)
     : base(adornedElement)
 {
     this.text.FontSize = adornedElement.FontSize * 0.80;
     this.text.Text = change.Variable + " = " + change.Value;
     this.border.Child = this.text;
 }
 public void InitializeComponent()
 {
     if (!this._contentLoaded)
     {
         this._contentLoaded = true;
         Application.LoadComponent(this, new Uri("/TWC.OVP;component/Controls/ErrorMessageBox.xaml", UriKind.Relative));
         this.LayoutRoot = (Grid) base.FindName("LayoutRoot");
         this.DetailsEnabledStates = (VisualStateGroup) base.FindName("DetailsEnabledStates");
         this.ErrorMessageDetailDisabled = (VisualState) base.FindName("ErrorMessageDetailDisabled");
         this.ErrorMessageDetailEnabled = (VisualState) base.FindName("ErrorMessageDetailEnabled");
         this.DetailsStates = (VisualStateGroup) base.FindName("DetailsStates");
         this.DetailsVisible = (VisualState) base.FindName("DetailsVisible");
         this.DetailsNotVisible = (VisualState) base.FindName("DetailsNotVisible");
         this.BackgroundRectangle = (Rectangle) base.FindName("BackgroundRectangle");
         this.InnerDialogGrid = (Grid) base.FindName("InnerDialogGrid");
         this.DialogRectangle = (Rectangle) base.FindName("DialogRectangle");
         this.CloseButton = (Button) base.FindName("CloseButton");
         this.ErrorMessageTitleTextBlock = (TextBlock) base.FindName("ErrorMessageTitleTextBlock");
         this.ErrorMessageTextBlock = (TextBlock) base.FindName("ErrorMessageTextBlock");
         this.ButtonOK = (Button) base.FindName("ButtonOK");
         this.Icon = (TextBlock) base.FindName("Icon");
         this.SimpleErrorDetails = (Grid) base.FindName("SimpleErrorDetails");
         this.ShowDetailsToggle = (TextToggleButton) base.FindName("ShowDetailsToggle");
         this.DetailsTextBox = (TextBox) base.FindName("DetailsTextBox");
     }
 }
Esempio n. 18
0
        public static void ShowInfoAppend(TextBox showWin, System.String strInfo)
        {
            System.String strShowInfo = System.String.Empty;

            strShowInfo = strInfo;
            UnitFunClass.ShowMsgInInfoWindow(showWin, LogLevelEnum.LOG_INFO, strShowInfo);
        }
Esempio n. 19
0
        private string GetRemoteProduct(TextBox txtProductID,
            ref RemoteProductServiceProxy.Product product)
        {
            string result = "";

            try
            {
                int productID = Int32.Parse(txtProductID.Text);
                var client =
                    new RemoteProductServiceProxy.ProductServiceClient();
                product = client.GetProduct(productID);

                var sb = new StringBuilder();
                sb.Append("ProductID:" +
                    product.ProductID.ToString() + "\n");
                sb.Append("ProductName:" +
                    product.ProductName + "\n");
                sb.Append("UnitPrice:" +
                    product.UnitPrice.ToString() + "\n");
                sb.Append("RowVersion:");
                foreach (var x in product.RowVersion.AsEnumerable())
                {
                    sb.Append(x.ToString());
                    sb.Append(" ");
                }
                result = sb.ToString();

            }
            catch (Exception ex)
            {
                result = "Exception: " + ex.Message.ToString();
            }

            return result;
        }
Esempio n. 20
0
 public InputKeyHandler(KeyboardExaminer keyboardExaminer, Entity<ReplState> replEntity, TextBox interactiveTextBox, ReplWriter replWriter)
 {
     _keyboardExaminer = keyboardExaminer;
     _replEntity = replEntity;
     _replWriter = replWriter;
     _interactiveTextBox = interactiveTextBox;
 }
Esempio n. 21
0
        //for creating a new terminal
        public PopUpTerminal(Airport airport)
        {
            this.Airport = airport;

            InitializeComponent();

            this.Uid = "1000";
            this.Title = Translator.GetInstance().GetString("PopUpTerminal", this.Uid);

            this.Width = 400;

            this.Height = 200;

            this.WindowStartupLocation = System.Windows.WindowStartupLocation.CenterScreen;

            StackPanel mainPanel = new StackPanel();
            mainPanel.Margin = new Thickness(10, 10, 10, 10);

            ListBox lbTerminal = new ListBox();
            lbTerminal.ItemContainerStyleSelector = new ListBoxItemStyleSelector();
            lbTerminal.SetResourceReference(ListBox.ItemTemplateProperty, "QuickInfoItem");

            mainPanel.Children.Add(lbTerminal);

            // chs 28-01-12: added for name of terminal
            txtName = new TextBox();
            txtName.Background = Brushes.Transparent;
            txtName.BorderBrush = Brushes.Black;
            txtName.IsEnabled = this.Terminal == null;
            txtName.Width = 100;
            txtName.Text = this.Terminal == null ? "Terminal" : this.Terminal.Name;
            lbTerminal.Items.Add(new QuickInfoValue(Translator.GetInstance().GetString("PopUpTerminal","1007"),txtName));

            // chs 11-09-11: added numericupdown for selecting number of gates
            nudGates = new ucNumericUpDown();
            nudGates.Height = 30;
            nudGates.MaxValue = 50;
            nudGates.ValueChanged+=new RoutedPropertyChangedEventHandler<decimal>(nudGates_ValueChanged);
            nudGates.MinValue = 1;

            lbTerminal.Items.Add(new QuickInfoValue(Translator.GetInstance().GetString("PopUpTerminal", "1001"), nudGates));
            /*
            lbTerminal.Items.Add(new QuickInfoValue(Translator.GetInstance().GetString("PopUpTerminal", "1002"), UICreator.CreateTextBlock(string.Format("{0:C}",this.Airport.getTerminalPrice()))));
            lbTerminal.Items.Add(new QuickInfoValue(Translator.GetInstance().GetString("PopUpTerminal", "1003"), UICreator.CreateTextBlock(string.Format("{0:C}",this.Airport.getTerminalGatePrice()))));
            */
            lbTerminal.Items.Add(new QuickInfoValue(Translator.GetInstance().GetString("PopUpTerminal", "1002"), UICreator.CreateTextBlock(new ValueCurrencyConverter().Convert(this.Airport.getTerminalPrice()).ToString())));
            lbTerminal.Items.Add(new QuickInfoValue(Translator.GetInstance().GetString("PopUpTerminal", "1003"), UICreator.CreateTextBlock(new ValueCurrencyConverter().Convert(this.Airport.getTerminalGatePrice()).ToString())));

            txtDaysToCreate = UICreator.CreateTextBlock("0 days");
            lbTerminal.Items.Add(new QuickInfoValue(Translator.GetInstance().GetString("PopUpTerminal", "1004"), txtDaysToCreate));

            txtTotalPrice = UICreator.CreateTextBlock(new ValueCurrencyConverter().Convert(0).ToString());//UICreator.CreateTextBlock(string.Format("{0:C}", 0));
            lbTerminal.Items.Add(new QuickInfoValue(Translator.GetInstance().GetString("PopUpTerminal", "1005"), txtTotalPrice));

            mainPanel.Children.Add(createButtonsPanel());

            nudGates.Value = 1;

            this.Content = mainPanel;
        }
		public GameConsole()
		{
			this.Container = new Canvas
			{

			};

			this.Shade = new Rectangle
			{
				Fill = Brushes.Black,
				Opacity = 0.5
			}.AttachTo(this);

			this.TextBox = new TextBox
			{
				AcceptsReturn = true,
				IsReadOnly = true,

				FontFamily = new FontFamily("Courier New"),
				FontSize = 10,
				Background = Brushes.Transparent,
				BorderThickness = new Thickness(0),
				Foreground = Brushes.Yellow,
			}.AttachTo(this);


		}
Esempio n. 23
0
        private void AddCredit_Click(object sender, RoutedEventArgs e)
        {
            Credits.RowDefinitions.Add(new RowDefinition() { Height = GridLength.Auto });

            WrapPanel wp = new WrapPanel();
            Grid.SetRow(wp, Credits.RowDefinitions.Count - 1);
            Credits.Children.Add(wp);

            TextBox nameBox = new TextBox();
            nameBox.Name = creditname;
            nameBox.MinWidth = 170;
            wp.Children.Add(nameBox);

            Button saveButton = new Button();
            saveButton.Name = savebutton;
            saveButton.Height = 20;
            saveButton.Width = 20;
            saveButton.Margin = new Thickness(10, 0, 0, 0);
            saveButton.Click += new RoutedEventHandler(saveButton_Click);
            Image okImage = new Image();
            okImage.Source = Helpers.BitmapSourceFromBitmap(Exp1.Properties.Resources.ok);
            saveButton.Content = okImage;
            wp.Children.Add(saveButton);

            Button cancelButton = new Button();
            cancelButton.Name = cancelbutton;
            cancelButton.Height = 20;
            cancelButton.Width = 20;
            cancelButton.Margin = new Thickness(10, 0, 0, 0);
            cancelButton.Click += new RoutedEventHandler(cancelButton_Click);
            Image cancelImage = new Image();
            cancelImage.Source = Helpers.BitmapSourceFromBitmap(Exp1.Properties.Resources.cancel);
            cancelButton.Content = cancelImage;
            wp.Children.Add(cancelButton);
        }
Esempio n. 24
0
        private void RecalculateVisibility(object oldValue, object newValue)
        {
            if(AutoChild)
            {
                // when datacontext change is fired but its not loaded, it's quite possible that some Common.Routes are not working yet
                if (newValue == null/* || !IsLoaded*/) 
                    Child = null;
                else
                {
                    EntitySettings es = Navigator.Manager.EntitySettings.TryGetC(newValue.GetType());
                    if (es == null)
                        Child = new TextBox
                        {
                            Text = "No EntitySettings for {0}".FormatWith(newValue.GetType()),
                            Foreground = Brushes.Red,
                            FontWeight = FontWeights.Bold
                        };
                    else
                        Child = es.CreateView((ModifiableEntity)newValue, Common.GetPropertyRoute(this)); 
                }
            }
            if (Child != null)
            {
                if (newValue == null)
                    Child.Visibility = Visibility.Hidden;
                else
                    Child.Visibility = Visibility.Visible;

                if (oldValue != null && newValue != null)
                    Child.BeginAnimation(UIElement.OpacityProperty, animation);
            }
        }
        /// <summary>
        /// Premet de savoir si l'utilisateur utilise a-z ou A-Z 
        /// </summary>
        /// <param name="champ">champ à valider</param>
        /// <returns>Retourne vrai si le champ contient des lettres uniquement</returns>
        private bool utiliseAlphabet(TextBox champ)
        {
            int nbTirets = 0;
            for (int car = 0; car < champ.Text.Length; car++)
            {
                if (champ.Text[car] != '-')
                {
                    if (!((champ.Text[car] >= 97 && champ.Text[car] <= 122) || (champ.Text[car] >= 65 && champ.Text[car] <= 90)))
                    {
                        return false;
                    }
                }
                else
                {
                    nbTirets++;

                    // Si l'utilisateur utilise plus de 2 tirets, le champ n'est pas valide
                    if (nbTirets > 1)
                    {
                        return false;
                    }
                }
            }
            return true;
        }
Esempio n. 26
0
        private void Use_Zip_Code(object sender, System.Windows.RoutedEventArgs e)
        {
            TextBox textBox = new TextBox();
            // restrict input to digits:
            InputScope inputScope = new InputScope();
            InputScopeName inputScopeName = new InputScopeName();
            inputScopeName.NameValue = InputScopeNameValue.Digits;
            inputScope.Names.Add(inputScopeName);
            textBox.InputScope = inputScope;

            CustomMessageBox messageBox = new CustomMessageBox()
            {
                Message = "Enter your US zip code:",
                LeftButtonContent = "okay",
                RightButtonContent = "cancel",
                Content = textBox
            };
            messageBox.Loaded += (a, b) =>
            {
                textBox.Focus();
            };
            messageBox.Show();
            messageBox.Dismissed += (s, args) =>
            {
                if (args.Result == CustomMessageBoxResult.LeftButton)
                {
                    if (textBox.Text.Length >= 5)
                    {
                        geocodeUsingString(textBox.Text);
                    }
                }
            };
        }
        public AutoCompleteTextBox()
        {
            controls = new VisualCollection(this);
            InitializeComponent();

            searchThreshold = 2;        // default threshold to 2 char

            // set up the key press timer
            keypressTimer = new System.Timers.Timer();
            keypressTimer.Elapsed += new System.Timers.ElapsedEventHandler(OnTimedEvent);

            // set up the text box and the combo box
            comboBox = new ComboBox();
            comboBox.IsSynchronizedWithCurrentItem = true;
            comboBox.IsTabStop = false;
            comboBox.SelectionChanged += new SelectionChangedEventHandler(comboBox_SelectionChanged);

            textBox = new TextBox();
            textBox.TextChanged += new TextChangedEventHandler(textBox_TextChanged);
            textBox.VerticalContentAlignment = VerticalAlignment.Center;

            controls.Add(comboBox);
            controls.Add(textBox);

        }
Esempio n. 28
0
        internal static bool IsNumberOnly(TextBox input)
        {
            bool result = false;
            try
            {
                if (Regex.IsMatch(input.Text, @"^\d+$"))
                {
                    SetToDefaultStyle(input);
                    result = true;
                }
                else
                {
                    Style textBoxErrorStyle;
                    FrameworkElement frameworkElement;
                    frameworkElement = new FrameworkElement();
                    //textBoxNormalStyle = (Style)frameworkElement.TryFindResource("textBoxNormalStyle");
                    textBoxErrorStyle = (Style)frameworkElement.TryFindResource("textBoxNumericErrorStyle");
                    input.Style = textBoxErrorStyle;
                }
            }
            catch (Exception ex)
            {
                Logger.LogException(ex);
            }

            return result;
        }
Esempio n. 29
0
        internal static bool IsValidCurrency(TextBox input)
        {
            bool result = false;
            try
            {
                if (input.Text == "0.00")
                {
                    SetToDefaultStyle(input);
                    return true;
                }

                if (false == string.IsNullOrEmpty(input.Text) && Regex.IsMatch(input.Text, @"^[0-9]*(?:\.[0-9]*)?$"))
                {
                    SetToDefaultStyle(input);

                    result = true;
                }
                else
                {
                    Style textBoxErrorStyle;
                    FrameworkElement frameworkElement;
                    frameworkElement = new FrameworkElement();
                    textBoxErrorStyle = (Style)frameworkElement.TryFindResource("textBoxCurrencyErrorStyle");
                    input.Style = textBoxErrorStyle;
                }
            }
            catch (Exception ex)
            {
                Logger.LogException(ex);
            }

            return result;
        }
Esempio n. 30
0
        public BasicsWindow()
        {
            Window basics = new Window
            {
                Title = "Code Basics",
                Height = 400,
                Width = 400,
                FontSize = 20,
            };

            StackPanel sp = new StackPanel();
            basics.Content = sp;

            TextBlock title = new TextBlock
            {
                Text = "Code Basics",
                FontSize = 24,
                TextAlignment = TextAlignment.Center,
            };
            sp.Children.Add(title);

            txtName = new TextBox();
            sp.Children.Add(txtName);
            txtName.Margin = new Thickness(10);

            Button btnSend = new Button
            {
                Content = "Send",
            };
            sp.Children.Add(btnSend);
            btnSend.Margin = new Thickness(10);
            btnSend.Click += BtnSend_Click;

            basics.Show();
        }
Esempio n. 31
0
    public FindAndReplace(System.Windows.Controls.TextBox textBox)
    {
        //
        // Required for Windows Form Designer support
        //
        InitializeComponent();

        //
        // TODO: Add any constructor code after InitializeComponent call
        //
        this.textBox = textBox;
    }
Esempio n. 32
0
 void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
     switch (connectionId)
     {
     case 1:
     this.Check = ((System.Windows.Controls.Button)(target));
     
     #line 9 "..\..\MainWindow.xaml"
     this.Check.Click += new System.Windows.RoutedEventHandler(this.Check_Click);
     
     #line default
     #line hidden
     return;
     case 2:
     this.Exit = ((System.Windows.Controls.Button)(target));
     
     #line 10 "..\..\MainWindow.xaml"
     this.Exit.Click += new System.Windows.RoutedEventHandler(this.Exit_Click);
     
     #line default
     #line hidden
     return;
     case 3:
     this.SearsCheckBox = ((System.Windows.Controls.CheckBox)(target));
     return;
     case 4:
     this.GetFolder = ((System.Windows.Controls.Button)(target));
     
     #line 13 "..\..\MainWindow.xaml"
     this.GetFolder.Click += new System.Windows.RoutedEventHandler(this.GetFolder_Click);
     
     #line default
     #line hidden
     return;
     case 5:
     this.FolderTextBox = ((System.Windows.Controls.TextBox)(target));
     return;
     case 6:
     this.WallmartCheckBox = ((System.Windows.Controls.CheckBox)(target));
     return;
     case 7:
     this.TigerdirectCheckBox = ((System.Windows.Controls.CheckBox)(target));
     return;
     case 8:
     this.GetSource = ((System.Windows.Controls.Button)(target));
     
     #line 20 "..\..\MainWindow.xaml"
     this.GetSource.Click += new System.Windows.RoutedEventHandler(this.GetSource_Click);
     
     #line default
     #line hidden
     return;
     case 9:
     this.SourceTextBox = ((System.Windows.Controls.TextBox)(target));
     return;
     case 10:
     this.ProgressBar = ((System.Windows.Controls.ProgressBar)(target));
     return;
     case 11:
     this.GetUsers = ((System.Windows.Controls.Button)(target));
     
     #line 24 "..\..\MainWindow.xaml"
     this.GetUsers.Click += new System.Windows.RoutedEventHandler(this.GetUsers_Click);
     
     #line default
     #line hidden
     return;
     case 12:
     this.OverstockCheckBox = ((System.Windows.Controls.CheckBox)(target));
     return;
     case 13:
     this.BestbuyCheckBox = ((System.Windows.Controls.CheckBox)(target));
     return;
     case 14:
     this.NeweggCheckBox = ((System.Windows.Controls.CheckBox)(target));
     return;
     case 15:
     this.ToysrusCheckBox = ((System.Windows.Controls.CheckBox)(target));
     return;
     }
     this._contentLoaded = true;
 }
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.TabOne = ((System.Windows.Controls.TabItem)(target));
                return;

            case 2:
                this.dgSongs = ((System.Windows.Controls.DataGrid)(target));

            #line 67 "..\..\WindowSong.xaml"
                this.dgSongs.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.dgSongs_SelectionChanged);

            #line default
            #line hidden
                return;

            case 3:
                this.tbSearchEdit = ((System.Windows.Controls.TextBox)(target));

            #line 68 "..\..\WindowSong.xaml"
                this.tbSearchEdit.TextChanged += new System.Windows.Controls.TextChangedEventHandler(this.tbSearchEdit_TextChanged);

            #line default
            #line hidden
                return;

            case 4:
                this.tbNameEdit = ((System.Windows.Controls.TextBox)(target));
                return;

            case 5:
                this.label = ((System.Windows.Controls.Label)(target));
                return;

            case 6:
                this.btnSave = ((System.Windows.Controls.Button)(target));

            #line 71 "..\..\WindowSong.xaml"
                this.btnSave.Click += new System.Windows.RoutedEventHandler(this.btnSave_Click);

            #line default
            #line hidden
                return;

            case 7:
                this.tbYearEdit = ((System.Windows.Controls.TextBox)(target));
                return;

            case 8:
                this.label_Copy5 = ((System.Windows.Controls.Label)(target));
                return;

            case 9:
                this.label_Copy = ((System.Windows.Controls.Label)(target));
                return;

            case 10:
                this.dgArtistEdit = ((System.Windows.Controls.DataGrid)(target));
                return;

            case 11:
                this.tbSearchArtistEdit = ((System.Windows.Controls.TextBox)(target));

            #line 76 "..\..\WindowSong.xaml"
                this.tbSearchArtistEdit.TextChanged += new System.Windows.Controls.TextChangedEventHandler(this.tbSearchArtistEdit_TextChanged);

            #line default
            #line hidden
                return;

            case 12:
                this.TabTwo = ((System.Windows.Controls.TabItem)(target));
                return;

            case 13:
                this.tbNameAdd = ((System.Windows.Controls.TextBox)(target));
                return;

            case 14:
                this.label_Copy1 = ((System.Windows.Controls.Label)(target));
                return;

            case 15:
                this.label_Copy2 = ((System.Windows.Controls.Label)(target));
                return;

            case 16:
                this.tbYearAdd = ((System.Windows.Controls.TextBox)(target));
                return;

            case 17:
                this.label_Copy3 = ((System.Windows.Controls.Label)(target));
                return;

            case 18:
                this.dgAddSongs = ((System.Windows.Controls.DataGrid)(target));
                return;

            case 19:
                this.btnAdd = ((System.Windows.Controls.Button)(target));

            #line 101 "..\..\WindowSong.xaml"
                this.btnAdd.Click += new System.Windows.RoutedEventHandler(this.btnAdd_Click);

            #line default
            #line hidden
                return;

            case 20:
                this.dgArtistAdd = ((System.Windows.Controls.DataGrid)(target));
                return;

            case 21:
                this.tbSearchArtistAdd = ((System.Windows.Controls.TextBox)(target));

            #line 103 "..\..\WindowSong.xaml"
                this.tbSearchArtistAdd.TextChanged += new System.Windows.Controls.TextChangedEventHandler(this.tbSearchArtistAdd_TextChanged);

            #line default
            #line hidden
                return;

            case 22:
                this.tab = ((System.Windows.Controls.TabItem)(target));
                return;

            case 23:

            #line 110 "..\..\WindowSong.xaml"
                ((System.Windows.Controls.Label)(target)).MouseLeftButtonDown += new System.Windows.Input.MouseButtonEventHandler(this.tabmenu_clicked);

            #line default
            #line hidden
                return;
            }
            this._contentLoaded = true;
        }
Esempio n. 34
0
 public TextBoxOutputter(System.Windows.Controls.TextBox output)
 {
     textBox = output;
 }
Esempio n. 35
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.tabControl = ((System.Windows.Controls.TabControl)(target));
                return;

            case 2:
                this.txtToday = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 3:
                this.txtFileName = ((System.Windows.Controls.TextBox)(target));
                return;

            case 4:
                this.btnBrowse = ((System.Windows.Controls.Button)(target));

            #line 19 "..\..\MainWindow.xaml"
                this.btnBrowse.Click += new System.Windows.RoutedEventHandler(this.btnBrowse_Click);

            #line default
            #line hidden
                return;

            case 5:
                this.btnSaveToFile = ((System.Windows.Controls.Button)(target));

            #line 20 "..\..\MainWindow.xaml"
                this.btnSaveToFile.Click += new System.Windows.RoutedEventHandler(this.btnSaveToFile_Click);

            #line default
            #line hidden
                return;

            case 6:
                this.btnGetFromFile = ((System.Windows.Controls.Button)(target));

            #line 21 "..\..\MainWindow.xaml"
                this.btnGetFromFile.Click += new System.Windows.RoutedEventHandler(this.btnGetFromFile_Click);

            #line default
            #line hidden
                return;

            case 7:
                this.btnSaveToXML = ((System.Windows.Controls.Button)(target));

            #line 22 "..\..\MainWindow.xaml"
                this.btnSaveToXML.Click += new System.Windows.RoutedEventHandler(this.btnSaveToXML_Click);

            #line default
            #line hidden
                return;

            case 8:
                this.txtClock = ((System.Windows.Controls.TextBox)(target));
                return;

            case 9:
                this.txtData = ((System.Windows.Controls.TextBox)(target));
                return;

            case 10:
                this.btnSaveData = ((System.Windows.Controls.Button)(target));

            #line 30 "..\..\MainWindow.xaml"
                this.btnSaveData.Click += new System.Windows.RoutedEventHandler(this.btnSaveData_Click);

            #line default
            #line hidden
                return;

            case 11:
                this.lbData = ((System.Windows.Controls.ListBox)(target));
                return;
            }
            this._contentLoaded = true;
        }
Esempio n. 36
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:

            #line 13 "..\..\..\Dodavanje\Etiketa.xaml"
                ((System.Windows.Input.CommandBinding)(target)).Executed += new System.Windows.Input.ExecutedRoutedEventHandler(this.CommandBinding_Executed);

            #line default
            #line hidden
                return;

            case 2:
                this.Oznaka = ((System.Windows.Controls.Label)(target));
                return;

            case 3:
                this.OznakaBox = ((System.Windows.Controls.TextBox)(target));
                return;

            case 4:
                this.Opis = ((System.Windows.Controls.Label)(target));
                return;

            case 5:
                this.OpisBox = ((System.Windows.Controls.TextBox)(target));
                return;

            case 6:
                this.Boja = ((System.Windows.Controls.Label)(target));
                return;

            case 7:
                this.boja = ((Xceed.Wpf.Toolkit.ColorPicker)(target));
                return;

            case 8:

            #line 58 "..\..\..\Dodavanje\Etiketa.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Button_Click);

            #line default
            #line hidden
                return;

            case 9:

            #line 67 "..\..\..\Dodavanje\Etiketa.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Button_Click_1);

            #line default
            #line hidden
                return;

            case 10:
                this.oznaka_greska = ((System.Windows.Controls.Label)(target));
                return;

            case 11:
                this.opis_greska = ((System.Windows.Controls.Label)(target));
                return;
            }
            this._contentLoaded = true;
        }
Esempio n. 37
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:

            #line 10 "..\..\MainWindow.xaml"
                ((Lab2.MainWindow)(target)).Closing += new System.ComponentModel.CancelEventHandler(this.Window_Closing);

            #line default
            #line hidden
                return;

            case 2:
                this.mainGrid = ((System.Windows.Controls.Grid)(target));
                return;

            case 3:
                this.MainMenu = ((System.Windows.Controls.Menu)(target));
                return;

            case 4:

            #line 32 "..\..\MainWindow.xaml"
                ((System.Windows.Controls.MenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.MenuItem_Click_7);

            #line default
            #line hidden
                return;

            case 5:

            #line 33 "..\..\MainWindow.xaml"
                ((System.Windows.Controls.MenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.MenuItem_Click_6);

            #line default
            #line hidden
                return;

            case 6:

            #line 35 "..\..\MainWindow.xaml"
                ((System.Windows.Controls.MenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.MenuItem_Click_8);

            #line default
            #line hidden
                return;

            case 7:

            #line 36 "..\..\MainWindow.xaml"
                ((System.Windows.Controls.MenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.MenuItem_Click_5);

            #line default
            #line hidden
                return;

            case 8:

            #line 38 "..\..\MainWindow.xaml"
                ((System.Windows.Controls.MenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.MenuItem_Click_4);

            #line default
            #line hidden
                return;

            case 9:

            #line 42 "..\..\MainWindow.xaml"
                ((System.Windows.Controls.MenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.MenuItem_Click);

            #line default
            #line hidden
                return;

            case 10:

            #line 43 "..\..\MainWindow.xaml"
                ((System.Windows.Controls.MenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.MenuItem_Click_1);

            #line default
            #line hidden
                return;

            case 11:

            #line 44 "..\..\MainWindow.xaml"
                ((System.Windows.Controls.MenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.MenuItem_Click_2);

            #line default
            #line hidden
                return;

            case 12:

            #line 45 "..\..\MainWindow.xaml"
                ((System.Windows.Controls.MenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.MenuItem_Click_3);

            #line default
            #line hidden
                return;

            case 13:

            #line 48 "..\..\MainWindow.xaml"
                ((System.Windows.Controls.MenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.MenuItem_Click_10);

            #line default
            #line hidden
                return;

            case 14:

            #line 49 "..\..\MainWindow.xaml"
                ((System.Windows.Controls.MenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.MenuItem_Click_9);

            #line default
            #line hidden
                return;

            case 15:

            #line 50 "..\..\MainWindow.xaml"
                ((System.Windows.Controls.MenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.MenuItem_Click_11);

            #line default
            #line hidden
                return;

            case 16:

            #line 53 "..\..\MainWindow.xaml"
                ((System.Windows.Controls.MenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.MenuItem_Click_21);

            #line default
            #line hidden
                return;

            case 17:

            #line 54 "..\..\MainWindow.xaml"
                ((System.Windows.Controls.MenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.MenuItem_Click_22);

            #line default
            #line hidden
                return;

            case 18:

            #line 59 "..\..\MainWindow.xaml"
                ((System.Windows.Controls.MenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.MenuItem_Click_18);

            #line default
            #line hidden
                return;

            case 19:

            #line 60 "..\..\MainWindow.xaml"
                ((System.Windows.Controls.MenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.MenuItem_Click_19);

            #line default
            #line hidden
                return;

            case 20:

            #line 64 "..\..\MainWindow.xaml"
                ((System.Windows.Controls.MenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.tabItemClick);

            #line default
            #line hidden
                return;

            case 21:

            #line 65 "..\..\MainWindow.xaml"
                ((System.Windows.Controls.MenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.MenuItem_Click_20);

            #line default
            #line hidden
                return;

            case 22:
                this.mainTab = ((System.Windows.Controls.TabControl)(target));
                return;

            case 23:
                this.tabItem1 = ((System.Windows.Controls.TabItem)(target));
                return;

            case 24:
                this.bookPageGrid = ((System.Windows.Controls.Grid)(target));
                return;

            case 25:

            #line 85 "..\..\MainWindow.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Button_Click_3);

            #line default
            #line hidden
                return;

            case 26:

            #line 86 "..\..\MainWindow.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Button_Click_2);

            #line default
            #line hidden
                return;

            case 27:

            #line 87 "..\..\MainWindow.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Button_Click);

            #line default
            #line hidden
                return;

            case 28:

            #line 88 "..\..\MainWindow.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Button_Click_1);

            #line default
            #line hidden
                return;

            case 29:
                this.booksCollection = ((System.Windows.Controls.ListBox)(target));

            #line 92 "..\..\MainWindow.xaml"
                this.booksCollection.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.booksCollection_SelectionChanged);

            #line default
            #line hidden

            #line 92 "..\..\MainWindow.xaml"
                this.booksCollection.MouseDoubleClick += new System.Windows.Input.MouseButtonEventHandler(this.booksCollection_MouseDoubleClick);

            #line default
            #line hidden
                return;

            case 30:

            #line 95 "..\..\MainWindow.xaml"
                ((System.Windows.Controls.MenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.MenuItem_Click_12);

            #line default
            #line hidden
                return;

            case 31:

            #line 96 "..\..\MainWindow.xaml"
                ((System.Windows.Controls.MenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.MenuItem_Click_13);

            #line default
            #line hidden
                return;

            case 32:
                this.bookGrid = ((System.Windows.Controls.Grid)(target));
                return;

            case 33:
                this.bookName = ((System.Windows.Controls.TextBox)(target));
                return;

            case 34:
                this.bookYear = ((System.Windows.Controls.TextBox)(target));
                return;

            case 35:
                this.bookPage = ((System.Windows.Controls.TextBox)(target));
                return;

            case 36:
                this.bookHouse = ((System.Windows.Controls.TextBox)(target));
                return;

            case 37:
                this.bookTags = ((System.Windows.Controls.TextBox)(target));
                return;

            case 38:
                this.bookAuthors = ((System.Windows.Controls.TextBox)(target));
                return;

            case 39:
                this.tabItem2 = ((System.Windows.Controls.TabItem)(target));
                return;

            case 40:
                this.authorPageGrid = ((System.Windows.Controls.Grid)(target));
                return;

            case 41:

            #line 145 "..\..\MainWindow.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Button_Click_8);

            #line default
            #line hidden
                return;

            case 42:

            #line 146 "..\..\MainWindow.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Button_Click_9);

            #line default
            #line hidden
                return;

            case 43:

            #line 147 "..\..\MainWindow.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Button_Click_10);

            #line default
            #line hidden
                return;

            case 44:

            #line 148 "..\..\MainWindow.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Button_Click_11);

            #line default
            #line hidden
                return;

            case 45:
                this.authorsCollection = ((System.Windows.Controls.ListBox)(target));

            #line 151 "..\..\MainWindow.xaml"
                this.authorsCollection.MouseDoubleClick += new System.Windows.Input.MouseButtonEventHandler(this.authorsCollection_MouseDoubleClick);

            #line default
            #line hidden
                return;

            case 46:

            #line 154 "..\..\MainWindow.xaml"
                ((System.Windows.Controls.MenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.MenuItem_Click_14);

            #line default
            #line hidden
                return;

            case 47:

            #line 155 "..\..\MainWindow.xaml"
                ((System.Windows.Controls.MenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.MenuItem_Click_15);

            #line default
            #line hidden
                return;

            case 48:
                this.tabItem3 = ((System.Windows.Controls.TabItem)(target));
                return;

            case 49:
                this.housePageGrid = ((System.Windows.Controls.Grid)(target));
                return;

            case 50:

            #line 199 "..\..\MainWindow.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Button_Click_4);

            #line default
            #line hidden
                return;

            case 51:

            #line 200 "..\..\MainWindow.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Button_Click_5);

            #line default
            #line hidden
                return;

            case 52:

            #line 201 "..\..\MainWindow.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Button_Click_6);

            #line default
            #line hidden
                return;

            case 53:

            #line 202 "..\..\MainWindow.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Button_Click_7);

            #line default
            #line hidden
                return;

            case 54:
                this.housesCollection = ((System.Windows.Controls.ListBox)(target));

            #line 206 "..\..\MainWindow.xaml"
                this.housesCollection.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.housesCollection_SelectionChanged);

            #line default
            #line hidden

            #line 206 "..\..\MainWindow.xaml"
                this.housesCollection.MouseDoubleClick += new System.Windows.Input.MouseButtonEventHandler(this.housesCollection_MouseDoubleClick);

            #line default
            #line hidden
                return;

            case 55:

            #line 209 "..\..\MainWindow.xaml"
                ((System.Windows.Controls.MenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.MenuItem_Click_16);

            #line default
            #line hidden
                return;

            case 56:

            #line 210 "..\..\MainWindow.xaml"
                ((System.Windows.Controls.MenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.MenuItem_Click_17);

            #line default
            #line hidden
                return;

            case 57:
                this.housesGrid = ((System.Windows.Controls.Grid)(target));
                return;

            case 58:
                this.houseName = ((System.Windows.Controls.TextBox)(target));
                return;

            case 59:
                this.houseTown = ((System.Windows.Controls.TextBox)(target));
                return;

            case 60:
                this.houseBooks = ((System.Windows.Controls.TextBox)(target));
                return;
            }
            this._contentLoaded = true;
        }
Esempio n. 38
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:

            #line 4 "..\..\..\..\xaml\Dialog\AddSampleidWindow.xaml"
                ((AIO.xaml.Dialog.AddSampleidWindow)(target)).Loaded += new System.Windows.RoutedEventHandler(this.Window_Loaded);

            #line default
            #line hidden
                return;

            case 2:
                this.label1 = ((System.Windows.Controls.Label)(target));
                return;

            case 3:
                this.label2 = ((System.Windows.Controls.Label)(target));
                return;

            case 4:
                this.tb_sampleid = ((System.Windows.Controls.TextBox)(target));
                return;

            case 5:
                this.label3 = ((System.Windows.Controls.Label)(target));
                return;

            case 6:
                this.label4 = ((System.Windows.Controls.Label)(target));
                return;

            case 7:
                this.tb_productName = ((System.Windows.Controls.TextBox)(target));
                return;

            case 8:
                this.label5 = ((System.Windows.Controls.Label)(target));
                return;

            case 9:
                this.label6 = ((System.Windows.Controls.Label)(target));
                return;

            case 10:
                this.label7 = ((System.Windows.Controls.Label)(target));
                return;

            case 11:
                this.label8 = ((System.Windows.Controls.Label)(target));
                return;

            case 12:
                this.tb_sampleDept = ((System.Windows.Controls.TextBox)(target));
                return;

            case 13:
                this.label10 = ((System.Windows.Controls.Label)(target));
                return;

            case 14:
                this.tb_scompAddr = ((System.Windows.Controls.TextBox)(target));
                return;

            case 15:
                this.label11 = ((System.Windows.Controls.Label)(target));
                return;

            case 16:
                this.label12 = ((System.Windows.Controls.Label)(target));
                return;

            case 17:
                this.tb_sampPerson = ((System.Windows.Controls.TextBox)(target));
                return;

            case 18:
                this.label14 = ((System.Windows.Controls.Label)(target));
                return;

            case 19:
                this.tb_scompCont = ((System.Windows.Controls.TextBox)(target));
                return;

            case 20:
                this.label16 = ((System.Windows.Controls.Label)(target));
                return;

            case 21:
                this.tb_scompPhon = ((System.Windows.Controls.TextBox)(target));
                return;

            case 22:
                this.label17 = ((System.Windows.Controls.Label)(target));
                return;

            case 23:
                this.tb_bsampCompany = ((System.Windows.Controls.TextBox)(target));
                return;

            case 24:
                this.label18 = ((System.Windows.Controls.Label)(target));
                return;

            case 25:
                this.label19 = ((System.Windows.Controls.Label)(target));
                return;

            case 26:
                this.tb_bscompAddr = ((System.Windows.Controls.TextBox)(target));
                return;

            case 27:
                this.label20 = ((System.Windows.Controls.Label)(target));
                return;

            case 28:
                this.tb_bscompCont = ((System.Windows.Controls.TextBox)(target));
                return;

            case 29:
                this.label21 = ((System.Windows.Controls.Label)(target));
                return;

            case 30:
                this.tb_bscompPhon = ((System.Windows.Controls.TextBox)(target));
                return;

            case 31:
                this.label23 = ((System.Windows.Controls.Label)(target));
                return;

            case 32:
                this.label24 = ((System.Windows.Controls.Label)(target));
                return;

            case 33:
                this.label25 = ((System.Windows.Controls.Label)(target));
                return;

            case 34:
                this.tb_shelfLife = ((System.Windows.Controls.TextBox)(target));
                return;

            case 35:
                this.label26 = ((System.Windows.Controls.Label)(target));
                return;

            case 36:
                this.tb_proCompany = ((System.Windows.Controls.TextBox)(target));
                return;

            case 37:
                this.label27 = ((System.Windows.Controls.Label)(target));
                return;

            case 38:
                this.tb_barcode = ((System.Windows.Controls.TextBox)(target));
                return;

            case 39:
                this.label28 = ((System.Windows.Controls.Label)(target));
                return;

            case 40:
                this.tb_procompPhon = ((System.Windows.Controls.TextBox)(target));
                return;

            case 41:
                this.btn_Save = ((System.Windows.Controls.Button)(target));

            #line 45 "..\..\..\..\xaml\Dialog\AddSampleidWindow.xaml"
                this.btn_Save.Click += new System.Windows.RoutedEventHandler(this.btn_Save_Click);

            #line default
            #line hidden
                return;

            case 42:
                this.btn_close = ((System.Windows.Controls.Button)(target));

            #line 46 "..\..\..\..\xaml\Dialog\AddSampleidWindow.xaml"
                this.btn_close.Click += new System.Windows.RoutedEventHandler(this.btn_close_Click);

            #line default
            #line hidden
                return;

            case 43:
                this.label9 = ((System.Windows.Controls.Label)(target));
                return;

            case 44:
                this.label13 = ((System.Windows.Controls.Label)(target));
                return;

            case 45:
                this.label15 = ((System.Windows.Controls.Label)(target));
                return;

            case 46:
                this.dp_prodate = ((System.Windows.Controls.DatePicker)(target));

            #line 50 "..\..\..\..\xaml\Dialog\AddSampleidWindow.xaml"
                this.dp_prodate.SelectedDateChanged += new System.EventHandler <System.Windows.Controls.SelectionChangedEventArgs>(this.dp_prodate_SelectedDateChanged);

            #line default
            #line hidden
                return;

            case 47:
                this.label22 = ((System.Windows.Controls.Label)(target));
                return;

            case 48:
                this.label29 = ((System.Windows.Controls.Label)(target));
                return;

            case 49:
                this.label30 = ((System.Windows.Controls.Label)(target));
                return;

            case 50:
                this.label31 = ((System.Windows.Controls.Label)(target));
                return;

            case 51:
                this.dp_sampleDate = ((System.Windows.Controls.DatePicker)(target));

            #line 55 "..\..\..\..\xaml\Dialog\AddSampleidWindow.xaml"
                this.dp_sampleDate.SelectedDateChanged += new System.EventHandler <System.Windows.Controls.SelectionChangedEventArgs>(this.dp_sampleDate_SelectedDateChanged);

            #line default
            #line hidden
                return;
            }
            this._contentLoaded = true;
        }
Esempio n. 39
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:

            #line 15 "..\..\UcSubC03.xaml"
                ((IeasSubC03.UserControl1)(target)).Loaded += new System.Windows.RoutedEventHandler(this.UserControl_Loaded);

            #line default
            #line hidden
                return;

            case 2:
                this.textBlock = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 3:
                this.sel_bas_empno = ((System.Windows.Controls.TextBox)(target));
                return;

            case 4:
                this.textBlock_Copy = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 5:
                this.sel_bas_name = ((System.Windows.Controls.TextBox)(target));
                return;

            case 6:
                this.textBlock_Copy1 = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 7:
                this.sel_bas_pos = ((System.Windows.Controls.ComboBox)(target));
                return;

            case 8:
                this.textBlock_Copy2 = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 9:
                this.sel_bas_dept = ((System.Windows.Controls.TextBox)(target));
                return;

            case 10:

            #line 34 "..\..\UcSubC03.xaml"
                ((System.Windows.Controls.Image)(target)).MouseDown += new System.Windows.Input.MouseButtonEventHandler(this.Seach_user_id_MouseDown);

            #line default
            #line hidden
                return;

            case 11:
                this.dataGrid2 = ((DevExpress.Xpf.Grid.GridControl)(target));

            #line 40 "..\..\UcSubC03.xaml"
                this.dataGrid2.MouseDoubleClick += new System.Windows.Input.MouseButtonEventHandler(this.TableView2_MouseDoubleClick);

            #line default
            #line hidden
                return;

            case 12:
                this.tableView2 = ((DevExpress.Xpf.Grid.TableView)(target));
                return;

            case 13:
                this.dataGrid = ((DevExpress.Xpf.Grid.GridControl)(target));
                return;

            case 14:
                this.tableView = ((DevExpress.Xpf.Grid.TableView)(target));
                return;

            case 15:
                this.duty_dutcd = ((System.Windows.Controls.ComboBox)(target));
                return;

            case 16:
                this.duty_sdate = ((System.Windows.Controls.DatePicker)(target));
                return;

            case 17:
                this.duty_edate = ((System.Windows.Controls.DatePicker)(target));
                return;

            case 18:
                this.duty_rept = ((System.Windows.Controls.CheckBox)(target));
                return;

            case 19:
                this.duty_empno = ((System.Windows.Controls.TextBox)(target));
                return;

            case 20:
                this.bas_name = ((System.Windows.Controls.TextBox)(target));
                return;
            }
            this._contentLoaded = true;
        }
Esempio n. 40
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.grid = ((System.Windows.Controls.Grid)(target));
                return;

            case 2:
                this.tabControl1 = ((System.Windows.Controls.TabControl)(target));
                return;

            case 3:
                this.tabItem8 = ((System.Windows.Controls.TabItem)(target));
                return;

            case 4:
                this.canvas1 = ((System.Windows.Controls.Canvas)(target));
                return;

            case 5:
                this.button30 = ((System.Windows.Controls.Button)(target));
                return;

            case 6:
                this.button31 = ((System.Windows.Controls.Button)(target));
                return;

            case 7:
                this.listBox5 = ((System.Windows.Controls.ListBox)(target));
                return;

            case 8:
                this.calendar4 = ((System.Windows.Controls.Calendar)(target));
                return;

            case 9:
                this.textBox6 = ((System.Windows.Controls.TextBox)(target));
                return;

            case 10:
                this.tabItem2 = ((System.Windows.Controls.TabItem)(target));
                return;

            case 11:
                this.button2 = ((System.Windows.Controls.Button)(target));
                return;

            case 12:
                this.image2 = ((System.Windows.Controls.Image)(target));
                return;

            case 13:
                this.textBox2 = ((System.Windows.Controls.TextBox)(target));
                return;

            case 14:
                this.tabItem1 = ((System.Windows.Controls.TabItem)(target));
                return;

            case 15:
                this.stackPanel1 = ((System.Windows.Controls.StackPanel)(target));
                return;

            case 16:
                this.checkBox1 = ((System.Windows.Controls.CheckBox)(target));
                return;

            case 17:
                this.button1 = ((System.Windows.Controls.Button)(target));
                return;

            case 18:
                this.label1 = ((System.Windows.Controls.Label)(target));
                return;

            case 19:
                this.image1 = ((System.Windows.Controls.Image)(target));
                return;

            case 20:
                this.calendar1 = ((System.Windows.Controls.Calendar)(target));
                return;

            case 21:
                this.textBox1 = ((System.Windows.Controls.TextBox)(target));
                return;

            case 22:
                this.tabItem3 = ((System.Windows.Controls.TabItem)(target));
                return;

            case 23:
                this.stackPanel2 = ((System.Windows.Controls.StackPanel)(target));
                return;

            case 24:
                this.button3 = ((System.Windows.Controls.Button)(target));
                return;

            case 25:
                this.image3 = ((System.Windows.Controls.Image)(target));
                return;

            case 26:
                this.textBox3 = ((System.Windows.Controls.TextBox)(target));
                return;

            case 27:
                this.listBox1 = ((System.Windows.Controls.ListBox)(target));
                return;

            case 28:
                this.tabItem4 = ((System.Windows.Controls.TabItem)(target));
                return;

            case 29:
                this.stackPanel3 = ((System.Windows.Controls.StackPanel)(target));
                return;

            case 30:
                this.stackPanel4 = ((System.Windows.Controls.StackPanel)(target));
                return;

            case 31:
                this.button4 = ((System.Windows.Controls.Button)(target));
                return;

            case 32:
                this.button5 = ((System.Windows.Controls.Button)(target));
                return;

            case 33:
                this.button6 = ((System.Windows.Controls.Button)(target));
                return;

            case 34:
                this.button7 = ((System.Windows.Controls.Button)(target));
                return;

            case 35:
                this.button8 = ((System.Windows.Controls.Button)(target));
                return;

            case 36:
                this.stackPanel5 = ((System.Windows.Controls.StackPanel)(target));
                return;

            case 37:
                this.stackPanel6 = ((System.Windows.Controls.StackPanel)(target));
                return;

            case 38:
                this.button9 = ((System.Windows.Controls.Button)(target));
                return;

            case 39:
                this.button10 = ((System.Windows.Controls.Button)(target));
                return;

            case 40:
                this.button11 = ((System.Windows.Controls.Button)(target));
                return;

            case 41:
                this.button12 = ((System.Windows.Controls.Button)(target));
                return;

            case 42:
                this.button13 = ((System.Windows.Controls.Button)(target));
                return;

            case 43:
                this.listBox2 = ((System.Windows.Controls.ListBox)(target));

            #line 92 "..\..\..\MainWindow.xaml"
                this.listBox2.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.listBox2_SelectionChanged);

            #line default
            #line hidden
                return;

            case 44:
                this.label2 = ((System.Windows.Controls.Label)(target));
                return;

            case 45:
                this.progressBar1 = ((System.Windows.Controls.ProgressBar)(target));
                return;

            case 46:
                this.tabItem5 = ((System.Windows.Controls.TabItem)(target));
                return;

            case 47:
                this.wrapPanel1 = ((System.Windows.Controls.WrapPanel)(target));
                return;

            case 48:
                this.button14 = ((System.Windows.Controls.Button)(target));
                return;

            case 49:
                this.textBox4 = ((System.Windows.Controls.TextBox)(target));
                return;

            case 50:
                this.comboBox1 = ((System.Windows.Controls.ComboBox)(target));
                return;

            case 51:
                this.checkBox2 = ((System.Windows.Controls.CheckBox)(target));
                return;

            case 52:
                this.calendar2 = ((System.Windows.Controls.Calendar)(target));
                return;

            case 53:
                this.stackPanel7 = ((System.Windows.Controls.StackPanel)(target));
                return;

            case 54:
                this.button15 = ((System.Windows.Controls.Button)(target));
                return;

            case 55:
                this.button16 = ((System.Windows.Controls.Button)(target));
                return;

            case 56:
                this.button17 = ((System.Windows.Controls.Button)(target));
                return;

            case 57:
                this.button18 = ((System.Windows.Controls.Button)(target));
                return;

            case 58:
                this.button19 = ((System.Windows.Controls.Button)(target));
                return;

            case 59:
                this.button20 = ((System.Windows.Controls.Button)(target));
                return;

            case 60:
                this.listBox3 = ((System.Windows.Controls.ListBox)(target));
                return;

            case 61:
                this.tabItem6 = ((System.Windows.Controls.TabItem)(target));
                return;

            case 62:
                this.wrapPanel2 = ((System.Windows.Controls.WrapPanel)(target));
                return;

            case 63:
                this.button21 = ((System.Windows.Controls.Button)(target));
                return;

            case 64:
                this.textBox5 = ((System.Windows.Controls.TextBox)(target));
                return;

            case 65:
                this.comboBox2 = ((System.Windows.Controls.ComboBox)(target));
                return;

            case 66:
                this.checkBox3 = ((System.Windows.Controls.CheckBox)(target));
                return;

            case 67:
                this.calendar3 = ((System.Windows.Controls.Calendar)(target));
                return;

            case 68:
                this.stackPanel8 = ((System.Windows.Controls.StackPanel)(target));
                return;

            case 69:
                this.button22 = ((System.Windows.Controls.Button)(target));
                return;

            case 70:
                this.button23 = ((System.Windows.Controls.Button)(target));
                return;

            case 71:
                this.button24 = ((System.Windows.Controls.Button)(target));
                return;

            case 72:
                this.button25 = ((System.Windows.Controls.Button)(target));
                return;

            case 73:
                this.button26 = ((System.Windows.Controls.Button)(target));
                return;

            case 74:
                this.button27 = ((System.Windows.Controls.Button)(target));
                return;

            case 75:
                this.listBox4 = ((System.Windows.Controls.ListBox)(target));
                return;

            case 76:
                this.tabItem7 = ((System.Windows.Controls.TabItem)(target));
                return;

            case 77:
                this.dockPanel1 = ((System.Windows.Controls.DockPanel)(target));
                return;

            case 78:
                this.button28 = ((System.Windows.Controls.Button)(target));
                return;

            case 79:
                this.button29 = ((System.Windows.Controls.Button)(target));
                return;

            case 80:
                this.tabItem9 = ((System.Windows.Controls.TabItem)(target));
                return;

            case 81:
                this.canvas2 = ((System.Windows.Controls.Canvas)(target));
                return;

            case 82:
                this.toolBarPanel1 = ((System.Windows.Controls.Primitives.ToolBarPanel)(target));
                return;

            case 83:
                this.toolBar1 = ((System.Windows.Controls.ToolBar)(target));
                return;
            }
            this._contentLoaded = true;
        }
Esempio n. 41
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.btnmainexit = ((System.Windows.Controls.Button)(target));

            #line 13 "..\..\CRM_Dashbord.xaml"
                this.btnmainexit.Click += new System.Windows.RoutedEventHandler(this.btnmainexit_Click);

            #line default
            #line hidden
                return;

            case 2:
                this.mhome = ((System.Windows.Controls.MenuItem)(target));
                return;

            case 3:
                this.smnewwalkin = ((System.Windows.Controls.MenuItem)(target));
                return;

            case 4:
                this.smviewwalkin = ((System.Windows.Controls.MenuItem)(target));
                return;

            case 5:
                this.smviewsale = ((System.Windows.Controls.MenuItem)(target));
                return;

            case 6:
                this.smviewreports = ((System.Windows.Controls.MenuItem)(target));
                return;

            case 7:
                this.smiport_export = ((System.Windows.Controls.MenuItem)(target));
                return;

            case 8:
                this.smnewprocurement = ((System.Windows.Controls.MenuItem)(target));
                return;

            case 9:
                this.smviewwarranty = ((System.Windows.Controls.MenuItem)(target));
                return;

            case 10:
                this.smchksataus = ((System.Windows.Controls.MenuItem)(target));
                return;

            case 11:
                this.smextendwarranty = ((System.Windows.Controls.MenuItem)(target));
                return;

            case 12:
                this.sminsurance = ((System.Windows.Controls.MenuItem)(target));
                return;

            case 13:
                this.smviewinsurance = ((System.Windows.Controls.MenuItem)(target));
                return;

            case 14:
                this.smchkstatusinsurance = ((System.Windows.Controls.MenuItem)(target));
                return;

            case 15:
                this.mcalender = ((System.Windows.Controls.MenuItem)(target));
                return;

            case 16:
                this.malerts = ((System.Windows.Controls.MenuItem)(target));
                return;

            case 17:
                this.mforcast = ((System.Windows.Controls.MenuItem)(target));
                return;

            case 18:
                this.txtsearch = ((System.Windows.Controls.TextBox)(target));
                return;

            case 19:
                this.btnsearch = ((System.Windows.Controls.Button)(target));
                return;

            case 20:
                this.btnsales = ((System.Windows.Controls.Button)(target));
                return;

            case 21:
                this.lblsaleMode = ((System.Windows.Controls.Label)(target));
                return;

            case 22:
                this.btnwalkin = ((System.Windows.Controls.Button)(target));
                return;

            case 23:
                this.LBLWALKIN = ((System.Windows.Controls.Label)(target));
                return;

            case 24:
                this.btnearning = ((System.Windows.Controls.Button)(target));
                return;

            case 25:
                this.lblearning = ((System.Windows.Controls.Label)(target));
                return;

            case 26:
                this.btnprogress = ((System.Windows.Controls.Button)(target));
                return;

            case 27:
                this.lblprogress = ((System.Windows.Controls.Label)(target));
                return;

            case 28:
                this.btnpfprocurement = ((System.Windows.Controls.Button)(target));
                return;

            case 29:
                this.lblfproc = ((System.Windows.Controls.Label)(target));
                return;

            case 30:
                this.btnalerts = ((System.Windows.Controls.Button)(target));
                return;

            case 31:
                this.lblalerts = ((System.Windows.Controls.Label)(target));
                return;

            case 32:
                this.btnadminlogin = ((System.Windows.Controls.Button)(target));

            #line 251 "..\..\CRM_Dashbord.xaml"
                this.btnadminlogin.Click += new System.Windows.RoutedEventHandler(this.btnadminlogin_Click);

            #line default
            #line hidden
                return;
            }
            this._contentLoaded = true;
        }
Esempio n. 42
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.lhs = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 2:
                this.rhs = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 3:
                this.lhsOperand = ((System.Windows.Controls.TextBox)(target));
                return;

            case 4:
                this.rhsOperand = ((System.Windows.Controls.TextBox)(target));
                return;

            case 5:
                this.operators = ((System.Windows.Controls.StackPanel)(target));
                return;

            case 6:
                this.addition = ((System.Windows.Controls.RadioButton)(target));
                return;

            case 7:
                this.subtraction = ((System.Windows.Controls.RadioButton)(target));
                return;

            case 8:
                this.multiplication = ((System.Windows.Controls.RadioButton)(target));
                return;

            case 9:
                this.division = ((System.Windows.Controls.RadioButton)(target));
                return;

            case 10:
                this.remainder = ((System.Windows.Controls.RadioButton)(target));
                return;

            case 11:
                this.sin = ((System.Windows.Controls.RadioButton)(target));
                return;

            case 12:
                this.calculate = ((System.Windows.Controls.Button)(target));

            #line 39 "..\..\MainWindow.xaml"
                this.calculate.Click += new System.Windows.RoutedEventHandler(this.calculateClick);

            #line default
            #line hidden
                return;

            case 13:
                this.expression = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 14:
                this.result = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 15:
                this.quit = ((System.Windows.Controls.Button)(target));

            #line 44 "..\..\MainWindow.xaml"
                this.quit.Click += new System.Windows.RoutedEventHandler(this.quitClick);

            #line default
            #line hidden
                return;
            }
            this._contentLoaded = true;
        }
Esempio n. 43
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.textBoxEmission = ((System.Windows.Controls.TextBox)(target));

            #line 34 "..\..\MainWindow.xaml"
                this.textBoxEmission.KeyUp += new System.Windows.Input.KeyEventHandler(this.textBoxEmission_KeyUp);

            #line default
            #line hidden
                return;

            case 2:
                this.textBoxReception = ((System.Windows.Controls.TextBox)(target));
                return;

            case 3:
                this.buttonEnvoyer = ((System.Windows.Controls.Button)(target));

            #line 39 "..\..\MainWindow.xaml"
                this.buttonEnvoyer.Click += new System.Windows.RoutedEventHandler(this.buttonEnvoyer_Click);

            #line default
            #line hidden
                return;

            case 4:
                this.buttonClear = ((System.Windows.Controls.Button)(target));

            #line 40 "..\..\MainWindow.xaml"
                this.buttonClear.Click += new System.Windows.RoutedEventHandler(this.buttonClear_Click);

            #line default
            #line hidden
                return;

            case 5:
                this.buttonTEST = ((System.Windows.Controls.Button)(target));

            #line 41 "..\..\MainWindow.xaml"
                this.buttonTEST.Click += new System.Windows.RoutedEventHandler(this.buttonTEST_Click);

            #line default
            #line hidden
                return;

            case 6:
                this.comboBox = ((System.Windows.Controls.ComboBox)(target));

            #line 42 "..\..\MainWindow.xaml"
                this.comboBox.GotFocus += new System.Windows.RoutedEventHandler(this.comboBox_GotFocus);

            #line default
            #line hidden

            #line 42 "..\..\MainWindow.xaml"
                this.comboBox.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.comboBox_SelectionChanged);

            #line default
            #line hidden
                return;

            case 7:
                this.textBoxData = ((System.Windows.Controls.TextBox)(target));
                return;

            case 8:
                this.image = ((System.Windows.Controls.Image)(target));
                return;

            case 9:
                this.AutomaticMode = ((System.Windows.Controls.Button)(target));

            #line 47 "..\..\MainWindow.xaml"
                this.AutomaticMode.Click += new System.Windows.RoutedEventHandler(this.AutomaticMode_Click);

            #line default
            #line hidden
                return;
            }
            this._contentLoaded = true;
        }
Esempio n. 44
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:

            #line 7 "..\..\..\..\..\Departments\Leave\Add_Leave.xaml"
                ((VI_eLog.Departments.Leave.Add_Leave)(target)).MouseLeftButtonDown += new System.Windows.Input.MouseButtonEventHandler(this.Window_MouseLeftButtonDown);

            #line default
            #line hidden
                return;

            case 2:
                this.Mask_Add = ((System.Windows.Controls.Grid)(target));
                return;

            case 3:
                this.lb_title = ((System.Windows.Controls.Label)(target));
                return;

            case 4:
                this.lbl_partModule = ((System.Windows.Controls.Label)(target));
                return;

            case 5:
                this.lbl_ID = ((System.Windows.Controls.Label)(target));
                return;

            case 6:
                this.btn_confirm = ((System.Windows.Controls.Button)(target));

            #line 24 "..\..\..\..\..\Departments\Leave\Add_Leave.xaml"
                this.btn_confirm.Click += new System.Windows.RoutedEventHandler(this.btn_confirm_Click);

            #line default
            #line hidden
                return;

            case 7:
                this.btn_close = ((System.Windows.Controls.Button)(target));

            #line 25 "..\..\..\..\..\Departments\Leave\Add_Leave.xaml"
                this.btn_close.Click += new System.Windows.RoutedEventHandler(this.btn_close_Click);

            #line default
            #line hidden
                return;

            case 8:
                this.cb_Leaveype = ((System.Windows.Controls.ComboBox)(target));

            #line 27 "..\..\..\..\..\Departments\Leave\Add_Leave.xaml"
                this.cb_Leaveype.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.cb_Leaveype_SelectionChanged);

            #line default
            #line hidden
                return;

            case 9:
                this.cb_Session = ((System.Windows.Controls.ComboBox)(target));

            #line 39 "..\..\..\..\..\Departments\Leave\Add_Leave.xaml"
                this.cb_Session.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.cb_Session_SelectionChanged);

            #line default
            #line hidden
                return;

            case 10:
                this.lbl_ItemType = ((System.Windows.Controls.Label)(target));
                return;

            case 11:
                this.label1 = ((System.Windows.Controls.Label)(target));
                return;

            case 12:
                this.cb_day = ((System.Windows.Controls.ComboBox)(target));
                return;

            case 13:
                this.txt_Leaveno = ((System.Windows.Controls.TextBox)(target));
                return;

            case 14:
                this.button_Attachement = ((System.Windows.Controls.Button)(target));

            #line 49 "..\..\..\..\..\Departments\Leave\Add_Leave.xaml"
                this.button_Attachement.Click += new System.Windows.RoutedEventHandler(this.button_Attachement_Click);

            #line default
            #line hidden
                return;

            case 15:
                this.txt_leaveRemark = ((System.Windows.Controls.TextBox)(target));
                return;

            case 16:
                this.datePicker_Start = ((System.Windows.Controls.DatePicker)(target));

            #line 52 "..\..\..\..\..\Departments\Leave\Add_Leave.xaml"
                this.datePicker_Start.SelectedDateChanged += new System.EventHandler <System.Windows.Controls.SelectionChangedEventArgs>(this.datePicker_Start_SelectedDateChanged);

            #line default
            #line hidden
                return;

            case 17:
                this.datePicker_End = ((System.Windows.Controls.DatePicker)(target));

            #line 53 "..\..\..\..\..\Departments\Leave\Add_Leave.xaml"
                this.datePicker_End.SelectedDateChanged += new System.EventHandler <System.Windows.Controls.SelectionChangedEventArgs>(this.datePicker_End_SelectedDateChanged);

            #line default
            #line hidden
                return;

            case 18:
                this.lbl_partModule_Copy = ((System.Windows.Controls.Label)(target));
                return;

            case 19:
                this.cb_balance = ((System.Windows.Controls.ComboBox)(target));
                return;
            }
            this._contentLoaded = true;
        }
Esempio n. 45
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:

            #line 33 "..\..\MainWindow.xaml"
                ((System.Windows.Controls.Border)(target)).MouseMove += new System.Windows.Input.MouseEventHandler(this.Border_MouseMove);

            #line default
            #line hidden
                return;

            case 2:
                this.ButtonClose = ((System.Windows.Controls.Button)(target));

            #line 45 "..\..\MainWindow.xaml"
                this.ButtonClose.Click += new System.Windows.RoutedEventHandler(this.ButtonClose_Click);

            #line default
            #line hidden
                return;

            case 3:
                this.ButtonHidden = ((System.Windows.Controls.Button)(target));

            #line 60 "..\..\MainWindow.xaml"
                this.ButtonHidden.Click += new System.Windows.RoutedEventHandler(this.ButtonHidden_Click);

            #line default
            #line hidden
                return;

            case 4:
                this.TextBoxFN = ((System.Windows.Controls.TextBox)(target));
                return;

            case 5:
                this.TextBoxLN = ((System.Windows.Controls.TextBox)(target));
                return;

            case 6:
                this.TextBoxP1 = ((System.Windows.Controls.PasswordBox)(target));
                return;

            case 7:
                this.ButtonLogin = ((System.Windows.Controls.Button)(target));

            #line 185 "..\..\MainWindow.xaml"
                this.ButtonLogin.Click += new System.Windows.RoutedEventHandler(this.ButtonLogin_Click);

            #line default
            #line hidden
                return;

            case 8:
                this.ButtonRegistrate = ((System.Windows.Controls.Button)(target));

            #line 220 "..\..\MainWindow.xaml"
                this.ButtonRegistrate.Click += new System.Windows.RoutedEventHandler(this.ButtonRegistrate_Click);

            #line default
            #line hidden
                return;
            }
            this._contentLoaded = true;
        }
Esempio n. 46
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.addr = ((System.Windows.Controls.TextBox)(target));
                return;

            case 2:
                this.title = ((System.Windows.Controls.TextBox)(target));
                return;

            case 3:
                this.message = ((System.Windows.Controls.TextBox)(target));
                return;

            case 4:
                this.outn = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 5:

#line 20 "..\..\MainWindow.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Button_Click);

#line default
#line hidden
                return;

            case 6:
                this.shurl = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 7:
                this.idgew = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 8:
                this.getid = ((System.Windows.Controls.TextBox)(target));
                return;

            case 9:
                this.getillllll = ((System.Windows.Controls.Button)(target));

#line 29 "..\..\MainWindow.xaml"
                this.getillllll.Click += new System.Windows.RoutedEventHandler(this.Button_Click_1);

#line default
#line hidden
                return;

            case 10:
                this.remtem = ((System.Windows.Controls.Button)(target));

#line 30 "..\..\MainWindow.xaml"
                this.remtem.Click += new System.Windows.RoutedEventHandler(this.Remtem_Click);

#line default
#line hidden
                return;

            case 11:
                this.tilet = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 12:
                this.getimes = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 13:
                this.wiudgaziauaifw = ((System.Windows.Controls.Expander)(target));
                return;

            case 14:
                this.servs = ((System.Windows.Controls.CheckBox)(target));

#line 40 "..\..\MainWindow.xaml"
                this.servs.Click += new System.Windows.RoutedEventHandler(this.Servs_Click);

#line default
#line hidden
                return;
            }
            this._contentLoaded = true;
        }
Esempio n. 47
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:

            #line 5 "..\..\..\..\xaml\Dialog\AddOrUpdateCompany.xaml"
                ((AIO.xaml.Dialog.AddOrUpdateCompany)(target)).Loaded += new System.Windows.RoutedEventHandler(this.Window_Loaded);

            #line default
            #line hidden

            #line 5 "..\..\..\..\xaml\Dialog\AddOrUpdateCompany.xaml"
                ((AIO.xaml.Dialog.AddOrUpdateCompany)(target)).Closing += new System.ComponentModel.CancelEventHandler(this.Window_Closing);

            #line default
            #line hidden
                return;

            case 2:
                this.label1 = ((System.Windows.Controls.Label)(target));
                return;

            case 3:
                this.textBoxSysCode = ((System.Windows.Controls.TextBox)(target));
                return;

            case 4:
                this.label2 = ((System.Windows.Controls.Label)(target));
                return;

            case 5:
                this.textBoxStdCode = ((System.Windows.Controls.TextBox)(target));
                return;

            case 6:
                this.label3 = ((System.Windows.Controls.Label)(target));
                return;

            case 7:
                this.textBoxCAllow = ((System.Windows.Controls.TextBox)(target));
                return;

            case 8:
                this.label4 = ((System.Windows.Controls.Label)(target));
                return;

            case 9:
                this.textBoxISSUEAGENCY = ((System.Windows.Controls.TextBox)(target));
                return;

            case 10:
                this.label5 = ((System.Windows.Controls.Label)(target));
                return;

            case 11:
                this.textBoxISSUEDATE = ((System.Windows.Controls.TextBox)(target));
                return;

            case 12:
                this.label6 = ((System.Windows.Controls.Label)(target));
                return;

            case 13:
                this.textBoxPERIODSTART = ((System.Windows.Controls.TextBox)(target));
                return;

            case 14:
                this.label7 = ((System.Windows.Controls.Label)(target));
                return;

            case 15:
                this.textBoxPERIODEND = ((System.Windows.Controls.TextBox)(target));
                return;

            case 16:
                this.label8 = ((System.Windows.Controls.Label)(target));
                return;

            case 17:
                this.textBoxVIOLATENUM = ((System.Windows.Controls.TextBox)(target));
                return;

            case 18:
                this.label9 = ((System.Windows.Controls.Label)(target));
                return;

            case 19:
                this.textBoxLONGITUDE = ((System.Windows.Controls.TextBox)(target));
                return;

            case 20:
                this.label10 = ((System.Windows.Controls.Label)(target));
                return;

            case 21:
                this.textBoxLATITUDE = ((System.Windows.Controls.TextBox)(target));
                return;

            case 22:
                this.label11 = ((System.Windows.Controls.Label)(target));
                return;

            case 23:
                this.textBoxSCOPE = ((System.Windows.Controls.TextBox)(target));
                return;

            case 24:
                this.label12 = ((System.Windows.Controls.Label)(target));
                return;

            case 25:
                this.textBoxPUNISH = ((System.Windows.Controls.TextBox)(target));
                return;

            case 26:
                this.label13 = ((System.Windows.Controls.Label)(target));
                return;

            case 27:
                this.textBoxCompanyID = ((System.Windows.Controls.TextBox)(target));
                return;

            case 28:
                this.label14 = ((System.Windows.Controls.Label)(target));
                return;

            case 29:
                this.textBoxOtherCodeInfo = ((System.Windows.Controls.TextBox)(target));
                return;

            case 30:
                this.label15 = ((System.Windows.Controls.Label)(target));
                return;

            case 31:
                this.textBoxFullName = ((System.Windows.Controls.TextBox)(target));

            #line 36 "..\..\..\..\xaml\Dialog\AddOrUpdateCompany.xaml"
                this.textBoxFullName.TextChanged += new System.Windows.Controls.TextChangedEventHandler(this.textBoxFullName_TextChanged);

            #line default
            #line hidden
                return;

            case 32:
                this.label16 = ((System.Windows.Controls.Label)(target));
                return;

            case 33:
                this.textBoxShortName = ((System.Windows.Controls.TextBox)(target));
                return;

            case 34:
                this.label17 = ((System.Windows.Controls.Label)(target));
                return;

            case 35:
                this.textBoxDisplayName = ((System.Windows.Controls.TextBox)(target));
                return;

            case 36:
                this.label18 = ((System.Windows.Controls.Label)(target));
                return;

            case 37:
                this.textBoxProperty = ((System.Windows.Controls.TextBox)(target));
                return;

            case 38:
                this.label19 = ((System.Windows.Controls.Label)(target));
                return;

            case 39:
                this.textBoxKindCode = ((System.Windows.Controls.TextBox)(target));
                return;

            case 40:
                this.label20 = ((System.Windows.Controls.Label)(target));
                return;

            case 41:
                this.textBoxRegCapital = ((System.Windows.Controls.TextBox)(target));
                return;

            case 42:
                this.label21 = ((System.Windows.Controls.Label)(target));
                return;

            case 43:
                this.textBoxUnit = ((System.Windows.Controls.TextBox)(target));
                return;

            case 44:
                this.textBoxIncorporator = ((System.Windows.Controls.TextBox)(target));

            #line 49 "..\..\..\..\xaml\Dialog\AddOrUpdateCompany.xaml"
                this.textBoxIncorporator.TextChanged += new System.Windows.Controls.TextChangedEventHandler(this.textBoxIncorporator_TextChanged);

            #line default
            #line hidden
                return;

            case 45:
                this.label23 = ((System.Windows.Controls.Label)(target));
                return;

            case 46:
                this.textBoxRegDate = ((System.Windows.Controls.TextBox)(target));
                return;

            case 47:
                this.label24 = ((System.Windows.Controls.Label)(target));
                return;

            case 48:
                this.textBoxDistrictCode = ((System.Windows.Controls.TextBox)(target));
                return;

            case 49:
                this.label25 = ((System.Windows.Controls.Label)(target));
                return;

            case 50:
                this.textBoxAddress = ((System.Windows.Controls.TextBox)(target));

            #line 55 "..\..\..\..\xaml\Dialog\AddOrUpdateCompany.xaml"
                this.textBoxAddress.TextChanged += new System.Windows.Controls.TextChangedEventHandler(this.textBoxAddress_TextChanged);

            #line default
            #line hidden
                return;

            case 51:
                this.label26 = ((System.Windows.Controls.Label)(target));
                return;

            case 52:
                this.textBoxPostCode = ((System.Windows.Controls.TextBox)(target));
                return;

            case 53:
                this.label27 = ((System.Windows.Controls.Label)(target));
                return;

            case 54:
                this.textBoxLinkMan = ((System.Windows.Controls.TextBox)(target));

            #line 59 "..\..\..\..\xaml\Dialog\AddOrUpdateCompany.xaml"
                this.textBoxLinkMan.TextChanged += new System.Windows.Controls.TextChangedEventHandler(this.textBoxLinkMan_TextChanged);

            #line default
            #line hidden
                return;

            case 55:
                this.label28 = ((System.Windows.Controls.Label)(target));
                return;

            case 56:
                this.textBoxLinkInfo = ((System.Windows.Controls.TextBox)(target));

            #line 61 "..\..\..\..\xaml\Dialog\AddOrUpdateCompany.xaml"
                this.textBoxLinkInfo.TextChanged += new System.Windows.Controls.TextChangedEventHandler(this.textBoxLinkInfo_TextChanged);

            #line default
            #line hidden
                return;

            case 57:
                this.label29 = ((System.Windows.Controls.Label)(target));
                return;

            case 58:
                this.textBoxCreditLevel = ((System.Windows.Controls.TextBox)(target));
                return;

            case 59:
                this.label30 = ((System.Windows.Controls.Label)(target));
                return;

            case 60:
                this.textBoxCreditRecord = ((System.Windows.Controls.TextBox)(target));
                return;

            case 61:
                this.label31 = ((System.Windows.Controls.Label)(target));
                return;

            case 62:
                this.textBoxProductInfo = ((System.Windows.Controls.TextBox)(target));
                return;

            case 63:
                this.label32 = ((System.Windows.Controls.Label)(target));
                return;

            case 64:
                this.textBoxOtherInfo = ((System.Windows.Controls.TextBox)(target));
                return;

            case 65:
                this.label33 = ((System.Windows.Controls.Label)(target));
                return;

            case 66:
                this.textBoxCheckLevel = ((System.Windows.Controls.TextBox)(target));
                return;

            case 67:
                this.label34 = ((System.Windows.Controls.Label)(target));
                return;

            case 68:
                this.textBoxFoodSafeRecord = ((System.Windows.Controls.TextBox)(target));
                return;

            case 69:
                this.label35 = ((System.Windows.Controls.Label)(target));
                return;

            case 70:
                this.textBoxIsReadOnly = ((System.Windows.Controls.TextBox)(target));
                return;

            case 71:
                this.label36 = ((System.Windows.Controls.Label)(target));
                return;

            case 72:
                this.textBoxIsLock = ((System.Windows.Controls.TextBox)(target));
                return;

            case 73:
                this.label40 = ((System.Windows.Controls.Label)(target));
                return;

            case 74:
                this.textBoxRemark = ((System.Windows.Controls.TextBox)(target));
                return;

            case 75:
                this.label41 = ((System.Windows.Controls.Label)(target));
                return;

            case 76:
                this.textBoxComProperty = ((System.Windows.Controls.TextBox)(target));
                return;

            case 77:
                this.label42 = ((System.Windows.Controls.Label)(target));
                return;

            case 78:
                this.textBoxTSign = ((System.Windows.Controls.TextBox)(target));
                return;

            case 79:
                this.btnSave = ((System.Windows.Controls.Button)(target));

            #line 84 "..\..\..\..\xaml\Dialog\AddOrUpdateCompany.xaml"
                this.btnSave.Click += new System.Windows.RoutedEventHandler(this.btnSave_Click);

            #line default
            #line hidden
                return;

            case 80:
                this.label15_Copy = ((System.Windows.Controls.Label)(target));
                return;
            }
            this._contentLoaded = true;
        }
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.NumLayersTextBlock = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 2:
                this.LayersComboBox = ((System.Windows.Controls.ComboBox)(target));

            #line 46 "..\..\..\..\..\..\Controls\View\RecognizeMehodsControls\NeuralNetworksControl.xaml"
                this.LayersComboBox.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.LayersComboBox_SelectionChanged);

            #line default
            #line hidden
                return;

            case 3:
                this.MaxErrorTextBlock = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 4:
                this.MaxErrorTextBox = ((System.Windows.Controls.TextBox)(target));
                return;

            case 5:
                this.NumInputUnitsTextBlock = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 6:
                this.InputUnitsTextBox = ((System.Windows.Controls.TextBox)(target));
                return;

            case 7:
                this.NumHiddenUnitsTextBlock = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 8:
                this.HiddenUnitsTextBox = ((System.Windows.Controls.TextBox)(target));
                return;

            case 9:
                this.NumOuputUnitsTextBlock = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 10:
                this.OutputUnitsTextBox = ((System.Windows.Controls.TextBox)(target));
                return;

            case 11:
                this.SaveSettingsButton = ((System.Windows.Controls.Button)(target));

            #line 94 "..\..\..\..\..\..\Controls\View\RecognizeMehodsControls\NeuralNetworksControl.xaml"
                this.SaveSettingsButton.Click += new System.Windows.RoutedEventHandler(this.SaveSettingsButton_Click);

            #line default
            #line hidden
                return;

            case 12:
                this.StateTextBlock = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 13:
                this.StateTextBox = ((System.Windows.Controls.TextBox)(target));
                return;

            case 14:
                this.StateListView = ((System.Windows.Controls.ListView)(target));
                return;

            case 15:
                this.ErrorTextBlock = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 16:
                this.ErrorTextBox = ((System.Windows.Controls.TextBox)(target));
                return;

            case 17:
                this.IterationsTextBlock = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 18:
                this.IterationsTextBox = ((System.Windows.Controls.TextBox)(target));
                return;

            case 19:
                this.SaveButton = ((System.Windows.Controls.Button)(target));

            #line 149 "..\..\..\..\..\..\Controls\View\RecognizeMehodsControls\NeuralNetworksControl.xaml"
                this.SaveButton.Click += new System.Windows.RoutedEventHandler(this.SaveButton_Click);

            #line default
            #line hidden
                return;

            case 20:
                this.LoadButton = ((System.Windows.Controls.Button)(target));

            #line 155 "..\..\..\..\..\..\Controls\View\RecognizeMehodsControls\NeuralNetworksControl.xaml"
                this.LoadButton.Click += new System.Windows.RoutedEventHandler(this.LoadButton_Click);

            #line default
            #line hidden
                return;

            case 21:
                this.TrainButton = ((System.Windows.Controls.Button)(target));

            #line 161 "..\..\..\..\..\..\Controls\View\RecognizeMehodsControls\NeuralNetworksControl.xaml"
                this.TrainButton.Click += new System.Windows.RoutedEventHandler(this.TrainButton_Click);

            #line default
            #line hidden
                return;

            case 22:
                this.RecognizeButton = ((System.Windows.Controls.Button)(target));

            #line 167 "..\..\..\..\..\..\Controls\View\RecognizeMehodsControls\NeuralNetworksControl.xaml"
                this.RecognizeButton.Click += new System.Windows.RoutedEventHandler(this.RecognizeButton_Click);

            #line default
            #line hidden
                return;
            }
            this._contentLoaded = true;
        }
 void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
     switch (connectionId)
     {
     case 1:
     this.ingredientsbtn = ((System.Windows.Controls.Button)(target));
     
     #line 11 "..\..\AdminMenu.xaml"
     this.ingredientsbtn.Click += new System.Windows.RoutedEventHandler(this.ingredientsbtn_Click);
     
     #line default
     #line hidden
     return;
     case 2:
     this.ordersbtn = ((System.Windows.Controls.Button)(target));
     
     #line 12 "..\..\AdminMenu.xaml"
     this.ordersbtn.Click += new System.Windows.RoutedEventHandler(this.ordersbtn_Click);
     
     #line default
     #line hidden
     return;
     case 3:
     this.shippingbtn = ((System.Windows.Controls.Button)(target));
     
     #line 13 "..\..\AdminMenu.xaml"
     this.shippingbtn.Click += new System.Windows.RoutedEventHandler(this.shippingbtn_Click);
     
     #line default
     #line hidden
     return;
     case 4:
     this.recipebtn = ((System.Windows.Controls.Button)(target));
     
     #line 14 "..\..\AdminMenu.xaml"
     this.recipebtn.Click += new System.Windows.RoutedEventHandler(this.recipebtn_Click);
     
     #line default
     #line hidden
     return;
     case 5:
     
     #line 15 "..\..\AdminMenu.xaml"
     ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Button_Click_1);
     
     #line default
     #line hidden
     return;
     case 6:
     
     #line 16 "..\..\AdminMenu.xaml"
     ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Button_Click_2);
     
     #line default
     #line hidden
     return;
     case 7:
     this.txtusername = ((System.Windows.Controls.TextBox)(target));
     return;
     }
     this._contentLoaded = true;
 }
Esempio n. 50
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:

            #line 73 "..\..\..\..\Register.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Button_Click_1);

            #line default
            #line hidden
                return;

            case 2:

            #line 74 "..\..\..\..\Register.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Button_Click);

            #line default
            #line hidden
                return;

            case 3:
                this.regNameTxt = ((System.Windows.Controls.TextBox)(target));
                return;

            case 4:
                this.regPhoneNumberTxt = ((System.Windows.Controls.TextBox)(target));
                return;

            case 5:
                this.regNICTxt = ((System.Windows.Controls.TextBox)(target));
                return;

            case 6:
                this.regMaleIndex = ((System.Windows.Controls.RadioButton)(target));
                return;

            case 7:
                this.regFeMaleIndex = ((System.Windows.Controls.RadioButton)(target));
                return;

            case 8:
                this.regEmailTxt = ((System.Windows.Controls.TextBox)(target));
                return;

            case 9:
                this.regUserNameTxt = ((System.Windows.Controls.TextBox)(target));
                return;

            case 10:
                this.regPasswordTxt = ((System.Windows.Controls.PasswordBox)(target));
                return;

            case 11:
                this.Back_btn = ((System.Windows.Controls.Button)(target));

            #line 100 "..\..\..\..\Register.xaml"
                this.Back_btn.Click += new System.Windows.RoutedEventHandler(this.Back_btn_Click);

            #line default
            #line hidden
                return;
            }
            this._contentLoaded = true;
        }
Esempio n. 51
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.tabControl1 = ((System.Windows.Controls.TabControl)(target));
                return;

            case 2:
                this.tabDownload = ((System.Windows.Controls.TabItem)(target));
                return;

            case 3:
                this.collageList = ((System.Windows.Controls.ListBox)(target));

            #line 12 "..\..\MainWindow.xaml"
                this.collageList.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.collageList_SelectionChanged);

            #line default
            #line hidden
                return;

            case 4:
                this.getCollage = ((System.Windows.Controls.Button)(target));

            #line 13 "..\..\MainWindow.xaml"
                this.getCollage.Click += new System.Windows.RoutedEventHandler(this.getCollage_Click);

            #line default
            #line hidden
                return;

            case 5:
                this.Download = ((System.Windows.Controls.Button)(target));

            #line 14 "..\..\MainWindow.xaml"
                this.Download.Click += new System.Windows.RoutedEventHandler(this.Download_Click);

            #line default
            #line hidden
                return;

            case 6:
                this.tabUpload = ((System.Windows.Controls.TabItem)(target));
                return;

            case 7:
                this.Img = ((System.Windows.Controls.Button)(target));

            #line 19 "..\..\MainWindow.xaml"
                this.Img.Click += new System.Windows.RoutedEventHandler(this.Img_Click);

            #line default
            #line hidden
                return;

            case 8:
                this.caption = ((System.Windows.Controls.TextBox)(target));
                return;

            case 9:
                this.content = ((System.Windows.Controls.TextBox)(target));
                return;

            case 10:
                this.order = ((System.Windows.Controls.TextBox)(target));
                return;

            case 11:
                this.ImgPath = ((System.Windows.Controls.TextBox)(target));
                return;

            case 12:
                this.styList = ((System.Windows.Controls.ListBox)(target));

            #line 28 "..\..\MainWindow.xaml"
                this.styList.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.styList_SelectionChanged);

            #line default
            #line hidden
                return;

            case 13:
                this.getsty = ((System.Windows.Controls.Button)(target));

            #line 29 "..\..\MainWindow.xaml"
                this.getsty.Click += new System.Windows.RoutedEventHandler(this.getsty_Click);

            #line default
            #line hidden
                return;

            case 14:
                this.upload = ((System.Windows.Controls.Button)(target));

            #line 30 "..\..\MainWindow.xaml"
                this.upload.Click += new System.Windows.RoutedEventHandler(this.upload_Click);

            #line default
            #line hidden
                return;
            }
            this._contentLoaded = true;
        }
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.p2 = ((System.Windows.Controls.Grid)(target));
                return;

            case 2:
                this.tbDynLoc = ((System.Windows.Controls.TextBox)(target));

            #line 13 "..\..\scrFilePath.xaml"
                this.tbDynLoc.TextChanged += new System.Windows.Controls.TextChangedEventHandler(this.tbDynLoc_TextChanged);

            #line default
            #line hidden
                return;

            case 3:
                this.btChFldrWorkspace = ((System.Windows.Controls.Button)(target));

            #line 14 "..\..\scrFilePath.xaml"
                this.btChFldrWorkspace.Click += new System.Windows.RoutedEventHandler(this.btChFldrDynDir_Click);

            #line default
            #line hidden
                return;

            case 4:
                this.tbExampleLoc = ((System.Windows.Controls.TextBox)(target));

            #line 15 "..\..\scrFilePath.xaml"
                this.tbExampleLoc.TextChanged += new System.Windows.Controls.TextChangedEventHandler(this.tbExampleLoc_TextChanged);

            #line default
            #line hidden
                return;

            case 5:
                this.btChFldrExamples = ((System.Windows.Controls.Button)(target));

            #line 16 "..\..\scrFilePath.xaml"
                this.btChFldrExamples.Click += new System.Windows.RoutedEventHandler(this.btChFldrExamples_Click);

            #line default
            #line hidden
                return;

            case 6:
                this.tbPackageMngrLoc = ((System.Windows.Controls.TextBox)(target));

            #line 18 "..\..\scrFilePath.xaml"
                this.tbPackageMngrLoc.TextChanged += new System.Windows.Controls.TextChangedEventHandler(this.tbPackageMngrLoc_TextChanged);

            #line default
            #line hidden
                return;

            case 7:
                this.btChFldrExamples_Copy = ((System.Windows.Controls.Button)(target));

            #line 19 "..\..\scrFilePath.xaml"
                this.btChFldrExamples_Copy.Click += new System.Windows.RoutedEventHandler(this.btChFldrPkgDir_Click);

            #line default
            #line hidden
                return;

            case 8:
                this.tbMaya16EnvLoc = ((System.Windows.Controls.TextBox)(target));

            #line 21 "..\..\scrFilePath.xaml"
                this.tbMaya16EnvLoc.TextChanged += new System.Windows.Controls.TextChangedEventHandler(this.tbMaya16EnvLoc_TextChanged);

            #line default
            #line hidden
                return;

            case 9:
                this.btMaya16EnvLoc = ((System.Windows.Controls.Button)(target));

            #line 22 "..\..\scrFilePath.xaml"
                this.btMaya16EnvLoc.Click += new System.Windows.RoutedEventHandler(this.btChFldrMaya16Env_Click);

            #line default
            #line hidden
                return;

            case 10:
                this.tbMaya17EnvLoc = ((System.Windows.Controls.TextBox)(target));

            #line 24 "..\..\scrFilePath.xaml"
                this.tbMaya17EnvLoc.TextChanged += new System.Windows.Controls.TextChangedEventHandler(this.tbMaya17EnvLoc_TextChanged);

            #line default
            #line hidden
                return;

            case 11:
                this.btMaya17EnvLoc = ((System.Windows.Controls.Button)(target));

            #line 25 "..\..\scrFilePath.xaml"
                this.btMaya17EnvLoc.Click += new System.Windows.RoutedEventHandler(this.btChFldrMaya17Env_Click);

            #line default
            #line hidden
                return;
            }
            this._contentLoaded = true;
        }
Esempio n. 53
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.MainGrid = ((System.Windows.Controls.Grid)(target));
                return;

            case 2:
                this.LoginCanvas = ((System.Windows.Controls.Canvas)(target));
                return;

            case 3:
                this.UserBox = ((System.Windows.Controls.TextBox)(target));
                return;

            case 4:
                this.PasswordBox = ((System.Windows.Controls.TextBox)(target));
                return;

            case 5:
                this.UserLabel = ((System.Windows.Controls.Label)(target));
                return;

            case 6:
                this.PasswordLabel = ((System.Windows.Controls.Label)(target));
                return;

            case 7:
                this.LogInButton = ((System.Windows.Controls.Button)(target));

            #line 19 "..\..\MainWindow.xaml"
                this.LogInButton.Click += new System.Windows.RoutedEventHandler(this.LogInButton_Click);

            #line default
            #line hidden
                return;

            case 8:
                this.NewAccountButton = ((System.Windows.Controls.Button)(target));

            #line 20 "..\..\MainWindow.xaml"
                this.NewAccountButton.Click += new System.Windows.RoutedEventHandler(this.NewAccountButton_Click);

            #line default
            #line hidden
                return;

            case 9:
                this.GuestButton = ((System.Windows.Controls.Button)(target));

            #line 21 "..\..\MainWindow.xaml"
                this.GuestButton.Click += new System.Windows.RoutedEventHandler(this.GuestButton_Click);

            #line default
            #line hidden
                return;

            case 10:
                this.InvalidUserPasswdBox = ((System.Windows.Controls.TextBox)(target));
                return;

            case 11:
                this.UserExistErrorBox = ((System.Windows.Controls.TextBox)(target));
                return;

            case 12:
                this.TitleLabel = ((System.Windows.Controls.Label)(target));
                return;

            case 13:
                this.MainMenuCanvas = ((System.Windows.Controls.Canvas)(target));
                return;

            case 14:
                this.RankingCanvas = ((System.Windows.Controls.Canvas)(target));
                return;

            case 15:
                this.RankingList = ((System.Windows.Controls.ListBox)(target));
                return;

            case 16:
                this.RankingLabel = ((System.Windows.Controls.Label)(target));
                return;

            case 17:
                this.NewGameCanvas = ((System.Windows.Controls.Canvas)(target));
                return;

            case 18:
                this.Mode1Button = ((System.Windows.Controls.Button)(target));

            #line 34 "..\..\MainWindow.xaml"
                this.Mode1Button.Click += new System.Windows.RoutedEventHandler(this.Mode1Button_Click);

            #line default
            #line hidden
                return;

            case 19:
                this.Mode4Button = ((System.Windows.Controls.Button)(target));

            #line 35 "..\..\MainWindow.xaml"
                this.Mode4Button.Click += new System.Windows.RoutedEventHandler(this.Mode4Button_Click);

            #line default
            #line hidden
                return;

            case 20:
                this.Mode3Button = ((System.Windows.Controls.Button)(target));

            #line 36 "..\..\MainWindow.xaml"
                this.Mode3Button.Click += new System.Windows.RoutedEventHandler(this.Mode3Button_Click);

            #line default
            #line hidden
                return;

            case 21:
                this.Mode2Button = ((System.Windows.Controls.Button)(target));

            #line 37 "..\..\MainWindow.xaml"
                this.Mode2Button.Click += new System.Windows.RoutedEventHandler(this.Mode2Button_Click);

            #line default
            #line hidden
                return;

            case 22:
                this.EasyLabel = ((System.Windows.Controls.Label)(target));
                return;

            case 23:
                this.HardLabel = ((System.Windows.Controls.Label)(target));
                return;

            case 24:
                this.MenuCanvas = ((System.Windows.Controls.Canvas)(target));
                return;

            case 25:
                this.UsernameLabel = ((System.Windows.Controls.Label)(target));
                return;

            case 26:
                this.LogoutButton = ((System.Windows.Controls.Button)(target));

            #line 43 "..\..\MainWindow.xaml"
                this.LogoutButton.Click += new System.Windows.RoutedEventHandler(this.LogoutButton_Click);

            #line default
            #line hidden
                return;

            case 27:
                this.NewGameButton = ((System.Windows.Controls.Button)(target));

            #line 44 "..\..\MainWindow.xaml"
                this.NewGameButton.Click += new System.Windows.RoutedEventHandler(this.NewGameButton_Click);

            #line default
            #line hidden
                return;

            case 28:
                this.ExitButton = ((System.Windows.Controls.Button)(target));

            #line 45 "..\..\MainWindow.xaml"
                this.ExitButton.Click += new System.Windows.RoutedEventHandler(this.ExitButton_Click);

            #line default
            #line hidden
                return;

            case 29:
                this.InstructionButton = ((System.Windows.Controls.Button)(target));

            #line 46 "..\..\MainWindow.xaml"
                this.InstructionButton.Click += new System.Windows.RoutedEventHandler(this.InstructionButton_Click);

            #line default
            #line hidden
                return;

            case 30:
                this.RankingButton = ((System.Windows.Controls.Button)(target));

            #line 47 "..\..\MainWindow.xaml"
                this.RankingButton.Click += new System.Windows.RoutedEventHandler(this.RankingButton_Click);

            #line default
            #line hidden
                return;

            case 31:
                this.InstructionCanvas = ((System.Windows.Controls.Canvas)(target));
                return;

            case 32:
                this.InstructionTextBlock = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 33:
                this.MainGameCanvas = ((System.Windows.Controls.Canvas)(target));
                return;

            case 34:
                this.GameMenuCanvas = ((System.Windows.Controls.Canvas)(target));
                return;

            case 35:
                this.GameUserName = ((System.Windows.Controls.Label)(target));
                return;

            case 36:
                this.GameTimerLabel = ((System.Windows.Controls.Label)(target));
                return;

            case 37:
                this.GameReshuffleButton = ((System.Windows.Controls.Button)(target));

            #line 59 "..\..\MainWindow.xaml"
                this.GameReshuffleButton.Click += new System.Windows.RoutedEventHandler(this.GameReshuffleButton_Click);

            #line default
            #line hidden
                return;

            case 38:
                this.GameHintButton = ((System.Windows.Controls.Button)(target));
                return;

            case 39:
                this.GamePauseButton = ((System.Windows.Controls.Button)(target));

            #line 61 "..\..\MainWindow.xaml"
                this.GamePauseButton.Click += new System.Windows.RoutedEventHandler(this.GamePauseButton_Click);

            #line default
            #line hidden
                return;

            case 40:
                this.GameInstructionButton = ((System.Windows.Controls.Button)(target));

            #line 62 "..\..\MainWindow.xaml"
                this.GameInstructionButton.Click += new System.Windows.RoutedEventHandler(this.GameInstructionButton_Click);

            #line default
            #line hidden
                return;

            case 41:
                this.GameBackgroundButton = ((System.Windows.Controls.Button)(target));

            #line 63 "..\..\MainWindow.xaml"
                this.GameBackgroundButton.Click += new System.Windows.RoutedEventHandler(this.GameBackgroundButton_Click);

            #line default
            #line hidden
                return;

            case 42:
                this.GameExitButton = ((System.Windows.Controls.Button)(target));

            #line 64 "..\..\MainWindow.xaml"
                this.GameExitButton.Click += new System.Windows.RoutedEventHandler(this.GameExitButton_Click);

            #line default
            #line hidden
                return;

            case 43:
                this.GameCanvas = ((System.Windows.Controls.Canvas)(target));
                return;

            case 44:
                this.GameEndLabel = ((System.Windows.Controls.Label)(target));
                return;

            case 45:
                this.GameInstructionCanvas = ((System.Windows.Controls.Canvas)(target));
                return;

            case 46:
                this.GameResumeButton = ((System.Windows.Controls.Button)(target));

            #line 70 "..\..\MainWindow.xaml"
                this.GameResumeButton.Click += new System.Windows.RoutedEventHandler(this.GameResumeButton_Click);

            #line default
            #line hidden
                return;

            case 47:
                this.GameInstructionTextBlock = ((System.Windows.Controls.TextBlock)(target));
                return;
            }
            this._contentLoaded = true;
        }
Esempio n. 54
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.hinh1DangKy = ((System.Windows.Media.ImageBrush)(target));
                return;

            case 2:
                this.TitleBar = ((MaterialDesignThemes.Wpf.ColorZone)(target));

            #line 26 "..\..\DangKy.xaml"
                this.TitleBar.MouseLeftButtonDown += new System.Windows.Input.MouseButtonEventHandler(this.TitleBar_MouseLeftButtonDown);

            #line default
            #line hidden
                return;

            case 3:
                this.btThuNho = ((System.Windows.Controls.Button)(target));

            #line 41 "..\..\DangKy.xaml"
                this.btThuNho.Click += new System.Windows.RoutedEventHandler(this.btThuNho_Click);

            #line default
            #line hidden

            #line 41 "..\..\DangKy.xaml"
                this.btThuNho.MouseEnter += new System.Windows.Input.MouseEventHandler(this.btThuNho_MouseEnter);

            #line default
            #line hidden

            #line 41 "..\..\DangKy.xaml"
                this.btThuNho.MouseLeave += new System.Windows.Input.MouseEventHandler(this.btThuNho_MouseLeave);

            #line default
            #line hidden
                return;

            case 4:
                this.btDong = ((System.Windows.Controls.Button)(target));

            #line 44 "..\..\DangKy.xaml"
                this.btDong.Click += new System.Windows.RoutedEventHandler(this.btDong_Click);

            #line default
            #line hidden

            #line 44 "..\..\DangKy.xaml"
                this.btDong.MouseEnter += new System.Windows.Input.MouseEventHandler(this.btDong_MouseEnter);

            #line default
            #line hidden

            #line 44 "..\..\DangKy.xaml"
                this.btDong.MouseLeave += new System.Windows.Input.MouseEventHandler(this.btDong_MouseLeave);

            #line default
            #line hidden
                return;

            case 5:
                this.hinhLogo = ((System.Windows.Controls.Image)(target));
                return;

            case 6:
                this.txtHoTenGV = ((System.Windows.Controls.TextBox)(target));

            #line 99 "..\..\DangKy.xaml"
                this.txtHoTenGV.GotFocus += new System.Windows.RoutedEventHandler(this.TxtHoTenGV_OnGotFocus);

            #line default
            #line hidden

            #line 99 "..\..\DangKy.xaml"
                this.txtHoTenGV.LostFocus += new System.Windows.RoutedEventHandler(this.TxtHoTenGV_OnLostFocus);

            #line default
            #line hidden

            #line 99 "..\..\DangKy.xaml"
                this.txtHoTenGV.TextChanged += new System.Windows.Controls.TextChangedEventHandler(this.TxtHoTenGV_OnTextChanged);

            #line default
            #line hidden
                return;

            case 7:
                this.txtSDTGV = ((System.Windows.Controls.TextBox)(target));

            #line 112 "..\..\DangKy.xaml"
                this.txtSDTGV.TextChanged += new System.Windows.Controls.TextChangedEventHandler(this.TxtSDTGV_OnTextChanged);

            #line default
            #line hidden

            #line 112 "..\..\DangKy.xaml"
                this.txtSDTGV.LostFocus += new System.Windows.RoutedEventHandler(this.TxtSDTGV_OnLostFocus);

            #line default
            #line hidden

            #line 112 "..\..\DangKy.xaml"
                this.txtSDTGV.GotFocus += new System.Windows.RoutedEventHandler(this.TxtSDTGV_OnGotFocus);

            #line default
            #line hidden
                return;

            case 8:
                this.txtDCGV = ((System.Windows.Controls.TextBox)(target));

            #line 123 "..\..\DangKy.xaml"
                this.txtDCGV.LostFocus += new System.Windows.RoutedEventHandler(this.TxtDCGV_OnLostFocus);

            #line default
            #line hidden

            #line 123 "..\..\DangKy.xaml"
                this.txtDCGV.GotFocus += new System.Windows.RoutedEventHandler(this.TxtDCGV_OnGotFocus);

            #line default
            #line hidden

            #line 123 "..\..\DangKy.xaml"
                this.txtDCGV.TextChanged += new System.Windows.Controls.TextChangedEventHandler(this.TxtDCGV_OnTextChanged);

            #line default
            #line hidden
                return;

            case 9:
                this.txtQueQuanGV = ((System.Windows.Controls.TextBox)(target));

            #line 134 "..\..\DangKy.xaml"
                this.txtQueQuanGV.TextChanged += new System.Windows.Controls.TextChangedEventHandler(this.TxtQueQuanGV_OnTextChanged);

            #line default
            #line hidden

            #line 134 "..\..\DangKy.xaml"
                this.txtQueQuanGV.LostFocus += new System.Windows.RoutedEventHandler(this.TxtQueQuanGV_OnLostFocus);

            #line default
            #line hidden

            #line 134 "..\..\DangKy.xaml"
                this.txtQueQuanGV.GotFocus += new System.Windows.RoutedEventHandler(this.TxtQueQuanGV_OnGotFocus);

            #line default
            #line hidden
                return;

            case 10:
                this.dpNgaySinhGV = ((System.Windows.Controls.DatePicker)(target));

            #line 145 "..\..\DangKy.xaml"
                this.dpNgaySinhGV.LostFocus += new System.Windows.RoutedEventHandler(this.DpNgaySinhGV_OnLostFocus);

            #line default
            #line hidden

            #line 145 "..\..\DangKy.xaml"
                this.dpNgaySinhGV.GotFocus += new System.Windows.RoutedEventHandler(this.DpNgaySinhGV_OnGotFocus);

            #line default
            #line hidden

            #line 145 "..\..\DangKy.xaml"
                this.dpNgaySinhGV.TextInput += new System.Windows.Input.TextCompositionEventHandler(this.DpNgaySinhGV_OnTextInput);

            #line default
            #line hidden
                return;

            case 11:
                this.txtLopChuNhiem = ((System.Windows.Controls.TextBox)(target));

            #line 158 "..\..\DangKy.xaml"
                this.txtLopChuNhiem.LostFocus += new System.Windows.RoutedEventHandler(this.TxtLopChuNhiem_OnLostFocus);

            #line default
            #line hidden

            #line 158 "..\..\DangKy.xaml"
                this.txtLopChuNhiem.GotFocus += new System.Windows.RoutedEventHandler(this.TxtLopChuNhiem_OnGotFocus);

            #line default
            #line hidden

            #line 158 "..\..\DangKy.xaml"
                this.txtLopChuNhiem.TextChanged += new System.Windows.Controls.TextChangedEventHandler(this.TxtLopChuNhiem_OnTextChanged);

            #line default
            #line hidden
                return;

            case 12:
                this.txtMatKhau = ((System.Windows.Controls.PasswordBox)(target));

            #line 171 "..\..\DangKy.xaml"
                this.txtMatKhau.TextInput += new System.Windows.Input.TextCompositionEventHandler(this.TxtMatKhau_OnTextInput);

            #line default
            #line hidden

            #line 171 "..\..\DangKy.xaml"
                this.txtMatKhau.LostFocus += new System.Windows.RoutedEventHandler(this.TxtMatKhau_OnLostFocus);

            #line default
            #line hidden

            #line 171 "..\..\DangKy.xaml"
                this.txtMatKhau.GotFocus += new System.Windows.RoutedEventHandler(this.TxtMatKhau_OnGotFocus);

            #line default
            #line hidden
                return;

            case 13:
                this.txtNhapLaiMatKhau = ((System.Windows.Controls.PasswordBox)(target));

            #line 183 "..\..\DangKy.xaml"
                this.txtNhapLaiMatKhau.TextInput += new System.Windows.Input.TextCompositionEventHandler(this.TxtNhapLaiMatKhau_OnTextInput);

            #line default
            #line hidden

            #line 183 "..\..\DangKy.xaml"
                this.txtNhapLaiMatKhau.LostFocus += new System.Windows.RoutedEventHandler(this.TxtNhapLaiMatKhau_OnLostFocus);

            #line default
            #line hidden

            #line 183 "..\..\DangKy.xaml"
                this.txtNhapLaiMatKhau.GotFocus += new System.Windows.RoutedEventHandler(this.TxtNhapLaiMatKhau_OnGotFocus);

            #line default
            #line hidden
                return;

            case 14:
                this.btChapNhan = ((System.Windows.Controls.Button)(target));

            #line 193 "..\..\DangKy.xaml"
                this.btChapNhan.Click += new System.Windows.RoutedEventHandler(this.btChapNhan_Click);

            #line default
            #line hidden
                return;

            case 15:
                this.btHuyBo = ((System.Windows.Controls.Button)(target));

            #line 200 "..\..\DangKy.xaml"
                this.btHuyBo.Click += new System.Windows.RoutedEventHandler(this.btHuyBo_Click);

            #line default
            #line hidden
                return;
            }
            this._contentLoaded = true;
        }
Esempio n. 55
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:

            #line 27 "..\..\MainWindow.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Button_Click_1);

            #line default
            #line hidden
                return;

            case 2:

            #line 50 "..\..\MainWindow.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Button_Click);

            #line default
            #line hidden
                return;

            case 3:
                this.cb_ora = ((System.Windows.Controls.ComboBox)(target));
                return;

            case 4:
                this.cbi1 = ((System.Windows.Controls.ComboBoxItem)(target));
                return;

            case 5:
                this.cbi2 = ((System.Windows.Controls.ComboBoxItem)(target));
                return;

            case 6:
                this.cbi3 = ((System.Windows.Controls.ComboBoxItem)(target));
                return;

            case 7:
                this.cbi4 = ((System.Windows.Controls.ComboBoxItem)(target));
                return;

            case 8:
                this.cbi5 = ((System.Windows.Controls.ComboBoxItem)(target));
                return;

            case 9:
                this.cbi6 = ((System.Windows.Controls.ComboBoxItem)(target));
                return;

            case 10:
                this.cbi7 = ((System.Windows.Controls.ComboBoxItem)(target));
                return;

            case 11:
                this.cbi8 = ((System.Windows.Controls.ComboBoxItem)(target));
                return;

            case 12:
                this.cbi9 = ((System.Windows.Controls.ComboBoxItem)(target));
                return;

            case 13:
                this.cbi10 = ((System.Windows.Controls.ComboBoxItem)(target));
                return;

            case 14:
                this.cbi11 = ((System.Windows.Controls.ComboBoxItem)(target));
                return;

            case 15:
                this.cbi12 = ((System.Windows.Controls.ComboBoxItem)(target));
                return;

            case 16:
                this.cbi13 = ((System.Windows.Controls.ComboBoxItem)(target));
                return;

            case 17:
                this.cbi14 = ((System.Windows.Controls.ComboBoxItem)(target));
                return;

            case 18:
                this.cbi15 = ((System.Windows.Controls.ComboBoxItem)(target));
                return;

            case 19:
                this.cbi16 = ((System.Windows.Controls.ComboBoxItem)(target));
                return;

            case 20:
                this.cbi17 = ((System.Windows.Controls.ComboBoxItem)(target));
                return;

            case 21:
                this.cbi18 = ((System.Windows.Controls.ComboBoxItem)(target));
                return;

            case 22:
                this.dt_data = ((System.Windows.Controls.DatePicker)(target));
                return;

            case 23:
                this.tb_problema = ((System.Windows.Controls.TextBox)(target));
                return;

            case 24:
                this.cb_medic = ((System.Windows.Controls.ComboBox)(target));
                return;

            case 25:
                this.med1 = ((System.Windows.Controls.ComboBoxItem)(target));
                return;

            case 26:
                this.med2 = ((System.Windows.Controls.ComboBoxItem)(target));
                return;

            case 27:
                this.med3 = ((System.Windows.Controls.ComboBoxItem)(target));
                return;

            case 28:
                this.med4 = ((System.Windows.Controls.ComboBoxItem)(target));
                return;

            case 29:
                this.med5 = ((System.Windows.Controls.ComboBoxItem)(target));
                return;

            case 30:
                this.med6 = ((System.Windows.Controls.ComboBoxItem)(target));
                return;

            case 31:
                this.cb_cabinet = ((System.Windows.Controls.ComboBox)(target));
                return;

            case 32:
                this.cab1 = ((System.Windows.Controls.ComboBoxItem)(target));
                return;

            case 33:
                this.cab2 = ((System.Windows.Controls.ComboBoxItem)(target));
                return;

            case 34:
                this.cab3 = ((System.Windows.Controls.ComboBoxItem)(target));
                return;

            case 35:
                this.cab4 = ((System.Windows.Controls.ComboBoxItem)(target));
                return;

            case 36:
                this.cab5 = ((System.Windows.Controls.ComboBoxItem)(target));
                return;

            case 37:
                this.cab6 = ((System.Windows.Controls.ComboBoxItem)(target));
                return;

            case 38:
                this.tb_numepacient = ((System.Windows.Controls.TextBox)(target));
                return;
            }
            this._contentLoaded = true;
        }
Esempio n. 56
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.GridWindow = ((System.Windows.Controls.Grid)(target));
                return;

            case 2:
                this.GridLeft = ((System.Windows.Controls.Grid)(target));
                return;

            case 3:
                this.ImageSymbol = ((System.Windows.Controls.Image)(target));
                return;

            case 4:
                this.TextBoxSymbol = ((System.Windows.Controls.TextBox)(target));
                return;

            case 5:
                this.TextBoxFamily = ((System.Windows.Controls.TextBox)(target));
                return;

            case 6:
                this.LabelSpliMethod = ((System.Windows.Controls.Label)(target));
                return;

            case 7:
                this.GridConrols = ((System.Windows.Controls.Grid)(target));
                return;

            case 8:
                this.GridCounterControls = ((System.Windows.Controls.Grid)(target));
                return;

            case 9:
                this.labelHorizontal = ((System.Windows.Controls.Label)(target));
                return;

            case 10:
                this.TextBoxSplitPartNumber = ((System.Windows.Controls.TextBox)(target));
                return;

            case 11:
                this.buttonAddHorizontal = ((System.Windows.Controls.Button)(target));

            #line 134 "..\..\..\Pattern Elements Install\GridSetup.xaml"
                this.buttonAddHorizontal.Click += new System.Windows.RoutedEventHandler(this.buttonAddHorizontal_Click);

            #line default
            #line hidden
                return;

            case 12:
                this.buttonRemoveHorizontal = ((System.Windows.Controls.Button)(target));

            #line 148 "..\..\..\Pattern Elements Install\GridSetup.xaml"
                this.buttonRemoveHorizontal.Click += new System.Windows.RoutedEventHandler(this.buttonRemoveHorizontal_Click);

            #line default
            #line hidden
                return;

            case 13:
                this.TextBoxDistance = ((System.Windows.Controls.TextBox)(target));

            #line 160 "..\..\..\Pattern Elements Install\GridSetup.xaml"
                this.TextBoxDistance.TextChanged += new System.Windows.Controls.TextChangedEventHandler(this.TextBoxDistance_TextChanged);

            #line default
            #line hidden
                return;

            case 14:
                this.radioEqual = ((System.Windows.Controls.RadioButton)(target));
                return;

            case 15:
                this.radioProportoinal = ((System.Windows.Controls.RadioButton)(target));
                return;

            case 16:
                this.radioDistance = ((System.Windows.Controls.RadioButton)(target));
                return;

            case 17:
                this.comboBoxHeight = ((System.Windows.Controls.ComboBox)(target));
                return;

            case 18:
                this.GridRight = ((System.Windows.Controls.Grid)(target));
                return;

            case 19:
                this.GridStatistic = ((System.Windows.Controls.Grid)(target));
                return;

            case 20:
                this.TextBoxScale = ((System.Windows.Controls.TextBox)(target));
                return;

            case 21:
                this.textBoxQuantity = ((System.Windows.Controls.TextBox)(target));
                return;

            case 22:
                this.canvas = ((System.Windows.Controls.Canvas)(target));
                return;

            case 23:
                this.GridMainControls = ((System.Windows.Controls.Grid)(target));
                return;

            case 24:
                this.buttonReset = ((System.Windows.Controls.Button)(target));

            #line 299 "..\..\..\Pattern Elements Install\GridSetup.xaml"
                this.buttonReset.Click += new System.Windows.RoutedEventHandler(this.buttonReset_Click);

            #line default
            #line hidden
                return;

            case 25:
                this.buttonInsert = ((System.Windows.Controls.Button)(target));

            #line 315 "..\..\..\Pattern Elements Install\GridSetup.xaml"
                this.buttonInsert.Click += new System.Windows.RoutedEventHandler(this.ButtonInsertClick);

            #line default
            #line hidden
                return;

            case 26:
                this.Cancel = ((System.Windows.Controls.Button)(target));

            #line 331 "..\..\..\Pattern Elements Install\GridSetup.xaml"
                this.Cancel.Click += new System.Windows.RoutedEventHandler(this.Cancel_Click);

            #line default
            #line hidden
                return;
            }
            this._contentLoaded = true;
        }
Esempio n. 57
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.revnuedetails = ((System.Windows.Controls.Button)(target));

            #line 93 "..\..\MainWindow.xaml"
                this.revnuedetails.Click += new System.Windows.RoutedEventHandler(this.revnuedetails_Click);

            #line default
            #line hidden
                return;

            case 2:

            #line 121 "..\..\MainWindow.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Button_Click_3);

            #line default
            #line hidden
                return;

            case 3:

            #line 195 "..\..\MainWindow.xaml"
                ((System.Windows.Controls.GridSplitter)(target)).DragDelta += new System.Windows.Controls.Primitives.DragDeltaEventHandler(this.GridSplitter_DragDelta);

            #line default
            #line hidden
                return;

            case 4:
                this.delfrom = ((System.Windows.Controls.ComboBox)(target));
                return;

            case 5:
                this.deladd1 = ((System.Windows.Controls.TextBox)(target));
                return;

            case 6:
                this.deladd2 = ((System.Windows.Controls.TextBox)(target));
                return;

            case 7:
                this.deladd3 = ((System.Windows.Controls.TextBox)(target));
                return;

            case 8:
                this.delcity = ((System.Windows.Controls.TextBox)(target));
                return;

            case 9:
                this.delmob = ((System.Windows.Controls.TextBox)(target));
                return;

            case 10:
                this.delto = ((System.Windows.Controls.TextBox)(target));

            #line 216 "..\..\MainWindow.xaml"
                this.delto.TextChanged += new System.Windows.Controls.TextChangedEventHandler(this.TextBox_TextChanged_1);

            #line default
            #line hidden
                return;

            case 11:
                this.toadd1 = ((System.Windows.Controls.TextBox)(target));
                return;

            case 12:
                this.toadd2 = ((System.Windows.Controls.TextBox)(target));
                return;

            case 13:
                this.toadd3 = ((System.Windows.Controls.TextBox)(target));
                return;

            case 14:
                this.tocity = ((System.Windows.Controls.TextBox)(target));
                return;

            case 15:
                this.tomob = ((System.Windows.Controls.TextBox)(target));
                return;

            case 16:
                this.deldescript = ((System.Windows.Controls.TextBox)(target));
                return;

            case 17:

            #line 240 "..\..\MainWindow.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Button_Click_4);

            #line default
            #line hidden
                return;

            case 18:
                this.cleardelivery1 = ((System.Windows.Controls.Button)(target));

            #line 262 "..\..\MainWindow.xaml"
                this.cleardelivery1.Click += new System.Windows.RoutedEventHandler(this.cleardelivery);

            #line default
            #line hidden
                return;

            case 19:

            #line 269 "..\..\MainWindow.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Button_Click_7);

            #line default
            #line hidden
                return;

            case 20:

            #line 271 "..\..\MainWindow.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Button_Click_8);

            #line default
            #line hidden
                return;

            case 21:
                this.empname = ((System.Windows.Controls.TextBox)(target));
                return;

            case 22:
                this.empnic = ((System.Windows.Controls.TextBox)(target));

            #line 301 "..\..\MainWindow.xaml"
                this.empnic.TextChanged += new System.Windows.Controls.TextChangedEventHandler(this.TextBox_TextChanged);

            #line default
            #line hidden
                return;

            case 23:
                this.empmob = ((System.Windows.Controls.TextBox)(target));
                return;

            case 24:
                this.empaddress = ((System.Windows.Controls.TextBox)(target));
                return;

            case 25:
                this.empbasicsalary = ((System.Windows.Controls.TextBox)(target));

            #line 317 "..\..\MainWindow.xaml"
                this.empbasicsalary.TextChanged += new System.Windows.Controls.TextChangedEventHandler(this.TextBox_TextChanged);

            #line default
            #line hidden
                return;

            case 26:
                this.empposition = ((System.Windows.Controls.TextBox)(target));

            #line 322 "..\..\MainWindow.xaml"
                this.empposition.TextChanged += new System.Windows.Controls.TextChangedEventHandler(this.TextBox_TextChanged);

            #line default
            #line hidden
                return;

            case 27:

            #line 326 "..\..\MainWindow.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Button_Click_5);

            #line default
            #line hidden
                return;

            case 28:

            #line 328 "..\..\MainWindow.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Button_Click);

            #line default
            #line hidden
                return;

            case 29:

            #line 335 "..\..\MainWindow.xaml"
                ((System.Windows.Controls.TextBox)(target)).GotFocus += new System.Windows.RoutedEventHandler(this.TextBox_GotFocus);

            #line default
            #line hidden
                return;

            case 30:
                this.loadempdata = ((System.Windows.Controls.Button)(target));

            #line 339 "..\..\MainWindow.xaml"
                this.loadempdata.Click += new System.Windows.RoutedEventHandler(this.loadempdata_Click);

            #line default
            #line hidden
                return;

            case 31:

            #line 372 "..\..\MainWindow.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Button_Click_2);

            #line default
            #line hidden
                return;

            case 32:

            #line 410 "..\..\MainWindow.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Button_Click_2);

            #line default
            #line hidden
                return;
            }
            this._contentLoaded = true;
        }
Esempio n. 58
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:

            #line 5 "..\..\..\..\View\Tower.xaml"
                ((StreamAnalysis.Tower)(target)).Loaded += new System.Windows.RoutedEventHandler(this.Window_Loaded_1);

            #line default
            #line hidden
                return;

            case 2:
                this.txtName = ((System.Windows.Controls.TextBox)(target));

            #line 20 "..\..\..\..\View\Tower.xaml"
                this.txtName.TextChanged += new System.Windows.Controls.TextChangedEventHandler(this.txtName_TextChanged);

            #line default
            #line hidden
                return;

            case 3:
                this.txtDescription = ((System.Windows.Controls.TextBox)(target));
                return;

            case 4:
                this.btnImport = ((System.Windows.Controls.Button)(target));

            #line 23 "..\..\..\..\View\Tower.xaml"
                this.btnImport.Click += new System.Windows.RoutedEventHandler(this.btnImport_Click);

            #line default
            #line hidden
                return;

            case 5:
                this.btnOK = ((System.Windows.Controls.Button)(target));

            #line 24 "..\..\..\..\View\Tower.xaml"
                this.btnOK.Click += new System.Windows.RoutedEventHandler(this.btnOK_Click);

            #line default
            #line hidden
                return;

            case 6:
                this.btnCancel = ((System.Windows.Controls.Button)(target));

            #line 25 "..\..\..\..\View\Tower.xaml"
                this.btnCancel.Click += new System.Windows.RoutedEventHandler(this.btnCancel_Click);

            #line default
            #line hidden
                return;

            case 7:
                this.txtStageNumber = ((System.Windows.Controls.TextBox)(target));

            #line 27 "..\..\..\..\View\Tower.xaml"
                this.txtStageNumber.TextChanged += new System.Windows.Controls.TextChangedEventHandler(this.txtStageNumber_TextChanged);

            #line default
            #line hidden
                return;

            case 8:
                this.lvFeed = ((System.Windows.Controls.ListView)(target));

            #line 32 "..\..\..\..\View\Tower.xaml"
                this.lvFeed.MouseDoubleClick += new System.Windows.Input.MouseButtonEventHandler(this.lvFeed_MouseDoubleClick);

            #line default
            #line hidden
                return;

            case 9:
                this.btnDeleteFeed = ((System.Windows.Controls.Button)(target));

            #line 41 "..\..\..\..\View\Tower.xaml"
                this.btnDeleteFeed.Click += new System.Windows.RoutedEventHandler(this.btnDeleteFeed_Click);

            #line default
            #line hidden
                return;

            case 10:
                this.btnNewFeed = ((System.Windows.Controls.Button)(target));

            #line 42 "..\..\..\..\View\Tower.xaml"
                this.btnNewFeed.Click += new System.Windows.RoutedEventHandler(this.btnNewFeed_Click);

            #line default
            #line hidden
                return;

            case 11:
                this.lvCondenser = ((System.Windows.Controls.ListView)(target));
                return;

            case 12:
                this.lvHxCondenser = ((System.Windows.Controls.ListView)(target));
                return;

            case 13:
                this.btnNewCondenser = ((System.Windows.Controls.Button)(target));

            #line 70 "..\..\..\..\View\Tower.xaml"
                this.btnNewCondenser.Click += new System.Windows.RoutedEventHandler(this.btnNewCondenser_Click);

            #line default
            #line hidden
                return;

            case 14:
                this.btnDeleteCondenser = ((System.Windows.Controls.Button)(target));

            #line 71 "..\..\..\..\View\Tower.xaml"
                this.btnDeleteCondenser.Click += new System.Windows.RoutedEventHandler(this.btnDeleteCondenser_Click);

            #line default
            #line hidden
                return;

            case 15:
                this.btnNewHxCondenser = ((System.Windows.Controls.Button)(target));

            #line 72 "..\..\..\..\View\Tower.xaml"
                this.btnNewHxCondenser.Click += new System.Windows.RoutedEventHandler(this.btnNewHxCondenser_Click);

            #line default
            #line hidden
                return;

            case 16:
                this.btnDeleteHxCondenser = ((System.Windows.Controls.Button)(target));

            #line 73 "..\..\..\..\View\Tower.xaml"
                this.btnDeleteHxCondenser.Click += new System.Windows.RoutedEventHandler(this.btnDeleteHxCondenser_Click);

            #line default
            #line hidden
                return;

            case 17:
                this.lvReboiler = ((System.Windows.Controls.ListView)(target));
                return;

            case 18:
                this.lvHxReboiler = ((System.Windows.Controls.ListView)(target));
                return;

            case 19:
                this.btnNewReboiler = ((System.Windows.Controls.Button)(target));

            #line 98 "..\..\..\..\View\Tower.xaml"
                this.btnNewReboiler.Click += new System.Windows.RoutedEventHandler(this.btnNewReboiler_Click);

            #line default
            #line hidden
                return;

            case 20:
                this.btnDeleteReboiler = ((System.Windows.Controls.Button)(target));

            #line 99 "..\..\..\..\View\Tower.xaml"
                this.btnDeleteReboiler.Click += new System.Windows.RoutedEventHandler(this.btnDeleteReboiler_Click);

            #line default
            #line hidden
                return;

            case 21:
                this.btnNewHxReboiler = ((System.Windows.Controls.Button)(target));

            #line 100 "..\..\..\..\View\Tower.xaml"
                this.btnNewHxReboiler.Click += new System.Windows.RoutedEventHandler(this.btnNewHxReboiler_Click);

            #line default
            #line hidden
                return;

            case 22:
                this.btnDeleteHxReboiler = ((System.Windows.Controls.Button)(target));

            #line 101 "..\..\..\..\View\Tower.xaml"
                this.btnDeleteHxReboiler.Click += new System.Windows.RoutedEventHandler(this.btnDeleteHxReboiler_Click);

            #line default
            #line hidden
                return;

            case 23:
                this.lvProd = ((System.Windows.Controls.ListView)(target));
                return;

            case 24:
                this.btnNewProd = ((System.Windows.Controls.Button)(target));

            #line 115 "..\..\..\..\View\Tower.xaml"
                this.btnNewProd.Click += new System.Windows.RoutedEventHandler(this.btnNewProd_Click);

            #line default
            #line hidden
                return;

            case 25:
                this.btnDeleteProd = ((System.Windows.Controls.Button)(target));

            #line 116 "..\..\..\..\View\Tower.xaml"
                this.btnDeleteProd.Click += new System.Windows.RoutedEventHandler(this.btnDeleteProd_Click);

            #line default
            #line hidden
                return;
            }
            this._contentLoaded = true;
        }
 public void InitializeComponent() {
     if (_contentLoaded) {
         return;
     }
     _contentLoaded = true;
     System.Windows.Application.LoadComponent(this, new System.Uri("/Galatee.Silverlight;component/Accueil/FrmClasseurClientRegroupe.xaml", System.UriKind.Relative));
     this.LayoutRoot = ((System.Windows.Controls.Grid)(this.FindName("LayoutRoot")));
     this.tabControl1 = ((System.Windows.Controls.TabControl)(this.FindName("tabControl1")));
     this.tabItem1 = ((System.Windows.Controls.TabItem)(this.FindName("tabItem1")));
     this.tab1_Txt_Centre = ((System.Windows.Controls.TextBox)(this.FindName("tab1_Txt_Centre")));
     this.label9 = ((System.Windows.Controls.Label)(this.FindName("label9")));
     this.tab1_txt_LibelleCentre = ((System.Windows.Controls.TextBox)(this.FindName("tab1_txt_LibelleCentre")));
     this.tab1_txt_Client = ((System.Windows.Controls.TextBox)(this.FindName("tab1_txt_Client")));
     this.label10 = ((System.Windows.Controls.Label)(this.FindName("label10")));
     this.tab_txt_Ordre = ((System.Windows.Controls.TextBox)(this.FindName("tab_txt_Ordre")));
     this.label11 = ((System.Windows.Controls.Label)(this.FindName("label11")));
     this.tabControl2 = ((System.Windows.Controls.TabControl)(this.FindName("tabControl2")));
     this.tabItem6 = ((System.Windows.Controls.TabItem)(this.FindName("tabItem6")));
     this.label13 = ((System.Windows.Controls.Label)(this.FindName("label13")));
     this.tab12_txt_NomClient = ((System.Windows.Controls.TextBox)(this.FindName("tab12_txt_NomClient")));
     this.label14 = ((System.Windows.Controls.Label)(this.FindName("label14")));
     this.label15 = ((System.Windows.Controls.Label)(this.FindName("label15")));
     this.txt_NINA = ((System.Windows.Controls.TextBox)(this.FindName("txt_NINA")));
     this.rdb_Owner = ((System.Windows.Controls.RadioButton)(this.FindName("rdb_Owner")));
     this.rdb_Tenant = ((System.Windows.Controls.RadioButton)(this.FindName("rdb_Tenant")));
     this.tab12_txt_addresse = ((System.Windows.Controls.TextBox)(this.FindName("tab12_txt_addresse")));
     this.tab12_txt_addresse2 = ((System.Windows.Controls.TextBox)(this.FindName("tab12_txt_addresse2")));
     this.lbl_CodeConsomateur = ((System.Windows.Controls.Label)(this.FindName("lbl_CodeConsomateur")));
     this.lbl_CodeRelance = ((System.Windows.Controls.Label)(this.FindName("lbl_CodeRelance")));
     this.lbl_categoie = ((System.Windows.Controls.Label)(this.FindName("lbl_categoie")));
     this.tab12_Txt_LibelleCodeConso = ((System.Windows.Controls.TextBox)(this.FindName("tab12_Txt_LibelleCodeConso")));
     this.tab12_Txt_LibelleEtatClient = ((System.Windows.Controls.TextBox)(this.FindName("tab12_Txt_LibelleEtatClient")));
     this.tab12_Txt_LibelleCategorie = ((System.Windows.Controls.TextBox)(this.FindName("tab12_Txt_LibelleCategorie")));
     this.lbl_CodeRegroupement = ((System.Windows.Controls.Label)(this.FindName("lbl_CodeRegroupement")));
     this.lbl_Nationnalite = ((System.Windows.Controls.Label)(this.FindName("lbl_Nationnalite")));
     this.tab12_Txt_LibelleGroupeCode = ((System.Windows.Controls.TextBox)(this.FindName("tab12_Txt_LibelleGroupeCode")));
     this.tab12_Txt_Nationnalite = ((System.Windows.Controls.TextBox)(this.FindName("tab12_Txt_Nationnalite")));
     this.lbl_RegroupementCompteur_Copy12 = ((System.Windows.Controls.Label)(this.FindName("lbl_RegroupementCompteur_Copy12")));
     this.tab12_Txt_Datecreate = ((System.Windows.Controls.TextBox)(this.FindName("tab12_Txt_Datecreate")));
     this.lbl_RegroupementCompteur_Copy13 = ((System.Windows.Controls.Label)(this.FindName("lbl_RegroupementCompteur_Copy13")));
     this.tab12_Txt_DateModif = ((System.Windows.Controls.TextBox)(this.FindName("tab12_Txt_DateModif")));
     this.tab12_txt_Telephone1 = ((System.Windows.Controls.TextBox)(this.FindName("tab12_txt_Telephone1")));
     this.label13_Copy = ((System.Windows.Controls.Label)(this.FindName("label13_Copy")));
     this.tab12_txt_NomProprietaire = ((System.Windows.Controls.TextBox)(this.FindName("tab12_txt_NomProprietaire")));
     this.tabItem2 = ((System.Windows.Controls.TabItem)(this.FindName("tabItem2")));
     this.groupBox4 = ((SilverlightContrib.Controls.GroupBox)(this.FindName("groupBox4")));
     this.groupBox5 = ((SilverlightContrib.Controls.GroupBox)(this.FindName("groupBox5")));
     this.gbo_typefact = ((SilverlightContrib.Controls.GroupBox)(this.FindName("gbo_typefact")));
     this.tab2_txt_centre = ((System.Windows.Controls.TextBox)(this.FindName("tab2_txt_centre")));
     this.label12 = ((System.Windows.Controls.Label)(this.FindName("label12")));
     this.tab2_txt_LibelleCentre = ((System.Windows.Controls.TextBox)(this.FindName("tab2_txt_LibelleCentre")));
     this.tab2_txt_client = ((System.Windows.Controls.TextBox)(this.FindName("tab2_txt_client")));
     this.lbl_Client = ((System.Windows.Controls.Label)(this.FindName("lbl_Client")));
     this.tab2_txt_Ordre = ((System.Windows.Controls.TextBox)(this.FindName("tab2_txt_Ordre")));
     this.lbl_Ordre = ((System.Windows.Controls.Label)(this.FindName("lbl_Ordre")));
     this.tab2_cbo_produit = ((System.Windows.Controls.ComboBox)(this.FindName("tab2_cbo_produit")));
     this.tab2_txt_LibelleProduit = ((System.Windows.Controls.TextBox)(this.FindName("tab2_txt_LibelleProduit")));
     this.label26 = ((System.Windows.Controls.Label)(this.FindName("label26")));
     this.lbl_CodeTarif = ((System.Windows.Controls.Label)(this.FindName("lbl_CodeTarif")));
     this.tab_txt_CodePussanceSoucrite = ((System.Windows.Controls.TextBox)(this.FindName("tab_txt_CodePussanceSoucrite")));
     this.lbl_PuissanceSouscrite = ((System.Windows.Controls.Label)(this.FindName("lbl_PuissanceSouscrite")));
     this.tab2_txt_puissanceutilise = ((System.Windows.Controls.TextBox)(this.FindName("tab2_txt_puissanceutilise")));
     this.lbl_PuissanceUtilise = ((System.Windows.Controls.Label)(this.FindName("lbl_PuissanceUtilise")));
     this.tab2_txt_Ristourne = ((System.Windows.Controls.TextBox)(this.FindName("tab2_txt_Ristourne")));
     this.lbl_Ristourne = ((System.Windows.Controls.Label)(this.FindName("lbl_Ristourne")));
     this.tab2_txt_NombreFoyer = ((System.Windows.Controls.TextBox)(this.FindName("tab2_txt_NombreFoyer")));
     this.lbl_Forfait = ((System.Windows.Controls.Label)(this.FindName("lbl_Forfait")));
     this.textBox23 = ((System.Windows.Controls.TextBox)(this.FindName("textBox23")));
     this.lbl_ForfaitPersonaliseAnnuel = ((System.Windows.Controls.Label)(this.FindName("lbl_ForfaitPersonaliseAnnuel")));
     this.lbl_NbreFoyer = ((System.Windows.Controls.Label)(this.FindName("lbl_NbreFoyer")));
     this.tab_txt_LibellePrimeFixe = ((System.Windows.Controls.TextBox)(this.FindName("tab_txt_LibellePrimeFixe")));
     this.tab2_txt_CodeTarif = ((System.Windows.Controls.TextBox)(this.FindName("tab2_txt_CodeTarif")));
     this.lbl_Periodicite = ((System.Windows.Controls.Label)(this.FindName("lbl_Periodicite")));
     this.lbl_MoisFact = ((System.Windows.Controls.Label)(this.FindName("lbl_MoisFact")));
     this.lbl_ApplicationTax = ((System.Windows.Controls.Label)(this.FindName("lbl_ApplicationTax")));
     this.lbl_MoisReleve = ((System.Windows.Controls.Label)(this.FindName("lbl_MoisReleve")));
     this.label37 = ((System.Windows.Controls.Label)(this.FindName("label37")));
     this.tab2_txt_LibelleFrequence = ((System.Windows.Controls.TextBox)(this.FindName("tab2_txt_LibelleFrequence")));
     this.tab2_txt_LibMoisFact = ((System.Windows.Controls.TextBox)(this.FindName("tab2_txt_LibMoisFact")));
     this.tab2_txt_LibelleExigibilite = ((System.Windows.Controls.TextBox)(this.FindName("tab2_txt_LibelleExigibilite")));
     this.tab2_txt_LibelleMoisIndex = ((System.Windows.Controls.TextBox)(this.FindName("tab2_txt_LibelleMoisIndex")));
     this.tab2_txt_Avance = ((System.Windows.Controls.TextBox)(this.FindName("tab2_txt_Avance")));
     this.rdb_gprInvoiceYes = ((System.Windows.Controls.RadioButton)(this.FindName("rdb_gprInvoiceYes")));
     this.rdb_GprInvoiceNo = ((System.Windows.Controls.RadioButton)(this.FindName("rdb_GprInvoiceNo")));
     this.label38 = ((System.Windows.Controls.Label)(this.FindName("label38")));
     this.tab2_txt_NbreFacture = ((System.Windows.Controls.TextBox)(this.FindName("tab2_txt_NbreFacture")));
     this.lbl_DateAbonnement = ((System.Windows.Controls.Label)(this.FindName("lbl_DateAbonnement")));
     this.tab2_txt_dateAbon = ((System.Windows.Controls.TextBox)(this.FindName("tab2_txt_dateAbon")));
     this.tab2_txt_dateresile = ((System.Windows.Controls.TextBox)(this.FindName("tab2_txt_dateresile")));
     this.lbl_DateResiliation = ((System.Windows.Controls.Label)(this.FindName("lbl_DateResiliation")));
     this.lbl_dateCreation = ((System.Windows.Controls.Label)(this.FindName("lbl_dateCreation")));
     this.tab2_txt_DateMisaJour = ((System.Windows.Controls.TextBox)(this.FindName("tab2_txt_DateMisaJour")));
     this.lbl_dateModif = ((System.Windows.Controls.Label)(this.FindName("lbl_dateModif")));
     this.tab2_txt_DateModif = ((System.Windows.Controls.TextBox)(this.FindName("tab2_txt_DateModif")));
     this.tabItem8 = ((System.Windows.Controls.TabItem)(this.FindName("tabItem8")));
     this.groupBox6 = ((SilverlightContrib.Controls.GroupBox)(this.FindName("groupBox6")));
     this.groupBox7 = ((SilverlightContrib.Controls.GroupBox)(this.FindName("groupBox7")));
     this.tab3_txt_NomClientBrt = ((System.Windows.Controls.TextBox)(this.FindName("tab3_txt_NomClientBrt")));
     this.lbl_NomProprietaire = ((System.Windows.Controls.Label)(this.FindName("lbl_NomProprietaire")));
     this.lbl_Commune = ((System.Windows.Controls.Label)(this.FindName("lbl_Commune")));
     this.lbl_Quartier = ((System.Windows.Controls.Label)(this.FindName("lbl_Quartier")));
     this.lbl_Secteur = ((System.Windows.Controls.Label)(this.FindName("lbl_Secteur")));
     this.lbl_Rue = ((System.Windows.Controls.Label)(this.FindName("lbl_Rue")));
     this.tab3_txt_LibelleCommune = ((System.Windows.Controls.TextBox)(this.FindName("tab3_txt_LibelleCommune")));
     this.tab3_txt_LibelleQuartier = ((System.Windows.Controls.TextBox)(this.FindName("tab3_txt_LibelleQuartier")));
     this.tab3_txt_Secteur = ((System.Windows.Controls.TextBox)(this.FindName("tab3_txt_Secteur")));
     this.tab3_txt_NomRue = ((System.Windows.Controls.TextBox)(this.FindName("tab3_txt_NomRue")));
     this.tab3_txt_NumRue = ((System.Windows.Controls.TextBox)(this.FindName("tab3_txt_NumRue")));
     this.lbl_NumRue = ((System.Windows.Controls.Label)(this.FindName("lbl_NumRue")));
     this.tab3_txt_etage = ((System.Windows.Controls.TextBox)(this.FindName("tab3_txt_etage")));
     this.lbl_Etage = ((System.Windows.Controls.Label)(this.FindName("lbl_Etage")));
     this.textBox24 = ((System.Windows.Controls.TextBox)(this.FindName("textBox24")));
     this.lbl_autresInfo = ((System.Windows.Controls.Label)(this.FindName("lbl_autresInfo")));
     this.textBox26 = ((System.Windows.Controls.TextBox)(this.FindName("textBox26")));
     this.label51 = ((System.Windows.Controls.Label)(this.FindName("label51")));
     this.tab3_txt_NumLot = ((System.Windows.Controls.TextBox)(this.FindName("tab3_txt_NumLot")));
     this.lbl_Lot = ((System.Windows.Controls.Label)(this.FindName("lbl_Lot")));
     this.textBox28 = ((System.Windows.Controls.TextBox)(this.FindName("textBox28")));
     this.label53 = ((System.Windows.Controls.Label)(this.FindName("label53")));
     this.tab3_txt_Telephone = ((System.Windows.Controls.TextBox)(this.FindName("tab3_txt_Telephone")));
     this.lbl_Telephone = ((System.Windows.Controls.Label)(this.FindName("lbl_Telephone")));
     this.tab3_txt_tournee = ((System.Windows.Controls.TextBox)(this.FindName("tab3_txt_tournee")));
     this.lbl_Tournee = ((System.Windows.Controls.Label)(this.FindName("lbl_Tournee")));
     this.tab3_txt_OrdreTour = ((System.Windows.Controls.TextBox)(this.FindName("tab3_txt_OrdreTour")));
     this.lbl_Sequence = ((System.Windows.Controls.Label)(this.FindName("lbl_Sequence")));
     this.tab3_txt_Centre = ((System.Windows.Controls.TextBox)(this.FindName("tab3_txt_Centre")));
     this.label60 = ((System.Windows.Controls.Label)(this.FindName("label60")));
     this.tab3_txt_LibelleCentre = ((System.Windows.Controls.TextBox)(this.FindName("tab3_txt_LibelleCentre")));
     this.tab3_txt_Client = ((System.Windows.Controls.TextBox)(this.FindName("tab3_txt_Client")));
     this.lbl_adresse = ((System.Windows.Controls.Label)(this.FindName("lbl_adresse")));
     this.tab3_txt_Ordre = ((System.Windows.Controls.TextBox)(this.FindName("tab3_txt_Ordre")));
     this.label62 = ((System.Windows.Controls.Label)(this.FindName("label62")));
     this.lbl_RegroupementCompteur_Copy = ((System.Windows.Controls.Label)(this.FindName("lbl_RegroupementCompteur_Copy")));
     this.tab3_txt_DateCreate = ((System.Windows.Controls.TextBox)(this.FindName("tab3_txt_DateCreate")));
     this.lbl_RegroupementCompteur_Copy1 = ((System.Windows.Controls.Label)(this.FindName("lbl_RegroupementCompteur_Copy1")));
     this.tab3_txt_DateModif = ((System.Windows.Controls.TextBox)(this.FindName("tab3_txt_DateModif")));
     this.tab3_txt_porte = ((System.Windows.Controls.TextBox)(this.FindName("tab3_txt_porte")));
     this.lbl_Telephone_Copy = ((System.Windows.Controls.Label)(this.FindName("lbl_Telephone_Copy")));
     this.tabItem3 = ((System.Windows.Controls.TabItem)(this.FindName("tabItem3")));
     this.tab4_txt_Centre = ((System.Windows.Controls.TextBox)(this.FindName("tab4_txt_Centre")));
     this.lbl_CentreCptClient = ((System.Windows.Controls.Label)(this.FindName("lbl_CentreCptClient")));
     this.tab4_txt_LibelleCentre = ((System.Windows.Controls.TextBox)(this.FindName("tab4_txt_LibelleCentre")));
     this.tab4_txt_Client = ((System.Windows.Controls.TextBox)(this.FindName("tab4_txt_Client")));
     this.lbl_ClientCptClient = ((System.Windows.Controls.Label)(this.FindName("lbl_ClientCptClient")));
     this.tab4_txt_Ordre = ((System.Windows.Controls.TextBox)(this.FindName("tab4_txt_Ordre")));
     this.lbl_OrdreCptClient = ((System.Windows.Controls.Label)(this.FindName("lbl_OrdreCptClient")));
     this.tab4_cbo_Operation = ((System.Windows.Controls.ComboBox)(this.FindName("tab4_cbo_Operation")));
     this.label66 = ((System.Windows.Controls.Label)(this.FindName("label66")));
     this.btn_Editer_Copy = ((System.Windows.Controls.Button)(this.FindName("btn_Editer_Copy")));
     this.tab4_dataGridFacture = ((System.Windows.Controls.DataGrid)(this.FindName("tab4_dataGridFacture")));
     this.tab4_dataGridReglement = ((System.Windows.Controls.DataGrid)(this.FindName("tab4_dataGridReglement")));
     this.tab4_txt_TotalDebit = ((System.Windows.Controls.TextBox)(this.FindName("tab4_txt_TotalDebit")));
     this.tab4_txt_TotalCredit = ((System.Windows.Controls.TextBox)(this.FindName("tab4_txt_TotalCredit")));
     this.tab4_txt_balance = ((System.Windows.Controls.TextBox)(this.FindName("tab4_txt_balance")));
     this.label68 = ((System.Windows.Controls.Label)(this.FindName("label68")));
     this.label69 = ((System.Windows.Controls.Label)(this.FindName("label69")));
     this.label70 = ((System.Windows.Controls.Label)(this.FindName("label70")));
     this.tab4_dataGridAllCompteClient = ((System.Windows.Controls.DataGrid)(this.FindName("tab4_dataGridAllCompteClient")));
     this.btn_periode = ((System.Windows.Controls.Button)(this.FindName("btn_periode")));
     this.tab4_dataGridImpaye = ((System.Windows.Controls.DataGrid)(this.FindName("tab4_dataGridImpaye")));
     this.tab4_dataGridMandatement = ((System.Windows.Controls.DataGrid)(this.FindName("tab4_dataGridMandatement")));
     this.tabItem4 = ((System.Windows.Controls.TabItem)(this.FindName("tabItem4")));
     this.tabControl3 = ((System.Windows.Controls.TabControl)(this.FindName("tabControl3")));
     this.tabItem9 = ((System.Windows.Controls.TabItem)(this.FindName("tabItem9")));
     this.tab5_txt_NumCompteur = ((System.Windows.Controls.TextBox)(this.FindName("tab5_txt_NumCompteur")));
     this.tab5_txt_MarqueCompteur = ((System.Windows.Controls.TextBox)(this.FindName("tab5_txt_MarqueCompteur")));
     this.tab5_txt_LibelleDigit = ((System.Windows.Controls.TextBox)(this.FindName("tab5_txt_LibelleDigit")));
     this.tab5_Chk_CoefMultiplication = ((System.Windows.Controls.CheckBox)(this.FindName("tab5_Chk_CoefMultiplication")));
     this.tab5_txt_CoefDeMultiplication = ((System.Windows.Controls.TextBox)(this.FindName("tab5_txt_CoefDeMultiplication")));
     this.tab5_txt_localisationCompteur = ((System.Windows.Controls.TextBox)(this.FindName("tab5_txt_localisationCompteur")));
     this.lbl_NumeroCompteur = ((System.Windows.Controls.Label)(this.FindName("lbl_NumeroCompteur")));
     this.lbl_AnneFabrication = ((System.Windows.Controls.Label)(this.FindName("lbl_AnneFabrication")));
     this.tab5_txt_AnnefabricCompteur = ((System.Windows.Controls.TextBox)(this.FindName("tab5_txt_AnnefabricCompteur")));
     this.lbl_typeCompteur = ((System.Windows.Controls.Label)(this.FindName("lbl_typeCompteur")));
     this.lbl_Marque = ((System.Windows.Controls.Label)(this.FindName("lbl_Marque")));
     this.label76 = ((System.Windows.Controls.Label)(this.FindName("label76")));
     this.lbl_Localisation = ((System.Windows.Controls.Label)(this.FindName("lbl_Localisation")));
     this.tab5_txt_LibelleTypeCompteur = ((System.Windows.Controls.TextBox)(this.FindName("tab5_txt_LibelleTypeCompteur")));
     this.lbl_Diametre = ((System.Windows.Controls.Label)(this.FindName("lbl_Diametre")));
     this.tab5_txt_LibelleDiametreCompteur = ((System.Windows.Controls.TextBox)(this.FindName("tab5_txt_LibelleDiametreCompteur")));
     this.lbl_RegroupementCompteur_Copy4 = ((System.Windows.Controls.Label)(this.FindName("lbl_RegroupementCompteur_Copy4")));
     this.lbl_RegroupementCompteur_Copy5 = ((System.Windows.Controls.Label)(this.FindName("lbl_RegroupementCompteur_Copy5")));
     this.tab5_txt_DateMiseEnService = ((System.Windows.Controls.TextBox)(this.FindName("tab5_txt_DateMiseEnService")));
     this.tab5_txt_DateFinServce = ((System.Windows.Controls.TextBox)(this.FindName("tab5_txt_DateFinServce")));
     this.lbl_RegroupementCompteur_Copy2 = ((System.Windows.Controls.Label)(this.FindName("lbl_RegroupementCompteur_Copy2")));
     this.lbl_RegroupementCompteur_Copy3 = ((System.Windows.Controls.Label)(this.FindName("lbl_RegroupementCompteur_Copy3")));
     this.tab5_txt_DateCreate = ((System.Windows.Controls.TextBox)(this.FindName("tab5_txt_DateCreate")));
     this.tab5_txt_DateModif = ((System.Windows.Controls.TextBox)(this.FindName("tab5_txt_DateModif")));
     this.tabItem10 = ((System.Windows.Controls.TabItem)(this.FindName("tabItem10")));
     this.tab5_Stab2dataGrid2 = ((System.Windows.Controls.DataGrid)(this.FindName("tab5_Stab2dataGrid2")));
     this.Btn_ImprimerEvt = ((System.Windows.Controls.Button)(this.FindName("Btn_ImprimerEvt")));
     this.tab5_dataGrid1 = ((System.Windows.Controls.DataGrid)(this.FindName("tab5_dataGrid1")));
     this.tab5_Txt_Centre = ((System.Windows.Controls.TextBox)(this.FindName("tab5_Txt_Centre")));
     this.label78 = ((System.Windows.Controls.Label)(this.FindName("label78")));
     this.tab5_txt_LibelleCentre = ((System.Windows.Controls.TextBox)(this.FindName("tab5_txt_LibelleCentre")));
     this.tab5_txt_Client = ((System.Windows.Controls.TextBox)(this.FindName("tab5_txt_Client")));
     this.label79 = ((System.Windows.Controls.Label)(this.FindName("label79")));
     this.tab6_txt_centre = ((System.Windows.Controls.TabItem)(this.FindName("tab6_txt_centre")));
     this.tabControl4 = ((System.Windows.Controls.TabControl)(this.FindName("tabControl4")));
     this.tabItem11 = ((System.Windows.Controls.TabItem)(this.FindName("tabItem11")));
     this.groupBox1 = ((SilverlightContrib.Controls.GroupBox)(this.FindName("groupBox1")));
     this.tab6_stab1_txt_dateracordement = ((System.Windows.Controls.TextBox)(this.FindName("tab6_stab1_txt_dateracordement")));
     this.tab6_stab1_rdb_InService = ((System.Windows.Controls.RadioButton)(this.FindName("tab6_stab1_rdb_InService")));
     this.tab6_stab1_rdb_deconnecter = ((System.Windows.Controls.RadioButton)(this.FindName("tab6_stab1_rdb_deconnecter")));
     this.tab6_stab1_txt_dateresil = ((System.Windows.Controls.TextBox)(this.FindName("tab6_stab1_txt_dateresil")));
     this.lbl_DateFermeture = ((System.Windows.Controls.Label)(this.FindName("lbl_DateFermeture")));
     this.lbl_DateConnectionbrt = ((System.Windows.Controls.Label)(this.FindName("lbl_DateConnectionbrt")));
     this.lbl_RegroupementCompteur_Copy8 = ((System.Windows.Controls.Label)(this.FindName("lbl_RegroupementCompteur_Copy8")));
     this.lbl_RegroupementCompteur_Copy9 = ((System.Windows.Controls.Label)(this.FindName("lbl_RegroupementCompteur_Copy9")));
     this.tab6_stab1_txt_Datecreat = ((System.Windows.Controls.TextBox)(this.FindName("tab6_stab1_txt_Datecreat")));
     this.tab6_stab1_txt_DateModif = ((System.Windows.Controls.TextBox)(this.FindName("tab6_stab1_txt_DateModif")));
     this.lDistance = ((System.Windows.Controls.Label)(this.FindName("lDistance")));
     this.label7_Copy1 = ((System.Windows.Controls.Label)(this.FindName("label7_Copy1")));
     this.Txt_BranchementProche = ((System.Windows.Controls.TextBox)(this.FindName("Txt_BranchementProche")));
     this.tab6_stab1_txt_LongueurBrt = ((System.Windows.Controls.TextBox)(this.FindName("tab6_stab1_txt_LongueurBrt")));
     this.lbl_QuartierDuPoste = ((System.Windows.Controls.Label)(this.FindName("lbl_QuartierDuPoste")));
     this.Txt_LibelleQuartierPoste = ((System.Windows.Controls.TextBox)(this.FindName("Txt_LibelleQuartierPoste")));
     this.lbl_Depart = ((System.Windows.Controls.Label)(this.FindName("lbl_Depart")));
     this.Txt_LibelleDepartHTA = ((System.Windows.Controls.TextBox)(this.FindName("Txt_LibelleDepartHTA")));
     this.tab6_stab1_txt_AdresseReseau = ((System.Windows.Controls.TextBox)(this.FindName("tab6_stab1_txt_AdresseReseau")));
     this.lbl_Codification = ((System.Windows.Controls.Label)(this.FindName("lbl_Codification")));
     this.tab6_stab1_txt_Longitude = ((System.Windows.Controls.TextBox)(this.FindName("tab6_stab1_txt_Longitude")));
     this.lbl_longitude = ((System.Windows.Controls.Label)(this.FindName("lbl_longitude")));
     this.tab6_stab1_txt_Latitude = ((System.Windows.Controls.TextBox)(this.FindName("tab6_stab1_txt_Latitude")));
     this.lbl_latitude = ((System.Windows.Controls.Label)(this.FindName("lbl_latitude")));
     this.lbl_Depart_Copy = ((System.Windows.Controls.Label)(this.FindName("lbl_Depart_Copy")));
     this.Txt_LibellePosteSource = ((System.Windows.Controls.TextBox)(this.FindName("Txt_LibellePosteSource")));
     this.lbl_QuartierDuPoste_Copy = ((System.Windows.Controls.Label)(this.FindName("lbl_QuartierDuPoste_Copy")));
     this.Txt_LibellePosteTransformateur = ((System.Windows.Controls.TextBox)(this.FindName("Txt_LibellePosteTransformateur")));
     this.lbl_QuartierDuPoste_Copy1 = ((System.Windows.Controls.Label)(this.FindName("lbl_QuartierDuPoste_Copy1")));
     this.Txt_LibelleDepartBt = ((System.Windows.Controls.TextBox)(this.FindName("Txt_LibelleDepartBt")));
     this.Txt_NeoudFinal = ((System.Windows.Controls.TextBox)(this.FindName("Txt_NeoudFinal")));
     this.lbl_NoeudFinal = ((System.Windows.Controls.Label)(this.FindName("lbl_NoeudFinal")));
     this.lbl_diametre = ((System.Windows.Controls.Label)(this.FindName("lbl_diametre")));
     this.tab6_stab1_Txt_LibelleTypeBrt = ((System.Windows.Controls.TextBox)(this.FindName("tab6_stab1_Txt_LibelleTypeBrt")));
     this.tab6_stab1_txt_NbPoint = ((System.Windows.Controls.TextBox)(this.FindName("tab6_stab1_txt_NbPoint")));
     this.lbl_longitude_Copy = ((System.Windows.Controls.Label)(this.FindName("lbl_longitude_Copy")));
     this.tabItemScelle = ((System.Windows.Controls.TabItem)(this.FindName("tabItemScelle")));
     this.tab4_dataScelle = ((System.Windows.Controls.DataGrid)(this.FindName("tab4_dataScelle")));
     this.tab4_dataScelle_Copy = ((System.Windows.Controls.DataGrid)(this.FindName("tab4_dataScelle_Copy")));
     this.mapCanvas = ((System.Windows.Controls.Grid)(this.FindName("mapCanvas")));
     this.Map = ((Microsoft.Maps.MapControl.Map)(this.FindName("Map")));
     this.PushpinsLayer = ((Microsoft.Maps.MapControl.MapLayer)(this.FindName("PushpinsLayer")));
     this.MessageContent = ((System.Windows.Controls.Border)(this.FindName("MessageContent")));
     this.StatusMessage = ((System.Windows.Controls.TextBlock)(this.FindName("StatusMessage")));
     this.tab6_Txt_Centre = ((System.Windows.Controls.TextBox)(this.FindName("tab6_Txt_Centre")));
     this.label89 = ((System.Windows.Controls.Label)(this.FindName("label89")));
     this.tab6_txt_LibelleCentre = ((System.Windows.Controls.TextBox)(this.FindName("tab6_txt_LibelleCentre")));
     this.tab6_txt_Client = ((System.Windows.Controls.TextBox)(this.FindName("tab6_txt_Client")));
     this.label90 = ((System.Windows.Controls.Label)(this.FindName("label90")));
     this.tab6_txt_Ordre = ((System.Windows.Controls.TextBox)(this.FindName("tab6_txt_Ordre")));
     this.label91 = ((System.Windows.Controls.Label)(this.FindName("label91")));
     this.tab6_cbo_produit = ((System.Windows.Controls.ComboBox)(this.FindName("tab6_cbo_produit")));
     this.tab6_txt_LibelleProduit = ((System.Windows.Controls.TextBox)(this.FindName("tab6_txt_LibelleProduit")));
     this.label92 = ((System.Windows.Controls.Label)(this.FindName("label92")));
     this.tb_SuivieDemande = ((System.Windows.Controls.TabItem)(this.FindName("tb_SuivieDemande")));
     this.dtg_Demande = ((System.Windows.Controls.DataGrid)(this.FindName("dtg_Demande")));
     this.Btn_Consultation = ((System.Windows.Controls.Button)(this.FindName("Btn_Consultation")));
     this.dataGrid1 = ((System.Windows.Controls.DataGrid)(this.FindName("dataGrid1")));
     this.datapager = ((System.Windows.Controls.DataPager)(this.FindName("datapager")));
     this.Quit = ((System.Windows.Controls.Button)(this.FindName("Quit")));
     this.button4 = ((System.Windows.Controls.Button)(this.FindName("button4")));
     this.btn_Imprimer = ((System.Windows.Controls.Button)(this.FindName("btn_Imprimer")));
     this.lbl_Centre = ((System.Windows.Controls.Label)(this.FindName("lbl_Centre")));
     this.btn_Centre = ((System.Windows.Controls.Button)(this.FindName("btn_Centre")));
     this.Txt_LibelleCentre = ((System.Windows.Controls.TextBox)(this.FindName("Txt_LibelleCentre")));
     this.txt_Regroupement = ((System.Windows.Controls.TextBox)(this.FindName("txt_Regroupement")));
     this.btn_Regroupement = ((System.Windows.Controls.Button)(this.FindName("btn_Regroupement")));
     this.Txt_LibelleRegroupement = ((System.Windows.Controls.TextBox)(this.FindName("Txt_LibelleRegroupement")));
 }
Esempio n. 60
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.principa = ((Reservas.principal)(target));

            #line 4 "..\..\principal.xaml"
                this.principa.Closing += new System.ComponentModel.CancelEventHandler(this.principal_Closing);

            #line default
            #line hidden
                return;

            case 2:
                this.lblcedula = ((System.Windows.Controls.Label)(target));
                return;

            case 3:
                this.txtcedula = ((System.Windows.Controls.TextBox)(target));

            #line 26 "..\..\principal.xaml"
                this.txtcedula.KeyUp += new System.Windows.Input.KeyEventHandler(this.txtcedula_KeyUp);

            #line default
            #line hidden
                return;

            case 4:
                this.dtgrdContratos = ((System.Windows.Controls.DataGrid)(target));

            #line 27 "..\..\principal.xaml"
                this.dtgrdContratos.MouseDoubleClick += new System.Windows.Input.MouseButtonEventHandler(this.dtgrdContratos_MouseDoubleClick);

            #line default
            #line hidden
                return;

            case 5:
                this.lblNombre = ((System.Windows.Controls.Label)(target));
                return;

            case 6:
                this.lblValorNombre = ((System.Windows.Controls.Label)(target));
                return;

            case 7:
                this.lblDireccion = ((System.Windows.Controls.Label)(target));
                return;

            case 8:
                this.lblValorDireccion = ((System.Windows.Controls.Label)(target));
                return;

            case 9:
                this.lblTelefonos = ((System.Windows.Controls.Label)(target));
                return;

            case 10:
                this.lblValorTelefonos = ((System.Windows.Controls.Label)(target));
                return;

            case 11:
                this.lblEmail = ((System.Windows.Controls.Label)(target));
                return;

            case 12:
                this.lblValorEmail = ((System.Windows.Controls.Label)(target));
                return;

            case 13:
                this.lblTotalPuntos = ((System.Windows.Controls.Label)(target));
                return;

            case 14:
                this.lblValorTotalPuntos = ((System.Windows.Controls.Label)(target));
                return;

            case 15:
                this.lblPuntosConsumidos = ((System.Windows.Controls.Label)(target));
                return;

            case 16:
                this.lblValorPuntosConsumidos = ((System.Windows.Controls.Label)(target));
                return;

            case 17:
                this.lblPuntosDisponibles = ((System.Windows.Controls.Label)(target));
                return;

            case 18:
                this.lblValorPuntosDisponibles = ((System.Windows.Controls.Label)(target));
                return;

            case 19:
                this.lblcontrato = ((System.Windows.Controls.Label)(target));
                return;

            case 20:
                this.lblcliente = ((System.Windows.Controls.Label)(target));
                return;

            case 21:
                this.lblcliente_Copy = ((System.Windows.Controls.Label)(target));
                return;

            case 22:
                this.dtgrdPuntosPorAnio = ((System.Windows.Controls.DataGrid)(target));
                return;

            case 23:
                this.lblValorNcontrato = ((System.Windows.Controls.Label)(target));
                return;

            case 24:
                this.lblcliente_Copy1 = ((System.Windows.Controls.Label)(target));
                return;

            case 25:
                this.dpFechaI = ((System.Windows.Controls.DatePicker)(target));

            #line 52 "..\..\principal.xaml"
                this.dpFechaI.SelectedDateChanged += new System.EventHandler <System.Windows.Controls.SelectionChangedEventArgs>(this.dpFechaI_SelectedDateChanged);

            #line default
            #line hidden
                return;

            case 26:
                this.dpFechaF = ((System.Windows.Controls.DatePicker)(target));
                return;

            case 27:
                this.lblFechaI = ((System.Windows.Controls.Label)(target));
                return;

            case 28:
                this.lblFechaf = ((System.Windows.Controls.Label)(target));
                return;

            case 29:
                this.lblHotel = ((System.Windows.Controls.Label)(target));
                return;

            case 30:
                this.lstHotel = ((System.Windows.Controls.ComboBox)(target));

            #line 57 "..\..\principal.xaml"
                this.lstHotel.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.lstHotel_SelectionChanged);

            #line default
            #line hidden
                return;

            case 31:
                this.lblHabitacion = ((System.Windows.Controls.Label)(target));
                return;

            case 32:
                this.lstHabitacion = ((System.Windows.Controls.ComboBox)(target));

            #line 59 "..\..\principal.xaml"
                this.lstHabitacion.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.lstHabitacion_SelectionChanged);

            #line default
            #line hidden
                return;

            case 33:
                this.logo = ((System.Windows.Controls.Image)(target));
                return;

            case 34:
                this.dtgrdPuntosPorAnio_Copy = ((System.Windows.Controls.DataGrid)(target));
                return;

            case 35:
                this.lblcliente_Copy2 = ((System.Windows.Controls.Label)(target));
                return;

            case 36:
                this.lblHabitacion_Copy = ((System.Windows.Controls.Label)(target));
                return;

            case 37:
                this.lblValorCapacidad = ((System.Windows.Controls.Label)(target));
                return;
            }
            this._contentLoaded = true;
        }