public ColorGridBox()
        {
            // Define the ItemsPanel template.
            FrameworkElementFactory factoryUnigrid =
                            new FrameworkElementFactory(typeof(UniformGrid));
            factoryUnigrid.SetValue(UniformGrid.ColumnsProperty, 8);
            ItemsPanel = new ItemsPanelTemplate(factoryUnigrid);

            // Add items to the ListBox.
            foreach (string strColor in strColors)
            {
                // Create Rectangle and add to ListBox.
                Rectangle rect = new Rectangle();
                rect.Width = 12;
                rect.Height = 12;
                rect.Margin = new Thickness(4);
                rect.Fill = (Brush)
                    typeof(Brushes).GetProperty(strColor).GetValue(null, null);
                Items.Add(rect);

                // Create ToolTip for Rectangle.
                ToolTip tip = new ToolTip();
                tip.Content = strColor;
                rect.ToolTip = tip;
            }
            // Indicate that SelectedValue is Fill property of Rectangle item.
            SelectedValuePath = "Fill";
        }
        /// <summary>
        /// ShowActualWidthToolTip shows actual width of the left and right column near the GridSplitter column, so one can split two columns precisely
        /// </summary>
        /// <param name="gs"></param>
        /// <param name="tt"></param>
        // TODO: MainWindow.ShowActualWidthToolTip seems to be to tricky for reusability, maybe one find a more scaleable solution
        private void ShowActualWidthToolTip(GridSplitter gs, ToolTip tt)
        {
            // If the GridSplitter isn't positioned correctly in a seperate column between two other columns, drop functionality
            Grid parentGrid = gs.Parent as Grid;
            double? leftColumnActualWidth = null;
            double? rightColumnActualWidth = null;
            try 
            {
                leftColumnActualWidth = parentGrid.ColumnDefinitions[(Grid.GetColumn(gs) - 1)].ActualWidth;
                rightColumnActualWidth = parentGrid.ColumnDefinitions[Grid.GetColumn(gs) + 1].ActualWidth;
 
            }
            catch (ArgumentOutOfRangeException ex)
            {
                MessageBox.Show("Something went wrong in your GridSplitter layout. Splitter must been set in a column between the two columns who method tries to evaluate actual width. \n\n" + ex.Message, "Error", MessageBoxButton.OK);
            }

            tt.Content = String.Format("\u21E4 Width left {0} | {1} Width right \u21E5", leftColumnActualWidth, rightColumnActualWidth);
            tt.PlacementTarget = this;
            tt.Placement = PlacementMode.Relative;
            tt.HorizontalOffset = (Mouse.GetPosition(this).X - (tt.ActualWidth / 2));
            tt.VerticalOffset = (Mouse.GetPosition(this).Y + 10);
            tt.IsOpen = true;
            return;
        }
Example #3
0
 private void ShowToolTip()
 {
     if (tooltip == null)
     {
         tooltip = new ToolTip();
         tooltip.StaysOpen = true;
         timer = new DispatcherTimer();
         timer.Interval = TimeSpan.FromSeconds(1.5);
         tooltip.PlacementTarget = Element;
         tooltip.Placement = PlacementMode.Right;
         timer.Tick += delegate
         {
             tooltip.IsOpen = false;
             timer.Stop();
         };
     }
     var list = ValidationService.GetErrors(Element);
     if (list.Count == 0) return;
     tooltip.Content = list.OrderBy(e => e.Priority).First().ErrorContent;
     if (tooltip.Content != null)
     {
         tooltip.IsOpen = true;
         timer.Start();
     }
 }
        /// <summary>
        /// Tworzy linka i ustawia jego właściwości
        /// </summary>
        /// <param name="linkText"></param>
        /// <param name="linkAdress"></param>
        /// <param name="toolTip"></param>
        /// <returns></returns>
        private static Hyperlink CreateHyperLink(string linkText, string linkAdress, string toolTip, FontWeight weight,
                                                 Brush linkColor, RoutedCommand command)
        {
            System.Windows.Controls.ToolTip tip = new ToolTip();
            tip.Content = toolTip;
            tip.StaysOpen = true;

            tip.Style = (Style) Application.Current.FindResource("YellowToolTipStyle");

            Hyperlink hyperlink = new Hyperlink(new Run(linkText))
                                      {
                                          NavigateUri = new Uri(linkAdress),
                                          TextDecorations = null,
                                          FontWeight = weight,
                                          //FontWeights.SemiBold,
                                          Foreground = linkColor,
                                          ToolTip = tip
                                      };

            hyperlink.Command = command;
            hyperlink.CommandParameter = linkAdress;

            ToolTipService.SetInitialShowDelay(hyperlink,700);
            ToolTipService.SetShowDuration(hyperlink,15000);

            //hyperlink.AddHandler(Hyperlink.RequestNavigateEvent,
            //                        new RequestNavigateEventHandler(HyperLinkRequestNavigate));
            return hyperlink;
        }
        void AddFileToolBar(ToolBarTray tray, int band, int index)
        {
            ToolBar toolbar = new ToolBar();
            toolbar.Band = band;
            toolbar.BandIndex = index;
            tray.ToolBars.Add(toolbar);

            RoutedUICommand[] comm = {
                ApplicationCommands.New, ApplicationCommands.Open, ApplicationCommands.Save
            };

            string[] strImages = {
                "NewDocumentHS.png", "OpenHS.png", "SaveHS.png"
            };

            for (int i = 0; i < 3; i++)
            {
                Button btn = new Button();
                btn.Command = comm[i];
                toolbar.Items.Add(btn);
                string fileName = Path.Combine(Directory.GetCurrentDirectory(), strImages[i]);
                Image img = new Image();
                img.Source = new BitmapImage(new Uri(fileName));
                img.Stretch = Stretch.None;
                btn.Content = img;

                ToolTip tip = new ToolTip();
                tip.Content = comm[i].Text;
                btn.ToolTip = tip;
            }

            CommandBindings.Add(new CommandBinding(ApplicationCommands.New, OnNew));
            CommandBindings.Add(new CommandBinding(ApplicationCommands.Open, OnOpen));
            CommandBindings.Add(new CommandBinding(ApplicationCommands.Save, OnSave));
        }
        /*method*/
        public Tower(int _hp, int _atk, int _range, int _towerLevel, bool _isPlayer, Grid _grid, Grid _gridTopBar)
        {
            maxHP = _hp;
            hp = _hp;
            atk = _atk;
            range = _range;
            towerLevel = _towerLevel;
            _attackspeed = 100;//單位是10毫秒
            isEnemy = !_isPlayer;
            grid = _grid;
            LabelSetting();
            grid.Children.Add(ImgTower);
            _gridTopBar.Children.Add(lbHP_BG);
            _gridTopBar.Children.Add(lbTowerHP);

            if (isEnemy)
                _axis = 986;//lbTower.Margin.Right;
            else
                _axis = 108;//lbTower.Margin.Right + lbTower.Width;
            tp.Content = "等 級: " + TowerLevel.ToString() + "\n血 量: " + HP.ToString() + '\n' + "射 程: " + RANGE.ToString() + "\n攻擊力: " + ATK.ToString();
            tp.Background = Brushes.LightSteelBlue;
            tp.BorderBrush = Brushes.Black;
            tp.BorderThickness = new Thickness(2);
            ImgTower.ToolTip = tp;

            ToolTip tmp = new ToolTip();
            tmp.Background = Brushes.LightSteelBlue;
            tmp.BorderBrush = Brushes.Black;
            tmp.BorderThickness = new Thickness(2);
            tmp.Content = "血 量:" + HP.ToString() + '/' + maxHP.ToString();
            lbTowerHP.ToolTip = tmp;
            lbHP_BG.ToolTip = tmp;
        }
Example #7
0
        public Person(Canvas canvas, Graph graph, Point point, CurrentPerson cp, ToolTip tp)
        {
            image = new Image();
            var img = new BitmapImage();
            img.BeginInit();
            img.UriSource = new Uri("pack://application:,,,/program_final;component/Resources/miku.gif");
            img.EndInit();
            ImageBehavior.SetAnimatedSource(image, img);

            image.MouseLeftButtonUp += Person_MouseLeftButtonUp;
            image.ToolTip = tp;
            ToolTipService.SetInitialShowDelay(image, 0);
            ToolTipService.SetShowDuration(image, 60000);

            canvas.Children.Add(image);
            Canvas.SetZIndex(image, 1);
            point = graph.closestNode(point).getPoint();
            Canvas.SetLeft(image, point.X - 16);
            Canvas.SetTop(image, point.Y - 34);

            this.location = point;
            this.graph = graph;
            this.canvas = canvas;
            this.moving = false;
            this.cp = cp;
        }
        public SimpleUIBoundToCustomer()
        {
            var stack = new StackPanel();
            Content = stack;

            var textBlock = new TextBlock();
            textBlock.SetBinding(TextBlock.TextProperty, new Binding("FirstName"));
            stack.Children.Add(textBlock);

            textBlock = new TextBlock();
            textBlock.SetBinding(TextBlock.TextProperty, new Binding("LstName")); //purposefully misspelled
            stack.Children.Add(textBlock);

            textBlock = new TextBlock();
            textBlock.SetBinding(TextBlock.TextProperty, new Binding()); //context
            stack.Children.Add(textBlock);

            var checkbox = new CheckBox();
            checkbox.SetBinding(CheckBox.IsCheckedProperty, new Binding("asdfsdf")); //does not exist
            stack.Children.Add(checkbox);

            var tooltip = new ToolTip();
            tooltip.SetBinding(System.Windows.Controls.ToolTip.ContentProperty, new Binding("asdfasdasdf")); // does not exist
            stack.ToolTip = tooltip;

            var childUserControl = new SimpleUIBoundToCustomerByAttachedPorperty();
            stack.Children.Add(childUserControl);
        }
Example #9
0
        public Image GetContextMenuItem()
        {
            Image pb = new Image();
            pb.Width = 50;
            pb.Height = 50;
            pb.Stretch = System.Windows.Media.Stretch.Uniform;
            pb.Source = this.GetImage();
            //pb.Margin = new Padding(10);
            
            ContextMenu menu = new ContextMenu();

            MenuItem actions = new MenuItem();
            actions.Header = "Actions";

            menu.Items.Add(actions);

            foreach (string actionName in this.Template.Actions)
            {
                MenuItem displayAction = GameAction.Get(actionName).GetMenuItemForProp(new ActionEventArgs(Game.Instance.Player, null, this));

                if (displayAction != null)
                {
                    actions.Items.Add(displayAction);
                }
            }

            pb.ContextMenu = menu;

            ToolTip tooltip = new ToolTip();
            tooltip.Content = this.Template.Description;
            pb.ToolTip = tooltip;

            return pb;
        }
Example #10
0
        public void MouseHover(object sender, MouseEventArgs e)
        {
            var pos = textView.GetPositionFloor(e.GetPosition(textView) + textView.ScrollOffset);
            bool inDocument = pos.HasValue;
            if (inDocument)
            {
                TextLocation logicalPosition = pos.Value.Location;
                int offset = textView.Document.GetOffset(logicalPosition);

                var markersAtOffset = errorMarker.GetMarkersAtOffset(offset);
                ErrorMarker.TextMarker markerWithToolTip = markersAtOffset.FirstOrDefault(marker => marker.ToolTip != null);

                if (markerWithToolTip != null)
                {
                    if (toolTip == null)
                    {
                        toolTip = new ToolTip();
                        toolTip.Closed += ToolTipClosed;
                        toolTip.PlacementTarget = editor;
                        toolTip.Content = new TextBlock
                        {
                            Text = markerWithToolTip.ToolTip,
                            TextWrapping = TextWrapping.Wrap
                        };
                        toolTip.IsOpen = true;
                        e.Handled = true;
                    }
                }
            }
        }
Example #11
0
        public WebView()
        {
            Focusable = true;
            FocusVisualStyle = null;
            IsTabStop = true;

            Dispatcher.BeginInvoke((Action)(() => WebBrowser = this));

            Loaded += OnLoaded;
            Unloaded += OnUnloaded;

            GotKeyboardFocus += OnGotKeyboardFocus;
            LostKeyboardFocus += OnLostKeyboardFocus;

            IsVisibleChanged += OnIsVisibleChanged;

            ToolTip = toolTip = new ToolTip();
            toolTip.StaysOpen = true;
            toolTip.Visibility = Visibility.Collapsed;
            toolTip.Closed += OnTooltipClosed;

            BackCommand = new DelegateCommand(Back, () => CanGoBack);
            ForwardCommand = new DelegateCommand(Forward, () => CanGoForward);
            ReloadCommand = new DelegateCommand(Reload, () => CanReload);

            managedCefBrowserAdapter = new ManagedCefBrowserAdapter(this);
            managedCefBrowserAdapter.CreateOffscreenBrowser(BrowserSettings ?? new BrowserSettings());

            disposables.Add(managedCefBrowserAdapter);

            disposables.Add(new DisposableEventWrapper(this, ActualHeightProperty, OnActualSizeChanged));
            disposables.Add(new DisposableEventWrapper(this, ActualWidthProperty, OnActualSizeChanged));
        }
Example #12
0
        public ToolTipService(MapControl3D control)
        {
            m_control = control;
            m_hoverTileView = control.HoverTileView;

            m_content = new TileToolTipControl();
            m_content.DataContext = m_hoverTileView;

            var popup = new ToolTip();
            popup.Content = m_content;
            popup.Placement = System.Windows.Controls.Primitives.PlacementMode.Right;
            popup.HorizontalOffset = 4;
            popup.PlacementTarget = m_control;
            m_popup = popup;

            // Disable the animations, because we lose datacontext during fade-out animation.
            // We need to override the default values in the PlacementTarget control
            m_control.Resources.Add(SystemParameters.ToolTipAnimationKey, false);
            m_control.Resources.Add(SystemParameters.ToolTipFadeKey, false);
            m_control.Resources.Add(SystemParameters.ToolTipPopupAnimationKey, PopupAnimation.None);

            this.IsToolTipEnabled = true;

            m_control.GotMouseCapture += (s, e) => this.IsToolTipEnabled = false;
            m_control.LostMouseCapture += (s, e) => this.IsToolTipEnabled = true;
        }
Example #13
0
		/// <summary>
		/// Performs a lookup for the defined <see cref="Title"/> and
		/// <see cref="Info"/> and creates the tooltip control.
		/// </summary>
		/// <returns>
		/// A <see cref="ToolTip"/> that contains the
		/// <see cref="InfoPopup"/> control.
		/// </returns>
		public override object ProvideValue(IServiceProvider serviceProvider)
		{
			//create the user control that 
			InfoPopup popup = new InfoPopup();


			if (!String.IsNullOrEmpty(Title))
			{
				//look up title - if the string is not a
				//resource key, use it directly
				var result = Resources.ResourceManager.GetObject(Title) ?? Title;
				popup.HeaderText = (string)result;
			}

			if (!String.IsNullOrEmpty(Body))
			{
				//look up body text - if the string is not a
				//resource key, use it directly
				var result = Resources.ResourceManager.GetObject(Body) ?? Body;
				popup.BodyText = (string)result;
			}

			//create tooltip and make sure it's not visible
			ToolTip tt = new ToolTip();
			tt.HasDropShadow = false;
			tt.BorderThickness = new Thickness(0);
			tt.Background = Brushes.Transparent;
			tt.Content = popup;

			return tt;
		}
 public ToolTipController()
 {
     myTip = new ToolTip();
     myTimer = new DispatcherTimer();
     myTimer.Interval = new TimeSpan( ToolTipService.GetInitialShowDelay( myTip ) * 10000 );
     myTimer.Tick += new EventHandler( OnTick );
 }
 private static void OnTooltipPropertyChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)
 {
     var frameworkElement = d as FrameworkElement;
     if (frameworkElement != null)
     {
         var header = (string) frameworkElement.GetValue(TooltipHeaderProperty);
         var content = (string) frameworkElement.GetValue(TooltipContentProperty);
         if (!string.IsNullOrEmpty(header) && !string.IsNullOrEmpty(content))
         {
             var tbHeader = new TextBlock
                            	{
                            		Text = header,
                            		TextWrapping = TextWrapping.Wrap,
                            		FontWeight = FontWeights.Bold,
                            		Margin = new Thickness(10, 5, 0, 3),
                            	};
             var tbContent = new TextBlock {Text = content, Margin = new Thickness(3), TextWrapping = TextWrapping.Wrap};
             var panel = new StackPanel {MaxWidth = 250};
             panel.Children.Add(tbHeader);
             panel.Children.Add(tbContent);
             var tooltip = new ToolTip {Content = panel};
             frameworkElement.ToolTip = tooltip;
             frameworkElement.SetValue(ToolTipService.InitialShowDelayProperty, 0);
             frameworkElement.SetValue(ToolTipService.ShowDurationProperty, int.MaxValue);
         }
     }
 }
Example #16
0
        protected override void VisitInternal(BindingInformation info, FormResult result, object service)
        {
            IEditableService typedService = (IEditableService)service;

            FrameworkElement element = (FrameworkElement)result.EditorElement;

            string editablePropertyName = PropertyUtil<IEditableService>.GetPropertyName(s => s.Editable);
            string reasonPropertyName = PropertyUtil<IEditableService>.GetPropertyName(s => s.DisabledReason);

            Binding enabledBinding = new Binding(editablePropertyName);
            enabledBinding.Source = service;

            element.SetBinding(UIElement.IsEnabledProperty, enabledBinding);

            Binding tooltipVisibleBinding = new Binding(editablePropertyName);
            tooltipVisibleBinding.Source = service;
            tooltipVisibleBinding.Converter = new CustomBooleanToVisibilityConverter(true);

            Binding tooltipTextBinding = new Binding(reasonPropertyName);
            tooltipTextBinding.Source = service;

            ToolTip tooltip = new ToolTip();
            tooltip.SetBinding(UIElement.VisibilityProperty, tooltipVisibleBinding);
            tooltip.SetBinding(ContentControl.ContentProperty, tooltipTextBinding);

            element.ToolTip	= tooltip;
        }
Example #17
0
        public ColorGrid()
        {
            bord = new Border();
            bord.BorderBrush = SystemColors.ControlDarkDarkBrush;
            bord.BorderThickness = new Thickness(1);
            AddVisualChild(bord);
            AddLogicalChild(bord);

            unigrid = new UniformGrid();
            unigrid.Background = SystemColors.WindowBrush;
            unigrid.Columns = xNum;
            bord.Child = unigrid;

            for (int y = 0; y < yNum; y++)
            {
                for (int x = 0; x < xNum; x++)
                {
                    Color clr = (Color) typeof(Colors).GetProperty(strColors[y, x]).GetValue(null, null);
                    cells[y, x] = new ColorCell(clr);
                    unigrid.Children.Add(cells[y, x]);

                    if (clr == SelectedColor)
                    {
                        cellSelected = cells[y, x];
                        cells[y, x].IsSelected = true;
                    }

                    ToolTip tip = new ToolTip();
                    tip.Content = strColors[y, x];
                    cells[y, x].ToolTip = tip;
                }
            }
        }
 /// <summary>
 /// Default constructor
 /// </summary>
 public RibbonPopup()
 {
     Focusable = false;
     ToolTip = new ToolTip();
     (ToolTip as ToolTip).Template = null;
     AddHandler(RibbonControl.ClickEvent, new RoutedEventHandler(OnClick));
 }
        public TooltipController(UIElement element)
        {
            if (element == null)
                throw new ArgumentNullException("element");
            m_Element = element;

            element.MouseEnter += new MouseEventHandler(element_MouseEnter);
            element.MouseLeave += new MouseEventHandler(element_MouseLeave);
            element.MouseMove += new MouseEventHandler(element_MouseMove);

            m_AutoHideTimer = new Storyboard();
            m_AutoHideTimer.Duration = new Duration(new TimeSpan(0, 0, 0, 5, 0));
            m_AutoHideTimer.Completed += new EventHandler(m_AutoHideTimer_Completed);

            m_TooltipTimer = new Storyboard();
            m_TooltipTimer.Duration = new Duration(new TimeSpan(0, 0, 0, 1, 0));
            m_TooltipTimer.Completed += new EventHandler(m_TooltipTimer_Completed);

            m_ToolTip = new ToolTip();
            m_ToolTip.Padding = new Thickness(0);
            m_ToolTip.Opened += new RoutedEventHandler(m_ToolTip_Opened);
            m_ToolTip.Closed += new RoutedEventHandler(m_ToolTip_Closed);

            //m_ToolTip.VerticalOffset = 10;
            //m_ToolTip.HorizontalOffset = 10;
        }
        public Undefined(UndefinedV undefinedV)
        {
            InitializeComponent();

            reference = undefinedV;

            // listen to events from the controller
            //ViewController.ViewEvents ...

            // let the listener controller hear me :)
            ViewController.ViewListener.Listen(this);

            System.Windows.Controls.ToolTip toolTip1 = new System.Windows.Controls.ToolTip();
            toolTip1.Content = "Click to Change";
            this.ToolTip = toolTip1;

            if ((reference.Reference.Parent as OperationD).Children.Count == 1)
            {
                // the undefined is the only item in this structure
                // do not offer chance to be removed
                rightClickMenu.Items.Remove(delete);
            }

            if ((reference.Reference.Parent.Parent as ChoiceD).Children.Count == 1)
            {
                // do not allow remove choice
                rightClickMenu.Items.Remove(removeChoice);
            }
        }
 /// TextBoxのエラー状態解除
 public static void ResetError(TextBox textBox, ToolTip toolTip = null)
 {
     textBox.Tag = null;
     if (toolTip == null) return;
     toolTip.Visibility = Visibility.Hidden;
     toolTip.Content = null;
     toolTip.IsOpen = false;
 }
Example #22
0
 private static void AddToolTip(DependencyObject obj)
 {
     if (ToolTipService.GetToolTip(obj) is ToolTip)
         return;
     ToolTip toolTip = new ToolTip();
     toolTip.SetBinding(ContentControl.ContentProperty, (BindingBase)new Binding("ToolTipContent"));
     toolTip.SetBinding(FrameworkElement.StyleProperty, (BindingBase)new Binding("ToolTipStyle"));
     ToolTipService.SetToolTip(obj, (object)toolTip);
 }
        public CraftTheToolbar()
        {
            Title = "Craft the Toolbar";

            RoutedUICommand[] comm =
                {
                    ApplicationCommands.New, ApplicationCommands.Open,
                    ApplicationCommands.Save, ApplicationCommands.Print,
                    ApplicationCommands.Cut, ApplicationCommands.Copy,
                    ApplicationCommands.Paste, ApplicationCommands.Delete
                };

            string[] strImages =
                {
                    "NewDocumentHS.png", "openHS.png", "saveHS.png",
                    "PrintHS.png", "CutHS.png", "CopyHS.png",
                    "PasteHS.png", "DeleteHS.png"
                };

            // Create DockPanel as content of window.
            DockPanel dock = new DockPanel();
            dock.LastChildFill = false;
            Content = dock;

            // Create Toolbar docked at top of window.
            ToolBar toolbar = new ToolBar();
            dock.Children.Add(toolbar);
            DockPanel.SetDock(toolbar, Dock.Top);

            // Create the Toolbar buttons.
            for (int i = 0; i < 8; i++)
            {
                if (i == 4)
                    toolbar.Items.Add(new Separator());

                // Create the Button.
                Button btn = new Button();
                btn.Command = comm[i];
                toolbar.Items.Add(btn);

                // Create an Image as content of the Button.
                Image img = new Image();
                img.Source = new BitmapImage(
                    new Uri("pack://application:,,/Images/" + strImages[i]));
                img.Stretch = Stretch.None;
                btn.Content = img;

                // Create a ToolTip based on the UICommand text.
                ToolTip tip = new ToolTip();
                tip.Content = comm[i].Text;
                btn.ToolTip = tip;

                // Add the UICommand to the window command bindings.
                CommandBindings.Add(
                    new CommandBinding(comm[i], ToolBarButtonOnClick));
            }
        }
        /// <summary>
        /// Sets path to the default one
        /// </summary>
        /// <param name="sender"></param>
        /// <param name="e"></param>
        private void Window_Loaded(object sender, RoutedEventArgs e)
        {
            if (!Directory.Exists(defaultProjectsPath))
                Directory.CreateDirectory(defaultProjectsPath);

            this.pathTxt.Text = defaultProjectsPath;

            ToolTip tooltip = new ToolTip { Content = pathTxt.Text };
            this.pathBtn.ToolTip = tooltip;
        }
        internal static void SetUpUnvalideControl(Control control, string errorMessage)
        {
            ToolTip ttip = new ToolTip();
            ttip.Content = errorMessage;
            ttip.Opacity = 0.9;

            ttip.Background = Brushes.LightPink;
            control.BorderBrush = Brushes.LightPink;
            control.ToolTip = ttip;
        }
        private void InitializeBtnTooltips(Y_NORM_NORMATIVE_CELL cellDataContext)
        {
            if (cellDataContext.ID_PARAM != 0)
                _ttParam = new ToolTip {Content = cellDataContext.Y_NORM_PARAMETERS.DESC_RU};

            _ttValue = new ToolTip();
            lblParamValues.ToolTip = _ttValue;

            btnParam.ToolTip = _ttParam;
        }
Example #27
0
		public void CopiesDataContextOnOpen ()
		{
			var tooltip = new ToolTip ();
			var target = new Rectangle { DataContext = "A" };
			ToolTipService.SetToolTip (target, tooltip);

			Assert.IsNull (tooltip.DataContext, "#1");
			tooltip.IsOpen = true;
			Assert.AreEqual (tooltip.DataContext, target.DataContext, "#2");
			Assert.IsUnset (tooltip, ToolTip.DataContextProperty, "#3");
		}
Example #28
0
		public void DataContextSetLocallyOnPopup ()
		{
			var tooltip = new ToolTip ();
			var target = new Rectangle { DataContext = "A" };
			ToolTipService.SetToolTip (target, tooltip);

			tooltip.IsOpen = true;
			var popup = (Popup) tooltip.Parent;
			Assert.AreEqual (target.DataContext, popup.ReadLocalValue (FrameworkElement.DataContextProperty), "#1");
			tooltip.IsOpen = false;
		}
        /// <summary>
        /// Modifies the source data before passing it to the target for display in the UI.
        /// </summary>
        /// <returns>
        /// The value to be passed to the target dependency property.
        /// </returns>
        /// <param name="value">The source data being passed to the target.</param>
        /// <param name="targetType">The <see cref="T:System.Type"/> of data expected by the target dependency property.</param>
        /// <param name="parameter">An optional parameter to be used in the converter logic.</param>
        /// <param name="culture">The culture of the conversion.</param>
        public object Convert(object value, Type targetType, object parameter, CultureInfo culture)
        {
            var description = value as string;

            if (string.IsNullOrEmpty(description))
                return null;

            var toolTip = new ToolTip { Content = new TextBlock { Text = description, TextWrapping = TextWrapping.Wrap } };
            toolTip.Loaded += OnToolTipLoaded;

            return toolTip;
        }
Example #30
0
        void rpg1_MouseMove(object sender, MouseEventArgs e)
        {
            var element = e.OriginalSource;
            var toggleButton = (element as FrameworkElement).ParentOfType<RadToggleButton>();

            if (toggleButton != null && toggleButton.Content != null)
            {
                ToolTip toolTip = new ToolTip();
                toolTip.Content = toggleButton.Content.ToString();
                ToolTipService.SetToolTip(toggleButton, toolTip);
            }
        }
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:

            #line 11 "..\..\..\..\View\reports\uc_purchaseItem.xaml"
                ((POS.View.reports.uc_purchaseItem)(target)).Loaded += new System.Windows.RoutedEventHandler(this.UserControl_Loaded);

            #line default
            #line hidden

            #line 11 "..\..\..\..\View\reports\uc_purchaseItem.xaml"
                ((POS.View.reports.uc_purchaseItem)(target)).Unloaded += new System.Windows.RoutedEventHandler(this.UserControl_Unloaded);

            #line default
            #line hidden
                return;

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

            case 3:
                this.grid_tabControl = ((System.Windows.Controls.Grid)(target));
                return;

            case 4:
                this.bdr_items = ((System.Windows.Controls.Border)(target));
                return;

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

            #line 48 "..\..\..\..\View\reports\uc_purchaseItem.xaml"
                this.btn_items.Click += new System.Windows.RoutedEventHandler(this.btn_items_Click);

            #line default
            #line hidden
                return;

            case 6:
                this.path_items = ((System.Windows.Shapes.Path)(target));
                return;

            case 7:
                this.tt_items = ((System.Windows.Controls.ToolTip)(target));
                return;

            case 8:
                this.bdr_collect = ((System.Windows.Controls.Border)(target));
                return;

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

            #line 107 "..\..\..\..\View\reports\uc_purchaseItem.xaml"
                this.btn_collect.Click += new System.Windows.RoutedEventHandler(this.Btn_collect_Click);

            #line default
            #line hidden
                return;

            case 10:
                this.path_collect = ((System.Windows.Shapes.Path)(target));
                return;

            case 11:
                this.tt_collect = ((System.Windows.Controls.ToolTip)(target));
                return;

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

            case 13:
                this.bdrMain = ((System.Windows.Controls.Border)(target));
                return;

            case 14:
                this.grid_father = ((System.Windows.Controls.Grid)(target));
                return;

            case 15:
                this.grid_items = ((System.Windows.Controls.Grid)(target));
                return;

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

            #line 165 "..\..\..\..\View\reports\uc_purchaseItem.xaml"
                this.chk_itemInvoice.Checked += new System.Windows.RoutedEventHandler(this.chk_selectionChanged);

            #line default
            #line hidden

            #line 165 "..\..\..\..\View\reports\uc_purchaseItem.xaml"
                this.chk_itemInvoice.Unchecked += new System.Windows.RoutedEventHandler(this.chk_selectionChanged);

            #line default
            #line hidden
                return;

            case 17:
                this.chk_itemReturn = ((System.Windows.Controls.CheckBox)(target));

            #line 166 "..\..\..\..\View\reports\uc_purchaseItem.xaml"
                this.chk_itemReturn.Checked += new System.Windows.RoutedEventHandler(this.chk_selectionChanged);

            #line default
            #line hidden

            #line 166 "..\..\..\..\View\reports\uc_purchaseItem.xaml"
                this.chk_itemReturn.Unchecked += new System.Windows.RoutedEventHandler(this.chk_selectionChanged);

            #line default
            #line hidden
                return;

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

            case 19:
                this.cb_Items = ((System.Windows.Controls.ComboBox)(target));

            #line 170 "..\..\..\..\View\reports\uc_purchaseItem.xaml"
                this.cb_Items.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.cb_Items_SelectionChanged);

            #line default
            #line hidden
                return;

            case 20:
                this.chk_allBranchesItem = ((System.Windows.Controls.CheckBox)(target));

            #line 175 "..\..\..\..\View\reports\uc_purchaseItem.xaml"
                this.chk_allBranchesItem.Checked += new System.Windows.RoutedEventHandler(this.Chk_allBranchesItem_Checked);

            #line default
            #line hidden

            #line 175 "..\..\..\..\View\reports\uc_purchaseItem.xaml"
                this.chk_allBranchesItem.Unchecked += new System.Windows.RoutedEventHandler(this.Chk_allBranchesItem_Unchecked);

            #line default
            #line hidden
                return;

            case 21:
                this.cb_ItemsBranches = ((System.Windows.Controls.ComboBox)(target));

            #line 177 "..\..\..\..\View\reports\uc_purchaseItem.xaml"
                this.cb_ItemsBranches.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.cb_selectionChanged);

            #line default
            #line hidden
                return;

            case 22:
                this.chk_allItems = ((System.Windows.Controls.CheckBox)(target));

            #line 182 "..\..\..\..\View\reports\uc_purchaseItem.xaml"
                this.chk_allItems.Checked += new System.Windows.RoutedEventHandler(this.Chk_allItems_Checked);

            #line default
            #line hidden

            #line 182 "..\..\..\..\View\reports\uc_purchaseItem.xaml"
                this.chk_allItems.Unchecked += new System.Windows.RoutedEventHandler(this.Chk_allItems_Unchecked);

            #line default
            #line hidden
                return;

            case 23:
                this.dp_ItemEndDate = ((System.Windows.Controls.DatePicker)(target));

            #line 184 "..\..\..\..\View\reports\uc_purchaseItem.xaml"
                this.dp_ItemEndDate.SelectedDateChanged += new System.EventHandler <System.Windows.Controls.SelectionChangedEventArgs>(this.dt_selectionChanged);

            #line default
            #line hidden
                return;

            case 24:
                this.dp_ItemStartDate = ((System.Windows.Controls.DatePicker)(target));

            #line 187 "..\..\..\..\View\reports\uc_purchaseItem.xaml"
                this.dp_ItemStartDate.SelectedDateChanged += new System.EventHandler <System.Windows.Controls.SelectionChangedEventArgs>(this.dt_selectionChanged);

            #line default
            #line hidden
                return;

            case 25:
                this.dt_ItemEndTime = ((MaterialDesignThemes.Wpf.TimePicker)(target));

            #line 190 "..\..\..\..\View\reports\uc_purchaseItem.xaml"
                this.dt_ItemEndTime.SelectedTimeChanged += new System.Windows.RoutedPropertyChangedEventHandler <System.Nullable <System.DateTime> >(this.t_selectionChanged);

            #line default
            #line hidden
                return;

            case 26:
                this.dt_itemStartTime = ((MaterialDesignThemes.Wpf.TimePicker)(target));

            #line 193 "..\..\..\..\View\reports\uc_purchaseItem.xaml"
                this.dt_itemStartTime.SelectedTimeChanged += new System.Windows.RoutedPropertyChangedEventHandler <System.Nullable <System.DateTime> >(this.t_selectionChanged);

            #line default
            #line hidden
                return;

            case 27:
                this.grid_collect = ((System.Windows.Controls.Grid)(target));
                return;

            case 28:
                this.dp_collectEndDate = ((System.Windows.Controls.DatePicker)(target));

            #line 214 "..\..\..\..\View\reports\uc_purchaseItem.xaml"
                this.dp_collectEndDate.SelectedDateChanged += new System.EventHandler <System.Windows.Controls.SelectionChangedEventArgs>(this.dt_colselectionChanged);

            #line default
            #line hidden
                return;

            case 29:
                this.dp_collectStartDate = ((System.Windows.Controls.DatePicker)(target));

            #line 217 "..\..\..\..\View\reports\uc_purchaseItem.xaml"
                this.dp_collectStartDate.SelectedDateChanged += new System.EventHandler <System.Windows.Controls.SelectionChangedEventArgs>(this.dt_colselectionChanged);

            #line default
            #line hidden
                return;

            case 30:
                this.cb_collect = ((System.Windows.Controls.ComboBox)(target));

            #line 222 "..\..\..\..\View\reports\uc_purchaseItem.xaml"
                this.cb_collect.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.Cb_collect_SelectionChanged);

            #line default
            #line hidden
                return;

            case 31:
                this.chk_allcollect = ((System.Windows.Controls.CheckBox)(target));

            #line 227 "..\..\..\..\View\reports\uc_purchaseItem.xaml"
                this.chk_allcollect.Checked += new System.Windows.RoutedEventHandler(this.Chk_allcollect_Checked);

            #line default
            #line hidden

            #line 227 "..\..\..\..\View\reports\uc_purchaseItem.xaml"
                this.chk_allcollect.Unchecked += new System.Windows.RoutedEventHandler(this.Chk_allcollect_Unchecked);

            #line default
            #line hidden
                return;

            case 32:
                this.txt_search = ((System.Windows.Controls.TextBox)(target));

            #line 248 "..\..\..\..\View\reports\uc_purchaseItem.xaml"
                this.txt_search.TextChanged += new System.Windows.Controls.TextChangedEventHandler(this.Txt_search_TextChanged);

            #line default
            #line hidden
                return;

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

            #line 278 "..\..\..\..\View\reports\uc_purchaseItem.xaml"
                this.btn_refresh.Click += new System.Windows.RoutedEventHandler(this.Btn_refresh_Click);

            #line default
            #line hidden
                return;

            case 34:
                this.tt_refresh = ((System.Windows.Controls.ToolTip)(target));
                return;

            case 35:
                this.dgInvoice = ((System.Windows.Controls.DataGrid)(target));
                return;

            case 36:
                this.col_number = ((System.Windows.Controls.DataGridTextColumn)(target));
                return;

            case 37:
                this.col_date = ((System.Windows.Controls.DataGridTextColumn)(target));
                return;

            case 38:
                this.col_branch = ((System.Windows.Controls.DataGridTextColumn)(target));
                return;

            case 39:
                this.col_item = ((System.Windows.Controls.DataGridTextColumn)(target));
                return;

            case 40:
                this.col_unit = ((System.Windows.Controls.DataGridTextColumn)(target));
                return;

            case 41:
                this.col_itQuantity = ((System.Windows.Controls.DataGridTextColumn)(target));
                return;

            case 42:
                this.col_price = ((System.Windows.Controls.DataGridTextColumn)(target));
                return;

            case 43:
                this.col_total = ((System.Windows.Controls.DataGridTextColumn)(target));
                return;

            case 44:
                this.col_invCount = ((System.Windows.Controls.DataGridTextColumn)(target));
                return;

            case 45:
                this.col_avg = ((System.Windows.Controls.DataGridTextColumn)(target));
                return;

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

            #line 343 "..\..\..\..\View\reports\uc_purchaseItem.xaml"
                this.btn_pdf.Click += new System.Windows.RoutedEventHandler(this.Btn_pdf_Click);

            #line default
            #line hidden
                return;

            case 47:
                this.tt_report = ((System.Windows.Controls.ToolTip)(target));
                return;

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

            #line 358 "..\..\..\..\View\reports\uc_purchaseItem.xaml"
                this.btn_print.Click += new System.Windows.RoutedEventHandler(this.Btn_print_Click);

            #line default
            #line hidden
                return;

            case 49:
                this.tt_print = ((System.Windows.Controls.ToolTip)(target));
                return;

            case 50:
                this.btn_exportToExcel = ((System.Windows.Controls.Button)(target));

            #line 373 "..\..\..\..\View\reports\uc_purchaseItem.xaml"
                this.btn_exportToExcel.Click += new System.Windows.RoutedEventHandler(this.Btn_exportToExcel_Click);

            #line default
            #line hidden
                return;

            case 51:
                this.tt_excel = ((System.Windows.Controls.ToolTip)(target));
                return;

            case 52:
                this.btn_preview = ((System.Windows.Controls.Button)(target));

            #line 389 "..\..\..\..\View\reports\uc_purchaseItem.xaml"
                this.btn_preview.Click += new System.Windows.RoutedEventHandler(this.Btn_preview_Click);

            #line default
            #line hidden
                return;

            case 53:
                this.tt_preview = ((System.Windows.Controls.ToolTip)(target));
                return;

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

            case 55:
                this.txt_count = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 56:
                this.tt_count = ((System.Windows.Controls.ToolTip)(target));
                return;

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

            case 58:
                this.stk_tagsBranches = ((System.Windows.Controls.StackPanel)(target));
                return;

            case 59:
                this.stk_tagsItems = ((System.Windows.Controls.StackPanel)(target));
                return;

            case 60:
                this.cartesianChart = ((LiveCharts.Wpf.CartesianChart)(target));
                return;

            case 61:
                this.axcolumn = ((LiveCharts.Wpf.Axis)(target));
                return;

            case 62:
                this.grid1 = ((System.Windows.Controls.Grid)(target));
                return;

            case 63:
                this.chart1 = ((LiveCharts.Wpf.PieChart)(target));
                return;

            case 64:
                this.rowChart = ((LiveCharts.Wpf.CartesianChart)(target));
                return;

            case 65:
                this.MyAxis = ((LiveCharts.Wpf.Axis)(target));
                return;
            }
            this._contentLoaded = true;
        }
Example #32
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:

            #line 9 "..\..\..\View\uc_preparationOfStores.xaml"
                ((POS.View.uc_preparationOfStores)(target)).Loaded += new System.Windows.RoutedEventHandler(this.UserControl_Loaded);

            #line default
            #line hidden

            #line 9 "..\..\..\View\uc_preparationOfStores.xaml"
                ((POS.View.uc_preparationOfStores)(target)).LostFocus += new System.Windows.RoutedEventHandler(this.UserControl_LostFocus);

            #line default
            #line hidden
                return;

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

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

            case 4:
                this.dg_pos = ((System.Windows.Controls.DataGrid)(target));

            #line 70 "..\..\..\View\uc_preparationOfStores.xaml"
                this.dg_pos.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.DG_pos_SelectionChanged);

            #line default
            #line hidden
                return;

            case 5:
                this.btn_exportToExcel = ((System.Windows.Shapes.Path)(target));
                return;

            case 6:
                this.grid_pos = ((System.Windows.Controls.Grid)(target));
                return;

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

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

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

            #line 228 "..\..\..\View\uc_preparationOfStores.xaml"
                this.btn_clear.Click += new System.Windows.RoutedEventHandler(this.Btn_clear_Click);

            #line default
            #line hidden
                return;

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

            #line 245 "..\..\..\View\uc_preparationOfStores.xaml"
                this.tb_name.TextChanged += new System.Windows.Controls.TextChangedEventHandler(this.Tb_name_TextChanged);

            #line default
            #line hidden

            #line 245 "..\..\..\View\uc_preparationOfStores.xaml"
                this.tb_name.LostFocus += new System.Windows.RoutedEventHandler(this.Tb_name_LostFocus);

            #line default
            #line hidden
                return;

            case 11:
                this.p_errorName = ((System.Windows.Shapes.Path)(target));
                return;

            case 12:
                this.tt_errorName = ((System.Windows.Controls.ToolTip)(target));
                return;

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

            #line 268 "..\..\..\View\uc_preparationOfStores.xaml"
                this.tb_code.TextChanged += new System.Windows.Controls.TextChangedEventHandler(this.Tb_code_TextChanged);

            #line default
            #line hidden

            #line 268 "..\..\..\View\uc_preparationOfStores.xaml"
                this.tb_code.LostFocus += new System.Windows.RoutedEventHandler(this.Tb_code_LostFocus);

            #line default
            #line hidden
                return;

            case 14:
                this.p_errorCode = ((System.Windows.Shapes.Path)(target));
                return;

            case 15:
                this.tt_errorCode = ((System.Windows.Controls.ToolTip)(target));
                return;

            case 16:
                this.cb_branchId = ((System.Windows.Controls.ComboBox)(target));

            #line 289 "..\..\..\View\uc_preparationOfStores.xaml"
                this.cb_branchId.LostFocus += new System.Windows.RoutedEventHandler(this.Cb_branchId_LostFocus);

            #line default
            #line hidden

            #line 293 "..\..\..\View\uc_preparationOfStores.xaml"
                this.cb_branchId.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.Cb_branchId_SelectionChanged);

            #line default
            #line hidden
                return;

            case 17:
                this.p_errorSelectBranch = ((System.Windows.Shapes.Path)(target));
                return;

            case 18:
                this.tt_errorSelectBranch = ((System.Windows.Controls.ToolTip)(target));
                return;

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

            case 20:
                this.tt_notes = ((System.Windows.Controls.ToolTip)(target));
                return;

            case 21:
                this.tt_error_note = ((System.Windows.Controls.ToolTip)(target));
                return;

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

            #line 354 "..\..\..\View\uc_preparationOfStores.xaml"
                this.btn_add.Click += new System.Windows.RoutedEventHandler(this.Btn_add_Click);

            #line default
            #line hidden
                return;

            case 23:
                this.btn_update = ((System.Windows.Controls.Button)(target));

            #line 357 "..\..\..\View\uc_preparationOfStores.xaml"
                this.btn_update.Click += new System.Windows.RoutedEventHandler(this.Btn_update_Click);

            #line default
            #line hidden
                return;

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

            #line 360 "..\..\..\View\uc_preparationOfStores.xaml"
                this.btn_delete.Click += new System.Windows.RoutedEventHandler(this.Btn_delete_Click);

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

            #line 224 "..\..\MainWindow.xaml"
                this.bg.PreviewMouseDown += new System.Windows.Input.MouseButtonEventHandler(this.bg_PreviewMouseDown);

            #line default
            #line hidden
                return;

            case 2:
                this.img_bg = ((System.Windows.Media.ImageBrush)(target));
                return;

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

            #line 262 "..\..\MainWindow.xaml"
                this.CloseBtn.Click += new System.Windows.RoutedEventHandler(this.CloseBtn_Click);

            #line default
            #line hidden
                return;

            case 4:
                this.nav_pnl = ((System.Windows.Controls.Grid)(target));
                return;

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

            case 6:
                this.Tg_Btn = ((System.Windows.Controls.Primitives.ToggleButton)(target));

            #line 292 "..\..\MainWindow.xaml"
                this.Tg_Btn.Unchecked += new System.Windows.RoutedEventHandler(this.Tg_Btn_Unchecked);

            #line default
            #line hidden

            #line 292 "..\..\MainWindow.xaml"
                this.Tg_Btn.Checked += new System.Windows.RoutedEventHandler(this.Tg_Btn_Checked);

            #line default
            #line hidden
                return;

            case 7:
                this.HideStackPanel = ((System.Windows.Media.Animation.Storyboard)(target));
                return;

            case 8:
                this.ShowStackPanel = ((System.Windows.Media.Animation.Storyboard)(target));
                return;

            case 9:
                this.LV = ((System.Windows.Controls.ListView)(target));
                return;

            case 10:

            #line 382 "..\..\MainWindow.xaml"
                ((System.Windows.Controls.ListViewItem)(target)).MouseEnter += new System.Windows.Input.MouseEventHandler(this.ListViewItem_MouseEnter);

            #line default
            #line hidden
                return;

            case 11:
                this.tt_home = ((System.Windows.Controls.ToolTip)(target));
                return;

            case 12:

            #line 415 "..\..\MainWindow.xaml"
                ((System.Windows.Controls.ListViewItem)(target)).MouseEnter += new System.Windows.Input.MouseEventHandler(this.ListViewItem_MouseEnter);

            #line default
            #line hidden
                return;

            case 13:
                this.tt_contacts = ((System.Windows.Controls.ToolTip)(target));
                return;

            case 14:

            #line 448 "..\..\MainWindow.xaml"
                ((System.Windows.Controls.ListViewItem)(target)).MouseEnter += new System.Windows.Input.MouseEventHandler(this.ListViewItem_MouseEnter);

            #line default
            #line hidden
                return;

            case 15:
                this.tt_messages = ((System.Windows.Controls.ToolTip)(target));
                return;

            case 16:

            #line 481 "..\..\MainWindow.xaml"
                ((System.Windows.Controls.ListViewItem)(target)).MouseEnter += new System.Windows.Input.MouseEventHandler(this.ListViewItem_MouseEnter);

            #line default
            #line hidden
                return;

            case 17:
                this.tt_maps = ((System.Windows.Controls.ToolTip)(target));
                return;

            case 18:

            #line 514 "..\..\MainWindow.xaml"
                ((System.Windows.Controls.ListViewItem)(target)).MouseEnter += new System.Windows.Input.MouseEventHandler(this.ListViewItem_MouseEnter);

            #line default
            #line hidden
                return;

            case 19:
                this.tt_settings = ((System.Windows.Controls.ToolTip)(target));
                return;

            case 20:

            #line 547 "..\..\MainWindow.xaml"
                ((System.Windows.Controls.ListViewItem)(target)).MouseEnter += new System.Windows.Input.MouseEventHandler(this.ListViewItem_MouseEnter);

            #line default
            #line hidden
                return;

            case 21:
                this.tt_signout = ((System.Windows.Controls.ToolTip)(target));
                return;
            }
            this._contentLoaded = true;
        }
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:

            #line 16 "..\..\compressForm.xaml"
                ((huffmanInterface.compressForm)(target)).MouseDown += new System.Windows.Input.MouseButtonEventHandler(this.Window_MouseDown);

            #line default
            #line hidden
                return;

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

            #line 155 "..\..\compressForm.xaml"
                this.upload.Click += new System.Windows.RoutedEventHandler(this.Upload_Click);

            #line default
            #line hidden
                return;

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

            #line 165 "..\..\compressForm.xaml"
                this.compression.Click += new System.Windows.RoutedEventHandler(this.Compression_Click);

            #line default
            #line hidden
                return;

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

            #line 166 "..\..\compressForm.xaml"
                this.SaveCompressFile.Click += new System.Windows.RoutedEventHandler(this.SaveCompressFile_Click);

            #line default
            #line hidden
                return;

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

            #line 189 "..\..\compressForm.xaml"
                this.CloseBtn.Click += new System.Windows.RoutedEventHandler(this.CloseBtn_Click);

            #line default
            #line hidden
                return;

            case 6:
                this.nav_pnl = ((System.Windows.Controls.Grid)(target));
                return;

            case 7:
                this.st_pnl = ((System.Windows.Controls.StackPanel)(target));
                return;

            case 8:
                this.Tb_Btn = ((System.Windows.Controls.Primitives.ToggleButton)(target));
                return;

            case 9:
                this.HideStackPanel = ((System.Windows.Media.Animation.Storyboard)(target));
                return;

            case 10:
                this.ShowStackPanel = ((System.Windows.Media.Animation.Storyboard)(target));
                return;

            case 11:
                this.LV = ((System.Windows.Controls.ListView)(target));
                return;

            case 12:

            #line 287 "..\..\compressForm.xaml"
                ((System.Windows.Controls.ListViewItem)(target)).MouseEnter += new System.Windows.Input.MouseEventHandler(this.ListViewItem_MouseEnter);

            #line default
            #line hidden
                return;

            case 13:

            #line 292 "..\..\compressForm.xaml"
                ((System.Windows.Controls.Image)(target)).MouseUp += new System.Windows.Input.MouseButtonEventHandler(this.Image_MouseUp);

            #line default
            #line hidden
                return;

            case 14:
                this.tt_home = ((System.Windows.Controls.ToolTip)(target));
                return;

            case 15:

            #line 308 "..\..\compressForm.xaml"
                ((System.Windows.Controls.ListViewItem)(target)).MouseEnter += new System.Windows.Input.MouseEventHandler(this.ListViewItem_MouseEnter);

            #line default
            #line hidden
                return;

            case 16:

            #line 313 "..\..\compressForm.xaml"
                ((System.Windows.Controls.Image)(target)).MouseUp += new System.Windows.Input.MouseButtonEventHandler(this.Image_MouseUp_1);

            #line default
            #line hidden
                return;

            case 17:
                this.tt_compress = ((System.Windows.Controls.ToolTip)(target));
                return;

            case 18:

            #line 330 "..\..\compressForm.xaml"
                ((System.Windows.Controls.ListViewItem)(target)).MouseEnter += new System.Windows.Input.MouseEventHandler(this.ListViewItem_MouseEnter);

            #line default
            #line hidden
                return;

            case 19:

            #line 335 "..\..\compressForm.xaml"
                ((System.Windows.Controls.Image)(target)).MouseUp += new System.Windows.Input.MouseButtonEventHandler(this.Image_MouseUp_2);

            #line default
            #line hidden
                return;

            case 20:
                this.tt_decompress = ((System.Windows.Controls.ToolTip)(target));
                return;
            }
            this._contentLoaded = true;
        }
Example #35
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.mainwindow_root = ((AMD.AMDPlayer.MainWindow)(target));

            #line 1080 "..\..\MainWindow.xaml"
                this.mainwindow_root.Loaded += new System.Windows.RoutedEventHandler(this.mainwindow_root_loaded);

            #line default
            #line hidden

            #line 1081 "..\..\MainWindow.xaml"
                this.mainwindow_root.PreviewMouseDoubleClick += new System.Windows.Input.MouseButtonEventHandler(this.mainwindow_toggle_fullscreen);

            #line default
            #line hidden

            #line 1082 "..\..\MainWindow.xaml"
                this.mainwindow_root.MouseLeftButtonDown += new System.Windows.Input.MouseButtonEventHandler(this.mainWindow_MouseLeftButtonDown);

            #line default
            #line hidden

            #line 1083 "..\..\MainWindow.xaml"
                this.mainwindow_root.MouseRightButtonDown += new System.Windows.Input.MouseButtonEventHandler(this.mainwindow_root_show_components);

            #line default
            #line hidden

            #line 1084 "..\..\MainWindow.xaml"
                this.mainwindow_root.MouseMove += new System.Windows.Input.MouseEventHandler(this.mainwindow_root_show_components);

            #line default
            #line hidden

            #line 1085 "..\..\MainWindow.xaml"
                this.mainwindow_root.MouseLeftButtonUp += new System.Windows.Input.MouseButtonEventHandler(this.mainwindow_root_MouseLeftButtonUp);

            #line default
            #line hidden

            #line 1086 "..\..\MainWindow.xaml"
                this.mainwindow_root.PreviewKeyDown += new System.Windows.Input.KeyEventHandler(this.mainwindow_root_KeyDown);

            #line default
            #line hidden

            #line 1087 "..\..\MainWindow.xaml"
                this.mainwindow_root.KeyUp += new System.Windows.Input.KeyEventHandler(this.mainwindow_root_KeyUp);

            #line default
            #line hidden

            #line 1088 "..\..\MainWindow.xaml"
                this.mainwindow_root.MouseWheel += new System.Windows.Input.MouseWheelEventHandler(this.mainwindow_root_MouseWheel);

            #line default
            #line hidden

            #line 1088 "..\..\MainWindow.xaml"
                this.mainwindow_root.Closing += new System.ComponentModel.CancelEventHandler(this.mainwindow_root_Closing);

            #line default
            #line hidden
                return;

            case 3:
                this.border_main = ((System.Windows.Controls.Border)(target));
                return;

            case 4:
                this.root = ((System.Windows.Controls.Grid)(target));
                return;

            case 5:
                this.grid_media = ((System.Windows.Controls.Grid)(target));
                return;

            case 6:
                this.gs_main = ((System.Windows.Controls.GridSplitter)(target));
                return;

            case 7:
                this.lbl_title = ((System.Windows.Controls.Label)(target));
                return;

            case 8:
                this.component_state_flag = ((System.Windows.Controls.Border)(target));
                return;

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

            #line 1815 "..\..\MainWindow.xaml"
                this.btn_exit.Click += new System.Windows.RoutedEventHandler(this.btn_exit_Click);

            #line default
            #line hidden
                return;

            case 10:
                this.border_media_element = ((System.Windows.Controls.Border)(target));

            #line 1826 "..\..\MainWindow.xaml"
                this.border_media_element.Drop += new System.Windows.DragEventHandler(this.ml_main_Drop);

            #line default
            #line hidden
                return;

            case 11:
                this.ml_main = ((System.Windows.Controls.MediaElement)(target));

            #line 1839 "..\..\MainWindow.xaml"
                this.ml_main.MouseDown += new System.Windows.Input.MouseButtonEventHandler(this.ml_main_MouseDown);

            #line default
            #line hidden

            #line 1840 "..\..\MainWindow.xaml"
                this.ml_main.MediaOpened += new System.Windows.RoutedEventHandler(this.ml_main_MediaOpened);

            #line default
            #line hidden

            #line 1841 "..\..\MainWindow.xaml"
                this.ml_main.MediaFailed += new System.EventHandler <System.Windows.ExceptionRoutedEventArgs>(this.ml_main_MediaFailed);

            #line default
            #line hidden

            #line 1842 "..\..\MainWindow.xaml"
                this.ml_main.MediaEnded += new System.Windows.RoutedEventHandler(this.ml_main_MediaEnded);

            #line default
            #line hidden
                return;

            case 12:
                this.lv_playlist = ((System.Windows.Controls.ListView)(target));

            #line 1855 "..\..\MainWindow.xaml"
                this.lv_playlist.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.lv_playlist_SelectionChanged);

            #line default
            #line hidden

            #line 1856 "..\..\MainWindow.xaml"
                this.lv_playlist.KeyDown += new System.Windows.Input.KeyEventHandler(this.lv_playlist_KeyDown);

            #line default
            #line hidden

            #line 1857 "..\..\MainWindow.xaml"
                this.lv_playlist.Drop += new System.Windows.DragEventHandler(this.lv_playlist_Drop);

            #line default
            #line hidden
                return;

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

            #line 1861 "..\..\MainWindow.xaml"
                this.lv_playlist_context_sort_by_lable.Click += new System.Windows.RoutedEventHandler(this.lv_playlist_context_sort_by_lable_Click);

            #line default
            #line hidden
                return;

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

            #line 1862 "..\..\MainWindow.xaml"
                this.lv_playlist_context_sort_by_path.Click += new System.Windows.RoutedEventHandler(this.lv_playlist_context_sort_by_path_Click);

            #line default
            #line hidden
                return;

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

            #line 1865 "..\..\MainWindow.xaml"
                this.lv_context_clear_playlist.Click += new System.Windows.RoutedEventHandler(this.lv_context_clear_playlist_Click);

            #line default
            #line hidden
                return;

            case 16:
                this.col1 = ((System.Windows.Controls.GridViewColumn)(target));
                return;

            case 17:
                this.helperField = ((System.Windows.Controls.Grid)(target));
                return;

            case 18:
                this.grid_bottom_controls = ((System.Windows.Controls.Grid)(target));
                return;

            case 19:
                this.grid_sl_progress = ((System.Windows.Controls.Grid)(target));

            #line 1900 "..\..\MainWindow.xaml"
                this.grid_sl_progress.PreviewMouseLeftButtonDown += new System.Windows.Input.MouseButtonEventHandler(this.sl_progress_PreviewMouseLeftButtonDown);

            #line default
            #line hidden

            #line 1901 "..\..\MainWindow.xaml"
                this.grid_sl_progress.PreviewMouseLeftButtonUp += new System.Windows.Input.MouseButtonEventHandler(this.sl_progress_PreviewMouseLeftButtonUp);

            #line default
            #line hidden

            #line 1902 "..\..\MainWindow.xaml"
                this.grid_sl_progress.MouseMove += new System.Windows.Input.MouseEventHandler(this.grid_sl_progress_MouseMove);

            #line default
            #line hidden
                return;

            case 20:
                this.tt_sl_progress = ((System.Windows.Controls.ToolTip)(target));
                return;

            case 21:
                this.sl_progress = ((System.Windows.Controls.Slider)(target));

            #line 1916 "..\..\MainWindow.xaml"
                this.sl_progress.ValueChanged += new System.Windows.RoutedPropertyChangedEventHandler <double>(this.sl_progress_ValueChanged);

            #line default
            #line hidden
                return;

            case 22:
                this.grid_btn_duration_volume = ((System.Windows.Controls.Grid)(target));
                return;

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

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

            #line 1933 "..\..\MainWindow.xaml"
                this.btn_open.Click += new System.Windows.RoutedEventHandler(this.btn_open_Click);

            #line default
            #line hidden
                return;

            case 25:
                this.btn_prev = ((System.Windows.Controls.Button)(target));

            #line 1934 "..\..\MainWindow.xaml"
                this.btn_prev.Click += new System.Windows.RoutedEventHandler(this.btn_prev_Click);

            #line default
            #line hidden
                return;

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

            #line 1935 "..\..\MainWindow.xaml"
                this.btn_play.Click += new System.Windows.RoutedEventHandler(this.btn_play_Click);

            #line default
            #line hidden
                return;

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

            #line 1936 "..\..\MainWindow.xaml"
                this.btn_stop.Click += new System.Windows.RoutedEventHandler(this.btn_stop_Click);

            #line default
            #line hidden
                return;

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

            #line 1937 "..\..\MainWindow.xaml"
                this.btn_next.Click += new System.Windows.RoutedEventHandler(this.btn_next_Click);

            #line default
            #line hidden
                return;

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

            #line 1938 "..\..\MainWindow.xaml"
                this.btn_playlist_toggle.Click += new System.Windows.RoutedEventHandler(this.btn_playlist_toggle_Click);

            #line default
            #line hidden
                return;

            case 30:
                this.grid_toggle_btn = ((System.Windows.Controls.Grid)(target));
                return;

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

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

            case 33:
                this.btn_shuffle = ((System.Windows.Controls.Primitives.ToggleButton)(target));
                return;

            case 34:
                this.btn_auto_play_next_in_folder = ((System.Windows.Controls.Primitives.ToggleButton)(target));
                return;

            case 35:
                this.grid_duration_and_volume = ((System.Windows.Controls.Grid)(target));
                return;

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

            #line 1994 "..\..\MainWindow.xaml"
                this.lbl_progress.MouseLeftButtonDown += new System.Windows.Input.MouseButtonEventHandler(this.lbl_progress_MouseLeftButtonDown);

            #line default
            #line hidden
                return;

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

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

            case 39:
                this.sl_volume = ((System.Windows.Controls.Slider)(target));
                return;

            case 40:
                this.main_context = ((System.Windows.Controls.ContextMenu)(target));
                return;

            case 41:
                this.main_context_aspect_submenu = ((System.Windows.Controls.MenuItem)(target));
                return;

            case 42:
                this.main_context_aspect_normal = ((System.Windows.Controls.MenuItem)(target));

            #line 2029 "..\..\MainWindow.xaml"
                this.main_context_aspect_normal.Click += new System.Windows.RoutedEventHandler(this.main_context_aspect_normal_Click);

            #line default
            #line hidden
                return;

            case 43:
                this.main_context_aspect_zoom = ((System.Windows.Controls.MenuItem)(target));

            #line 2035 "..\..\MainWindow.xaml"
                this.main_context_aspect_zoom.Click += new System.Windows.RoutedEventHandler(this.main_context_aspect_zoom_Click);

            #line default
            #line hidden
                return;

            case 44:
                this.main_context_aspect_stretch = ((System.Windows.Controls.MenuItem)(target));

            #line 2041 "..\..\MainWindow.xaml"
                this.main_context_aspect_stretch.Click += new System.Windows.RoutedEventHandler(this.main_context_aspect_stretch_Click);

            #line default
            #line hidden
                return;

            case 45:
                this.main_context_appearance_submenu = ((System.Windows.Controls.MenuItem)(target));
                return;

            case 46:
                this.main_context_appearence_gb_colour = ((System.Windows.Controls.MenuItem)(target));

            #line 2048 "..\..\MainWindow.xaml"
                this.main_context_appearence_gb_colour.Click += new System.Windows.RoutedEventHandler(this.main_context_appearence_gb_colour_Click);

            #line default
            #line hidden
                return;

            case 47:
                this.main_context_appearence_txt_colour = ((System.Windows.Controls.MenuItem)(target));

            #line 2051 "..\..\MainWindow.xaml"
                this.main_context_appearence_txt_colour.Click += new System.Windows.RoutedEventHandler(this.main_context_appearence_txt_colour_Click);

            #line default
            #line hidden
                return;

            case 48:
                this.main_context_view_submenu = ((System.Windows.Controls.MenuItem)(target));
                return;

            case 49:
                this.main_context_view_always_on_top = ((System.Windows.Controls.MenuItem)(target));

            #line 2061 "..\..\MainWindow.xaml"
                this.main_context_view_always_on_top.Checked += new System.Windows.RoutedEventHandler(this.main_context_view_always_on_top_Changed);

            #line default
            #line hidden

            #line 2062 "..\..\MainWindow.xaml"
                this.main_context_view_always_on_top.Unchecked += new System.Windows.RoutedEventHandler(this.main_context_view_always_on_top_Changed);

            #line default
            #line hidden
                return;

            case 50:
                this.main_context_view_always_on_top_when_playing = ((System.Windows.Controls.MenuItem)(target));

            #line 2068 "..\..\MainWindow.xaml"
                this.main_context_view_always_on_top_when_playing.Checked += new System.Windows.RoutedEventHandler(this.main_context_view_always_on_top_when_playing_Changed);

            #line default
            #line hidden

            #line 2069 "..\..\MainWindow.xaml"
                this.main_context_view_always_on_top_when_playing.Unchecked += new System.Windows.RoutedEventHandler(this.main_context_view_always_on_top_when_playing_Changed);

            #line default
            #line hidden
                return;

            case 51:
                this.main_context_view_expanded = ((System.Windows.Controls.MenuItem)(target));

            #line 2076 "..\..\MainWindow.xaml"
                this.main_context_view_expanded.Checked += new System.Windows.RoutedEventHandler(this.main_context_view_expanded_Checked);

            #line default
            #line hidden

            #line 2077 "..\..\MainWindow.xaml"
                this.main_context_view_expanded.Unchecked += new System.Windows.RoutedEventHandler(this.main_context_view_expanded_Unchecked);

            #line default
            #line hidden
                return;

            case 52:
                this.main_context_view_fullscreen = ((System.Windows.Controls.MenuItem)(target));

            #line 2083 "..\..\MainWindow.xaml"
                this.main_context_view_fullscreen.Checked += new System.Windows.RoutedEventHandler(this.main_context_view_fullscreen_Checked);

            #line default
            #line hidden

            #line 2084 "..\..\MainWindow.xaml"
                this.main_context_view_fullscreen.Unchecked += new System.Windows.RoutedEventHandler(this.main_context_view_fullscreen_Unchecked);

            #line default
            #line hidden
                return;

            case 53:
                this.main_context_exit = ((System.Windows.Controls.MenuItem)(target));

            #line 2090 "..\..\MainWindow.xaml"
                this.main_context_exit.Click += new System.Windows.RoutedEventHandler(this.btn_exit_Click);

            #line default
            #line hidden
                return;

            case 54:
                this.tbtn_prev = ((System.Windows.Shell.ThumbButtonInfo)(target));

            #line 2102 "..\..\MainWindow.xaml"
                this.tbtn_prev.Click += new System.EventHandler(this.tbtn_prev_Click);

            #line default
            #line hidden
                return;

            case 55:
                this.tbtn_play = ((System.Windows.Shell.ThumbButtonInfo)(target));

            #line 2107 "..\..\MainWindow.xaml"
                this.tbtn_play.Click += new System.EventHandler(this.tbtn_play_Click);

            #line default
            #line hidden
                return;

            case 56:
                this.tbtn_pause = ((System.Windows.Shell.ThumbButtonInfo)(target));

            #line 2112 "..\..\MainWindow.xaml"
                this.tbtn_pause.Click += new System.EventHandler(this.tbtn_pause_Click);

            #line default
            #line hidden
                return;

            case 57:
                this.tbtn_stop = ((System.Windows.Shell.ThumbButtonInfo)(target));

            #line 2117 "..\..\MainWindow.xaml"
                this.tbtn_stop.Click += new System.EventHandler(this.tbtn_stop_Click);

            #line default
            #line hidden
                return;

            case 58:
                this.tbtn_next = ((System.Windows.Shell.ThumbButtonInfo)(target));

            #line 2122 "..\..\MainWindow.xaml"
                this.tbtn_next.Click += new System.EventHandler(this.tbtn_next_Click);

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

            #line 9 "..\..\..\..\View\accounts\uc_subscriptions.xaml"
                ((POS.View.accounts.uc_subscriptions)(target)).Loaded += new System.Windows.RoutedEventHandler(this.UserControl_Loaded);

            #line default
            #line hidden

            #line 9 "..\..\..\..\View\accounts\uc_subscriptions.xaml"
                ((POS.View.accounts.uc_subscriptions)(target)).Unloaded += new System.Windows.RoutedEventHandler(this.UserControl_Unloaded);

            #line default
            #line hidden
                return;

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

            case 3:
                this.gridWidth = ((System.Windows.Controls.ColumnDefinition)(target));
                return;

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

            #line 50 "..\..\..\..\View\accounts\uc_subscriptions.xaml"
                this.tb_search.TextChanged += new System.Windows.Controls.TextChangedEventHandler(this.Tb_search_TextChanged);

            #line default
            #line hidden
                return;

            case 5:
                this.tt_search = ((System.Windows.Controls.ToolTip)(target));
                return;

            case 6:
                this.dp_startSearchDate = ((System.Windows.Controls.DatePicker)(target));
                return;

            case 7:
                this.tt_startDate = ((System.Windows.Controls.ToolTip)(target));
                return;

            case 8:
                this.dp_endSearchDate = ((System.Windows.Controls.DatePicker)(target));
                return;

            case 9:
                this.tt_endDate = ((System.Windows.Controls.ToolTip)(target));
                return;

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

            #line 99 "..\..\..\..\View\accounts\uc_subscriptions.xaml"
                this.btn_refresh.Click += new System.Windows.RoutedEventHandler(this.Btn_refresh_Click);

            #line default
            #line hidden
                return;

            case 11:
                this.tt_refresh = ((System.Windows.Controls.ToolTip)(target));
                return;

            case 12:
                this.dg_subscriptions = ((System.Windows.Controls.DataGrid)(target));

            #line 134 "..\..\..\..\View\accounts\uc_subscriptions.xaml"
                this.dg_subscriptions.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.Dg_subscriptions_SelectionChanged);

            #line default
            #line hidden
                return;

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

            #line 214 "..\..\..\..\View\accounts\uc_subscriptions.xaml"
                this.btn_pdf.Click += new System.Windows.RoutedEventHandler(this.Btn_pdf_Click);

            #line default
            #line hidden
                return;

            case 14:
                this.tt_report = ((System.Windows.Controls.ToolTip)(target));
                return;

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

            #line 229 "..\..\..\..\View\accounts\uc_subscriptions.xaml"
                this.btn_print.Click += new System.Windows.RoutedEventHandler(this.Btn_print_Click);

            #line default
            #line hidden
                return;

            case 16:
                this.tt_print = ((System.Windows.Controls.ToolTip)(target));
                return;

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

            case 18:
                this.tt_pieChart = ((System.Windows.Controls.ToolTip)(target));
                return;

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

            #line 288 "..\..\..\..\View\accounts\uc_subscriptions.xaml"
                this.btn_exportToExcel.Click += new System.Windows.RoutedEventHandler(this.Btn_exportToExcel_Click);

            #line default
            #line hidden
                return;

            case 20:
                this.tt_excel = ((System.Windows.Controls.ToolTip)(target));
                return;

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

            #line 305 "..\..\..\..\View\accounts\uc_subscriptions.xaml"
                this.btn_preview.Click += new System.Windows.RoutedEventHandler(this.Btn_preview_Click);

            #line default
            #line hidden
                return;

            case 22:
                this.tt_preview = ((System.Windows.Controls.ToolTip)(target));
                return;

            case 23:
                this.txt_count = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 24:
                this.tt_count = ((System.Windows.Controls.ToolTip)(target));
                return;

            case 25:
                this.txt_subscriptions = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 26:
                this.grid_subscriptions = ((System.Windows.Controls.Grid)(target));
                return;

            case 27:
                this.txt_baseInformation = ((System.Windows.Controls.TextBlock)(target));
                return;

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

            #line 467 "..\..\..\..\View\accounts\uc_subscriptions.xaml"
                this.btn_clear.Click += new System.Windows.RoutedEventHandler(this.Btn_clear_Click);

            #line default
            #line hidden
                return;

            case 29:
                this.tt_clear = ((System.Windows.Controls.ToolTip)(target));
                return;

            case 30:
                this.cb_customer = ((System.Windows.Controls.ComboBox)(target));

            #line 485 "..\..\..\..\View\accounts\uc_subscriptions.xaml"
                this.cb_customer.KeyUp += new System.Windows.Input.KeyEventHandler(this.Cb_customer_KeyUp);

            #line default
            #line hidden

            #line 486 "..\..\..\..\View\accounts\uc_subscriptions.xaml"
                this.cb_customer.LostFocus += new System.Windows.RoutedEventHandler(this.input_LostFocus);

            #line default
            #line hidden

            #line 486 "..\..\..\..\View\accounts\uc_subscriptions.xaml"
                this.cb_customer.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.Cb_customer_SelectionChanged);

            #line default
            #line hidden
                return;

            case 31:
                this.p_errorCustomer = ((System.Windows.Shapes.Path)(target));
                return;

            case 32:
                this.tt_errorCustomer = ((System.Windows.Controls.ToolTip)(target));
                return;

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

            #line 504 "..\..\..\..\View\accounts\uc_subscriptions.xaml"
                this.btn_updateCustomer.Click += new System.Windows.RoutedEventHandler(this.Btn_updateCustomer_Click);

            #line default
            #line hidden
                return;

            case 34:
                this.cb_monthsCount = ((System.Windows.Controls.ComboBox)(target));

            #line 521 "..\..\..\..\View\accounts\uc_subscriptions.xaml"
                this.cb_monthsCount.LostFocus += new System.Windows.RoutedEventHandler(this.Tb_validateEmptyLostFocus);

            #line default
            #line hidden
                return;

            case 35:
                this.tt_monthsCount = ((System.Windows.Controls.ToolTip)(target));
                return;

            case 36:
                this.p_errorMonthsCount = ((System.Windows.Shapes.Path)(target));
                return;

            case 37:
                this.tt_errorMonthsCount = ((System.Windows.Controls.ToolTip)(target));
                return;

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

            #line 544 "..\..\..\..\View\accounts\uc_subscriptions.xaml"
                this.tb_amount.LostFocus += new System.Windows.RoutedEventHandler(this.validationControl_LostFocus);

            #line default
            #line hidden

            #line 544 "..\..\..\..\View\accounts\uc_subscriptions.xaml"
                this.tb_amount.TextChanged += new System.Windows.Controls.TextChangedEventHandler(this.validationTextbox_TextChanged);

            #line default
            #line hidden
                return;

            case 39:
                this.tt_amount = ((System.Windows.Controls.ToolTip)(target));
                return;

            case 40:
                this.cb_paymentProcessType = ((System.Windows.Controls.ComboBox)(target));

            #line 564 "..\..\..\..\View\accounts\uc_subscriptions.xaml"
                this.cb_paymentProcessType.LostFocus += new System.Windows.RoutedEventHandler(this.Tb_validateEmptyLostFocus);

            #line default
            #line hidden

            #line 565 "..\..\..\..\View\accounts\uc_subscriptions.xaml"
                this.cb_paymentProcessType.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.Cb_paymentProcessType_SelectionChanged);

            #line default
            #line hidden
                return;

            case 41:
                this.tt_paymentType = ((System.Windows.Controls.ToolTip)(target));
                return;

            case 42:
                this.p_errorpaymentProcessType = ((System.Windows.Shapes.Path)(target));
                return;

            case 43:
                this.tt_errorpaymentProcessType = ((System.Windows.Controls.ToolTip)(target));
                return;

            case 44:
                this.cb_card = ((System.Windows.Controls.ComboBox)(target));

            #line 590 "..\..\..\..\View\accounts\uc_subscriptions.xaml"
                this.cb_card.LostFocus += new System.Windows.RoutedEventHandler(this.Tb_validateEmptyLostFocus);

            #line default
            #line hidden
                return;

            case 45:
                this.tt_card = ((System.Windows.Controls.ToolTip)(target));
                return;

            case 46:
                this.p_errorCard = ((System.Windows.Shapes.Path)(target));
                return;

            case 47:
                this.tt_errorCard = ((System.Windows.Controls.ToolTip)(target));
                return;

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

            case 49:
                this.tt_notes = ((System.Windows.Controls.ToolTip)(target));
                return;

            case 50:
                this.tt_error_note = ((System.Windows.Controls.ToolTip)(target));
                return;

            case 51:
                this.btn_save = ((System.Windows.Controls.Button)(target));

            #line 640 "..\..\..\..\View\accounts\uc_subscriptions.xaml"
                this.btn_save.Click += new System.Windows.RoutedEventHandler(this.Btn_save_Click);

            #line default
            #line hidden
                return;

            case 52:
                this.tt_save = ((System.Windows.Controls.ToolTip)(target));
                return;
            }
            this._contentLoaded = true;
        }
Example #37
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:

            #line 10 "..\..\..\..\View\reports\us_dailySalesStatistic.xaml"
                ((POS.View.reports.us_dailySalesStatistic)(target)).Loaded += new System.Windows.RoutedEventHandler(this.UserControl_Loaded);

            #line default
            #line hidden

            #line 10 "..\..\..\..\View\reports\us_dailySalesStatistic.xaml"
                ((POS.View.reports.us_dailySalesStatistic)(target)).Unloaded += new System.Windows.RoutedEventHandler(this.UserControl_Unloaded);

            #line default
            #line hidden
                return;

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

            case 3:
                this.grid_tabControl = ((System.Windows.Controls.Grid)(target));
                return;

            case 4:
                this.bdr_invoice = ((System.Windows.Controls.Border)(target));
                return;

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

            #line 49 "..\..\..\..\View\reports\us_dailySalesStatistic.xaml"
                this.btn_invoice.Click += new System.Windows.RoutedEventHandler(this.Btn_Invoice_Click);

            #line default
            #line hidden
                return;

            case 6:
                this.trig = ((System.Windows.EventTrigger)(target));
                return;

            case 7:
                this.path_invoice = ((System.Windows.Shapes.Path)(target));
                return;

            case 8:
                this.tt_invoice = ((System.Windows.Controls.ToolTip)(target));
                return;

            case 9:
                this.bdr_order = ((System.Windows.Controls.Border)(target));
                return;

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

            #line 90 "..\..\..\..\View\reports\us_dailySalesStatistic.xaml"
                this.btn_order.Click += new System.Windows.RoutedEventHandler(this.Btn_order_Click);

            #line default
            #line hidden
                return;

            case 11:
                this.path_order = ((System.Windows.Shapes.Path)(target));
                return;

            case 12:
                this.tt_order = ((System.Windows.Controls.ToolTip)(target));
                return;

            case 13:
                this.bdr_quotation = ((System.Windows.Controls.Border)(target));
                return;

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

            #line 130 "..\..\..\..\View\reports\us_dailySalesStatistic.xaml"
                this.btn_quotation.Click += new System.Windows.RoutedEventHandler(this.Btn_quotation_Click);

            #line default
            #line hidden
                return;

            case 15:
                this.path_quotation = ((System.Windows.Shapes.Path)(target));
                return;

            case 16:
                this.tt_quotation = ((System.Windows.Controls.ToolTip)(target));
                return;

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

            case 18:
                this.bdrMain = ((System.Windows.Controls.Border)(target));
                return;

            case 19:
                this.grid_father = ((System.Windows.Controls.Grid)(target));
                return;

            case 20:
                this.grid_invoice = ((System.Windows.Controls.Grid)(target));
                return;

            case 21:
                this.chk_invoice = ((System.Windows.Controls.CheckBox)(target));

            #line 211 "..\..\..\..\View\reports\us_dailySalesStatistic.xaml"
                this.chk_invoice.Checked += new System.Windows.RoutedEventHandler(this.RefreshViewCheckbox);

            #line default
            #line hidden

            #line 211 "..\..\..\..\View\reports\us_dailySalesStatistic.xaml"
                this.chk_invoice.Unchecked += new System.Windows.RoutedEventHandler(this.RefreshViewCheckbox);

            #line default
            #line hidden
                return;

            case 22:
                this.chk_return = ((System.Windows.Controls.CheckBox)(target));

            #line 212 "..\..\..\..\View\reports\us_dailySalesStatistic.xaml"
                this.chk_return.Checked += new System.Windows.RoutedEventHandler(this.RefreshViewCheckbox);

            #line default
            #line hidden

            #line 212 "..\..\..\..\View\reports\us_dailySalesStatistic.xaml"
                this.chk_return.Unchecked += new System.Windows.RoutedEventHandler(this.RefreshViewCheckbox);

            #line default
            #line hidden
                return;

            case 23:
                this.chk_drafs = ((System.Windows.Controls.CheckBox)(target));

            #line 213 "..\..\..\..\View\reports\us_dailySalesStatistic.xaml"
                this.chk_drafs.Checked += new System.Windows.RoutedEventHandler(this.RefreshViewCheckbox);

            #line default
            #line hidden

            #line 213 "..\..\..\..\View\reports\us_dailySalesStatistic.xaml"
                this.chk_drafs.Unchecked += new System.Windows.RoutedEventHandler(this.RefreshViewCheckbox);

            #line default
            #line hidden
                return;

            case 24:
                this.dp_invoiceDate = ((System.Windows.Controls.DatePicker)(target));

            #line 214 "..\..\..\..\View\reports\us_dailySalesStatistic.xaml"
                this.dp_invoiceDate.SelectedDateChanged += new System.EventHandler <System.Windows.Controls.SelectionChangedEventArgs>(this.RefreshView_SelectedDateChanged);

            #line default
            #line hidden
                return;

            case 25:
                this.cb_branches = ((System.Windows.Controls.ComboBox)(target));

            #line 222 "..\..\..\..\View\reports\us_dailySalesStatistic.xaml"
                this.cb_branches.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.cb_branches_SelectionChanged);

            #line default
            #line hidden
                return;

            case 26:
                this.chk_allBranches = ((System.Windows.Controls.CheckBox)(target));

            #line 227 "..\..\..\..\View\reports\us_dailySalesStatistic.xaml"
                this.chk_allBranches.Checked += new System.Windows.RoutedEventHandler(this.Chk_allBranches_Checked);

            #line default
            #line hidden

            #line 227 "..\..\..\..\View\reports\us_dailySalesStatistic.xaml"
                this.chk_allBranches.Unchecked += new System.Windows.RoutedEventHandler(this.Chk_allBranches_Unchecked);

            #line default
            #line hidden
                return;

            case 27:
                this.cb_pos = ((System.Windows.Controls.ComboBox)(target));

            #line 236 "..\..\..\..\View\reports\us_dailySalesStatistic.xaml"
                this.cb_pos.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.Cb_pos_SelectionChanged);

            #line default
            #line hidden
                return;

            case 28:
                this.chk_allPos = ((System.Windows.Controls.CheckBox)(target));

            #line 237 "..\..\..\..\View\reports\us_dailySalesStatistic.xaml"
                this.chk_allPos.Checked += new System.Windows.RoutedEventHandler(this.Chk_allPos_Checked);

            #line default
            #line hidden

            #line 237 "..\..\..\..\View\reports\us_dailySalesStatistic.xaml"
                this.chk_allPos.Unchecked += new System.Windows.RoutedEventHandler(this.Chk_allPos_Unchecked);

            #line default
            #line hidden
                return;

            case 29:
                this.grid_order = ((System.Windows.Controls.Grid)(target));
                return;

            case 30:
                this.chk_orderInvoice = ((System.Windows.Controls.CheckBox)(target));

            #line 255 "..\..\..\..\View\reports\us_dailySalesStatistic.xaml"
                this.chk_orderInvoice.Checked += new System.Windows.RoutedEventHandler(this.RefreshViewCheckbox);

            #line default
            #line hidden

            #line 255 "..\..\..\..\View\reports\us_dailySalesStatistic.xaml"
                this.chk_orderInvoice.Unchecked += new System.Windows.RoutedEventHandler(this.RefreshViewCheckbox);

            #line default
            #line hidden
                return;

            case 31:
                this.chk_orderDraft = ((System.Windows.Controls.CheckBox)(target));

            #line 256 "..\..\..\..\View\reports\us_dailySalesStatistic.xaml"
                this.chk_orderDraft.Checked += new System.Windows.RoutedEventHandler(this.RefreshViewCheckbox);

            #line default
            #line hidden

            #line 256 "..\..\..\..\View\reports\us_dailySalesStatistic.xaml"
                this.chk_orderDraft.Unchecked += new System.Windows.RoutedEventHandler(this.RefreshViewCheckbox);

            #line default
            #line hidden
                return;

            case 32:
                this.dp_orderDate = ((System.Windows.Controls.DatePicker)(target));

            #line 257 "..\..\..\..\View\reports\us_dailySalesStatistic.xaml"
                this.dp_orderDate.SelectedDateChanged += new System.EventHandler <System.Windows.Controls.SelectionChangedEventArgs>(this.RefreshView_SelectedDateChanged);

            #line default
            #line hidden
                return;

            case 33:
                this.grid_quotation = ((System.Windows.Controls.Grid)(target));
                return;

            case 34:
                this.chk_quotationInvoice = ((System.Windows.Controls.CheckBox)(target));

            #line 278 "..\..\..\..\View\reports\us_dailySalesStatistic.xaml"
                this.chk_quotationInvoice.Checked += new System.Windows.RoutedEventHandler(this.RefreshViewCheckbox);

            #line default
            #line hidden

            #line 278 "..\..\..\..\View\reports\us_dailySalesStatistic.xaml"
                this.chk_quotationInvoice.Unchecked += new System.Windows.RoutedEventHandler(this.RefreshViewCheckbox);

            #line default
            #line hidden
                return;

            case 35:
                this.chk_quotationDraft = ((System.Windows.Controls.CheckBox)(target));

            #line 279 "..\..\..\..\View\reports\us_dailySalesStatistic.xaml"
                this.chk_quotationDraft.Checked += new System.Windows.RoutedEventHandler(this.RefreshViewCheckbox);

            #line default
            #line hidden

            #line 279 "..\..\..\..\View\reports\us_dailySalesStatistic.xaml"
                this.chk_quotationDraft.Unchecked += new System.Windows.RoutedEventHandler(this.RefreshViewCheckbox);

            #line default
            #line hidden
                return;

            case 36:
                this.dp_quotationDate = ((System.Windows.Controls.DatePicker)(target));

            #line 280 "..\..\..\..\View\reports\us_dailySalesStatistic.xaml"
                this.dp_quotationDate.SelectedDateChanged += new System.EventHandler <System.Windows.Controls.SelectionChangedEventArgs>(this.RefreshView_SelectedDateChanged);

            #line default
            #line hidden
                return;

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

            #line 306 "..\..\..\..\View\reports\us_dailySalesStatistic.xaml"
                this.txt_search.TextChanged += new System.Windows.Controls.TextChangedEventHandler(this.Txt_search_TextChanged);

            #line default
            #line hidden
                return;

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

            #line 335 "..\..\..\..\View\reports\us_dailySalesStatistic.xaml"
                this.btn_refresh.Click += new System.Windows.RoutedEventHandler(this.Btn_refresh_Click);

            #line default
            #line hidden
                return;

            case 39:
                this.tt_refresh = ((System.Windows.Controls.ToolTip)(target));
                return;

            case 40:
                this.dgInvoice = ((System.Windows.Controls.DataGrid)(target));

            #line 362 "..\..\..\..\View\reports\us_dailySalesStatistic.xaml"
                this.dgInvoice.MouseDoubleClick += new System.Windows.Input.MouseButtonEventHandler(this.DgInvoice_MouseDoubleClick);

            #line default
            #line hidden
                return;

            case 41:
                this.col_No = ((System.Windows.Controls.DataGridTextColumn)(target));
                return;

            case 42:
                this.col_type = ((System.Windows.Controls.DataGridTextColumn)(target));
                return;

            case 43:
                this.col_branch = ((System.Windows.Controls.DataGridTextColumn)(target));
                return;

            case 44:
                this.col_pos = ((System.Windows.Controls.DataGridTextColumn)(target));
                return;

            case 45:
                this.col_discount = ((System.Windows.Controls.DataGridTextColumn)(target));
                return;

            case 46:
                this.col_tax = ((System.Windows.Controls.DataGridTextColumn)(target));
                return;

            case 47:
                this.col_totalNet = ((System.Windows.Controls.DataGridTextColumn)(target));
                return;

            case 48:
                this.col_processType = ((System.Windows.Controls.DataGridTextColumn)(target));
                return;

            case 49:
                this.btn_pdf = ((System.Windows.Controls.Button)(target));

            #line 393 "..\..\..\..\View\reports\us_dailySalesStatistic.xaml"
                this.btn_pdf.Click += new System.Windows.RoutedEventHandler(this.Btn_pdf_Click);

            #line default
            #line hidden
                return;

            case 50:
                this.tt_report = ((System.Windows.Controls.ToolTip)(target));
                return;

            case 51:
                this.btn_print = ((System.Windows.Controls.Button)(target));

            #line 410 "..\..\..\..\View\reports\us_dailySalesStatistic.xaml"
                this.btn_print.Click += new System.Windows.RoutedEventHandler(this.Btn_print_Click);

            #line default
            #line hidden
                return;

            case 52:
                this.tt_print = ((System.Windows.Controls.ToolTip)(target));
                return;

            case 53:
                this.btn_exportToExcel = ((System.Windows.Controls.Button)(target));

            #line 426 "..\..\..\..\View\reports\us_dailySalesStatistic.xaml"
                this.btn_exportToExcel.Click += new System.Windows.RoutedEventHandler(this.Btn_exportToExcel_Click);

            #line default
            #line hidden
                return;

            case 54:
                this.tt_excel = ((System.Windows.Controls.ToolTip)(target));
                return;

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

            #line 443 "..\..\..\..\View\reports\us_dailySalesStatistic.xaml"
                this.btn_preview.Click += new System.Windows.RoutedEventHandler(this.Btn_preview_Click);

            #line default
            #line hidden
                return;

            case 56:
                this.tt_preview = ((System.Windows.Controls.ToolTip)(target));
                return;

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

            case 58:
                this.txt_count = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 59:
                this.tt_count = ((System.Windows.Controls.ToolTip)(target));
                return;

            case 60:
                this.rowToShow = ((System.Windows.Controls.RowDefinition)(target));
                return;

            case 61:
                this.rowToHide = ((System.Windows.Controls.RowDefinition)(target));
                return;

            case 62:
                this.cartesianChart = ((LiveCharts.Wpf.CartesianChart)(target));
                return;

            case 63:
                this.axcolumn = ((LiveCharts.Wpf.Axis)(target));
                return;

            case 64:
                this.grid1 = ((System.Windows.Controls.Grid)(target));
                return;

            case 65:
                this.chart1 = ((LiveCharts.Wpf.PieChart)(target));
                return;

            case 66:
                this.rowChart = ((LiveCharts.Wpf.CartesianChart)(target));
                return;

            case 67:
                this.MyAxis = ((LiveCharts.Wpf.Axis)(target));
                return;
            }
            this._contentLoaded = true;
        }
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:

            #line 12 "..\..\..\..\View\reports\us_saleTax.xaml"
                ((POS.View.reports.us_saleTax)(target)).Loaded += new System.Windows.RoutedEventHandler(this.UserControl_Loaded);

            #line default
            #line hidden

            #line 12 "..\..\..\..\View\reports\us_saleTax.xaml"
                ((POS.View.reports.us_saleTax)(target)).Unloaded += new System.Windows.RoutedEventHandler(this.UserControl_Unloaded);

            #line default
            #line hidden
                return;

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

            case 3:
                this.grid_tabControl = ((System.Windows.Controls.Grid)(target));
                return;

            case 4:
                this.bdr_invoice = ((System.Windows.Controls.Border)(target));
                return;

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

            #line 50 "..\..\..\..\View\reports\us_saleTax.xaml"
                this.btn_invoice.Click += new System.Windows.RoutedEventHandler(this.Btn_invoice_Click);

            #line default
            #line hidden
                return;

            case 6:
                this.trig = ((System.Windows.EventTrigger)(target));
                return;

            case 7:
                this.path_invoice = ((System.Windows.Shapes.Path)(target));
                return;

            case 8:
                this.tt_invoice = ((System.Windows.Controls.ToolTip)(target));
                return;

            case 9:
                this.bdr_item = ((System.Windows.Controls.Border)(target));
                return;

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

            #line 94 "..\..\..\..\View\reports\us_saleTax.xaml"
                this.btn_item.Click += new System.Windows.RoutedEventHandler(this.Btn_item_Click);

            #line default
            #line hidden
                return;

            case 11:
                this.path_item = ((System.Windows.Shapes.Path)(target));
                return;

            case 12:
                this.tt_item = ((System.Windows.Controls.ToolTip)(target));
                return;

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

            case 14:
                this.bdrMain = ((System.Windows.Controls.Border)(target));
                return;

            case 15:
                this.grid_father = ((System.Windows.Controls.Grid)(target));
                return;

            case 16:
                this.grid_invoice = ((System.Windows.Controls.Grid)(target));
                return;

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

            #line 184 "..\..\..\..\View\reports\us_saleTax.xaml"
                this.dp_endDate.SelectedDateChanged += new System.EventHandler <System.Windows.Controls.SelectionChangedEventArgs>(this.RefreshView_SelectedDateChanged);

            #line default
            #line hidden
                return;

            case 18:
                this.dp_startDate = ((System.Windows.Controls.DatePicker)(target));

            #line 189 "..\..\..\..\View\reports\us_saleTax.xaml"
                this.dp_startDate.SelectedDateChanged += new System.EventHandler <System.Windows.Controls.SelectionChangedEventArgs>(this.RefreshView_SelectedDateChanged);

            #line default
            #line hidden
                return;

            case 19:
                this.cb_branches = ((System.Windows.Controls.ComboBox)(target));

            #line 194 "..\..\..\..\View\reports\us_saleTax.xaml"
                this.cb_branches.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.cb_branches_SelectionChanged);

            #line default
            #line hidden
                return;

            case 20:
                this.chk_allBranches = ((System.Windows.Controls.CheckBox)(target));

            #line 199 "..\..\..\..\View\reports\us_saleTax.xaml"
                this.chk_allBranches.Checked += new System.Windows.RoutedEventHandler(this.Chk_allBranches_Checked);

            #line default
            #line hidden

            #line 199 "..\..\..\..\View\reports\us_saleTax.xaml"
                this.chk_allBranches.Unchecked += new System.Windows.RoutedEventHandler(this.Chk_allBranches_Unchecked);

            #line default
            #line hidden
                return;

            case 21:
                this.grid_item = ((System.Windows.Controls.Grid)(target));
                return;

            case 22:
                this.chk_orderInvoice = ((System.Windows.Controls.CheckBox)(target));
                return;

            case 23:
                this.chk_orderDraft = ((System.Windows.Controls.CheckBox)(target));
                return;

            case 24:
                this.dp_orderDate = ((System.Windows.Controls.DatePicker)(target));
                return;

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

            #line 245 "..\..\..\..\View\reports\us_saleTax.xaml"
                this.txt_search.TextChanged += new System.Windows.Controls.TextChangedEventHandler(this.Txt_search_TextChanged);

            #line default
            #line hidden
                return;

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

            #line 275 "..\..\..\..\View\reports\us_saleTax.xaml"
                this.btn_refresh.Click += new System.Windows.RoutedEventHandler(this.Btn_refresh_Click);

            #line default
            #line hidden
                return;

            case 27:
                this.tt_refresh = ((System.Windows.Controls.ToolTip)(target));
                return;

            case 28:
                this.dgTax = ((System.Windows.Controls.DataGrid)(target));
                return;

            case 29:
                this.col_invNum = ((System.Windows.Controls.DataGridTextColumn)(target));
                return;

            case 30:
                this.col_Date = ((System.Windows.Controls.DataGridTextColumn)(target));
                return;

            case 31:
                this.col_branch = ((System.Windows.Controls.DataGridTextColumn)(target));
                return;

            case 32:
                this.col_invQuantity = ((System.Windows.Controls.DataGridTextColumn)(target));
                return;

            case 33:
                this.col_invTotal = ((System.Windows.Controls.DataGridTextColumn)(target));
                return;

            case 34:
                this.col_invTaxPercent = ((System.Windows.Controls.DataGridTextColumn)(target));
                return;

            case 35:
                this.col_taxOnInvoice = ((System.Windows.Controls.DataGridTextColumn)(target));
                return;

            case 36:
                this.col_totalNet = ((System.Windows.Controls.DataGridTextColumn)(target));
                return;

            case 37:
                this.col_itemunitName = ((System.Windows.Controls.DataGridTextColumn)(target));
                return;

            case 38:
                this.col_price = ((System.Windows.Controls.DataGridTextColumn)(target));
                return;

            case 39:
                this.col_itemsQuantity = ((System.Windows.Controls.DataGridTextColumn)(target));
                return;

            case 40:
                this.col_itemsTotal = ((System.Windows.Controls.DataGridTextColumn)(target));
                return;

            case 41:
                this.col_itemTaxPercent = ((System.Windows.Controls.DataGridTextColumn)(target));
                return;

            case 42:
                this.col_taxOnItems = ((System.Windows.Controls.DataGridTextColumn)(target));
                return;

            case 43:
                this.col_totalNetItem = ((System.Windows.Controls.DataGridTextColumn)(target));
                return;

            case 44:
                this.btn_pdf = ((System.Windows.Controls.Button)(target));

            #line 353 "..\..\..\..\View\reports\us_saleTax.xaml"
                this.btn_pdf.Click += new System.Windows.RoutedEventHandler(this.Btn_pdf_Click);

            #line default
            #line hidden
                return;

            case 45:
                this.tt_report = ((System.Windows.Controls.ToolTip)(target));
                return;

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

            #line 370 "..\..\..\..\View\reports\us_saleTax.xaml"
                this.btn_print.Click += new System.Windows.RoutedEventHandler(this.Btn_print_Click);

            #line default
            #line hidden
                return;

            case 47:
                this.tt_print = ((System.Windows.Controls.ToolTip)(target));
                return;

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

            #line 385 "..\..\..\..\View\reports\us_saleTax.xaml"
                this.btn_exportToExcel.Click += new System.Windows.RoutedEventHandler(this.Btn_exportToExcel_Click);

            #line default
            #line hidden
                return;

            case 49:
                this.tt_excel = ((System.Windows.Controls.ToolTip)(target));
                return;

            case 50:
                this.btn_preview = ((System.Windows.Controls.Button)(target));

            #line 402 "..\..\..\..\View\reports\us_saleTax.xaml"
                this.btn_preview.Click += new System.Windows.RoutedEventHandler(this.Btn_preview_Click);

            #line default
            #line hidden
                return;

            case 51:
                this.tt_preview = ((System.Windows.Controls.ToolTip)(target));
                return;

            case 52:
                this.btn_settings = ((System.Windows.Controls.Button)(target));
                return;

            case 53:
                this.txt_count = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 54:
                this.tt_count = ((System.Windows.Controls.ToolTip)(target));
                return;

            case 55:
                this.brd_total = ((System.Windows.Controls.Border)(target));
                return;

            case 56:
                this.txt_total = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 57:
                this.tb_total = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 58:
                this.cartesianChart = ((LiveCharts.Wpf.CartesianChart)(target));
                return;

            case 59:
                this.axcolumn = ((LiveCharts.Wpf.Axis)(target));
                return;

            case 60:
                this.rowChart = ((LiveCharts.Wpf.CartesianChart)(target));
                return;

            case 61:
                this.MyAxis = ((LiveCharts.Wpf.Axis)(target));
                return;
            }
            this._contentLoaded = true;
        }
Example #39
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:

            #line 7 "..\..\..\..\View\windows\wd_invoicesList.xaml"
                ((POS.View.windows.wd_invoicesList)(target)).KeyDown += new System.Windows.Input.KeyEventHandler(this.HandleKeyPress);

            #line default
            #line hidden

            #line 12 "..\..\..\..\View\windows\wd_invoicesList.xaml"
                ((POS.View.windows.wd_invoicesList)(target)).Loaded += new System.Windows.RoutedEventHandler(this.Window_Loaded);

            #line default
            #line hidden

            #line 12 "..\..\..\..\View\windows\wd_invoicesList.xaml"
                ((POS.View.windows.wd_invoicesList)(target)).MouseDown += new System.Windows.Input.MouseButtonEventHandler(this.Window_MouseDown);

            #line default
            #line hidden
                return;

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

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

            #line 25 "..\..\..\..\View\windows\wd_invoicesList.xaml"
                this.btn_colse.Click += new System.Windows.RoutedEventHandler(this.Btn_colse_Click);

            #line default
            #line hidden
                return;

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

            case 5:
                this.grid_mainGrid = ((System.Windows.Controls.Grid)(target));
                return;

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

            #line 98 "..\..\..\..\View\windows\wd_invoicesList.xaml"
                this.txb_search.TextChanged += new System.Windows.Controls.TextChangedEventHandler(this.Txb_search_TextChanged);

            #line default
            #line hidden
                return;

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

            case 8:
                this.lst_allInvoices = ((System.Windows.Controls.DataGrid)(target));

            #line 124 "..\..\..\..\View\windows\wd_invoicesList.xaml"
                this.lst_allInvoices.BeginningEdit += new System.EventHandler <System.Windows.Controls.DataGridBeginningEditEventArgs>(this.Grid_BeginningEdit);

            #line default
            #line hidden

            #line 126 "..\..\..\..\View\windows\wd_invoicesList.xaml"
                this.lst_allInvoices.MouseDoubleClick += new System.Windows.Input.MouseButtonEventHandler(this.Lst_allInvoices_MouseDoubleClick);

            #line default
            #line hidden
                return;

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

            #line 148 "..\..\..\..\View\windows\wd_invoicesList.xaml"
                this.btn_selectedAll.Click += new System.Windows.RoutedEventHandler(this.Btn_selectedAll_Click);

            #line default
            #line hidden
                return;

            case 10:
                this.tt_selectAllItem = ((System.Windows.Controls.ToolTip)(target));
                return;

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

            #line 165 "..\..\..\..\View\windows\wd_invoicesList.xaml"
                this.btn_selectedInvoice.Click += new System.Windows.RoutedEventHandler(this.Btn_selectedInvoice_Click);

            #line default
            #line hidden
                return;

            case 12:
                this.tt_selectItem = ((System.Windows.Controls.ToolTip)(target));
                return;

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

            #line 181 "..\..\..\..\View\windows\wd_invoicesList.xaml"
                this.btn_unSelectedInvoice.Click += new System.Windows.RoutedEventHandler(this.Btn_unSelectedInvoice_Click);

            #line default
            #line hidden
                return;

            case 14:
                this.tt_unselectItem = ((System.Windows.Controls.ToolTip)(target));
                return;

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

            #line 196 "..\..\..\..\View\windows\wd_invoicesList.xaml"
                this.btn_unSelectedAll.Click += new System.Windows.RoutedEventHandler(this.Btn_unSelectedAll_Click);

            #line default
            #line hidden
                return;

            case 16:
                this.tt_unselectAllItem = ((System.Windows.Controls.ToolTip)(target));
                return;

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

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

            #line 216 "..\..\..\..\View\windows\wd_invoicesList.xaml"
                this.lst_selectedInvoices.BeginningEdit += new System.EventHandler <System.Windows.Controls.DataGridBeginningEditEventArgs>(this.Grid_BeginningEdit);

            #line default
            #line hidden

            #line 218 "..\..\..\..\View\windows\wd_invoicesList.xaml"
                this.lst_selectedInvoices.MouseDoubleClick += new System.Windows.Input.MouseButtonEventHandler(this.Lst_selectedInvoices_MouseDoubleClick);

            #line default
            #line hidden
                return;

            case 19:
                this.txt_sum = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 20:
                this.tb_sum = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 21:
                this.tb_moneyIcon = ((System.Windows.Controls.TextBlock)(target));
                return;

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

            #line 242 "..\..\..\..\View\windows\wd_invoicesList.xaml"
                this.btn_save.Click += new System.Windows.RoutedEventHandler(this.Btn_save_Click);

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

            #line 7 "..\..\..\..\View\windows\wd_acceptCancelPopup.xaml"
                ((POS.View.windows.wd_acceptCancelPopup)(target)).KeyDown += new System.Windows.Input.KeyEventHandler(this.HandleKeyPress);

            #line default
            #line hidden

            #line 12 "..\..\..\..\View\windows\wd_acceptCancelPopup.xaml"
                ((POS.View.windows.wd_acceptCancelPopup)(target)).Loaded += new System.Windows.RoutedEventHandler(this.Window_Loaded);

            #line default
            #line hidden

            #line 12 "..\..\..\..\View\windows\wd_acceptCancelPopup.xaml"
                ((POS.View.windows.wd_acceptCancelPopup)(target)).MouseDown += new System.Windows.Input.MouseButtonEventHandler(this.Window_MouseDown);

            #line default
            #line hidden
                return;

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

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

            #line 31 "..\..\..\..\View\windows\wd_acceptCancelPopup.xaml"
                this.btn_cancel.Click += new System.Windows.RoutedEventHandler(this.Btn_cancel_Click);

            #line default
            #line hidden
                return;

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

            case 5:
                this.path_cancel = ((MaterialDesignThemes.Wpf.PackIcon)(target));
                return;

            case 6:
                this.tt_cancel = ((System.Windows.Controls.ToolTip)(target));
                return;

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

            #line 51 "..\..\..\..\View\windows\wd_acceptCancelPopup.xaml"
                this.btn_ok.Click += new System.Windows.RoutedEventHandler(this.Btn_ok_Click);

            #line default
            #line hidden
                return;

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

            case 9:
                this.path_ok = ((MaterialDesignThemes.Wpf.PackIcon)(target));
                return;

            case 10:
                this.tt_ok = ((System.Windows.Controls.ToolTip)(target));
                return;
            }
            this._contentLoaded = true;
        }
Example #41
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.dragdrop = ((System.Windows.Controls.Grid)(target));

            #line 162 "..\..\Authors.xaml"
                this.dragdrop.MouseDown += new System.Windows.Input.MouseButtonEventHandler(this.dragdrop_MouseDown);

            #line default
            #line hidden
                return;

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

            #line 169 "..\..\Authors.xaml"
                this.BG.PreviewMouseLeftButtonDown += new System.Windows.Input.MouseButtonEventHandler(this.BG_PreviewMouseLeftButtonDown);

            #line default
            #line hidden
                return;

            case 3:
                this.img_bg = ((System.Windows.Media.ImageBrush)(target));
                return;

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

            #line 203 "..\..\Authors.xaml"
                this.CloseBtn.Click += new System.Windows.RoutedEventHandler(this.CloseBtn_Click_1);

            #line default
            #line hidden
                return;

            case 5:
                this.nav_pnl = ((System.Windows.Controls.Grid)(target));
                return;

            case 6:
                this.st_pnl = ((System.Windows.Controls.StackPanel)(target));
                return;

            case 7:
                this.Tg_Btn = ((System.Windows.Controls.Primitives.ToggleButton)(target));

            #line 265 "..\..\Authors.xaml"
                this.Tg_Btn.Unchecked += new System.Windows.RoutedEventHandler(this.Tg_Btn_Unchecked);

            #line default
            #line hidden

            #line 265 "..\..\Authors.xaml"
                this.Tg_Btn.Checked += new System.Windows.RoutedEventHandler(this.Tg_Btn_Checked_1);

            #line default
            #line hidden
                return;

            case 8:
                this.HideStackPanel = ((System.Windows.Media.Animation.Storyboard)(target));
                return;

            case 9:
                this.ShowStackPanel = ((System.Windows.Media.Animation.Storyboard)(target));
                return;

            case 10:
                this.LV = ((System.Windows.Controls.ListView)(target));
                return;

            case 11:

            #line 341 "..\..\Authors.xaml"
                ((System.Windows.Controls.ListViewItem)(target)).MouseEnter += new System.Windows.Input.MouseEventHandler(this.ListViewItem_MouseEnter);

            #line default
            #line hidden
                return;

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

            #line 344 "..\..\Authors.xaml"
                this.btnHome.Click += new System.Windows.RoutedEventHandler(this.btnHome_Click_1);

            #line default
            #line hidden
                return;

            case 13:
                this.tt_home = ((System.Windows.Controls.ToolTip)(target));
                return;

            case 14:

            #line 374 "..\..\Authors.xaml"
                ((System.Windows.Controls.ListViewItem)(target)).MouseEnter += new System.Windows.Input.MouseEventHandler(this.ListViewItem_MouseEnter);

            #line default
            #line hidden
                return;

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

            case 16:
                this.tt_Authors = ((System.Windows.Controls.ToolTip)(target));
                return;

            case 17:
                this.BG_Copy = ((System.Windows.Controls.Grid)(target));

            #line 471 "..\..\Authors.xaml"
                this.BG_Copy.PreviewMouseLeftButtonDown += new System.Windows.Input.MouseButtonEventHandler(this.BG_PreviewMouseLeftButtonDown);

            #line default
            #line hidden
                return;

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

            case 19:
                this.comTitle = ((System.Windows.Controls.ComboBox)(target));
                return;

            case 20:
                this.txtFirstName = ((System.Windows.Controls.TextBox)(target));
                return;

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

            case 22:
                this.rdMale = ((System.Windows.Controls.RadioButton)(target));

            #line 491 "..\..\Authors.xaml"
                this.rdMale.Checked += new System.Windows.RoutedEventHandler(this.rdMale_Checked);

            #line default
            #line hidden
                return;

            case 23:
                this.rdFemale = ((System.Windows.Controls.RadioButton)(target));

            #line 492 "..\..\Authors.xaml"
                this.rdFemale.Checked += new System.Windows.RoutedEventHandler(this.rdFemale_Checked);

            #line default
            #line hidden
                return;

            case 24:
                this.txtContactNo = ((System.Windows.Controls.TextBox)(target));
                return;

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

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

            case 27:
                this.listAuthors = ((System.Windows.Controls.ListView)(target));
                return;

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

            #line 536 "..\..\Authors.xaml"
                this.Btn_save.Click += new System.Windows.RoutedEventHandler(this.Btn_save_Click);

            #line default
            #line hidden
                return;

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

            #line 537 "..\..\Authors.xaml"
                this.Btn_AllData.Click += new System.Windows.RoutedEventHandler(this.Btn_AllData_Click);

            #line default
            #line hidden
                return;

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

            #line 538 "..\..\Authors.xaml"
                this.Btn_Update.Click += new System.Windows.RoutedEventHandler(this.Btn_Update_Click);

            #line default
            #line hidden
                return;

            case 33:
                this.Gender = ((System.Windows.Controls.TextBlock)(target));
                return;

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

            #line 540 "..\..\Authors.xaml"
                this.Btn_Refresh.Click += new System.Windows.RoutedEventHandler(this.Btn_Refresh_Click);

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

            #line 10 "..\..\..\..\View\accounts\uc_posAccounts.xaml"
                ((POS.View.accounts.uc_posAccounts)(target)).Loaded += new System.Windows.RoutedEventHandler(this.UserControl_Loaded);

            #line default
            #line hidden

            #line 10 "..\..\..\..\View\accounts\uc_posAccounts.xaml"
                ((POS.View.accounts.uc_posAccounts)(target)).Unloaded += new System.Windows.RoutedEventHandler(this.UserControl_Unloaded);

            #line default
            #line hidden
                return;

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

            case 3:
                this.gridWidth = ((System.Windows.Controls.ColumnDefinition)(target));
                return;

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

            #line 44 "..\..\..\..\View\accounts\uc_posAccounts.xaml"
                this.tb_search.TextChanged += new System.Windows.Controls.TextChangedEventHandler(this.Tb_search_TextChanged);

            #line default
            #line hidden
                return;

            case 5:
                this.tt_search = ((System.Windows.Controls.ToolTip)(target));
                return;

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

            #line 56 "..\..\..\..\View\accounts\uc_posAccounts.xaml"
                this.btn_refresh.Click += new System.Windows.RoutedEventHandler(this.Btn_refresh_Click);

            #line default
            #line hidden
                return;

            case 7:
                this.tt_refresh = ((System.Windows.Controls.ToolTip)(target));
                return;

            case 8:
                this.dp_startSearchDate = ((System.Windows.Controls.DatePicker)(target));
                return;

            case 9:
                this.tt_startDate = ((System.Windows.Controls.ToolTip)(target));
                return;

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

            case 11:
                this.tt_endDate = ((System.Windows.Controls.ToolTip)(target));
                return;

            case 12:
                this.chb_all = ((System.Windows.Controls.CheckBox)(target));

            #line 126 "..\..\..\..\View\accounts\uc_posAccounts.xaml"
                this.chb_all.Checked += new System.Windows.RoutedEventHandler(this.Chb_all_Checked);

            #line default
            #line hidden

            #line 126 "..\..\..\..\View\accounts\uc_posAccounts.xaml"
                this.chb_all.Unchecked += new System.Windows.RoutedEventHandler(this.Chb_all_Unchecked);

            #line default
            #line hidden
                return;

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

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

            #line 162 "..\..\..\..\View\accounts\uc_posAccounts.xaml"
                this.chk_deposit.Checked += new System.Windows.RoutedEventHandler(this.search_Checking);

            #line default
            #line hidden

            #line 163 "..\..\..\..\View\accounts\uc_posAccounts.xaml"
                this.chk_deposit.Unchecked += new System.Windows.RoutedEventHandler(this.chk_uncheck);

            #line default
            #line hidden
                return;

            case 15:
                this.chk_receive = ((System.Windows.Controls.CheckBox)(target));

            #line 170 "..\..\..\..\View\accounts\uc_posAccounts.xaml"
                this.chk_receive.Checked += new System.Windows.RoutedEventHandler(this.search_Checking);

            #line default
            #line hidden

            #line 171 "..\..\..\..\View\accounts\uc_posAccounts.xaml"
                this.chk_receive.Unchecked += new System.Windows.RoutedEventHandler(this.chk_uncheck);

            #line default
            #line hidden
                return;

            case 16:
                this.dg_posAccounts = ((System.Windows.Controls.DataGrid)(target));

            #line 180 "..\..\..\..\View\accounts\uc_posAccounts.xaml"
                this.dg_posAccounts.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.Dg_posAccounts_SelectionChanged);

            #line default
            #line hidden
                return;

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

            #line 215 "..\..\..\..\View\accounts\uc_posAccounts.xaml"
                this.btn_pdf.Click += new System.Windows.RoutedEventHandler(this.Button_Click);

            #line default
            #line hidden
                return;

            case 18:
                this.tt_report = ((System.Windows.Controls.ToolTip)(target));
                return;

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

            #line 230 "..\..\..\..\View\accounts\uc_posAccounts.xaml"
                this.btn_print.Click += new System.Windows.RoutedEventHandler(this.Btn_print_Click);

            #line default
            #line hidden
                return;

            case 20:
                this.tt_print = ((System.Windows.Controls.ToolTip)(target));
                return;

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

            #line 245 "..\..\..\..\View\accounts\uc_posAccounts.xaml"
                this.btn_pieChart.Click += new System.Windows.RoutedEventHandler(this.Btn_pieChart_Click);

            #line default
            #line hidden
                return;

            case 22:
                this.tt_pieChart = ((System.Windows.Controls.ToolTip)(target));
                return;

            case 23:
                this.btn_exportToExcel = ((System.Windows.Controls.Button)(target));

            #line 289 "..\..\..\..\View\accounts\uc_posAccounts.xaml"
                this.btn_exportToExcel.Click += new System.Windows.RoutedEventHandler(this.Btn_exportToExcel_Click);

            #line default
            #line hidden
                return;

            case 24:
                this.tt_excel = ((System.Windows.Controls.ToolTip)(target));
                return;

            case 25:
                this.btn_preview = ((System.Windows.Controls.Button)(target));

            #line 306 "..\..\..\..\View\accounts\uc_posAccounts.xaml"
                this.btn_preview.Click += new System.Windows.RoutedEventHandler(this.Btn_preview_Click);

            #line default
            #line hidden
                return;

            case 26:
                this.tt_preview = ((System.Windows.Controls.ToolTip)(target));
                return;

            case 27:
                this.txt_count = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 28:
                this.tt_count = ((System.Windows.Controls.ToolTip)(target));
                return;

            case 29:
                this.txt_posAccounts = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 30:
                this.grid_bankAccounts = ((System.Windows.Controls.Grid)(target));
                return;

            case 31:
                this.txt_baseInformation = ((System.Windows.Controls.TextBlock)(target));
                return;

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

            #line 406 "..\..\..\..\View\accounts\uc_posAccounts.xaml"
                this.btn_clear.Click += new System.Windows.RoutedEventHandler(this.Btn_clear_Click);

            #line default
            #line hidden
                return;

            case 33:
                this.tt_clear = ((System.Windows.Controls.ToolTip)(target));
                return;

            case 34:
                this.txt_transNum = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 35:
                this.tt_code = ((System.Windows.Controls.ToolTip)(target));
                return;

            case 36:
                this.cb_fromBranch = ((System.Windows.Controls.ComboBox)(target));

            #line 448 "..\..\..\..\View\accounts\uc_posAccounts.xaml"
                this.cb_fromBranch.LostFocus += new System.Windows.RoutedEventHandler(this.input_LostFocus);

            #line default
            #line hidden

            #line 449 "..\..\..\..\View\accounts\uc_posAccounts.xaml"
                this.cb_fromBranch.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.Cb_fromBranch_SelectionChanged);

            #line default
            #line hidden
                return;

            case 37:
                this.p_errorFromBranch = ((System.Windows.Shapes.Path)(target));
                return;

            case 38:
                this.tt_errorFromBranch = ((System.Windows.Controls.ToolTip)(target));
                return;

            case 39:
                this.cb_pos1 = ((System.Windows.Controls.ComboBox)(target));

            #line 466 "..\..\..\..\View\accounts\uc_posAccounts.xaml"
                this.cb_pos1.LostFocus += new System.Windows.RoutedEventHandler(this.Tb_validateEmptyLostFocus);

            #line default
            #line hidden

            #line 467 "..\..\..\..\View\accounts\uc_posAccounts.xaml"
                this.cb_pos1.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.Cb_pos1_SelectionChanged);

            #line default
            #line hidden
                return;

            case 40:
                this.tt_Pos1 = ((System.Windows.Controls.ToolTip)(target));
                return;

            case 41:
                this.p_errorPos1 = ((System.Windows.Shapes.Path)(target));
                return;

            case 42:
                this.tt_errorPos1 = ((System.Windows.Controls.ToolTip)(target));
                return;

            case 43:
                this.cb_toBranch = ((System.Windows.Controls.ComboBox)(target));

            #line 490 "..\..\..\..\View\accounts\uc_posAccounts.xaml"
                this.cb_toBranch.LostFocus += new System.Windows.RoutedEventHandler(this.input_LostFocus);

            #line default
            #line hidden

            #line 491 "..\..\..\..\View\accounts\uc_posAccounts.xaml"
                this.cb_toBranch.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.Cb_toBranch_SelectionChanged);

            #line default
            #line hidden
                return;

            case 44:
                this.p_errorToBranch = ((System.Windows.Shapes.Path)(target));
                return;

            case 45:
                this.tt_errorToBranch = ((System.Windows.Controls.ToolTip)(target));
                return;

            case 46:
                this.cb_pos2 = ((System.Windows.Controls.ComboBox)(target));

            #line 508 "..\..\..\..\View\accounts\uc_posAccounts.xaml"
                this.cb_pos2.LostFocus += new System.Windows.RoutedEventHandler(this.Tb_validateEmptyLostFocus);

            #line default
            #line hidden

            #line 509 "..\..\..\..\View\accounts\uc_posAccounts.xaml"
                this.cb_pos2.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.Cb_pos2_SelectionChanged);

            #line default
            #line hidden
                return;

            case 47:
                this.tt_Pos2 = ((System.Windows.Controls.ToolTip)(target));
                return;

            case 48:
                this.p_errorPos2 = ((System.Windows.Shapes.Path)(target));
                return;

            case 49:
                this.tt_errorPos2 = ((System.Windows.Controls.ToolTip)(target));
                return;

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

            #line 538 "..\..\..\..\View\accounts\uc_posAccounts.xaml"
                this.tb_cash.TextChanged += new System.Windows.Controls.TextChangedEventHandler(this.Tb_validateEmptyTextChange);

            #line default
            #line hidden

            #line 539 "..\..\..\..\View\accounts\uc_posAccounts.xaml"
                this.tb_cash.LostFocus += new System.Windows.RoutedEventHandler(this.Tb_validateEmptyLostFocus);

            #line default
            #line hidden

            #line 540 "..\..\..\..\View\accounts\uc_posAccounts.xaml"
                this.tb_cash.PreviewKeyDown += new System.Windows.Input.KeyEventHandler(this.PreventSpaces);

            #line default
            #line hidden

            #line 541 "..\..\..\..\View\accounts\uc_posAccounts.xaml"
                this.tb_cash.PreviewTextInput += new System.Windows.Input.TextCompositionEventHandler(this.Tb_cash_PreviewTextInput);

            #line default
            #line hidden
                return;

            case 51:
                this.tt_cash = ((System.Windows.Controls.ToolTip)(target));
                return;

            case 52:
                this.p_errorCash = ((System.Windows.Shapes.Path)(target));
                return;

            case 53:
                this.tt_errorCash = ((System.Windows.Controls.ToolTip)(target));
                return;

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

            case 55:
                this.tt_notes = ((System.Windows.Controls.ToolTip)(target));
                return;

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

            #line 603 "..\..\..\..\View\accounts\uc_posAccounts.xaml"
                this.btn_add.Click += new System.Windows.RoutedEventHandler(this.Btn_add_Click);

            #line default
            #line hidden
                return;

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

            #line 606 "..\..\..\..\View\accounts\uc_posAccounts.xaml"
                this.btn_update.Click += new System.Windows.RoutedEventHandler(this.Btn_update_Click);

            #line default
            #line hidden
                return;

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

            #line 609 "..\..\..\..\View\accounts\uc_posAccounts.xaml"
                this.btn_delete.Click += new System.Windows.RoutedEventHandler(this.Btn_delete_Click);

            #line default
            #line hidden
                return;

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

            #line 612 "..\..\..\..\View\accounts\uc_posAccounts.xaml"
                this.btn_confirm.Click += new System.Windows.RoutedEventHandler(this.Btn_confirm_Click);

            #line default
            #line hidden
                return;

            case 60:
                this.btn_cancel = ((System.Windows.Controls.Button)(target));

            #line 615 "..\..\..\..\View\accounts\uc_posAccounts.xaml"
                this.btn_cancel.Click += new System.Windows.RoutedEventHandler(this.Btn_cancel_Click);

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

            #line 13 "..\..\MainWindow.xaml"
                ((System.Windows.Controls.ItemsControl)(target)).MouseDown += new System.Windows.Input.MouseButtonEventHandler(this.Click_LeaveVK);

            #line default
            #line hidden
                return;

            case 2:
                this.webBrowser = ((System.Windows.Forms.WebBrowser)(target));

            #line 17 "..\..\MainWindow.xaml"
                this.webBrowser.Navigated += new System.Windows.Forms.WebBrowserNavigatedEventHandler(this.Navi);

            #line default
            #line hidden

            #line 17 "..\..\MainWindow.xaml"
                this.webBrowser.DocumentCompleted += new System.Windows.Forms.WebBrowserDocumentCompletedEventHandler(this.Compl);

            #line default
            #line hidden
                return;

            case 3:
                this.SearchPanel = ((System.Windows.Controls.GroupBox)(target));
                return;

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

            case 5:
                this.SearchTooltipError = ((System.Windows.Controls.ToolTip)(target));
                return;

            case 6:
                this.ImagePanel1 = ((System.Windows.Controls.StackPanel)(target));
                return;

            case 7:
                this.ImagePanel2 = ((System.Windows.Controls.StackPanel)(target));
                return;

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

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

            #line default
            #line hidden
                return;

            case 9:

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

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

            #line 12 "..\..\..\Views\WorkingWindow.xaml"
                this.WorkingWindow1.MouseLeftButtonDown += new System.Windows.Input.MouseButtonEventHandler(this.WorkingWindow1_MouseLeftButtonDown);

            #line default
            #line hidden

            #line 12 "..\..\..\Views\WorkingWindow.xaml"
                this.WorkingWindow1.SizeChanged += new System.Windows.SizeChangedEventHandler(this.WorkingWindow1_SizeChanged);

            #line default
            #line hidden
                return;

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

            #line 120 "..\..\..\Views\WorkingWindow.xaml"
                this.BG.PreviewMouseLeftButtonDown += new System.Windows.Input.MouseButtonEventHandler(this.BG_PreviewMouseLeftButtonDown);

            #line default
            #line hidden
                return;

            case 3:
                this.workingGrid = ((System.Windows.Controls.Grid)(target));
                return;

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

            #line 137 "..\..\..\Views\WorkingWindow.xaml"
                this.btnClose.Click += new System.Windows.RoutedEventHandler(this.CloseBtn_Click);

            #line default
            #line hidden

            #line 137 "..\..\..\Views\WorkingWindow.xaml"
                this.btnClose.MouseEnter += new System.Windows.Input.MouseEventHandler(this.btnMinimize_MouseEnter);

            #line default
            #line hidden

            #line 137 "..\..\..\Views\WorkingWindow.xaml"
                this.btnClose.MouseLeave += new System.Windows.Input.MouseEventHandler(this.btnMinimize_MouseLeave);

            #line default
            #line hidden
                return;

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

            #line 149 "..\..\..\Views\WorkingWindow.xaml"
                this.btnMaximize.Click += new System.Windows.RoutedEventHandler(this.btnMaximize_Click);

            #line default
            #line hidden

            #line 149 "..\..\..\Views\WorkingWindow.xaml"
                this.btnMaximize.MouseEnter += new System.Windows.Input.MouseEventHandler(this.btnMinimize_MouseEnter);

            #line default
            #line hidden

            #line 149 "..\..\..\Views\WorkingWindow.xaml"
                this.btnMaximize.MouseLeave += new System.Windows.Input.MouseEventHandler(this.btnMinimize_MouseLeave);

            #line default
            #line hidden
                return;

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

            #line 161 "..\..\..\Views\WorkingWindow.xaml"
                this.btnMinimize.Click += new System.Windows.RoutedEventHandler(this.btnMinimze_Click);

            #line default
            #line hidden

            #line 161 "..\..\..\Views\WorkingWindow.xaml"
                this.btnMinimize.MouseEnter += new System.Windows.Input.MouseEventHandler(this.btnMinimize_MouseEnter);

            #line default
            #line hidden

            #line 161 "..\..\..\Views\WorkingWindow.xaml"
                this.btnMinimize.MouseLeave += new System.Windows.Input.MouseEventHandler(this.btnMinimize_MouseLeave);

            #line default
            #line hidden
                return;

            case 7:
                this.frameWorkingFrame = ((System.Windows.Controls.Frame)(target));
                return;

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

            case 9:
                this.nav_pnl = ((System.Windows.Controls.Grid)(target));
                return;

            case 10:
                this.st_pnl = ((System.Windows.Controls.StackPanel)(target));
                return;

            case 11:
                this.Tg_Btn = ((System.Windows.Controls.Primitives.ToggleButton)(target));

            #line 226 "..\..\..\Views\WorkingWindow.xaml"
                this.Tg_Btn.Unchecked += new System.Windows.RoutedEventHandler(this.Tg_Btn_Unchecked);

            #line default
            #line hidden

            #line 226 "..\..\..\Views\WorkingWindow.xaml"
                this.Tg_Btn.Checked += new System.Windows.RoutedEventHandler(this.Tg_Btn_Checked);

            #line default
            #line hidden
                return;

            case 12:
                this.HideStackPanel = ((System.Windows.Media.Animation.Storyboard)(target));
                return;

            case 13:
                this.ShowStackPanel = ((System.Windows.Media.Animation.Storyboard)(target));
                return;

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

            #line 293 "..\..\..\Views\WorkingWindow.xaml"
                this.lvMenuItems.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.lvMenuItems_SelectionChanged);

            #line default
            #line hidden
                return;

            case 15:
                this.listStorage = ((System.Windows.Controls.ListViewItem)(target));

            #line 356 "..\..\..\Views\WorkingWindow.xaml"
                this.listStorage.MouseEnter += new System.Windows.Input.MouseEventHandler(this.ListViewItem_MouseEnter);

            #line default
            #line hidden
                return;

            case 16:
                this.tt_storage = ((System.Windows.Controls.ToolTip)(target));
                return;

            case 17:
                this.listDonation = ((System.Windows.Controls.ListViewItem)(target));

            #line 388 "..\..\..\Views\WorkingWindow.xaml"
                this.listDonation.MouseEnter += new System.Windows.Input.MouseEventHandler(this.ListViewItem_MouseEnter);

            #line default
            #line hidden
                return;

            case 18:
                this.tt_donations = ((System.Windows.Controls.ToolTip)(target));
                return;

            case 19:
                this.listDonors = ((System.Windows.Controls.ListViewItem)(target));

            #line 419 "..\..\..\Views\WorkingWindow.xaml"
                this.listDonors.MouseEnter += new System.Windows.Input.MouseEventHandler(this.ListViewItem_MouseEnter);

            #line default
            #line hidden
                return;

            case 20:
                this.tt_donors = ((System.Windows.Controls.ToolTip)(target));
                return;

            case 21:
                this.listRequest = ((System.Windows.Controls.ListViewItem)(target));

            #line 449 "..\..\..\Views\WorkingWindow.xaml"
                this.listRequest.MouseEnter += new System.Windows.Input.MouseEventHandler(this.ListViewItem_MouseEnter);

            #line default
            #line hidden
                return;

            case 22:
                this.tt_requests = ((System.Windows.Controls.ToolTip)(target));
                return;

            case 23:
                this.listInstitutions = ((System.Windows.Controls.ListViewItem)(target));

            #line 480 "..\..\..\Views\WorkingWindow.xaml"
                this.listInstitutions.MouseEnter += new System.Windows.Input.MouseEventHandler(this.ListViewItem_MouseEnter);

            #line default
            #line hidden
                return;

            case 24:
                this.tt_institutions = ((System.Windows.Controls.ToolTip)(target));
                return;

            case 25:
                this.listWorkers = ((System.Windows.Controls.ListViewItem)(target));

            #line 512 "..\..\..\Views\WorkingWindow.xaml"
                this.listWorkers.MouseEnter += new System.Windows.Input.MouseEventHandler(this.ListViewItem_MouseEnter);

            #line default
            #line hidden
                return;

            case 26:
                this.tt_workers = ((System.Windows.Controls.ToolTip)(target));
                return;

            case 27:
                this.lvInfo = ((System.Windows.Controls.ListView)(target));

            #line 544 "..\..\..\Views\WorkingWindow.xaml"
                this.lvInfo.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.lvInfo_SelectionChanged);

            #line default
            #line hidden
                return;

            case 28:
                this.listCurrentUser = ((System.Windows.Controls.ListViewItem)(target));
                return;

            case 29:
                this.tt_CurrentUser = ((System.Windows.Controls.ToolTip)(target));
                return;

            case 30:
                this.txtCurrentUser = ((System.Windows.Controls.TextBlock)(target));
                return;
            }
            this._contentLoaded = true;
        }
Example #45
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:

            #line 9 "..\..\..\View\uc_offer.xaml"
                ((POS.View.uc_offer)(target)).Loaded += new System.Windows.RoutedEventHandler(this.UserControl_Loaded);

            #line default
            #line hidden
                return;

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

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

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

            case 5:
                this.tgl_isActive = ((System.Windows.Controls.Primitives.ToggleButton)(target));

            #line 63 "..\..\..\View\uc_offer.xaml"
                this.tgl_isActive.Checked += new System.Windows.RoutedEventHandler(this.Tgl_isActive_Checked);

            #line default
            #line hidden

            #line 63 "..\..\..\View\uc_offer.xaml"
                this.tgl_isActive.Unchecked += new System.Windows.RoutedEventHandler(this.Tgl_isActive_Unchecked);

            #line default
            #line hidden
                return;

            case 6:
                this.dg_offer = ((System.Windows.Controls.DataGrid)(target));
                return;

            case 7:
                this.btn_exportToExcel = ((System.Windows.Shapes.Path)(target));
                return;

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

            case 9:
                this.grid_offer = ((System.Windows.Controls.Grid)(target));
                return;

            case 10:
                this.txt_baseInformation = ((System.Windows.Controls.TextBlock)(target));
                return;

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

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

            case 13:
                this.p_errorCode = ((System.Windows.Shapes.Path)(target));
                return;

            case 14:
                this.tt_errorCode = ((System.Windows.Controls.ToolTip)(target));
                return;

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

            case 16:
                this.p_errorName = ((System.Windows.Shapes.Path)(target));
                return;

            case 17:
                this.tt_errorName = ((System.Windows.Controls.ToolTip)(target));
                return;

            case 18:
                this.txt_isActive = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 19:
                this.txt_details = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 20:
                this.cb_typeDiscount = ((System.Windows.Controls.ComboBox)(target));
                return;

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

            #line 513 "..\..\..\View\uc_offer.xaml"
                this.tb_discountValue.TextChanged += new System.Windows.Controls.TextChangedEventHandler(this.tb_discountValue_TextChanged);

            #line default
            #line hidden

            #line 517 "..\..\..\View\uc_offer.xaml"
                this.tb_discountValue.PreviewTextInput += new System.Windows.Input.TextCompositionEventHandler(this.tb_discountValue_PreviewTextInput);

            #line default
            #line hidden
                return;

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

            #line 531 "..\..\..\View\uc_offer.xaml"
                this.cmdUp.Click += new System.Windows.RoutedEventHandler(this.cmdUp_Click);

            #line default
            #line hidden
                return;

            case 23:
                this.cmdDown = ((System.Windows.Controls.Button)(target));

            #line 534 "..\..\..\View\uc_offer.xaml"
                this.cmdDown.Click += new System.Windows.RoutedEventHandler(this.cmdDown_Click);

            #line default
            #line hidden
                return;

            case 24:
                this.dp_startDate = ((System.Windows.Controls.DatePicker)(target));
                return;

            case 25:
                this.dp_endDate = ((System.Windows.Controls.DatePicker)(target));
                return;

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

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

            #line 627 "..\..\..\View\uc_offer.xaml"
                this.btn_items.Click += new System.Windows.RoutedEventHandler(this.Btn_items_Click);

            #line default
            #line hidden
                return;

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

            case 29:
                this.btn_update = ((System.Windows.Controls.Button)(target));
                return;
            }
            this._contentLoaded = true;
        }
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:

            #line 9 "..\..\..\..\View\storage\uc_locations.xaml"
                ((POS.View.uc_locations)(target)).Loaded += new System.Windows.RoutedEventHandler(this.UserControl_Loaded);

            #line default
            #line hidden
                return;

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

            case 3:
                this.gridWidth = ((System.Windows.Controls.ColumnDefinition)(target));
                return;

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

            #line 50 "..\..\..\..\View\storage\uc_locations.xaml"
                this.tb_search.TextChanged += new System.Windows.Controls.TextChangedEventHandler(this.Tb_search_TextChanged);

            #line default
            #line hidden
                return;

            case 5:
                this.tt_search = ((System.Windows.Controls.ToolTip)(target));
                return;

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

            #line 63 "..\..\..\..\View\storage\uc_locations.xaml"
                this.btn_refresh.Click += new System.Windows.RoutedEventHandler(this.Btn_refresh_Click);

            #line default
            #line hidden
                return;

            case 7:
                this.tt_refresh = ((System.Windows.Controls.ToolTip)(target));
                return;

            case 8:
                this.tgl_isActive = ((System.Windows.Controls.Primitives.ToggleButton)(target));

            #line 94 "..\..\..\..\View\storage\uc_locations.xaml"
                this.tgl_isActive.Checked += new System.Windows.RoutedEventHandler(this.Tgl_isActive_Checked);

            #line default
            #line hidden

            #line 95 "..\..\..\..\View\storage\uc_locations.xaml"
                this.tgl_isActive.Unchecked += new System.Windows.RoutedEventHandler(this.Tgl_isActive_Unchecked);

            #line default
            #line hidden
                return;

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

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

            #line 108 "..\..\..\..\View\storage\uc_locations.xaml"
                this.dg_location.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.Dg_location_SelectionChanged);

            #line default
            #line hidden
                return;

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

            #line 166 "..\..\..\..\View\storage\uc_locations.xaml"
                this.btn_pdf.Click += new System.Windows.RoutedEventHandler(this.Btn_pdf_Click);

            #line default
            #line hidden
                return;

            case 12:
                this.tt_report = ((System.Windows.Controls.ToolTip)(target));
                return;

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

            #line 181 "..\..\..\..\View\storage\uc_locations.xaml"
                this.btn_print.Click += new System.Windows.RoutedEventHandler(this.Btn_print_Click);

            #line default
            #line hidden
                return;

            case 14:
                this.tt_print = ((System.Windows.Controls.ToolTip)(target));
                return;

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

            #line 196 "..\..\..\..\View\storage\uc_locations.xaml"
                this.btn_pieChart.Click += new System.Windows.RoutedEventHandler(this.Btn_pieChart_Click);

            #line default
            #line hidden
                return;

            case 16:
                this.tt_pieChart = ((System.Windows.Controls.ToolTip)(target));
                return;

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

            #line 240 "..\..\..\..\View\storage\uc_locations.xaml"
                this.btn_exportToExcel.Click += new System.Windows.RoutedEventHandler(this.Btn_exportToExcel_Click);

            #line default
            #line hidden
                return;

            case 18:
                this.tt_excel = ((System.Windows.Controls.ToolTip)(target));
                return;

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

            #line 257 "..\..\..\..\View\storage\uc_locations.xaml"
                this.btn_preview.Click += new System.Windows.RoutedEventHandler(this.Btn_preview_Click);

            #line default
            #line hidden
                return;

            case 20:
                this.tt_preview = ((System.Windows.Controls.ToolTip)(target));
                return;

            case 21:
                this.txt_count = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 22:
                this.tt_count = ((System.Windows.Controls.ToolTip)(target));
                return;

            case 23:
                this.txt_location = ((System.Windows.Controls.TextBlock)(target));
                return;

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

            case 25:
                this.txt_baseInformation = ((System.Windows.Controls.TextBlock)(target));
                return;

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

            #line 343 "..\..\..\..\View\storage\uc_locations.xaml"
                this.btn_clear.Click += new System.Windows.RoutedEventHandler(this.Btn_clear_Click);

            #line default
            #line hidden
                return;

            case 27:
                this.tt_clear = ((System.Windows.Controls.ToolTip)(target));
                return;

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

            #line 357 "..\..\..\..\View\storage\uc_locations.xaml"
                this.tb_x.LostFocus += new System.Windows.RoutedEventHandler(this.validationControl_LostFocus);

            #line default
            #line hidden

            #line 357 "..\..\..\..\View\storage\uc_locations.xaml"
                this.tb_x.TextChanged += new System.Windows.Controls.TextChangedEventHandler(this.validationTextbox_TextChanged);

            #line default
            #line hidden
                return;

            case 29:
                this.tt_x = ((System.Windows.Controls.ToolTip)(target));
                return;

            case 30:
                this.p_errorX = ((System.Windows.Shapes.Path)(target));
                return;

            case 31:
                this.tt_errorX = ((System.Windows.Controls.ToolTip)(target));
                return;

            case 32:
                this.tb_y = ((System.Windows.Controls.TextBox)(target));

            #line 380 "..\..\..\..\View\storage\uc_locations.xaml"
                this.tb_y.LostFocus += new System.Windows.RoutedEventHandler(this.validationControl_LostFocus);

            #line default
            #line hidden

            #line 380 "..\..\..\..\View\storage\uc_locations.xaml"
                this.tb_y.TextChanged += new System.Windows.Controls.TextChangedEventHandler(this.validationTextbox_TextChanged);

            #line default
            #line hidden
                return;

            case 33:
                this.tt_y = ((System.Windows.Controls.ToolTip)(target));
                return;

            case 34:
                this.p_errorY = ((System.Windows.Shapes.Path)(target));
                return;

            case 35:
                this.tt_errorY = ((System.Windows.Controls.ToolTip)(target));
                return;

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

            #line 404 "..\..\..\..\View\storage\uc_locations.xaml"
                this.tb_z.LostFocus += new System.Windows.RoutedEventHandler(this.validationControl_LostFocus);

            #line default
            #line hidden

            #line 404 "..\..\..\..\View\storage\uc_locations.xaml"
                this.tb_z.TextChanged += new System.Windows.Controls.TextChangedEventHandler(this.validationTextbox_TextChanged);

            #line default
            #line hidden
                return;

            case 37:
                this.tt_z = ((System.Windows.Controls.ToolTip)(target));
                return;

            case 38:
                this.p_errorZ = ((System.Windows.Shapes.Path)(target));
                return;

            case 39:
                this.tt_errorZ = ((System.Windows.Controls.ToolTip)(target));
                return;

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

            case 41:
                this.tt_notes = ((System.Windows.Controls.ToolTip)(target));
                return;

            case 42:
                this.tt_error_note = ((System.Windows.Controls.ToolTip)(target));
                return;

            case 43:
                this.btn_addRange = ((System.Windows.Controls.Button)(target));

            #line 462 "..\..\..\..\View\storage\uc_locations.xaml"
                this.btn_addRange.Click += new System.Windows.RoutedEventHandler(this.Btn_addRange_Click);

            #line default
            #line hidden
                return;

            case 44:
                this.tt_addRange = ((System.Windows.Controls.ToolTip)(target));
                return;

            case 45:
                this.btn_add = ((System.Windows.Controls.Button)(target));

            #line 476 "..\..\..\..\View\storage\uc_locations.xaml"
                this.btn_add.Click += new System.Windows.RoutedEventHandler(this.Btn_add_Click);

            #line default
            #line hidden
                return;

            case 46:
                this.txt_add_Icon = ((MaterialDesignThemes.Wpf.PackIcon)(target));
                return;

            case 47:
                this.txt_addButton = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 48:
                this.tt_add_Button = ((System.Windows.Controls.ToolTip)(target));
                return;

            case 49:
                this.btn_update = ((System.Windows.Controls.Button)(target));

            #line 498 "..\..\..\..\View\storage\uc_locations.xaml"
                this.btn_update.Click += new System.Windows.RoutedEventHandler(this.Btn_update_Click);

            #line default
            #line hidden
                return;

            case 50:
                this.txt_update_Icon = ((MaterialDesignThemes.Wpf.PackIcon)(target));
                return;

            case 51:
                this.txt_updateButton = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 52:
                this.tt_update_Button = ((System.Windows.Controls.ToolTip)(target));
                return;

            case 53:
                this.btn_delete = ((System.Windows.Controls.Button)(target));

            #line 522 "..\..\..\..\View\storage\uc_locations.xaml"
                this.btn_delete.Click += new System.Windows.RoutedEventHandler(this.Btn_delete_Click);

            #line default
            #line hidden
                return;

            case 54:
                this.txt_delete_Icon = ((MaterialDesignThemes.Wpf.PackIcon)(target));
                return;

            case 55:
                this.txt_deleteButton = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 56:
                this.tt_delete_Button = ((System.Windows.Controls.ToolTip)(target));
                return;
            }
            this._contentLoaded = true;
        }
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.nav_pnl = ((System.Windows.Controls.Grid)(target));

            #line 86 "..\..\..\MainWindow.xaml"
                this.nav_pnl.MouseLeave += new System.Windows.Input.MouseEventHandler(this.Nav_pnl_MouseLeave);

            #line default
            #line hidden
                return;

            case 2:
                this.st_pnl = ((System.Windows.Controls.StackPanel)(target));
                return;

            case 3:
                this.Tg_Btn = ((System.Windows.Controls.Primitives.ToggleButton)(target));
                return;

            case 4:
                this.HideStackPanel = ((System.Windows.Media.Animation.Storyboard)(target));
                return;

            case 5:
                this.ShowStackPanel = ((System.Windows.Media.Animation.Storyboard)(target));
                return;

            case 6:

            #line 166 "..\..\..\MainWindow.xaml"
                ((System.Windows.Controls.Grid)(target)).MouseEnter += new System.Windows.Input.MouseEventHandler(this.ToolTip_MouseEnter);

            #line default
            #line hidden
                return;

            case 7:
                this.tt_LiveGraph = ((System.Windows.Controls.ToolTip)(target));
                return;

            case 8:

            #line 207 "..\..\..\MainWindow.xaml"
                ((System.Windows.Controls.Grid)(target)).MouseEnter += new System.Windows.Input.MouseEventHandler(this.ToolTip_MouseEnter);

            #line default
            #line hidden
                return;

            case 9:
                this.tt_Calibration = ((System.Windows.Controls.ToolTip)(target));
                return;

            case 10:

            #line 248 "..\..\..\MainWindow.xaml"
                ((System.Windows.Controls.Grid)(target)).MouseEnter += new System.Windows.Input.MouseEventHandler(this.ToolTip_MouseEnter);

            #line default
            #line hidden
                return;

            case 11:
                this.tt_Settings = ((System.Windows.Controls.ToolTip)(target));
                return;

            case 12:

            #line 289 "..\..\..\MainWindow.xaml"
                ((System.Windows.Controls.Grid)(target)).MouseEnter += new System.Windows.Input.MouseEventHandler(this.ToolTip_MouseEnter);

            #line default
            #line hidden
                return;

            case 13:
                this.tt_Info = ((System.Windows.Controls.ToolTip)(target));
                return;

            case 14:

            #line 338 "..\..\..\MainWindow.xaml"
                ((System.Windows.Controls.Grid)(target)).MouseDown += new System.Windows.Input.MouseButtonEventHandler(this.Grid_MouseDown);

            #line default
            #line hidden
                return;

            case 15:

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

            #line default
            #line hidden
                return;

            case 16:

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

            #line default
            #line hidden
                return;

            case 17:

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

            #line default
            #line hidden
                return;

            case 18:
                this.ContentArea = ((System.Windows.Controls.ContentControl)(target));
                return;
            }
            this._contentLoaded = true;
        }
Example #48
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.Main = ((TypeTool.MainWindow)(target));

            #line 10 "..\..\MainWindow.xaml"
                this.Main.Closing += new System.ComponentModel.CancelEventHandler(this.Main_Closing);

            #line default
            #line hidden
                return;

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

            #line 33 "..\..\MainWindow.xaml"
                this.txtTitle.MouseLeftButtonDown += new System.Windows.Input.MouseButtonEventHandler(this.txtTitle_MouseLeftButtonDown);

            #line default
            #line hidden
                return;

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

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

            #line default
            #line hidden
                return;

            case 4:
                this.iconTopMostModel = ((MaterialDesignThemes.Wpf.PackIcon)(target));
                return;

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

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

            #line default
            #line hidden

            #line 41 "..\..\MainWindow.xaml"
                this.btnStop.MouseEnter += new System.Windows.Input.MouseEventHandler(this.btnStop_MouseEnter);

            #line default
            #line hidden

            #line 41 "..\..\MainWindow.xaml"
                this.btnStop.MouseLeave += new System.Windows.Input.MouseEventHandler(this.btnStop_MouseLeave);

            #line default
            #line hidden
                return;

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

            #line 48 "..\..\MainWindow.xaml"
                this.btnMinisize.Click += new System.Windows.RoutedEventHandler(this.btnMinisize_Click);

            #line default
            #line hidden
                return;

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

            #line 52 "..\..\MainWindow.xaml"
                this.btnClose.Click += new System.Windows.RoutedEventHandler(this.btnClose_Click);

            #line default
            #line hidden
                return;

            case 8:
                this.Menu = ((System.Windows.Controls.ScrollViewer)(target));
                return;

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

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

            #line default
            #line hidden

            #line 61 "..\..\MainWindow.xaml"
                this.btnAddText.MouseEnter += new System.Windows.Input.MouseEventHandler(this.btnAddText_MouseEnter);

            #line default
            #line hidden

            #line 61 "..\..\MainWindow.xaml"
                this.btnAddText.MouseLeave += new System.Windows.Input.MouseEventHandler(this.btnAddText_MouseLeave);

            #line default
            #line hidden
                return;

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

            #line 68 "..\..\MainWindow.xaml"
                this.btnStart.Click += new System.Windows.RoutedEventHandler(this.btnStart_Click);

            #line default
            #line hidden

            #line 68 "..\..\MainWindow.xaml"
                this.btnStart.MouseEnter += new System.Windows.Input.MouseEventHandler(this.btnStart_MouseEnter);

            #line default
            #line hidden

            #line 68 "..\..\MainWindow.xaml"
                this.btnStart.MouseLeave += new System.Windows.Input.MouseEventHandler(this.btnStart_MouseLeave);

            #line default
            #line hidden
                return;

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

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

            #line 78 "..\..\MainWindow.xaml"
                this.btnPlus.Click += new System.Windows.RoutedEventHandler(this.btnPlus_Click);

            #line default
            #line hidden

            #line 78 "..\..\MainWindow.xaml"
                this.btnPlus.MouseEnter += new System.Windows.Input.MouseEventHandler(this.btnPlus_MouseEnter);

            #line default
            #line hidden

            #line 78 "..\..\MainWindow.xaml"
                this.btnPlus.MouseLeave += new System.Windows.Input.MouseEventHandler(this.btnPlus_MouseLeave);

            #line default
            #line hidden
                return;

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

            #line 82 "..\..\MainWindow.xaml"
                this.btnMinus.Click += new System.Windows.RoutedEventHandler(this.btnMinus_Click);

            #line default
            #line hidden

            #line 82 "..\..\MainWindow.xaml"
                this.btnMinus.MouseEnter += new System.Windows.Input.MouseEventHandler(this.btnMinus_MouseEnter);

            #line default
            #line hidden

            #line 82 "..\..\MainWindow.xaml"
                this.btnMinus.MouseLeave += new System.Windows.Input.MouseEventHandler(this.btnMinus_MouseLeave);

            #line default
            #line hidden
                return;

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

            #line 87 "..\..\MainWindow.xaml"
                this.btnSetting.Click += new System.Windows.RoutedEventHandler(this.btnSetting_Click);

            #line default
            #line hidden

            #line 87 "..\..\MainWindow.xaml"
                this.btnSetting.MouseEnter += new System.Windows.Input.MouseEventHandler(this.btnSetting_MouseEnter);

            #line default
            #line hidden

            #line 87 "..\..\MainWindow.xaml"
                this.btnSetting.MouseLeave += new System.Windows.Input.MouseEventHandler(this.btnSetting_MouseLeave);

            #line default
            #line hidden
                return;

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

            #line 94 "..\..\MainWindow.xaml"
                this.btnText.Click += new System.Windows.RoutedEventHandler(this.BtnText_Click);

            #line default
            #line hidden

            #line 94 "..\..\MainWindow.xaml"
                this.btnText.MouseEnter += new System.Windows.Input.MouseEventHandler(this.BtnText_MouseEnter);

            #line default
            #line hidden

            #line 94 "..\..\MainWindow.xaml"
                this.btnText.MouseLeave += new System.Windows.Input.MouseEventHandler(this.BtnText_MouseLeave);

            #line default
            #line hidden
                return;

            case 16:
                this.btnHelp = ((System.Windows.Controls.Button)(target));

            #line 101 "..\..\MainWindow.xaml"
                this.btnHelp.Click += new System.Windows.RoutedEventHandler(this.btnHelp_Click);

            #line default
            #line hidden

            #line 101 "..\..\MainWindow.xaml"
                this.btnHelp.MouseEnter += new System.Windows.Input.MouseEventHandler(this.btnHelp_MouseEnter);

            #line default
            #line hidden

            #line 101 "..\..\MainWindow.xaml"
                this.btnHelp.MouseLeave += new System.Windows.Input.MouseEventHandler(this.btnHelp_MouseLeave);

            #line default
            #line hidden
                return;

            case 17:
                this.scrollText = ((System.Windows.Controls.ScrollViewer)(target));
                return;

            case 18:
                this.lbText = ((System.Windows.Controls.ListBox)(target));

            #line 112 "..\..\MainWindow.xaml"
                this.lbText.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.lbText_SelectionChanged);

            #line default
            #line hidden
                return;

            case 19:
                this.scrollHelp = ((System.Windows.Controls.ScrollViewer)(target));
                return;

            case 20:
                this.GridSetting = ((System.Windows.Controls.Grid)(target));
                return;

            case 21:
                this.RowMod = ((System.Windows.Controls.RowDefinition)(target));
                return;

            case 22:
                this.rbtnCopy = ((System.Windows.Controls.RadioButton)(target));

            #line 173 "..\..\MainWindow.xaml"
                this.rbtnCopy.Click += new System.Windows.RoutedEventHandler(this.RbtnCopy_Click);

            #line default
            #line hidden
                return;

            case 23:
                this.rbtnCopyPaste = ((System.Windows.Controls.RadioButton)(target));

            #line 174 "..\..\MainWindow.xaml"
                this.rbtnCopyPaste.Click += new System.Windows.RoutedEventHandler(this.RbtnCopyPaste_Click);

            #line default
            #line hidden
                return;

            case 24:
                this.cbMutilKey = ((System.Windows.Controls.CheckBox)(target));

            #line 176 "..\..\MainWindow.xaml"
                this.cbMutilKey.Click += new System.Windows.RoutedEventHandler(this.CbMutilKey_Click);

            #line default
            #line hidden
                return;

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

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

            #line 179 "..\..\MainWindow.xaml"
                this.btnChangeHotKeyMod.Click += new System.Windows.RoutedEventHandler(this.BtnChangeHotKeyMod_Click);

            #line default
            #line hidden

            #line 179 "..\..\MainWindow.xaml"
                this.btnChangeHotKeyMod.MouseEnter += new System.Windows.Input.MouseEventHandler(this.BtnChangeHotKeyMod_MouseEnter);

            #line default
            #line hidden

            #line 179 "..\..\MainWindow.xaml"
                this.btnChangeHotKeyMod.MouseLeave += new System.Windows.Input.MouseEventHandler(this.BtnChangeHotKeyMod_MouseLeave);

            #line default
            #line hidden
                return;

            case 27:
                this.ttHotKeyMod = ((System.Windows.Controls.ToolTip)(target));
                return;

            case 28:
                this.IconHotKeyMod = ((MaterialDesignThemes.Wpf.PackIcon)(target));
                return;

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

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

            #line 195 "..\..\MainWindow.xaml"
                this.btnChangeHotKey.Click += new System.Windows.RoutedEventHandler(this.btnChangeHotKey_Click);

            #line default
            #line hidden

            #line 195 "..\..\MainWindow.xaml"
                this.btnChangeHotKey.MouseEnter += new System.Windows.Input.MouseEventHandler(this.btnChangeHotKey_MouseEnter);

            #line default
            #line hidden

            #line 195 "..\..\MainWindow.xaml"
                this.btnChangeHotKey.MouseLeave += new System.Windows.Input.MouseEventHandler(this.btnChangeHotKey_MouseLeave);

            #line default
            #line hidden
                return;

            case 31:
                this.ttHotKey = ((System.Windows.Controls.ToolTip)(target));
                return;

            case 32:
                this.IconHotKey = ((MaterialDesignThemes.Wpf.PackIcon)(target));
                return;

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

            #line 210 "..\..\MainWindow.xaml"
                this.btnClear.Click += new System.Windows.RoutedEventHandler(this.BtnClear_Click);

            #line default
            #line hidden

            #line 210 "..\..\MainWindow.xaml"
                this.btnClear.MouseEnter += new System.Windows.Input.MouseEventHandler(this.BtnClear_MouseEnter);

            #line default
            #line hidden

            #line 210 "..\..\MainWindow.xaml"
                this.btnClear.MouseLeave += new System.Windows.Input.MouseEventHandler(this.BtnClear_MouseLeave);

            #line default
            #line hidden
                return;

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

            #line 216 "..\..\MainWindow.xaml"
                this.btnReset.Click += new System.Windows.RoutedEventHandler(this.BtnReset_Click);

            #line default
            #line hidden

            #line 216 "..\..\MainWindow.xaml"
                this.btnReset.MouseEnter += new System.Windows.Input.MouseEventHandler(this.BtnReset_MouseEnter);

            #line default
            #line hidden

            #line 216 "..\..\MainWindow.xaml"
                this.btnReset.MouseLeave += new System.Windows.Input.MouseEventHandler(this.BtnReset_MouseLeave);

            #line default
            #line hidden
                return;

            case 35:
                this.GridText = ((System.Windows.Controls.Grid)(target));
                return;

            case 36:
                this.cbKhoangTrang = ((System.Windows.Controls.CheckBox)(target));
                return;

            case 37:
                this.cbKiTuDau = ((System.Windows.Controls.CheckBox)(target));

            #line 232 "..\..\MainWindow.xaml"
                this.cbKiTuDau.Click += new System.Windows.RoutedEventHandler(this.CbKiTuDau_Click);

            #line default
            #line hidden
                return;

            case 38:
                this.GridListChar = ((System.Windows.Controls.Grid)(target));
                return;

            case 39:
                this.cbChonTatCa = ((System.Windows.Controls.CheckBox)(target));

            #line 240 "..\..\MainWindow.xaml"
                this.cbChonTatCa.Click += new System.Windows.RoutedEventHandler(this.CbChonTatCa_Click);

            #line default
            #line hidden
                return;

            case 40:
                this.cb1 = ((System.Windows.Controls.CheckBox)(target));
                return;

            case 41:
                this.cb2 = ((System.Windows.Controls.CheckBox)(target));
                return;

            case 42:
                this.cb3 = ((System.Windows.Controls.CheckBox)(target));
                return;

            case 43:
                this.cb4 = ((System.Windows.Controls.CheckBox)(target));
                return;

            case 44:
                this.cb5 = ((System.Windows.Controls.CheckBox)(target));
                return;

            case 45:
                this.cb6 = ((System.Windows.Controls.CheckBox)(target));
                return;

            case 46:
                this.cb7 = ((System.Windows.Controls.CheckBox)(target));
                return;

            case 47:
                this.cb8 = ((System.Windows.Controls.CheckBox)(target));
                return;

            case 48:
                this.cb9 = ((System.Windows.Controls.CheckBox)(target));
                return;

            case 49:
                this.cb10 = ((System.Windows.Controls.CheckBox)(target));
                return;

            case 50:
                this.cb11 = ((System.Windows.Controls.CheckBox)(target));
                return;

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

            case 52:
                this.cb13 = ((System.Windows.Controls.CheckBox)(target));
                return;

            case 53:
                this.cb14 = ((System.Windows.Controls.CheckBox)(target));
                return;

            case 54:
                this.cb15 = ((System.Windows.Controls.CheckBox)(target));
                return;

            case 55:
                this.cb16 = ((System.Windows.Controls.CheckBox)(target));
                return;

            case 56:
                this.cb17 = ((System.Windows.Controls.CheckBox)(target));
                return;

            case 57:
                this.cb18 = ((System.Windows.Controls.CheckBox)(target));
                return;

            case 58:
                this.cb19 = ((System.Windows.Controls.CheckBox)(target));
                return;

            case 59:
                this.cb20 = ((System.Windows.Controls.CheckBox)(target));
                return;

            case 60:
                this.cb21 = ((System.Windows.Controls.CheckBox)(target));
                return;

            case 61:
                this.cb22 = ((System.Windows.Controls.CheckBox)(target));
                return;

            case 62:
                this.cb23 = ((System.Windows.Controls.CheckBox)(target));
                return;

            case 63:
                this.cb24 = ((System.Windows.Controls.CheckBox)(target));
                return;

            case 64:
                this.cb25 = ((System.Windows.Controls.CheckBox)(target));
                return;
            }
            this._contentLoaded = true;
        }
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:

            #line 10 "..\..\..\..\View\purchases\uc_statistic.xaml"
                ((POS.View.purchases.uc_statistic)(target)).Loaded += new System.Windows.RoutedEventHandler(this.UserControl_Loaded);

            #line default
            #line hidden

            #line 10 "..\..\..\..\View\purchases\uc_statistic.xaml"
                ((POS.View.purchases.uc_statistic)(target)).Unloaded += new System.Windows.RoutedEventHandler(this.UserControl_Unloaded);

            #line default
            #line hidden
                return;

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

            case 3:
                this.grid_tabControl = ((System.Windows.Controls.Grid)(target));
                return;

            case 4:
                this.bdr_invoice = ((System.Windows.Controls.Border)(target));
                return;

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

            #line 49 "..\..\..\..\View\purchases\uc_statistic.xaml"
                this.btn_invoice.Click += new System.Windows.RoutedEventHandler(this.Btn_Invoice_Click);

            #line default
            #line hidden
                return;

            case 6:
                this.trig = ((System.Windows.EventTrigger)(target));
                return;

            case 7:
                this.path_invoice = ((System.Windows.Shapes.Path)(target));
                return;

            case 8:
                this.tt_invoice = ((System.Windows.Controls.ToolTip)(target));
                return;

            case 9:
                this.bdr_order = ((System.Windows.Controls.Border)(target));
                return;

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

            #line 90 "..\..\..\..\View\purchases\uc_statistic.xaml"
                this.btn_order.Click += new System.Windows.RoutedEventHandler(this.Btn_order_Click);

            #line default
            #line hidden
                return;

            case 11:
                this.path_order = ((System.Windows.Shapes.Path)(target));
                return;

            case 12:
                this.tt_order = ((System.Windows.Controls.ToolTip)(target));
                return;

            case 13:
                this.bdrMain = ((System.Windows.Controls.Border)(target));
                return;

            case 14:
                this.grid_father = ((System.Windows.Controls.Grid)(target));
                return;

            case 15:
                this.grid_invoice = ((System.Windows.Controls.Grid)(target));
                return;

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

            #line 154 "..\..\..\..\View\purchases\uc_statistic.xaml"
                this.chk_invoice.Checked += new System.Windows.RoutedEventHandler(this.chk_invoice_Checked);

            #line default
            #line hidden

            #line 154 "..\..\..\..\View\purchases\uc_statistic.xaml"
                this.chk_invoice.Unchecked += new System.Windows.RoutedEventHandler(this.chk_invoice_Unchecked);

            #line default
            #line hidden
                return;

            case 17:
                this.chk_return = ((System.Windows.Controls.CheckBox)(target));

            #line 155 "..\..\..\..\View\purchases\uc_statistic.xaml"
                this.chk_return.Checked += new System.Windows.RoutedEventHandler(this.chk_return_Checked);

            #line default
            #line hidden

            #line 155 "..\..\..\..\View\purchases\uc_statistic.xaml"
                this.chk_return.Unchecked += new System.Windows.RoutedEventHandler(this.chk_return_Unchecked);

            #line default
            #line hidden
                return;

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

            #line 156 "..\..\..\..\View\purchases\uc_statistic.xaml"
                this.chk_drafs.Checked += new System.Windows.RoutedEventHandler(this.chk_drafs_Checked);

            #line default
            #line hidden

            #line 156 "..\..\..\..\View\purchases\uc_statistic.xaml"
                this.chk_drafs.Unchecked += new System.Windows.RoutedEventHandler(this.chk_drafs_Unchecked);

            #line default
            #line hidden
                return;

            case 19:
                this.dp_invoiceDate = ((System.Windows.Controls.DatePicker)(target));

            #line 157 "..\..\..\..\View\purchases\uc_statistic.xaml"
                this.dp_invoiceDate.SelectedDateChanged += new System.EventHandler <System.Windows.Controls.SelectionChangedEventArgs>(this.Dp_invoiceDate_SelectedDateChanged);

            #line default
            #line hidden
                return;

            case 20:
                this.grid_order = ((System.Windows.Controls.Grid)(target));
                return;

            case 21:
                this.chk_orderInvoice = ((System.Windows.Controls.CheckBox)(target));

            #line 177 "..\..\..\..\View\purchases\uc_statistic.xaml"
                this.chk_orderInvoice.Checked += new System.Windows.RoutedEventHandler(this.Chk_orderInvoice_Checked);

            #line default
            #line hidden

            #line 177 "..\..\..\..\View\purchases\uc_statistic.xaml"
                this.chk_orderInvoice.Unchecked += new System.Windows.RoutedEventHandler(this.Chk_orderInvoice_Unchecked);

            #line default
            #line hidden
                return;

            case 22:
                this.chk_orderDraft = ((System.Windows.Controls.CheckBox)(target));

            #line 178 "..\..\..\..\View\purchases\uc_statistic.xaml"
                this.chk_orderDraft.Checked += new System.Windows.RoutedEventHandler(this.Chk_orderDraft_Checked);

            #line default
            #line hidden

            #line 178 "..\..\..\..\View\purchases\uc_statistic.xaml"
                this.chk_orderDraft.Unchecked += new System.Windows.RoutedEventHandler(this.Chk_orderDraft_Unchecked);

            #line default
            #line hidden
                return;

            case 23:
                this.dp_orderDate = ((System.Windows.Controls.DatePicker)(target));

            #line 179 "..\..\..\..\View\purchases\uc_statistic.xaml"
                this.dp_orderDate.SelectedDateChanged += new System.EventHandler <System.Windows.Controls.SelectionChangedEventArgs>(this.Dp_orderDate_SelectedDateChanged);

            #line default
            #line hidden
                return;

            case 24:
                this.txt_search = ((System.Windows.Controls.TextBox)(target));
                return;

            case 25:
                this.btn_refresh = ((System.Windows.Controls.Button)(target));
                return;

            case 26:
                this.dgInvoice = ((System.Windows.Controls.DataGrid)(target));
                return;

            case 27:
                this.col_No = ((System.Windows.Controls.DataGridTextColumn)(target));
                return;

            case 28:
                this.col_type = ((System.Windows.Controls.DataGridTextColumn)(target));
                return;

            case 29:
                this.col_branch = ((System.Windows.Controls.DataGridTextColumn)(target));
                return;

            case 30:
                this.col_pos = ((System.Windows.Controls.DataGridTextColumn)(target));
                return;

            case 31:
                this.col_discount = ((System.Windows.Controls.DataGridTextColumn)(target));
                return;

            case 32:
                this.col_tax = ((System.Windows.Controls.DataGridTextColumn)(target));
                return;

            case 33:
                this.col_totalNet = ((System.Windows.Controls.DataGridTextColumn)(target));
                return;

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

            case 35:
                this.tt_report = ((System.Windows.Controls.ToolTip)(target));
                return;

            case 36:
                this.btn_print = ((System.Windows.Controls.Button)(target));
                return;

            case 37:
                this.tt_print = ((System.Windows.Controls.ToolTip)(target));
                return;

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

            case 39:
                this.tt_excel = ((System.Windows.Controls.ToolTip)(target));
                return;

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

            case 41:
                this.tt_preview = ((System.Windows.Controls.ToolTip)(target));
                return;

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

            case 43:
                this.txt_count = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 44:
                this.tt_count = ((System.Windows.Controls.ToolTip)(target));
                return;

            case 45:
                this.cartesianChart = ((LiveCharts.Wpf.CartesianChart)(target));
                return;

            case 46:
                this.axcolumn = ((LiveCharts.Wpf.Axis)(target));
                return;

            case 47:
                this.grid1 = ((System.Windows.Controls.Grid)(target));
                return;

            case 48:
                this.chart1 = ((LiveCharts.Wpf.PieChart)(target));
                return;

            case 49:
                this.rowChart = ((LiveCharts.Wpf.CartesianChart)(target));
                return;

            case 50:
                this.MyAxis = ((LiveCharts.Wpf.Axis)(target));
                return;
            }
            this._contentLoaded = true;
        }
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:

            #line 12 "..\..\..\..\View\windows\wd_customers.xaml"
                ((AdministratorApp.View.windows.wd_customers)(target)).Loaded += new System.Windows.RoutedEventHandler(this.Window_Loaded);

            #line default
            #line hidden

            #line 12 "..\..\..\..\View\windows\wd_customers.xaml"
                ((AdministratorApp.View.windows.wd_customers)(target)).MouseDown += new System.Windows.Input.MouseButtonEventHandler(this.Window_MouseDown);

            #line default
            #line hidden

            #line 12 "..\..\..\..\View\windows\wd_customers.xaml"
                ((AdministratorApp.View.windows.wd_customers)(target)).KeyDown += new System.Windows.Input.KeyEventHandler(this.HandleKeyPress);

            #line default
            #line hidden

            #line 12 "..\..\..\..\View\windows\wd_customers.xaml"
                ((AdministratorApp.View.windows.wd_customers)(target)).Unloaded += new System.Windows.RoutedEventHandler(this.Window_Unloaded);

            #line default
            #line hidden
                return;

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

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

            #line 27 "..\..\..\..\View\windows\wd_customers.xaml"
                this.btn_colse.Click += new System.Windows.RoutedEventHandler(this.Btn_colse_Click);

            #line default
            #line hidden
                return;

            case 4:
                this.tt_close = ((System.Windows.Controls.ToolTip)(target));
                return;

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

            case 6:
                this.grid_mainGrid = ((System.Windows.Controls.Grid)(target));
                return;

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

            #line 88 "..\..\..\..\View\windows\wd_customers.xaml"
                this.txb_searchCustomers.TextChanged += new System.Windows.Controls.TextChangedEventHandler(this.Txb_searchCustomers_TextChanged);

            #line default
            #line hidden
                return;

            case 8:
                this.tt_search = ((System.Windows.Controls.ToolTip)(target));
                return;

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

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

            #line 120 "..\..\..\..\View\windows\wd_customers.xaml"
                this.dg_allCustomers.BeginningEdit += new System.EventHandler <System.Windows.Controls.DataGridBeginningEditEventArgs>(this.Dg_BeginningEdit);

            #line default
            #line hidden

            #line 120 "..\..\..\..\View\windows\wd_customers.xaml"
                this.dg_allCustomers.MouseDoubleClick += new System.Windows.Input.MouseButtonEventHandler(this.Dg_allCustomers_MouseDoubleClick);

            #line default
            #line hidden
                return;

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

            #line 149 "..\..\..\..\View\windows\wd_customers.xaml"
                this.btn_selectedAll.Click += new System.Windows.RoutedEventHandler(this.Btn_selectedAll_Click);

            #line default
            #line hidden
                return;

            case 12:
                this.tt_selectAll = ((System.Windows.Controls.ToolTip)(target));
                return;

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

            #line 167 "..\..\..\..\View\windows\wd_customers.xaml"
                this.btn_selectOne.Click += new System.Windows.RoutedEventHandler(this.Btn_selectOne_Click);

            #line default
            #line hidden
                return;

            case 14:
                this.tt_selectOne = ((System.Windows.Controls.ToolTip)(target));
                return;

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

            #line 184 "..\..\..\..\View\windows\wd_customers.xaml"
                this.btn_unSelectedOne.Click += new System.Windows.RoutedEventHandler(this.Btn_unSelectedOne_Click);

            #line default
            #line hidden
                return;

            case 16:
                this.tt_unselectOne = ((System.Windows.Controls.ToolTip)(target));
                return;

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

            #line 199 "..\..\..\..\View\windows\wd_customers.xaml"
                this.btn_unSelectAll.Click += new System.Windows.RoutedEventHandler(this.Btn_unSelectAll_Click);

            #line default
            #line hidden
                return;

            case 18:
                this.tt_unselectAll = ((System.Windows.Controls.ToolTip)(target));
                return;

            case 19:
                this.txt_selected = ((System.Windows.Controls.TextBlock)(target));
                return;

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

            #line 223 "..\..\..\..\View\windows\wd_customers.xaml"
                this.dg_selectedCustomers.BeginningEdit += new System.EventHandler <System.Windows.Controls.DataGridBeginningEditEventArgs>(this.Dg_BeginningEdit);

            #line default
            #line hidden

            #line 224 "..\..\..\..\View\windows\wd_customers.xaml"
                this.dg_selectedCustomers.MouseDoubleClick += new System.Windows.Input.MouseButtonEventHandler(this.Dg_selectedPackages_MouseDoubleClick);

            #line default
            #line hidden
                return;

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

            #line 246 "..\..\..\..\View\windows\wd_customers.xaml"
                this.btn_save.Click += new System.Windows.RoutedEventHandler(this.Btn_save_Click);

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

            #line 217 "..\..\MainWindow.xaml"
                this.CloseBtn.Click += new System.Windows.RoutedEventHandler(this.CloseBtn_Click);

            #line default
            #line hidden
                return;

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

            case 3:
                this.st_pnl = ((System.Windows.Controls.StackPanel)(target));
                return;

            case 4:
                this.Tb_Btn = ((System.Windows.Controls.Primitives.ToggleButton)(target));
                return;

            case 5:
                this.HideStackPanel = ((System.Windows.Media.Animation.Storyboard)(target));
                return;

            case 6:
                this.ShowStackPanel = ((System.Windows.Media.Animation.Storyboard)(target));
                return;

            case 7:
                this.LV = ((System.Windows.Controls.ListView)(target));
                return;

            case 8:

            #line 311 "..\..\MainWindow.xaml"
                ((System.Windows.Controls.ListViewItem)(target)).MouseEnter += new System.Windows.Input.MouseEventHandler(this.ListViewItem_MouseEnter);

            #line default
            #line hidden
                return;

            case 9:

            #line 316 "..\..\MainWindow.xaml"
                ((System.Windows.Controls.Image)(target)).MouseUp += new System.Windows.Input.MouseButtonEventHandler(this.Image_MouseUp_2);

            #line default
            #line hidden
                return;

            case 10:
                this.tt_home = ((System.Windows.Controls.ToolTip)(target));
                return;

            case 11:

            #line 333 "..\..\MainWindow.xaml"
                ((System.Windows.Controls.ListViewItem)(target)).MouseEnter += new System.Windows.Input.MouseEventHandler(this.ListViewItem_MouseEnter);

            #line default
            #line hidden
                return;

            case 12:

            #line 338 "..\..\MainWindow.xaml"
                ((System.Windows.Controls.Image)(target)).MouseUp += new System.Windows.Input.MouseButtonEventHandler(this.Image_MouseUp_1);

            #line default
            #line hidden
                return;

            case 13:
                this.tt_compress = ((System.Windows.Controls.ToolTip)(target));
                return;

            case 14:

            #line 354 "..\..\MainWindow.xaml"
                ((System.Windows.Controls.ListViewItem)(target)).MouseEnter += new System.Windows.Input.MouseEventHandler(this.ListViewItem_MouseEnter);

            #line default
            #line hidden
                return;

            case 15:

            #line 359 "..\..\MainWindow.xaml"
                ((System.Windows.Controls.Image)(target)).MouseUp += new System.Windows.Input.MouseButtonEventHandler(this.Image_MouseUp);

            #line default
            #line hidden
                return;

            case 16:
                this.tt_decompress = ((System.Windows.Controls.ToolTip)(target));
                return;
            }
            this._contentLoaded = true;
        }
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:

            #line 7 "..\..\..\..\View\windows\wd_itemsList.xaml"
                ((POS.View.windows.wd_itemsList)(target)).KeyDown += new System.Windows.Input.KeyEventHandler(this.HandleKeyPress);

            #line default
            #line hidden

            #line 13 "..\..\..\..\View\windows\wd_itemsList.xaml"
                ((POS.View.windows.wd_itemsList)(target)).Loaded += new System.Windows.RoutedEventHandler(this.Window_Loaded);

            #line default
            #line hidden

            #line 13 "..\..\..\..\View\windows\wd_itemsList.xaml"
                ((POS.View.windows.wd_itemsList)(target)).MouseDown += new System.Windows.Input.MouseButtonEventHandler(this.Window_MouseDown);

            #line default
            #line hidden
                return;

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

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

            #line 25 "..\..\..\..\View\windows\wd_itemsList.xaml"
                this.btn_colse.Click += new System.Windows.RoutedEventHandler(this.Btn_colse_Click);

            #line default
            #line hidden
                return;

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

            case 5:
                this.grid_mainGrid = ((System.Windows.Controls.Grid)(target));
                return;

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

            #line 94 "..\..\..\..\View\windows\wd_itemsList.xaml"
                this.txb_searchitems.TextChanged += new System.Windows.Controls.TextChangedEventHandler(this.Txb_searchitems_TextChanged);

            #line default
            #line hidden
                return;

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

            case 8:
                this.lst_allItems = ((System.Windows.Controls.ListView)(target));

            #line 120 "..\..\..\..\View\windows\wd_itemsList.xaml"
                this.lst_allItems.MouseDoubleClick += new System.Windows.Input.MouseButtonEventHandler(this.Lst_allItems_MouseDoubleClick);

            #line default
            #line hidden
                return;

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

            #line 135 "..\..\..\..\View\windows\wd_itemsList.xaml"
                this.btn_selectedAll.Click += new System.Windows.RoutedEventHandler(this.Btn_selectedAll_Click);

            #line default
            #line hidden
                return;

            case 10:
                this.tt_selectAllItem = ((System.Windows.Controls.ToolTip)(target));
                return;

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

            #line 151 "..\..\..\..\View\windows\wd_itemsList.xaml"
                this.btn_selectedItem.Click += new System.Windows.RoutedEventHandler(this.Btn_selectedItem_Click);

            #line default
            #line hidden
                return;

            case 12:
                this.tt_selectItem = ((System.Windows.Controls.ToolTip)(target));
                return;

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

            #line 167 "..\..\..\..\View\windows\wd_itemsList.xaml"
                this.btn_unSelectedItem.Click += new System.Windows.RoutedEventHandler(this.Btn_unSelectedItem_Click);

            #line default
            #line hidden
                return;

            case 14:
                this.tt_unselectItem = ((System.Windows.Controls.ToolTip)(target));
                return;

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

            #line 182 "..\..\..\..\View\windows\wd_itemsList.xaml"
                this.btn_unSelectedAll.Click += new System.Windows.RoutedEventHandler(this.Btn_unSelectedAll_Click);

            #line default
            #line hidden
                return;

            case 16:
                this.tt_unselectAllItem = ((System.Windows.Controls.ToolTip)(target));
                return;

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

            case 18:
                this.lst_selectedItems = ((System.Windows.Controls.ListView)(target));

            #line 202 "..\..\..\..\View\windows\wd_itemsList.xaml"
                this.lst_selectedItems.MouseDoubleClick += new System.Windows.Input.MouseButtonEventHandler(this.Lst_selectedItems_MouseDoubleClick);

            #line default
            #line hidden
                return;

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

            #line 207 "..\..\..\..\View\windows\wd_itemsList.xaml"
                this.btn_save.Click += new System.Windows.RoutedEventHandler(this.Btn_save_Click);

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

            #line 10 "..\..\..\..\View\Settings\uc_emailsSetting.xaml"
                ((POS.View.Settings.uc_emailsSetting)(target)).Loaded += new System.Windows.RoutedEventHandler(this.UserControl_Loaded);

            #line default
            #line hidden
                return;

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

            case 3:
                this.gridWidth = ((System.Windows.Controls.ColumnDefinition)(target));
                return;

            case 4:
                this.grid_shipping = ((System.Windows.Controls.Grid)(target));
                return;

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

            #line 51 "..\..\..\..\View\Settings\uc_emailsSetting.xaml"
                this.tb_search.TextChanged += new System.Windows.Controls.TextChangedEventHandler(this.Tb_search_TextChanged);

            #line default
            #line hidden
                return;

            case 6:
                this.tt_search = ((System.Windows.Controls.ToolTip)(target));
                return;

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

            #line 64 "..\..\..\..\View\Settings\uc_emailsSetting.xaml"
                this.btn_refresh.Click += new System.Windows.RoutedEventHandler(this.Btn_refresh_Click);

            #line default
            #line hidden
                return;

            case 8:
                this.tt_refresh = ((System.Windows.Controls.ToolTip)(target));
                return;

            case 9:
                this.tgl_isActive = ((System.Windows.Controls.Primitives.ToggleButton)(target));

            #line 95 "..\..\..\..\View\Settings\uc_emailsSetting.xaml"
                this.tgl_isActive.Checked += new System.Windows.RoutedEventHandler(this.Tgl_isActive_Checked);

            #line default
            #line hidden

            #line 96 "..\..\..\..\View\Settings\uc_emailsSetting.xaml"
                this.tgl_isActive.Unchecked += new System.Windows.RoutedEventHandler(this.Tgl_isActive_Unchecked);

            #line default
            #line hidden
                return;

            case 10:
                this.txt_active = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 11:
                this.dg_sysEmail = ((System.Windows.Controls.DataGrid)(target));

            #line 108 "..\..\..\..\View\Settings\uc_emailsSetting.xaml"
                this.dg_sysEmail.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.Dg_sysEmail_SelectionChanged);

            #line default
            #line hidden
                return;

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

            case 13:
                this.tt_report = ((System.Windows.Controls.ToolTip)(target));
                return;

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

            case 15:
                this.tt_print = ((System.Windows.Controls.ToolTip)(target));
                return;

            case 16:
                this.btn_pieChart = ((System.Windows.Controls.Button)(target));
                return;

            case 17:
                this.tt_pieChart = ((System.Windows.Controls.ToolTip)(target));
                return;

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

            #line 241 "..\..\..\..\View\Settings\uc_emailsSetting.xaml"
                this.btn_exportToExcel.Click += new System.Windows.RoutedEventHandler(this.Btn_exportToExcel_Click);

            #line default
            #line hidden
                return;

            case 19:
                this.tt_excel = ((System.Windows.Controls.ToolTip)(target));
                return;

            case 20:
                this.txt_count = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 21:
                this.tt_count = ((System.Windows.Controls.ToolTip)(target));
                return;

            case 22:
                this.txt_sysEmail = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 23:
                this.grid_sysEmail = ((System.Windows.Controls.Grid)(target));
                return;

            case 24:
                this.txt_baseInformation = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 25:
                this.btn_clear = ((System.Windows.Controls.Button)(target));

            #line 317 "..\..\..\..\View\Settings\uc_emailsSetting.xaml"
                this.btn_clear.Click += new System.Windows.RoutedEventHandler(this.Btn_clear_Click);

            #line default
            #line hidden
                return;

            case 26:
                this.tt_clear = ((System.Windows.Controls.ToolTip)(target));
                return;

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

            #line 332 "..\..\..\..\View\Settings\uc_emailsSetting.xaml"
                this.tb_name.LostFocus += new System.Windows.RoutedEventHandler(this.validationControl_LostFocus);

            #line default
            #line hidden

            #line 332 "..\..\..\..\View\Settings\uc_emailsSetting.xaml"
                this.tb_name.TextChanged += new System.Windows.Controls.TextChangedEventHandler(this.validationTextbox_TextChanged);

            #line default
            #line hidden
                return;

            case 28:
                this.p_errorName = ((System.Windows.Shapes.Path)(target));
                return;

            case 29:
                this.tt_errorName = ((System.Windows.Controls.ToolTip)(target));
                return;

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

            #line 350 "..\..\..\..\View\Settings\uc_emailsSetting.xaml"
                this.tb_email.LostFocus += new System.Windows.RoutedEventHandler(this.Tb_email_LostFocus);

            #line default
            #line hidden
                return;

            case 31:
                this.p_errorEmail = ((System.Windows.Shapes.Path)(target));
                return;

            case 32:
                this.tt_errorEmail = ((System.Windows.Controls.ToolTip)(target));
                return;

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

            #line 367 "..\..\..\..\View\Settings\uc_emailsSetting.xaml"
                this.tb_password.LostFocus += new System.Windows.RoutedEventHandler(this.Tb_password_LostFocus);

            #line default
            #line hidden
                return;

            case 34:
                this.pb_password = ((System.Windows.Controls.PasswordBox)(target));

            #line 375 "..\..\..\..\View\Settings\uc_emailsSetting.xaml"
                this.pb_password.LostFocus += new System.Windows.RoutedEventHandler(this.Tb_password_LostFocus);

            #line default
            #line hidden

            #line 376 "..\..\..\..\View\Settings\uc_emailsSetting.xaml"
                this.pb_password.PasswordChanged += new System.Windows.RoutedEventHandler(this.Pb_password_PasswordChanged);

            #line default
            #line hidden
                return;

            case 35:
                this.p_errorPassword = ((System.Windows.Shapes.Path)(target));
                return;

            case 36:
                this.tt_errorPassword = ((System.Windows.Controls.ToolTip)(target));
                return;

            case 37:
                this.p_showPassword = ((System.Windows.Shapes.Path)(target));

            #line 391 "..\..\..\..\View\Settings\uc_emailsSetting.xaml"
                this.p_showPassword.MouseEnter += new System.Windows.Input.MouseEventHandler(this.P_showPassword_MouseEnter);

            #line default
            #line hidden

            #line 392 "..\..\..\..\View\Settings\uc_emailsSetting.xaml"
                this.p_showPassword.MouseLeave += new System.Windows.Input.MouseEventHandler(this.P_showPassword_MouseLeave);

            #line default
            #line hidden
                return;

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

            #line 399 "..\..\..\..\View\Settings\uc_emailsSetting.xaml"
                this.tb_port.LostFocus += new System.Windows.RoutedEventHandler(this.validationControl_LostFocus);

            #line default
            #line hidden

            #line 399 "..\..\..\..\View\Settings\uc_emailsSetting.xaml"
                this.tb_port.TextChanged += new System.Windows.Controls.TextChangedEventHandler(this.validationTextbox_TextChanged);

            #line default
            #line hidden

            #line 400 "..\..\..\..\View\Settings\uc_emailsSetting.xaml"
                this.tb_port.PreviewKeyDown += new System.Windows.Input.KeyEventHandler(this.Tb_PreventSpaces);

            #line default
            #line hidden

            #line 401 "..\..\..\..\View\Settings\uc_emailsSetting.xaml"
                this.tb_port.PreviewTextInput += new System.Windows.Input.TextCompositionEventHandler(this.Tb_Numbers_PreviewTextInput);

            #line default
            #line hidden
                return;

            case 39:
                this.p_errorPort = ((System.Windows.Shapes.Path)(target));
                return;

            case 40:
                this.tt_errorPort = ((System.Windows.Controls.ToolTip)(target));
                return;

            case 41:
                this.txt_isSSL = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 42:
                this.tgl_isSSL = ((System.Windows.Controls.Primitives.ToggleButton)(target));
                return;

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

            #line 428 "..\..\..\..\View\Settings\uc_emailsSetting.xaml"
                this.tb_smtpClient.LostFocus += new System.Windows.RoutedEventHandler(this.validationControl_LostFocus);

            #line default
            #line hidden

            #line 428 "..\..\..\..\View\Settings\uc_emailsSetting.xaml"
                this.tb_smtpClient.TextChanged += new System.Windows.Controls.TextChangedEventHandler(this.validationTextbox_TextChanged);

            #line default
            #line hidden
                return;

            case 44:
                this.p_errorSmtpClient = ((System.Windows.Shapes.Path)(target));
                return;

            case 45:
                this.tt_errorSmtpClient = ((System.Windows.Controls.ToolTip)(target));
                return;

            case 46:
                this.cb_side = ((System.Windows.Controls.ComboBox)(target));

            #line 448 "..\..\..\..\View\Settings\uc_emailsSetting.xaml"
                this.cb_side.LostFocus += new System.Windows.RoutedEventHandler(this.Tb_validateEmptyLostFocus);

            #line default
            #line hidden
                return;

            case 47:
                this.p_errorSide = ((System.Windows.Shapes.Path)(target));
                return;

            case 48:
                this.tt_errorSide = ((System.Windows.Controls.ToolTip)(target));
                return;

            case 49:
                this.cb_branchId = ((System.Windows.Controls.ComboBox)(target));

            #line 471 "..\..\..\..\View\Settings\uc_emailsSetting.xaml"
                this.cb_branchId.LostFocus += new System.Windows.RoutedEventHandler(this.Tb_validateEmptyLostFocus);

            #line default
            #line hidden
                return;

            case 50:
                this.p_errorBranchId = ((System.Windows.Shapes.Path)(target));
                return;

            case 51:
                this.tt_errorBranchId = ((System.Windows.Controls.ToolTip)(target));
                return;

            case 52:
                this.txt_isMajor = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 53:
                this.tgl_isMajor = ((System.Windows.Controls.Primitives.ToggleButton)(target));
                return;

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

            case 55:
                this.tt_error_note = ((System.Windows.Controls.ToolTip)(target));
                return;

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

            #line 524 "..\..\..\..\View\Settings\uc_emailsSetting.xaml"
                this.btn_add.Click += new System.Windows.RoutedEventHandler(this.Btn_add_Click);

            #line default
            #line hidden
                return;

            case 57:
                this.txt_add_Icon = ((MaterialDesignThemes.Wpf.PackIcon)(target));
                return;

            case 58:
                this.txt_addButton = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 59:
                this.tt_add_Button = ((System.Windows.Controls.ToolTip)(target));
                return;

            case 60:
                this.btn_update = ((System.Windows.Controls.Button)(target));

            #line 546 "..\..\..\..\View\Settings\uc_emailsSetting.xaml"
                this.btn_update.Click += new System.Windows.RoutedEventHandler(this.Btn_update_Click);

            #line default
            #line hidden
                return;

            case 61:
                this.txt_update_Icon = ((MaterialDesignThemes.Wpf.PackIcon)(target));
                return;

            case 62:
                this.txt_updateButton = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 63:
                this.tt_update_Button = ((System.Windows.Controls.ToolTip)(target));
                return;

            case 64:
                this.btn_delete = ((System.Windows.Controls.Button)(target));

            #line 570 "..\..\..\..\View\Settings\uc_emailsSetting.xaml"
                this.btn_delete.Click += new System.Windows.RoutedEventHandler(this.Btn_delete_Click);

            #line default
            #line hidden
                return;

            case 65:
                this.txt_delete_Icon = ((MaterialDesignThemes.Wpf.PackIcon)(target));
                return;

            case 66:
                this.txt_deleteButton = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 67:
                this.tt_delete_Button = ((System.Windows.Controls.ToolTip)(target));
                return;
            }
            this._contentLoaded = true;
        }
Example #54
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:

            #line 13 "..\..\..\..\View\reports\uc_bookReport.xaml"
                ((AdministratorApp.View.reports.uc_bookReport)(target)).Loaded += new System.Windows.RoutedEventHandler(this.UserControl_Loaded);

            #line default
            #line hidden

            #line 13 "..\..\..\..\View\reports\uc_bookReport.xaml"
                ((AdministratorApp.View.reports.uc_bookReport)(target)).Unloaded += new System.Windows.RoutedEventHandler(this.UserControl_Unloaded);

            #line default
            #line hidden
                return;

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

            case 3:
                this.grid_tabControl = ((System.Windows.Controls.Grid)(target));
                return;

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

            case 5:
                this.bdrMain = ((System.Windows.Controls.Border)(target));
                return;

            case 6:
                this.grid_father = ((System.Windows.Controls.Grid)(target));
                return;

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

            case 8:
                this.dpnl_country = ((System.Windows.Controls.DockPanel)(target));
                return;

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

            #line 81 "..\..\..\..\View\reports\uc_bookReport.xaml"
                this.cb_countries.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.Cb_countries_SelectionChanged);

            #line default
            #line hidden
                return;

            case 10:
                this.chk_allCountries = ((System.Windows.Controls.CheckBox)(target));

            #line 84 "..\..\..\..\View\reports\uc_bookReport.xaml"
                this.chk_allCountries.Checked += new System.Windows.RoutedEventHandler(this.Chk_Checked);

            #line default
            #line hidden

            #line 84 "..\..\..\..\View\reports\uc_bookReport.xaml"
                this.chk_allCountries.Unchecked += new System.Windows.RoutedEventHandler(this.Chk_Unchecked);

            #line default
            #line hidden
                return;

            case 11:
                this.bdr_country = ((System.Windows.Controls.Border)(target));
                return;

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

            case 13:
                this.dpnl_agent = ((System.Windows.Controls.DockPanel)(target));
                return;

            case 14:
                this.cb_agents = ((System.Windows.Controls.ComboBox)(target));

            #line 104 "..\..\..\..\View\reports\uc_bookReport.xaml"
                this.cb_agents.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.Cb_agents_SelectionChanged);

            #line default
            #line hidden
                return;

            case 15:
                this.chk_allAgents = ((System.Windows.Controls.CheckBox)(target));

            #line 107 "..\..\..\..\View\reports\uc_bookReport.xaml"
                this.chk_allAgents.Checked += new System.Windows.RoutedEventHandler(this.Chk_Checked);

            #line default
            #line hidden

            #line 107 "..\..\..\..\View\reports\uc_bookReport.xaml"
                this.chk_allAgents.Unchecked += new System.Windows.RoutedEventHandler(this.Chk_Unchecked);

            #line default
            #line hidden
                return;

            case 16:
                this.bdr_agent = ((System.Windows.Controls.Border)(target));
                return;

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

            case 18:
                this.dpnl_customer = ((System.Windows.Controls.DockPanel)(target));
                return;

            case 19:
                this.cb_customers = ((DotNetKit.Windows.Controls.AutoCompleteComboBox)(target));

            #line 146 "..\..\..\..\View\reports\uc_bookReport.xaml"
                this.cb_customers.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.Cb_customers_SelectionChanged);

            #line default
            #line hidden
                return;

            case 20:
                this.chk_allCustomers = ((System.Windows.Controls.CheckBox)(target));

            #line 155 "..\..\..\..\View\reports\uc_bookReport.xaml"
                this.chk_allCustomers.Checked += new System.Windows.RoutedEventHandler(this.Chk_Checked);

            #line default
            #line hidden

            #line 155 "..\..\..\..\View\reports\uc_bookReport.xaml"
                this.chk_allCustomers.Unchecked += new System.Windows.RoutedEventHandler(this.Chk_Unchecked);

            #line default
            #line hidden
                return;

            case 21:
                this.dpnl_package = ((System.Windows.Controls.DockPanel)(target));
                return;

            case 22:
                this.cb_packages = ((System.Windows.Controls.ComboBox)(target));

            #line 168 "..\..\..\..\View\reports\uc_bookReport.xaml"
                this.cb_packages.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.Cb_packages_SelectionChanged);

            #line default
            #line hidden
                return;

            case 23:
                this.chk_allPackages = ((System.Windows.Controls.CheckBox)(target));

            #line 171 "..\..\..\..\View\reports\uc_bookReport.xaml"
                this.chk_allPackages.Checked += new System.Windows.RoutedEventHandler(this.Chk_Checked);

            #line default
            #line hidden

            #line 171 "..\..\..\..\View\reports\uc_bookReport.xaml"
                this.chk_allPackages.Unchecked += new System.Windows.RoutedEventHandler(this.Chk_Unchecked);

            #line default
            #line hidden
                return;

            case 24:
                this.dp_endDate = ((System.Windows.Controls.DatePicker)(target));

            #line 187 "..\..\..\..\View\reports\uc_bookReport.xaml"
                this.dp_endDate.SelectedDateChanged += new System.EventHandler <System.Windows.Controls.SelectionChangedEventArgs>(this.Dp_SelectedDateChanged);

            #line default
            #line hidden
                return;

            case 25:
                this.dp_startDate = ((System.Windows.Controls.DatePicker)(target));

            #line 201 "..\..\..\..\View\reports\uc_bookReport.xaml"
                this.dp_startDate.SelectedDateChanged += new System.EventHandler <System.Windows.Controls.SelectionChangedEventArgs>(this.Dp_SelectedDateChanged);

            #line default
            #line hidden
                return;

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

            #line 226 "..\..\..\..\View\reports\uc_bookReport.xaml"
                this.txt_search.TextChanged += new System.Windows.Controls.TextChangedEventHandler(this.Txt_search_TextChanged);

            #line default
            #line hidden
                return;

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

            #line 241 "..\..\..\..\View\reports\uc_bookReport.xaml"
                this.btn_refresh.Click += new System.Windows.RoutedEventHandler(this.Btn_refresh_Click);

            #line default
            #line hidden
                return;

            case 28:
                this.tt_refresh = ((System.Windows.Controls.ToolTip)(target));
                return;

            case 29:
                this.dg_book = ((System.Windows.Controls.DataGrid)(target));

            #line 282 "..\..\..\..\View\reports\uc_bookReport.xaml"
                this.dg_book.MouseDoubleClick += new System.Windows.Input.MouseButtonEventHandler(this.Dg_book_MouseDoubleClick);

            #line default
            #line hidden
                return;

            case 30:
                this.col_Num = ((System.Windows.Controls.DataGridTextColumn)(target));
                return;

            case 31:
                this.col_bookDate = ((System.Windows.Controls.DataGridTextColumn)(target));
                return;

            case 32:
                this.col_upgradeDate = ((System.Windows.Controls.DataGridTextColumn)(target));
                return;

            case 33:
                this.col_package = ((System.Windows.Controls.DataGridTextColumn)(target));
                return;

            case 34:
                this.col_agent = ((System.Windows.Controls.DataGridTextColumn)(target));
                return;

            case 35:
                this.col_customer = ((System.Windows.Controls.DataGridTextColumn)(target));
                return;

            case 36:
                this.col_price = ((System.Windows.Controls.DataGridTextColumn)(target));
                return;

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

            #line 331 "..\..\..\..\View\reports\uc_bookReport.xaml"
                this.btn_pdf.Click += new System.Windows.RoutedEventHandler(this.Btn_pdf_Click);

            #line default
            #line hidden
                return;

            case 38:
                this.tt_report = ((System.Windows.Controls.ToolTip)(target));
                return;

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

            #line 343 "..\..\..\..\View\reports\uc_bookReport.xaml"
                this.btn_print.Click += new System.Windows.RoutedEventHandler(this.Btn_print_Click);

            #line default
            #line hidden
                return;

            case 40:
                this.tt_print = ((System.Windows.Controls.ToolTip)(target));
                return;

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

            #line 356 "..\..\..\..\View\reports\uc_bookReport.xaml"
                this.btn_exportToExcel.Click += new System.Windows.RoutedEventHandler(this.Btn_exportToExcel_Click);

            #line default
            #line hidden
                return;

            case 42:
                this.tt_excel = ((System.Windows.Controls.ToolTip)(target));
                return;

            case 43:
                this.btn_preview = ((System.Windows.Controls.Button)(target));

            #line 372 "..\..\..\..\View\reports\uc_bookReport.xaml"
                this.btn_preview.Click += new System.Windows.RoutedEventHandler(this.Btn_preview_Click);

            #line default
            #line hidden
                return;

            case 44:
                this.tt_preview = ((System.Windows.Controls.ToolTip)(target));
                return;

            case 45:
                this.btn_settings = ((System.Windows.Controls.Button)(target));
                return;

            case 46:
                this.txt_count = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 47:
                this.tt_count = ((System.Windows.Controls.ToolTip)(target));
                return;

            case 48:
                this.cartesianChart = ((LiveCharts.Wpf.CartesianChart)(target));
                return;

            case 49:
                this.axcolumn = ((LiveCharts.Wpf.Axis)(target));
                return;

            case 50:
                this.grid1 = ((System.Windows.Controls.Grid)(target));
                return;

            case 51:
                this.chart1 = ((LiveCharts.Wpf.PieChart)(target));
                return;

            case 52:
                this.rowChart = ((LiveCharts.Wpf.CartesianChart)(target));
                return;

            case 53:
                this.MyAxis = ((LiveCharts.Wpf.Axis)(target));
                return;
            }
            this._contentLoaded = true;
        }
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:

            #line 10 "..\..\..\..\View\setup\uc_selectPos.xaml"
                ((POS.View.setup.uc_selectPos)(target)).Loaded += new System.Windows.RoutedEventHandler(this.UserControl_Loaded);

            #line default
            #line hidden
                return;

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

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

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

            case 5:
                this.cb_branch = ((System.Windows.Controls.ComboBox)(target));

            #line 42 "..\..\..\..\View\setup\uc_selectPos.xaml"
                this.cb_branch.LostFocus += new System.Windows.RoutedEventHandler(this.Tb_validateEmptyLostFocus);

            #line default
            #line hidden

            #line 42 "..\..\..\..\View\setup\uc_selectPos.xaml"
                this.cb_branch.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.Cb_branch_SelectionChanged);

            #line default
            #line hidden
                return;

            case 6:
                this.p_errorBranch = ((System.Windows.Shapes.Path)(target));
                return;

            case 7:
                this.tt_errorBranch = ((System.Windows.Controls.ToolTip)(target));
                return;

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

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

            #line 67 "..\..\..\..\View\setup\uc_selectPos.xaml"
                this.cb_pos.LostFocus += new System.Windows.RoutedEventHandler(this.Tb_validateEmptyLostFocus);

            #line default
            #line hidden

            #line 68 "..\..\..\..\View\setup\uc_selectPos.xaml"
                this.cb_pos.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.Cb_pos_SelectionChanged);

            #line default
            #line hidden
                return;

            case 10:
                this.p_errorPos = ((System.Windows.Shapes.Path)(target));
                return;

            case 11:
                this.tt_errorPos = ((System.Windows.Controls.ToolTip)(target));
                return;
            }
            this._contentLoaded = true;
        }
Example #56
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.bg = ((System.Windows.Controls.Grid)(target));

            #line 165 "..\..\orders.xaml"
                this.bg.PreviewMouseLeftButtonDown += new System.Windows.Input.MouseButtonEventHandler(this.bg_PreviewMouseLeftButtonDown);

            #line default
            #line hidden
                return;

            case 2:
                this.img_bg = ((System.Windows.Media.ImageBrush)(target));
                return;

            case 3:
                this.register_volunteer = ((Community_Help_App.register_volunteer)(target));
                return;

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

            #line 211 "..\..\orders.xaml"
                this.CloseBtn.Click += new System.Windows.RoutedEventHandler(this.CloseBtn_Click);

            #line default
            #line hidden
                return;

            case 5:
                this.nav_panel = ((System.Windows.Controls.Grid)(target));
                return;

            case 6:
                this.Stack_Panel = ((System.Windows.Controls.StackPanel)(target));
                return;

            case 7:
                this.Toggle_btn = ((System.Windows.Controls.Primitives.ToggleButton)(target));

            #line 272 "..\..\orders.xaml"
                this.Toggle_btn.Unchecked += new System.Windows.RoutedEventHandler(this.Toggle_tn_Unchecked);

            #line default
            #line hidden

            #line 272 "..\..\orders.xaml"
                this.Toggle_btn.Checked += new System.Windows.RoutedEventHandler(this.Toggle_button_Checked);

            #line default
            #line hidden
                return;

            case 8:
                this.HideStackPanel = ((System.Windows.Media.Animation.Storyboard)(target));
                return;

            case 9:
                this.ShowstackPanel = ((System.Windows.Media.Animation.Storyboard)(target));
                return;

            case 10:

            #line 356 "..\..\orders.xaml"
                ((System.Windows.Controls.ListViewItem)(target)).MouseEnter += new System.Windows.Input.MouseEventHandler(this.ListViewItem_MouseEnter);

            #line default
            #line hidden
                return;

            case 11:
                this.tt_home = ((System.Windows.Controls.ToolTip)(target));
                return;

            case 12:

            #line 389 "..\..\orders.xaml"
                ((System.Windows.Controls.ListViewItem)(target)).MouseEnter += new System.Windows.Input.MouseEventHandler(this.ListViewItem_MouseEnter);

            #line default
            #line hidden
                return;

            case 13:
                this.tt_contact = ((System.Windows.Controls.ToolTip)(target));
                return;

            case 14:

            #line 423 "..\..\orders.xaml"
                ((System.Windows.Controls.ListViewItem)(target)).MouseEnter += new System.Windows.Input.MouseEventHandler(this.ListViewItem_MouseEnter);

            #line default
            #line hidden
                return;

            case 15:
                this.tt_message = ((System.Windows.Controls.ToolTip)(target));
                return;

            case 16:

            #line 456 "..\..\orders.xaml"
                ((System.Windows.Controls.ListViewItem)(target)).MouseEnter += new System.Windows.Input.MouseEventHandler(this.ListViewItem_MouseEnter);

            #line default
            #line hidden
                return;

            case 17:
                this.tt_map = ((System.Windows.Controls.ToolTip)(target));
                return;

            case 18:

            #line 488 "..\..\orders.xaml"
                ((System.Windows.Controls.ListViewItem)(target)).MouseEnter += new System.Windows.Input.MouseEventHandler(this.ListViewItem_MouseEnter);

            #line default
            #line hidden
                return;

            case 19:
                this.tt_setting = ((System.Windows.Controls.ToolTip)(target));
                return;

            case 20:

            #line 520 "..\..\orders.xaml"
                ((System.Windows.Controls.ListViewItem)(target)).MouseEnter += new System.Windows.Input.MouseEventHandler(this.ListViewItem_MouseEnter);

            #line default
            #line hidden
                return;

            case 21:
                this.tt_signout = ((System.Windows.Controls.ToolTip)(target));
                return;
            }
            this._contentLoaded = true;
        }
Example #57
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:

            #line 7 "..\..\..\..\View\windows\wd_reportCopyCountSetting.xaml"
                ((POS.View.windows.wd_reportCopyCountSetting)(target)).KeyDown += new System.Windows.Input.KeyEventHandler(this.HandleKeyPress);

            #line default
            #line hidden

            #line 12 "..\..\..\..\View\windows\wd_reportCopyCountSetting.xaml"
                ((POS.View.windows.wd_reportCopyCountSetting)(target)).MouseDown += new System.Windows.Input.MouseButtonEventHandler(this.Window_MouseDown);

            #line default
            #line hidden

            #line 13 "..\..\..\..\View\windows\wd_reportCopyCountSetting.xaml"
                ((POS.View.windows.wd_reportCopyCountSetting)(target)).Loaded += new System.Windows.RoutedEventHandler(this.Window_Loaded);

            #line default
            #line hidden

            #line 13 "..\..\..\..\View\windows\wd_reportCopyCountSetting.xaml"
                ((POS.View.windows.wd_reportCopyCountSetting)(target)).Closing += new System.ComponentModel.CancelEventHandler(this.Window_Closing);

            #line default
            #line hidden
                return;

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

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

            #line 25 "..\..\..\..\View\windows\wd_reportCopyCountSetting.xaml"
                this.btn_colse.Click += new System.Windows.RoutedEventHandler(this.Btn_colse_Click);

            #line default
            #line hidden
                return;

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

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

            #line 62 "..\..\..\..\View\windows\wd_reportCopyCountSetting.xaml"
                this.tb_purCopyCount.TextChanged += new System.Windows.Controls.TextChangedEventHandler(this.Tb_count_TextChanged);

            #line default
            #line hidden

            #line 71 "..\..\..\..\View\windows\wd_reportCopyCountSetting.xaml"
                this.tb_purCopyCount.PreviewKeyDown += new System.Windows.Input.KeyEventHandler(this.Tb_PreventSpaces);

            #line default
            #line hidden

            #line 72 "..\..\..\..\View\windows\wd_reportCopyCountSetting.xaml"
                this.tb_purCopyCount.PreviewTextInput += new System.Windows.Input.TextCompositionEventHandler(this.Tb_count_PreviewTextInput);

            #line default
            #line hidden

            #line 73 "..\..\..\..\View\windows\wd_reportCopyCountSetting.xaml"
                this.tb_purCopyCount.LostFocus += new System.Windows.RoutedEventHandler(this.Tb_validateEmptyLostFocus);

            #line default
            #line hidden
                return;

            case 6:
                this.p_errorPurCopyCount = ((System.Windows.Shapes.Path)(target));
                return;

            case 7:
                this.tt_errorPurCopyCount = ((System.Windows.Controls.ToolTip)(target));
                return;

            case 8:

            #line 85 "..\..\..\..\View\windows\wd_reportCopyCountSetting.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Btn_countUp_Click);

            #line default
            #line hidden
                return;

            case 9:

            #line 88 "..\..\..\..\View\windows\wd_reportCopyCountSetting.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Btn_countDown_Click);

            #line default
            #line hidden
                return;

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

            #line 97 "..\..\..\..\View\windows\wd_reportCopyCountSetting.xaml"
                this.tb_saleCopyCount.TextChanged += new System.Windows.Controls.TextChangedEventHandler(this.Tb_count_TextChanged);

            #line default
            #line hidden

            #line 105 "..\..\..\..\View\windows\wd_reportCopyCountSetting.xaml"
                this.tb_saleCopyCount.PreviewKeyDown += new System.Windows.Input.KeyEventHandler(this.Tb_PreventSpaces);

            #line default
            #line hidden

            #line 106 "..\..\..\..\View\windows\wd_reportCopyCountSetting.xaml"
                this.tb_saleCopyCount.PreviewTextInput += new System.Windows.Input.TextCompositionEventHandler(this.Tb_count_PreviewTextInput);

            #line default
            #line hidden

            #line 107 "..\..\..\..\View\windows\wd_reportCopyCountSetting.xaml"
                this.tb_saleCopyCount.LostFocus += new System.Windows.RoutedEventHandler(this.Tb_validateEmptyLostFocus);

            #line default
            #line hidden
                return;

            case 11:
                this.p_errorSaleCopyCount = ((System.Windows.Shapes.Path)(target));
                return;

            case 12:
                this.tt_errorSaleCopyCount = ((System.Windows.Controls.ToolTip)(target));
                return;

            case 13:

            #line 119 "..\..\..\..\View\windows\wd_reportCopyCountSetting.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Btn_countUp_Click);

            #line default
            #line hidden
                return;

            case 14:

            #line 122 "..\..\..\..\View\windows\wd_reportCopyCountSetting.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Btn_countDown_Click);

            #line default
            #line hidden
                return;

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

            #line 131 "..\..\..\..\View\windows\wd_reportCopyCountSetting.xaml"
                this.tb_repPrintCount.TextChanged += new System.Windows.Controls.TextChangedEventHandler(this.Tb_count_TextChanged);

            #line default
            #line hidden

            #line 139 "..\..\..\..\View\windows\wd_reportCopyCountSetting.xaml"
                this.tb_repPrintCount.PreviewKeyDown += new System.Windows.Input.KeyEventHandler(this.Tb_PreventSpaces);

            #line default
            #line hidden

            #line 140 "..\..\..\..\View\windows\wd_reportCopyCountSetting.xaml"
                this.tb_repPrintCount.PreviewTextInput += new System.Windows.Input.TextCompositionEventHandler(this.Tb_count_PreviewTextInput);

            #line default
            #line hidden

            #line 141 "..\..\..\..\View\windows\wd_reportCopyCountSetting.xaml"
                this.tb_repPrintCount.LostFocus += new System.Windows.RoutedEventHandler(this.Tb_validateEmptyLostFocus);

            #line default
            #line hidden
                return;

            case 16:
                this.p_errorRepPrintCount = ((System.Windows.Shapes.Path)(target));
                return;

            case 17:
                this.tt_errorRepPrintCount = ((System.Windows.Controls.ToolTip)(target));
                return;

            case 18:

            #line 153 "..\..\..\..\View\windows\wd_reportCopyCountSetting.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Btn_countUp_Click);

            #line default
            #line hidden
                return;

            case 19:

            #line 156 "..\..\..\..\View\windows\wd_reportCopyCountSetting.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Btn_countDown_Click);

            #line default
            #line hidden
                return;

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

            #line 162 "..\..\..\..\View\windows\wd_reportCopyCountSetting.xaml"
                this.btn_save.Click += new System.Windows.RoutedEventHandler(this.Btn_save_Click);

            #line default
            #line hidden
                return;
            }
            this._contentLoaded = true;
        }
Example #58
0
 private void Slot_Refresh()
 {
     try
     {
         SlotTemp[] x = new SlotTemp[] { s1, s2, s3, s4, s5, s6, s7, s8, s9, s10, s11, s12, s13, s14, s15, s16, s17, s18, s19, s20, s21, s22, s23, s24, s25,
                                         s26, s27, s28, s29, s30, s31, s32, s33, s34, s35, s36, s37, s38, s39, s40, s41, s42, s43, s44, s45, s46, s47, s48, s49, s50, s51, s52, s53, s54, s55, s56, s57, s58, s59, s60, s61, s62,
                                         s63, s64, s65, s66, s67, s68, s69, s70, s71, s72, s73, s74, s75, s76, s77, s78, s79, s80, s81, s82, s83, s84, s85, s86, s87, s88, s89, s90, s91, s92, s93, s94, s95, s96, s97, s98, s99, s100 };
         List <ObjectModule.Local.Binning> fb = Logic.Common.Slot_Status();
         int i = 0;
         foreach (ObjectModule.Local.Binning a in fb)
         {
             string Slot_NameBegin = string.Empty;
             if (i >= 0 && i <= 34)
             {
                 Slot_NameBegin = "A-";
             }
             else if (i > 34 && i < 65)
             {
                 Slot_NameBegin = "B-";
             }
             else if (i >= 65 && i < 85)
             {
                 Slot_NameBegin = "C-";
             }
             else
             {
                 Slot_NameBegin = "D-";
             }
             x[i].SlotName = Slot_NameBegin + (i + 1).ToString();
             if (a.STATUS != StaticRes.Global.Binning_Status.Empty)
             {
                 System.Windows.Controls.ToolTip tt = new System.Windows.Controls.ToolTip();
                 x[i].Sapcode = a.SAPCODE;
                 x[i].PartID  = a.PART_ID;
                 if (a.EXPIRY_DATETIME < System.DateTime.Now)
                 {
                     x[i].Value = "3";
                 }
                 else if (a.READY_DATETIME <= System.DateTime.Now && System.DateTime.Now < a.EXPIRY_DATETIME)
                 {
                     x[i].Value = "2";
                 }
                 else if (a.READY_DATETIME > System.DateTime.Now)
                 {
                     x[i].Value = "1";
                 }
                 tt.Content = "-----------------------------------------------------------\n" +
                              "Part_ID:   " + a.PART_ID + "\n" +
                              "-----------------------------------------------------------\n" +
                              "Description: " + a.DESCRIPTION + "\n" +
                              "-----------------------------------------------------------\n" +
                              "Batch_No:  " + a.BATCH_NO + "\n" +
                              "-----------------------------------------------------------\n" +
                              "Department(User_ID):  " + a.DEPARTMENT + "(" + a.USER_ID + ")\n" +
                              "-----------------------------------------------------------\n" +
                              "Thawing_DateTime:  " + a.THAWING_DATETIME + "\n" +
                              "-----------------------------------------------------------\n" +
                              "Ready_DateTime:  " + a.READY_DATETIME + "\n" +
                              "-----------------------------------------------------------\n" +
                              "Expiry_DateTime:  " + a.EXPIRY_DATETIME + "\n" +
                              "----------------------------------------------------------- ";
                 ToolTipService.SetToolTip(x[i], tt);
             }
             else
             {
                 x[i].Value   = "0";
                 x[i].ToolTip = "Empty";
             }
             i++;
         }
         dg_list_expiry.ItemsSource = DataProvider.Local.Tracking.Select.Expiry_List().DefaultView;
     }
     catch
     {
     }
 }
Example #59
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:

            #line 9 "..\..\..\View\UC_pos.xaml"
                ((POS.View.UC_pos)(target)).Loaded += new System.Windows.RoutedEventHandler(this.UserControl_Loaded);

            #line default
            #line hidden
                return;

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

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

            #line 53 "..\..\..\View\UC_pos.xaml"
                this.tb_search.TextChanged += new System.Windows.Controls.TextChangedEventHandler(this.Tb_search_TextChanged);

            #line default
            #line hidden
                return;

            case 4:
                this.tt_search = ((System.Windows.Controls.ToolTip)(target));
                return;

            case 5:
                this.tgl_posIsActive = ((System.Windows.Controls.Primitives.ToggleButton)(target));

            #line 75 "..\..\..\View\UC_pos.xaml"
                this.tgl_posIsActive.Checked += new System.Windows.RoutedEventHandler(this.Tgl_posIsActive_Checked);

            #line default
            #line hidden

            #line 76 "..\..\..\View\UC_pos.xaml"
                this.tgl_posIsActive.Unchecked += new System.Windows.RoutedEventHandler(this.Tgl_posIsActive_Unchecked);

            #line default
            #line hidden
                return;

            case 6:
                this.dg_pos = ((System.Windows.Controls.DataGrid)(target));

            #line 94 "..\..\..\View\UC_pos.xaml"
                this.dg_pos.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.DG_pos_SelectionChanged);

            #line default
            #line hidden
                return;

            case 7:
                this.tt_report = ((System.Windows.Controls.ToolTip)(target));
                return;

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

            #line 174 "..\..\..\View\UC_pos.xaml"
                this.btn_exportToExcel.Click += new System.Windows.RoutedEventHandler(this.Btn_exportToExcel_Click);

            #line default
            #line hidden
                return;

            case 9:
                this.tt_excel = ((System.Windows.Controls.ToolTip)(target));
                return;

            case 10:
                this.txt_count = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 11:
                this.tt_count = ((System.Windows.Controls.ToolTip)(target));
                return;

            case 12:
                this.grid_pos = ((System.Windows.Controls.Grid)(target));
                return;

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

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

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

            #line 284 "..\..\..\View\UC_pos.xaml"
                this.btn_clear.Click += new System.Windows.RoutedEventHandler(this.Btn_clear_Click);

            #line default
            #line hidden
                return;

            case 16:
                this.tt_clear = ((System.Windows.Controls.ToolTip)(target));
                return;

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

            #line 311 "..\..\..\View\UC_pos.xaml"
                this.tb_name.TextChanged += new System.Windows.Controls.TextChangedEventHandler(this.Tb_name_TextChanged);

            #line default
            #line hidden

            #line 311 "..\..\..\View\UC_pos.xaml"
                this.tb_name.LostFocus += new System.Windows.RoutedEventHandler(this.Tb_name_LostFocus);

            #line default
            #line hidden
                return;

            case 18:
                this.tt_name = ((System.Windows.Controls.ToolTip)(target));
                return;

            case 19:
                this.p_errorName = ((System.Windows.Shapes.Path)(target));
                return;

            case 20:
                this.tt_errorName = ((System.Windows.Controls.ToolTip)(target));
                return;

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

            #line 341 "..\..\..\View\UC_pos.xaml"
                this.tb_code.TextChanged += new System.Windows.Controls.TextChangedEventHandler(this.Tb_code_TextChanged);

            #line default
            #line hidden

            #line 341 "..\..\..\View\UC_pos.xaml"
                this.tb_code.LostFocus += new System.Windows.RoutedEventHandler(this.Tb_code_LostFocus);

            #line default
            #line hidden
                return;

            case 22:
                this.tt_code = ((System.Windows.Controls.ToolTip)(target));
                return;

            case 23:
                this.p_errorCode = ((System.Windows.Shapes.Path)(target));
                return;

            case 24:
                this.tt_errorCode = ((System.Windows.Controls.ToolTip)(target));
                return;

            case 25:
                this.cb_branch = ((System.Windows.Controls.ComboBox)(target));

            #line 371 "..\..\..\View\UC_pos.xaml"
                this.cb_branch.LostFocus += new System.Windows.RoutedEventHandler(this.Cb_branchId_LostFocus);

            #line default
            #line hidden

            #line 375 "..\..\..\View\UC_pos.xaml"
                this.cb_branch.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.Cb_branchId_SelectionChanged);

            #line default
            #line hidden
                return;

            case 26:
                this.tt_branch = ((System.Windows.Controls.ToolTip)(target));
                return;

            case 27:
                this.p_errorSelectBranch = ((System.Windows.Shapes.Path)(target));
                return;

            case 28:
                this.tt_errorSelectBranch = ((System.Windows.Controls.ToolTip)(target));
                return;

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

            case 30:
                this.tt_notes = ((System.Windows.Controls.ToolTip)(target));
                return;

            case 31:
                this.tt_error_note = ((System.Windows.Controls.ToolTip)(target));
                return;

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

            #line 445 "..\..\..\View\UC_pos.xaml"
                this.btn_add.Click += new System.Windows.RoutedEventHandler(this.Btn_add_Click);

            #line default
            #line hidden
                return;

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

            #line 448 "..\..\..\View\UC_pos.xaml"
                this.btn_update.Click += new System.Windows.RoutedEventHandler(this.Btn_update_Click);

            #line default
            #line hidden
                return;

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

            #line 451 "..\..\..\View\UC_pos.xaml"
                this.btn_delete.Click += new System.Windows.RoutedEventHandler(this.Btn_delete_Click);

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

            #line 7 "..\..\..\..\View\windows\wd_companyInfo.xaml"
                ((POS.View.windows.wd_companyInfo)(target)).KeyDown += new System.Windows.Input.KeyEventHandler(this.HandleKeyPress);

            #line default
            #line hidden

            #line 12 "..\..\..\..\View\windows\wd_companyInfo.xaml"
                ((POS.View.windows.wd_companyInfo)(target)).Loaded += new System.Windows.RoutedEventHandler(this.Window_Loaded);

            #line default
            #line hidden

            #line 12 "..\..\..\..\View\windows\wd_companyInfo.xaml"
                ((POS.View.windows.wd_companyInfo)(target)).MouseDown += new System.Windows.Input.MouseButtonEventHandler(this.Window_MouseDown);

            #line default
            #line hidden
                return;

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

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

            #line 25 "..\..\..\..\View\windows\wd_companyInfo.xaml"
                this.btn_colse.Click += new System.Windows.RoutedEventHandler(this.Btn_colse_Click);

            #line default
            #line hidden
                return;

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

            case 5:
                this.grid_mainGrid = ((System.Windows.Controls.Grid)(target));
                return;

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

            #line 75 "..\..\..\..\View\windows\wd_companyInfo.xaml"
                this.img_customer.Click += new System.Windows.RoutedEventHandler(this.Img_customer_Click);

            #line default
            #line hidden
                return;

            case 7:
                this.IMG_customer = ((System.Windows.Media.ImageBrush)(target));
                return;

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

            #line 89 "..\..\..\..\View\windows\wd_companyInfo.xaml"
                this.tb_name.TextChanged += new System.Windows.Controls.TextChangedEventHandler(this.Tb_validateEmptyTextChange);

            #line default
            #line hidden

            #line 90 "..\..\..\..\View\windows\wd_companyInfo.xaml"
                this.tb_name.LostFocus += new System.Windows.RoutedEventHandler(this.Tb_validateEmptyLostFocus);

            #line default
            #line hidden
                return;

            case 9:
                this.p_errorName = ((System.Windows.Shapes.Path)(target));
                return;

            case 10:
                this.tt_errorName = ((System.Windows.Controls.ToolTip)(target));
                return;

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

            #line 116 "..\..\..\..\View\windows\wd_companyInfo.xaml"
                this.tb_address.TextChanged += new System.Windows.Controls.TextChangedEventHandler(this.Tb_validateEmptyTextChange);

            #line default
            #line hidden

            #line 117 "..\..\..\..\View\windows\wd_companyInfo.xaml"
                this.tb_address.LostFocus += new System.Windows.RoutedEventHandler(this.Tb_validateEmptyLostFocus);

            #line default
            #line hidden
                return;

            case 12:
                this.p_errorAddress = ((System.Windows.Shapes.Path)(target));
                return;

            case 13:
                this.tt_errorAddress = ((System.Windows.Controls.ToolTip)(target));
                return;

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

            #line 143 "..\..\..\..\View\windows\wd_companyInfo.xaml"
                this.tb_email.LostFocus += new System.Windows.RoutedEventHandler(this.Tb_email_LostFocus);

            #line default
            #line hidden

            #line 144 "..\..\..\..\View\windows\wd_companyInfo.xaml"
                this.tb_email.TextChanged += new System.Windows.Controls.TextChangedEventHandler(this.Tb_validateEmptyTextChange);

            #line default
            #line hidden

            #line 145 "..\..\..\..\View\windows\wd_companyInfo.xaml"
                this.tb_email.PreviewKeyDown += new System.Windows.Input.KeyEventHandler(this.tb_email_PreviewKeyDown);

            #line default
            #line hidden
                return;

            case 15:
                this.p_errorEmail = ((System.Windows.Shapes.Path)(target));
                return;

            case 16:
                this.tt_errorEmail = ((System.Windows.Controls.ToolTip)(target));
                return;

            case 17:
                this.cb_areaMobile = ((System.Windows.Controls.ComboBox)(target));
                return;

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

            #line 173 "..\..\..\..\View\windows\wd_companyInfo.xaml"
                this.tb_mobile.PreviewTextInput += new System.Windows.Input.TextCompositionEventHandler(this.NumberValidationTextBox);

            #line default
            #line hidden

            #line 175 "..\..\..\..\View\windows\wd_companyInfo.xaml"
                this.tb_mobile.PreviewKeyDown += new System.Windows.Input.KeyEventHandler(this.tb_mobile_PreviewKeyDown);

            #line default
            #line hidden

            #line 176 "..\..\..\..\View\windows\wd_companyInfo.xaml"
                this.tb_mobile.TextChanged += new System.Windows.Controls.TextChangedEventHandler(this.Tb_validateEmptyTextChange);

            #line default
            #line hidden

            #line 177 "..\..\..\..\View\windows\wd_companyInfo.xaml"
                this.tb_mobile.LostFocus += new System.Windows.RoutedEventHandler(this.Tb_validateEmptyLostFocus);

            #line default
            #line hidden
                return;

            case 19:
                this.p_errorMobile = ((System.Windows.Shapes.Path)(target));
                return;

            case 20:
                this.tt_errorMobile = ((System.Windows.Controls.ToolTip)(target));
                return;

            case 21:
                this.cb_areaPhone = ((System.Windows.Controls.ComboBox)(target));

            #line 202 "..\..\..\..\View\windows\wd_companyInfo.xaml"
                this.cb_areaPhone.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.Cb_areaPhone_SelectionChanged);

            #line default
            #line hidden
                return;

            case 22:
                this.cb_areaPhoneLocal = ((System.Windows.Controls.ComboBox)(target));
                return;

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

            #line 216 "..\..\..\..\View\windows\wd_companyInfo.xaml"
                this.tb_phone.PreviewTextInput += new System.Windows.Input.TextCompositionEventHandler(this.NumberValidationTextBox);

            #line default
            #line hidden

            #line 219 "..\..\..\..\View\windows\wd_companyInfo.xaml"
                this.tb_phone.PreviewKeyDown += new System.Windows.Input.KeyEventHandler(this.tb_phone_PreviewKeyDown);

            #line default
            #line hidden

            #line 220 "..\..\..\..\View\windows\wd_companyInfo.xaml"
                this.tb_phone.TextChanged += new System.Windows.Controls.TextChangedEventHandler(this.Tb_validateEmptyTextChange);

            #line default
            #line hidden

            #line 221 "..\..\..\..\View\windows\wd_companyInfo.xaml"
                this.tb_phone.LostFocus += new System.Windows.RoutedEventHandler(this.Tb_validateEmptyLostFocus);

            #line default
            #line hidden
                return;

            case 24:
                this.p_errorPhone = ((System.Windows.Shapes.Path)(target));
                return;

            case 25:
                this.tt_errorPhone = ((System.Windows.Controls.ToolTip)(target));
                return;

            case 26:
                this.cb_areaFax = ((System.Windows.Controls.ComboBox)(target));

            #line 254 "..\..\..\..\View\windows\wd_companyInfo.xaml"
                this.cb_areaFax.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.Cb_areaFax_SelectionChanged);

            #line default
            #line hidden
                return;

            case 27:
                this.cb_areaFaxLocal = ((System.Windows.Controls.ComboBox)(target));
                return;

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

            #line 269 "..\..\..\..\View\windows\wd_companyInfo.xaml"
                this.tb_fax.PreviewTextInput += new System.Windows.Input.TextCompositionEventHandler(this.NumberValidationTextBox);

            #line default
            #line hidden

            #line 272 "..\..\..\..\View\windows\wd_companyInfo.xaml"
                this.tb_fax.PreviewKeyDown += new System.Windows.Input.KeyEventHandler(this.tb_fax_PreviewKeyDown);

            #line default
            #line hidden

            #line 273 "..\..\..\..\View\windows\wd_companyInfo.xaml"
                this.tb_fax.TextChanged += new System.Windows.Controls.TextChangedEventHandler(this.Tb_validateEmptyTextChange);

            #line default
            #line hidden

            #line 274 "..\..\..\..\View\windows\wd_companyInfo.xaml"
                this.tb_fax.LostFocus += new System.Windows.RoutedEventHandler(this.Tb_validateEmptyLostFocus);

            #line default
            #line hidden
                return;

            case 29:
                this.p_errorFax = ((System.Windows.Shapes.Path)(target));
                return;

            case 30:
                this.tt_errorFax = ((System.Windows.Controls.ToolTip)(target));
                return;

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

            #line 290 "..\..\..\..\View\windows\wd_companyInfo.xaml"
                this.btn_save.Click += new System.Windows.RoutedEventHandler(this.Btn_save_Click);

            #line default
            #line hidden
                return;
            }
            this._contentLoaded = true;
        }