Ejemplo n.º 1
0
		/// <summary>
		/// Initializes a new instance of the <see cref="AutoComplete"/> class.
		/// </summary>
		public AutoComplete( Control value )
		{
			InitializeComponent();

			this.controlUnderAutocomplete = ControlUnderAutoComplete.Create( value );

			this.viewSource = controlUnderAutocomplete.GetViewSource( ( Style )this[ this.controlUnderAutocomplete.StyleKey ] );
			this.viewSource.Filter += OnCollectionViewSourceFilter;

			this.controlUnderAutocomplete.Control.SetValue( Control.StyleProperty, this[ this.controlUnderAutocomplete.StyleKey ] );
			this.controlUnderAutocomplete.Control.ApplyTemplate();

			this.autoCompletePopup = ( Popup )this.controlUnderAutocomplete.Control.Template.FindName( "autoCompletePopup", this.controlUnderAutocomplete.Control );
			this._listBox = ( ListBox )this.controlUnderAutocomplete.Control.Template.FindName( "autoCompleteListBox", this.controlUnderAutocomplete.Control );

			var b = new Binding( "ActualWidth" )
			{
				UpdateSourceTrigger = UpdateSourceTrigger.PropertyChanged,
				Source = this.controlUnderAutocomplete.Control
			};

			this.ListBox.SetBinding( ListBox.MinWidthProperty, b );
			this.ListBox.PreviewMouseDown += OnListBoxPreviewMouseDown;

			this.controlUnderAutocomplete.Control.AddHandler( TextBox.TextChangedEvent, new TextChangedEventHandler( OnTextBoxTextChanged ) );
			this.controlUnderAutocomplete.Control.LostFocus += OnTextBoxLostFocus;
			this.controlUnderAutocomplete.Control.PreviewKeyUp += OnTextBoxPreviewKeyUp;
			this.controlUnderAutocomplete.Control.PreviewKeyDown += OnTextBoxPreviewKeyDown;
		}
        private void ShowConnectionError()
        {
            showError = true;
            popup = new Popup();
            popup.Height = Application.Current.Host.Content.ActualHeight;
            popup.Width = Application.Current.Host.Content.ActualWidth;
            popup.VerticalOffset = 30;
            ErrorDialog dialog = new ErrorDialog();
            dialog.Height = Application.Current.Host.Content.ActualHeight;
            dialog.Width = Application.Current.Host.Content.ActualWidth;
            popup.Child = dialog;
            popup.IsOpen = true;
            dialog.ErrorMessage.Text =
                "Oops! An error ocurred when connecting. " +
                "Make sure the configuration is correct and " +
                "retry again in a couple of seconds.";
            dialog.RetryButton.Click += (s, args) =>
            {
                popup.IsOpen = false;
                showError = false;
                ShowIdentityProviders();
            };

            dialog.CloseButton.Click += (s, args) =>
            {
                popup.IsOpen = false;
                Application.Current.Terminate();
            };
        }
Ejemplo n.º 3
0
		public PopupButton()
		{
			var content = new ContentPresenter();
			content.SetBinding(ContentPresenter.ContentProperty, new Binding("PopupContent") { Source = this });
			var border = new Border()
			{
				CornerRadius = new CornerRadius(5),
				BorderThickness = new Thickness(1),
				Child = content
			};
			border.SetResourceReference(Border.BackgroundProperty, "BaseWindowBackgroundBrush");
			border.SetResourceReference(Border.BorderBrushProperty, "WindowBorderBrush");
			_popup = new Popup()
			{
				AllowsTransparency = true,
				StaysOpen = false,
				Placement = PlacementMode.Bottom,
				PlacementTarget = this,
				DataContext = this,
				Child = border,
			};
			_popup.SetBinding(Popup.IsOpenProperty, "IsChecked");
			_popup.SetBinding(Popup.WidthProperty, "Width");
			SetBinding(PopupButton.IsHitTestVisibleProperty, new Binding("IsOpen") { Source = _popup, Mode = BindingMode.OneWay, Converter = new InverseBooleanConverter() });
		}
Ejemplo n.º 4
0
        /// <summary>
        /// Prompt the user for review
        /// </summary>
        public static void PromptUser()
        {
            Popup popup = new Popup();
            popup.VerticalOffset = App.Current.Host.Content.ActualHeight / 3;
            ReviewPopupControl review = new ReviewPopupControl();
            popup.Child = review;
            popup.IsOpen = true;

            review.btnOk.Click += (s, args) =>
                {
                    MarketplaceReviewTask task = new MarketplaceReviewTask();
                    task.Show();

                    popup.IsOpen = false;
                    DidReview();
                };

            review.btnNo.Click += (s, args) =>
                {
                    numOfRuns = -1;
                    popup.IsOpen = false;
                };

            review.btnNever.Click += (s, args) =>
                {
                    DidReview();
                    popup.IsOpen = false;
                };
        }
Ejemplo n.º 5
0
        // Constructor
        public MainPage()
        {
            InitializeComponent();

            Browser.Width = Application.Current.Host.Content.ActualWidth;

            // Overlay
            this.popup = new Popup();
            LayoutRoot.Children.Add(popup);

            overlay = new site2App.WP8.Overlay();
            this.popup.Child = overlay;

            _webConfig = ((App)Application.Current).WebConfig;

            // Handle orientation changes
            OrientationChanged += MainPage_OrientationChanged;

            PhoneApplicationService.Current.Activated += Current_Activated;
            PhoneApplicationService.Current.Deactivated += Current_Deactivated;
            PhoneApplicationService.Current.Closing += Current_Closing;

            try
            {
                _currentUrl = (Uri)(userSettings["deactivatedUrl"]);
            }
            catch (System.Collections.Generic.KeyNotFoundException)
            {
            }
            catch (Exception exn)
            {
                Debug.WriteLine(exn.ToString());
            }
        }
Ejemplo n.º 6
0
 // Open splash screen control
 private void OpenSplashScreen()
 {
     this.popup = new Popup();
     this.popup.Child = new SplashScreenControl();
     this.popup.IsOpen = true;
     LoadData();
 }
Ejemplo n.º 7
0
 public void Show(PopupPassword popupContent)
 {
     _PopupContent = popupContent;
     _Popup = new Popup();
     _Popup.Child = this;
     _Popup.IsOpen = true;
 }
Ejemplo n.º 8
0
 public Info(TwitchBot inBot, Popup inCurrentPopup)
 {
     Bot = inBot;
     
     CurrentPopup = inCurrentPopup;
     InitializeComponent();
 }
Ejemplo n.º 9
0
 public void ShowLoadingPage()
 {
     this.ApplicationBar.IsVisible = false;
     this.Popup = new Popup();
     this.Popup.Child = new LoadingPage();
     this.Popup.IsOpen = true;
 }
Ejemplo n.º 10
0
      public CustomMarkerRed(MainWindow window, GMapMarker marker, string title)
      {
         this.InitializeComponent();

         this.MainWindow = window;
         this.Marker = marker;

         Popup = new Popup();
         Label = new Label();

         this.Loaded += new RoutedEventHandler(CustomMarkerDemo_Loaded);
         this.SizeChanged += new SizeChangedEventHandler(CustomMarkerDemo_SizeChanged);
         this.MouseEnter += new MouseEventHandler(MarkerControl_MouseEnter);
         this.MouseLeave += new MouseEventHandler(MarkerControl_MouseLeave);
         this.MouseMove += new MouseEventHandler(CustomMarkerDemo_MouseMove);
         this.MouseLeftButtonUp += new MouseButtonEventHandler(CustomMarkerDemo_MouseLeftButtonUp);
         this.MouseLeftButtonDown += new MouseButtonEventHandler(CustomMarkerDemo_MouseLeftButtonDown);

         Popup.Placement = PlacementMode.Mouse;
         {
            Label.Background = Brushes.Blue;
            Label.Foreground = Brushes.White;
            Label.BorderBrush = Brushes.WhiteSmoke;
            Label.BorderThickness = new Thickness(2);
            Label.Padding = new Thickness(5);
            Label.FontSize = 22;
            Label.Content = title;
         }
         Popup.Child = Label;
      }
Ejemplo n.º 11
0
        public void ShowPopupAsync(Action<object> completed, object state)
        {
            _completedCallback = completed;
            _completedState = state;

            if (_currentPopup == null)
            {
                _currentPopup = new Popup();
                InitializeAnimations();
                _currentPopup.HorizontalAlignment = System.Windows.HorizontalAlignment.Stretch;
                _currentPopup.VerticalAlignment = System.Windows.VerticalAlignment.Stretch;
            }

            PhoneApplicationFrame phoneFrame = Application.Current.RootVisual as PhoneApplicationFrame;
            if (phoneFrame != null)
            {
                PhoneApplicationPage page = phoneFrame.Content as PhoneApplicationPage;
                if (page != null)
                {
                    _isAppBarOpen = page.ApplicationBar.IsVisible;
                    page.ApplicationBar.IsVisible = false;
                }
            }

            _currentPopup.Child = this;
            Width = ((FrameworkElement)Application.Current.RootVisual).ActualWidth;
            Height = ((FrameworkElement)Application.Current.RootVisual).ActualHeight;
            _currentPopup.Width = ((FrameworkElement)Application.Current.RootVisual).ActualWidth;
            _currentPopup.Height = ((FrameworkElement)Application.Current.RootVisual).ActualHeight;
            _currentPopup.HorizontalOffset = 0;
            _currentPopup.VerticalOffset = -800;
            _currentPopup.IsOpen = true;

            _slideInStoryboard.Begin();
        }
Ejemplo n.º 12
0
        public SplashScreen()
        {
            LoadConfigPrefs();

            Image SplashScreen = new Image()
            {
                Height = Application.Current.Host.Content.ActualHeight,
                Width = Application.Current.Host.Content.ActualWidth,
                Stretch = Stretch.Fill
            };

            var imageResource = GetSplashScreenImageResource();
            if (imageResource != null)
            {
                BitmapImage splash_image = new BitmapImage();
                splash_image.SetSource(imageResource.Stream);
                SplashScreen.Source = splash_image;
            }

            // Instansiate the popup and set the Child property of Popup to SplashScreen
            popup = new Popup() { IsOpen = false,
                                  Child = SplashScreen,
                                  HorizontalAlignment = HorizontalAlignment.Stretch,
                                  VerticalAlignment = VerticalAlignment.Center

            };
        }
 public void Show(FrameworkElement popupContent)
 {
     _PopupContent = popupContent;
     _Popup = new Popup();
     _Popup.Child = this;
     _Popup.IsOpen = true;
 }
Ejemplo n.º 14
0
        private static void CreateAndDisplayPopup()
        {
            popupControl = new Popup();

            popupContentPanel = new StackPanel()
            {
                Orientation = Orientation.Horizontal,
                VerticalAlignment = VerticalAlignment.Top,
                HorizontalAlignment = HorizontalAlignment.Left,
                Background = new SolidColorBrush(settings.BackgroundColor)
            };

            popupContentPanel.Children.Add(GenerateTextBlockForPopup(Colors.White, "Current: "));
            textblockCurrentMemoryUsage = GenerateTextBlockForPopup(Colors.White, "N/A");
            popupContentPanel.Children.Add(textblockCurrentMemoryUsage);

            popupContentPanel.Children.Add(GenerateTextBlockForPopup(Colors.Yellow, "Peak: "));
            textblockPeakMemoryUsage = GenerateTextBlockForPopup(Colors.Yellow, "N/A");
            popupContentPanel.Children.Add(textblockPeakMemoryUsage);

            popupContentPanel.Children.Add(GenerateTextBlockForPopup(Colors.Orange, "Bat: "));
            textblockBatteryRemainingChargePercent = GenerateTextBlockForPopup(Colors.Orange, "N/A");
            popupContentPanel.Children.Add(textblockBatteryRemainingChargePercent);

            popupControl.Child = popupContentPanel;

            popupControl.IsOpen = true;
        }
Ejemplo n.º 15
0
 static CursorService()
 {
     CursorPopup = new Popup();
     CursorPopup.IsHitTestVisible = false;
     CursorPopup.Cursor = Cursors.None;
     Canvas.SetZIndex(CursorPopup, 1000000);
 }
Ejemplo n.º 16
0
 void OnContinuumBackwardOutStoryboardCompleted(object sender, EventArgs e)
 {
     Storyboard.Completed -= new EventHandler(OnContinuumBackwardOutStoryboardCompleted);
     _popup.IsOpen = false;
     _popup.Child = null;
     _popup = null;
 }
        private void BuildPopup()
        {
            _groupSelectorPopup = new Popup();
            _border = new Border() { Background = new SolidColorBrush(Color.FromArgb(0xa0, 0, 0, 0)) };
            GestureListener listener = GestureService.GetGestureListener(_border);
            listener.GestureBegin += HandleGesture;
            listener.GestureCompleted += HandleGesture;
            listener.DoubleTap += HandleGesture;
            listener.DragCompleted += HandleGesture;
            listener.DragDelta += HandleGesture;
            listener.DragStarted += HandleGesture;
            listener.Flick += HandleGesture;
            listener.Hold += HandleGesture;
            listener.PinchCompleted += HandleGesture;
            listener.PinchDelta += HandleGesture;
            listener.PinchStarted += HandleGesture;
            listener.Tap += HandleGesture;

            _itemsControl = new LongListSelectorItemsControl();
            _itemsControl.ItemTemplate = GroupItemTemplate;
            _itemsControl.ItemsPanel = GroupItemsPanel;
            _itemsControl.ItemsSource = ItemsSource;

            _itemsControl.GroupSelected += itemsControl_GroupSelected;

            _groupSelectorPopup.Child = _border;
            ScrollViewer sv = new ScrollViewer() { HorizontalScrollBarVisibility = ScrollBarVisibility.Disabled };

            _border.Child = sv;
            sv.Content = _itemsControl;

            SetItemsControlSize();
        }
        private void showPopup2_Click(object sender, RoutedEventArgs e)
        {
            if (p.IsOpen == true)
                return;
            Border border = new Border();
            border.BorderBrush = new SolidColorBrush(Colors.White);
            border.BorderThickness = new Thickness(2.0);

            StackPanel panel1 = new StackPanel();

            Button button1 = new Button();
            button1.Content = "Close";
            button1.Margin = new Thickness(5.0);
            button1.Click += new RoutedEventHandler(button1_Click);
            TextBlock textblock1 = new TextBlock();
            textblock1.Text = "Premi il pulsante Close";
            textblock1.Margin = new Thickness(5.0);
            panel1.Children.Add(textblock1);
            panel1.Children.Add(button1);
            border.Child = panel1;

            p = new Popup();
            // Imposta la proprietà Child con il border che è il contenitore principale che contiene a sua volta uno stackpanel, un textblock ed un button.
            p.Child = border;
            //imposta la posizione del popup
            p.VerticalOffset = 100;
            p.HorizontalOffset = 50;

            // apre il popup
            p.IsOpen = true;
        }
Ejemplo n.º 19
0
        public static Task<bool> ValidateSecurityTokenAsync(this PhoneApplicationFrame rootFrame, RequestSecurityTokenResponseStore tokenStore, string realm, string serviceNamespace, string acsHostUrl)
        {
            //if (!tokenStore.ContainsValidRequestSecurityTokenResponse())
            //{
            AccessControlServiceSignIn.RequestSecurityTokenResponseCompleted += AccessControlServiceSignIn_RequestSecurityTokenResponseCompleted;

            var signInPage = new SignInPage(tokenStore.IsTokenExpired,realm,serviceNamespace,acsHostUrl);
            var acsPopup = new Popup() { IsOpen = true, Child = signInPage };

            Task<bool> task = Task<bool>.Factory.StartNew(() =>
            {
                authenticateFinishedEvent.WaitOne();
                rootFrame.Dispatcher.BeginInvoke(() =>
                {
                    acsPopup.IsOpen = false;
                    signInPage = null;
                    acsPopup = null;
                }
                );
                return tokenStore.ContainsValidRequestSecurityTokenResponse();
            });

            return task;
            //}
            //return Task<bool>.Factory.StartNew(() => { return true; }); ;
        }
 /// <summary>
 /// Shows the popup splash screen until authentication processes completes 
 /// with facebook
 /// </summary>
 
 private void ShowPopup()
 {
     this.popup = new Popup();
     this.popup.Child = new Splash();
     this.popup.IsOpen = true;
     StartLoadingData();
 }
        /// <summary>
        /// Closes the group popup.
        /// </summary>
        /// <param name="selectedGroup">The selected group.</param>
        /// <param name="raiseEvent">Should the GroupPopupClosing event be raised.</param>
        /// <returns>True if the event was not raised or if it was raised and e.Handled is false.</returns>
        private bool ClosePopup(object selectedGroup, bool raiseEvent)
        {
            if (raiseEvent)
            {
                GroupViewClosingEventArgs args = null;

                SafeRaise.Raise(GroupViewClosing, this, () => { return args = new GroupViewClosingEventArgs(_itemsControl, selectedGroup); });

                if (args != null && args.Cancel)
                {
                    return false;
                }
            }

            if (_groupSelectorPopup != null)
            {
                RestoreSystemState();
                _groupSelectorPopup.IsOpen = false;
                DetachFromPageEvents();
                _groupSelectorPopup.Child = null;
                _border = null;
                _itemsControl = null;
                _groupSelectorPopup = null;
            }

            return true;
        }
Ejemplo n.º 22
0
 public ItemFlyInAndOutAnimations()
 {
     // construct a popup, with a Canvas as its child
       _popup = new Popup();
       _popupCanvas = new Canvas();
       _popup.Child = _popupCanvas;
 }
Ejemplo n.º 23
0
 /// <summary>
 /// Initializes a new instance of <see cref="PopupWrapper"/>.
 /// </summary>
 public PopupWrapper()
 {
     this.container = new ContentControl();
     
     this.popUp = new Popup();
     this.popUp.Child = this.container;
 }
Ejemplo n.º 24
0
        private void btnPrint_Click(object sender, RoutedEventArgs e)
        {
            //MessageBox.Show("Chart has been sent for printing...");
            popup = new Popup() { Name = "Popup" };
            border = new Border() { Name = "Border" };
            panel1 = new StackPanel() { Name = "Panel" };
            textblock1 = new TextBlock() { Name = "Textblock" };

            border.BorderBrush = new SolidColorBrush(Colors.DarkGray);
            border.BorderThickness = new Thickness(3.0);

            panel1.Background = new SolidColorBrush(Colors.LightGray);
            textblock1.Text = "Chart has been sent for printing...";
            textblock1.Margin = new Thickness(30.0);
            panel1.Children.Add(textblock1);
            Button button = new Button(){ Content = "OK", Width = 30, Height = 20, Margin = new Thickness(5.0)};
            button.Click +=new RoutedEventHandler(button_Click);
            panel1.Children.Add(button);

            border.Child = panel1;
            popup.Child = border;
            popup.HorizontalOffset = 613;
            popup.VerticalOffset = 375;
            popup.IsOpen = true;
        }
Ejemplo n.º 25
0
        public Popup CreatePopup()
        {
            var popup = new Popup
            {
                MinWidth = _textBox.ActualWidth + 25,
                MaxHeight = 100,
                PlacementTarget = _textBox,
                Placement = PlacementMode.Bottom,
                VerticalOffset = 2,
                IsOpen = true,
                StaysOpen = false,
            };

            popup.Closed += PopupOnClosed;

            var popupSource = CreatePopupSource();
            popupSource.PreviewKeyDown += popupSource_PreviewKeyDown;
            popupSource.MouseUp += PopupSourceOnMouseUp;

            popup.Child = popupSource;
            SelectItem(popupSource);
            popupSource.Focus();
            
            return popup;
        }
Ejemplo n.º 26
0
        public override void OnApplyTemplate()
        {
            base.OnApplyTemplate();

            rootElement = GetTemplateChild("Root") as FrameworkElement;

            buttonDropDown = GetTemplateChild("DropDownButton") as Button;
            popupDropDown = GetTemplateChild("Popup") as Popup;

            rectangleColor = (Rectangle)GetTemplateChild("RectangleColor");
            textBoxColor = (TextBox)GetTemplateChild("TextBoxColor");

            if (buttonDropDown != null)
            {
                buttonDropDown.Click += new RoutedEventHandler(buttonDropDown_Click);
            }
            if (popupDropDown != null)
            {
                if (canvasOutside == null)
                {
                    canvasOutsidePopup = new Grid();
                    canvasOutsidePopup.Background = new SolidColorBrush(Colors.Transparent);
                    canvasOutsidePopup.MouseLeftButtonDown += new MouseButtonEventHandler(canvasOutsidePopup_MouseLeftButtonDown);

                    canvasOutside = new Grid();
                    canvasOutside.Children.Add(canvasOutsidePopup);
                    canvasOutside.Children.Add(colorBoard);
                }
                popupDropDown.Child = canvasOutside;
            }

            UpdateControls();
        }
Ejemplo n.º 27
0
		public void EventTest ()
		{
			TestPage.Width = 1000;
			TestPanel.Height = 1000;
			TestPanel.Background = new SolidColorBrush (Colors.Green);
			List<string> list = new List<string> ();
			Canvas c = new Canvas ();
			Rectangle r = new Rectangle { Width = 100, Height = 100, Fill = new SolidColorBrush (Colors.Blue) };
			c.Children.Add (r);
			Popup p = new Popup { Child = c };

			TestPage.MouseLeftButtonDown += delegate { list.Add ("PageDown"); };
			TestPage.MouseLeftButtonUp += delegate { list.Add ("PageUp"); };

			TestPanel.MouseLeftButtonDown += delegate { list.Add ("PanelDown"); };
			TestPanel.MouseLeftButtonUp += delegate { list.Add ("PanelUp"); };

			p.MouseLeftButtonDown += delegate { list.Add ("PopupDown"); };
			p.MouseLeftButtonUp += delegate { list.Add ("PopupUp"); };

			c.MouseLeftButtonDown += delegate { list.Add ("CanvasDown"); };
			c.MouseLeftButtonUp += delegate { list.Add ("CanvasUp"); };

			r.MouseLeftButtonDown += delegate { list.Add ("RectDown"); };
			r.MouseLeftButtonUp += delegate { list.Add ("RectUp"); };

			p.IsOpen = true;
			Enqueue (() => {
				// Fake a click - Only the canvas and rectangle see it
			});
		}
Ejemplo n.º 28
0
 public static void ShowTutorialHint()
 {
     if (Properties.Settings.Default.showtutorial)
     {
         Properties.Settings.Default.showtutorial = false;
         Properties.Settings.Default.Save();
         MiscTools.FlashControl(Main.btnTutorial, Colors.Yellow, Main);
         var tutHint = new Popup
         {
             VerticalOffset = -3,
             PlacementTarget = Main.btnTutorial,
             Placement = PlacementMode.Top,
             IsOpen = true
         };
         var brd = new Border
         {
             BorderBrush =
                 new LinearGradientBrush(Colors.LightSlateGray, Colors.Black, .45),
             BorderThickness = new Thickness(1),
             Background =
                 new LinearGradientBrush(Colors.LightYellow, Colors.PaleGoldenrod, .25),
             Child = new TextBlock
             {
                 Margin = new Thickness(4),
                 FontSize = 12,
                 Text = "Click to start a short tutorial on how to use Elinor"
             }
         };
         tutHint.Child = brd;
         tutHint.MouseDown += delegate { tutHint.IsOpen = false; };
     }
 }
Ejemplo n.º 29
0
Archivo: Dialog.cs Proyecto: JuRogn/OA
        private void EnsurePopup()
        {
            if (_popup != null)
                return;

            _popup = new Popup();
            _grid = new Grid();

            _popup.Child = _grid;

            _canvas = new Canvas();

            _canvas.MouseLeftButtonDown += (sender, args) => { OnClickOutside(); };
            _canvas.MouseRightButtonDown += (sender, args) => { args.Handled = true; OnClickOutside(); };

            _canvas.Background = new SolidColorBrush(Colors.Transparent);

            _grid.Children.Add(_canvas);

            _content = GetContent();

            _content.HorizontalAlignment = HorizontalAlignment.Left;
            _content.VerticalAlignment = VerticalAlignment.Top;
            _content.Margin = new Thickness(_location.X, _location.Y, 0, 0);


            _grid.Children.Add(_content);

            UpdateSize();
        }
Ejemplo n.º 30
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:

            #line 6 "..\..\..\..\Views\AssemblyMasterWindow.xaml"
                ((MasterSchedule.Views.AssemblyMasterWindow)(target)).Loaded += new System.Windows.RoutedEventHandler(this.Window_Loaded);

            #line default
            #line hidden

            #line 6 "..\..\..\..\Views\AssemblyMasterWindow.xaml"
                ((MasterSchedule.Views.AssemblyMasterWindow)(target)).Closing += new System.ComponentModel.CancelEventHandler(this.Window_Closing);

            #line default
            #line hidden

            #line 6 "..\..\..\..\Views\AssemblyMasterWindow.xaml"
                ((MasterSchedule.Views.AssemblyMasterWindow)(target)).Activated += new System.EventHandler(this.Window_Activated);

            #line default
            #line hidden

            #line 6 "..\..\..\..\Views\AssemblyMasterWindow.xaml"
                ((MasterSchedule.Views.AssemblyMasterWindow)(target)).Deactivated += new System.EventHandler(this.Window_Deactivated);

            #line default
            #line hidden
                return;

            case 2:

            #line 11 "..\..\..\..\Views\AssemblyMasterWindow.xaml"
                ((System.Windows.Input.CommandBinding)(target)).Executed += new System.Windows.Input.ExecutedRoutedEventHandler(this.SaveCommandBinding_Executed);

            #line default
            #line hidden
                return;

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

            #line 22 "..\..\..\..\Views\AssemblyMasterWindow.xaml"
                this.btnSave.Click += new System.Windows.RoutedEventHandler(this.btnSave_Click);

            #line default
            #line hidden
                return;

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

            case 5:
                this.popup = ((System.Windows.Controls.Primitives.Popup)(target));
                return;

            case 6:
                this.listView = ((System.Windows.Controls.ListView)(target));
                return;

            case 7:
                this.dgSewingMaster = ((MasterSchedule.Customs.CustomDataGrid)(target));
                return;

            case 8:
                this.ctmTranfer = ((System.Windows.Controls.ContextMenu)(target));
                return;

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

            #line 65 "..\..\..\..\Views\AssemblyMasterWindow.xaml"
                this.miTranfer.Click += new System.Windows.RoutedEventHandler(this.miTranfer_Click);

            #line default
            #line hidden
                return;

            case 10:
                this.colCountry = ((System.Windows.Controls.DataGridTextColumn)(target));
                return;

            case 11:
                this.colStyle = ((System.Windows.Controls.DataGridTextColumn)(target));
                return;

            case 12:
                this.colETD = ((System.Windows.Controls.DataGridTextColumn)(target));
                return;

            case 13:
                this.colAssemblyLine = ((System.Windows.Controls.DataGridTextColumn)(target));
                return;

            case 14:
                this.colAssemblyQuota = ((System.Windows.Controls.DataGridTextColumn)(target));
                return;

            case 15:
                this.colAssemblyActualStartDate = ((System.Windows.Controls.DataGridTextColumn)(target));
                return;

            case 16:
                this.colAssemblyActualFinishDate = ((System.Windows.Controls.DataGridTextColumn)(target));
                return;

            case 17:
                this.colAssemblyBalance = ((System.Windows.Controls.DataGridTextColumn)(target));
                return;

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

            #line 150 "..\..\..\..\Views\AssemblyMasterWindow.xaml"
                this.btnCaculate.Click += new System.Windows.RoutedEventHandler(this.btnCaculate_Click);

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

            #line 5 "..\..\..\..\Views\UpdateOutsoleReleaseMaterialWindow.xaml"
                ((MasterSchedule.Views.UpdateOutsoleReleaseMaterialWindow)(target)).Loaded += new System.Windows.RoutedEventHandler(this.Window_Loaded);

            #line default
            #line hidden
                return;

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

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

            case 4:
                this.svMain = ((System.Windows.Controls.ScrollViewer)(target));
                return;

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

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

            #line 29 "..\..\..\..\Views\UpdateOutsoleReleaseMaterialWindow.xaml"
                this.btnAddMore.Click += new System.Windows.RoutedEventHandler(this.btnAddMore_Click);

            #line default
            #line hidden
                return;

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

            #line 30 "..\..\..\..\Views\UpdateOutsoleReleaseMaterialWindow.xaml"
                this.btnExport.Click += new System.Windows.RoutedEventHandler(this.btnExport_Click);

            #line default
            #line hidden
                return;

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

            #line 31 "..\..\..\..\Views\UpdateOutsoleReleaseMaterialWindow.xaml"
                this.btnRelease.Click += new System.Windows.RoutedEventHandler(this.btnRelease_Click);

            #line default
            #line hidden
                return;

            case 9:
                this.popupAddMore = ((System.Windows.Controls.Primitives.Popup)(target));
                return;

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

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

            #line 46 "..\..\..\..\Views\UpdateOutsoleReleaseMaterialWindow.xaml"
                this.btnAddMoreOk.Click += new System.Windows.RoutedEventHandler(this.btnAddMoreOk_Click);

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

            #line 53 "..\..\setting_cat.xaml"
                ((System.Windows.Controls.Grid)(target)).MouseDown += new System.Windows.Input.MouseButtonEventHandler(this.movefocus2visual);

            #line default
            #line hidden
                return;

            case 2:

            #line 65 "..\..\setting_cat.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Button_standard_mode_Click);

            #line default
            #line hidden
                return;

            case 3:

            #line 82 "..\..\setting_cat.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Button_keyboard_mode_Click);

            #line default
            #line hidden
                return;

            case 4:
                this.Setting_Cat_Frame = ((System.Windows.Controls.Frame)(target));
                return;

            case 5:
                this.line = ((System.Windows.Shapes.Line)(target));
                return;

            case 6:

            #line 139 "..\..\setting_cat.xaml"
                ((System.Windows.Controls.Primitives.ToggleButton)(target)).Click += new System.Windows.RoutedEventHandler(this.send_change_message);

            #line default
            #line hidden
                return;

            case 7:

            #line 146 "..\..\setting_cat.xaml"
                ((System.Windows.Controls.Primitives.ToggleButton)(target)).Click += new System.Windows.RoutedEventHandler(this.send_change_message);

            #line default
            #line hidden
                return;

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

            #line 160 "..\..\setting_cat.xaml"
                this.textbox_fps.LostFocus += new System.Windows.RoutedEventHandler(this.fps_null2zero);

            #line default
            #line hidden

            #line 160 "..\..\setting_cat.xaml"
                this.textbox_fps.PreviewTextInput += new System.Windows.Input.TextCompositionEventHandler(this.tb_PreviewTextInput);

            #line default
            #line hidden

            #line 160 "..\..\setting_cat.xaml"
                this.textbox_fps.TextChanged += new System.Windows.Controls.TextChangedEventHandler(this.TextBox_fps_Num_limite);

            #line default
            #line hidden

            #line 160 "..\..\setting_cat.xaml"
                this.textbox_fps.PreviewKeyDown += new System.Windows.Input.KeyEventHandler(this.fps_return);

            #line default
            #line hidden
                return;

            case 9:

            #line 167 "..\..\setting_cat.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Button_Click_background_color);

            #line default
            #line hidden
                return;

            case 10:

            #line 184 "..\..\setting_cat.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.open_resources_files);

            #line default
            #line hidden
                return;

            case 11:

            #line 196 "..\..\setting_cat.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.open_config_json);

            #line default
            #line hidden
                return;

            case 12:
                this.pop_colorpicker = ((System.Windows.Controls.Primitives.Popup)(target));

            #line 207 "..\..\setting_cat.xaml"
                this.pop_colorpicker.Closed += new System.EventHandler(this.popyoclose);

            #line default
            #line hidden

            #line 207 "..\..\setting_cat.xaml"
                this.pop_colorpicker.Opened += new System.EventHandler(this.popupopen);

            #line default
            #line hidden
                return;

            case 13:
                this.colorPicker = ((MaterialDesignThemes.Wpf.ColorPicker)(target));
                return;

            case 14:
                this.sliderR = ((System.Windows.Controls.Slider)(target));
                return;

            case 15:
                this.sliderG = ((System.Windows.Controls.Slider)(target));
                return;

            case 16:
                this.sliderB = ((System.Windows.Controls.Slider)(target));
                return;

            case 17:

            #line 221 "..\..\setting_cat.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.button_bgcolor_white);

            #line default
            #line hidden
                return;

            case 18:

            #line 222 "..\..\setting_cat.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.button_bgcolor_blue);

            #line default
            #line hidden
                return;

            case 19:

            #line 223 "..\..\setting_cat.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.button_bgcolor_green);

            #line default
            #line hidden
                return;

            case 20:

            #line 224 "..\..\setting_cat.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.button_bgcolor_red);

            #line default
            #line hidden
                return;

            case 21:

            #line 225 "..\..\setting_cat.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.button_bgcolor_magenta);

            #line default
            #line hidden
                return;

            case 22:

            #line 226 "..\..\setting_cat.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.button_saveBgColor);

            #line default
            #line hidden
                return;

            case 23:
                this.movefocus = ((System.Windows.Controls.Button)(target));
                return;
            }
            this._contentLoaded = true;
        }
Ejemplo n.º 33
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.layoutRoot = ((System.Windows.Controls.Grid)(target));

            #line 69 "..\..\KinectSensorChooserUI.xaml"
                this.layoutRoot.MouseEnter += new System.Windows.Input.MouseEventHandler(this.OnRootGridMouseEnter);

            #line default
            #line hidden

            #line 69 "..\..\KinectSensorChooserUI.xaml"
                this.layoutRoot.GotKeyboardFocus += new System.Windows.Input.KeyboardFocusChangedEventHandler(this.OnRootGridGotKeyboardFocus);

            #line default
            #line hidden
                return;

            case 2:
                this.SensorStatusStates = ((System.Windows.VisualStateGroup)(target));
                return;

            case 3:
                this.Stopped = ((System.Windows.VisualState)(target));
                return;

            case 4:
                this.Initializing = ((System.Windows.VisualState)(target));
                return;

            case 5:
                this.AllSetListening = ((System.Windows.VisualState)(target));
                return;

            case 6:
                this.NoAvailableSensors = ((System.Windows.VisualState)(target));
                return;

            case 7:
                this.Error = ((System.Windows.VisualState)(target));
                return;

            case 8:
                this.AllSetNotListening = ((System.Windows.VisualState)(target));
                return;

            case 9:
                this.initializingContent = ((System.Windows.Controls.Grid)(target));
                return;

            case 10:
                this.allSetNotListeningContent = ((System.Windows.Controls.Grid)(target));
                return;

            case 11:
                this.allSetListeningContent = ((System.Windows.Controls.Grid)(target));
                return;

            case 12:
                this.noAvailableSensorsContent = ((System.Windows.Controls.Grid)(target));
                return;

            case 13:
                this.errorContent = ((System.Windows.Controls.Grid)(target));
                return;

            case 14:
                this.expandedPopup = ((System.Windows.Controls.Primitives.Popup)(target));

            #line 349 "..\..\KinectSensorChooserUI.xaml"
                this.expandedPopup.Opened += new System.EventHandler(this.ExpandedPopupOnOpened);

            #line default
            #line hidden

            #line 349 "..\..\KinectSensorChooserUI.xaml"
                this.expandedPopup.MouseLeave += new System.Windows.Input.MouseEventHandler(this.OnExpandedPopupMouseLeave);

            #line default
            #line hidden
                return;

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

            #line 350 "..\..\KinectSensorChooserUI.xaml"
                this.popupGrid.GotKeyboardFocus += new System.Windows.Input.KeyboardFocusChangedEventHandler(this.OnPopupGridGotKeyboardFocus);

            #line default
            #line hidden
                return;

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

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

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

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

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

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

            case 22:
                this.TellMeMoreLink = ((System.Windows.Documents.Hyperlink)(target));

            #line 422 "..\..\KinectSensorChooserUI.xaml"
                this.TellMeMoreLink.RequestNavigate += new System.Windows.Navigation.RequestNavigateEventHandler(this.TellMeMoreLinkRequestNavigate);

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

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

            #line default
            #line hidden
                return;

            case 2:
                this.mainMenu = ((System.Windows.Controls.Menu)(target));
                return;

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

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

            #line default
            #line hidden
                return;

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

            #line 23 "..\..\MainWindow.xaml"
                this.order.Click += new System.Windows.RoutedEventHandler(this.MenuItem_Click);

            #line default
            #line hidden
                return;

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

            #line 24 "..\..\MainWindow.xaml"
                this.contacts.Click += new System.Windows.RoutedEventHandler(this.MenuItem_Click);

            #line default
            #line hidden
                return;

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

            #line 25 "..\..\MainWindow.xaml"
                this.query.Click += new System.Windows.RoutedEventHandler(this.MenuItem_Click);

            #line default
            #line hidden
                return;

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

            #line 26 "..\..\MainWindow.xaml"
                this.subway.Click += new System.Windows.RoutedEventHandler(this.MenuItem_Click);

            #line default
            #line hidden
                return;

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

            #line 27 "..\..\MainWindow.xaml"
                this.setting.Click += new System.Windows.RoutedEventHandler(this.MenuItem_Click);

            #line default
            #line hidden
                return;

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

            #line 28 "..\..\MainWindow.xaml"
                this.latest.Click += new System.Windows.RoutedEventHandler(this.MenuItem_Click);

            #line default
            #line hidden
                return;

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

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

            #line default
            #line hidden
                return;

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

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

            #line default
            #line hidden
                return;

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

            #line 31 "..\..\MainWindow.xaml"
                this.exit.Click += new System.Windows.RoutedEventHandler(this.MenuItem_Click);

            #line default
            #line hidden
                return;

            case 13:
                this.groupBox = ((System.Windows.Controls.GroupBox)(target));
                return;

            case 14:
                this.mainFrame = ((System.Windows.Controls.Frame)(target));
                return;

            case 15:
                this.ImageWlan = ((System.Windows.Controls.Image)(target));

            #line 38 "..\..\MainWindow.xaml"
                this.ImageWlan.MouseEnter += new System.Windows.Input.MouseEventHandler(this.ImageWlan_OnMouseEnter);

            #line default
            #line hidden
                return;

            case 16:
                this.popWlan = ((System.Windows.Controls.Primitives.Popup)(target));
                return;

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

            case 18:
                this.StackPanelUser = ((System.Windows.Controls.StackPanel)(target));
                return;

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

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

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

            case 22:
                this.textBlockCurrentTime = ((System.Windows.Controls.TextBlock)(target));
                return;
            }
            this._contentLoaded = true;
        }
Ejemplo n.º 35
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:

            #line 10 "..\..\TipsTricksPage.xaml"
                ((SDAdmin2Tips.Domain.WPF.TipsTricksPage)(target)).Loaded += new System.Windows.RoutedEventHandler(this.Page_Loaded);

            #line default
            #line hidden
                return;

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

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

            #line 42 "..\..\TipsTricksPage.xaml"
                this.BtnNieuweTip.Click += new System.Windows.RoutedEventHandler(this.BtnNieuweTip_OnClick);

            #line default
            #line hidden
                return;

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

            #line 43 "..\..\TipsTricksPage.xaml"
                this.BtnWijzigTip.Click += new System.Windows.RoutedEventHandler(this.BtnWijzigTip_OnClick);

            #line default
            #line hidden
                return;

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

            #line 44 "..\..\TipsTricksPage.xaml"
                this.BtnVerwijderTip.Click += new System.Windows.RoutedEventHandler(this.BtnVerwijderTip_Click);

            #line default
            #line hidden
                return;

            case 6:
                this.PopupDoubleClick = ((System.Windows.Controls.Primitives.Popup)(target));

            #line 47 "..\..\TipsTricksPage.xaml"
                this.PopupDoubleClick.MouseLeftButtonDown += new System.Windows.Input.MouseButtonEventHandler(this.Popup_OnMouseLeftButtonDown);

            #line default
            #line hidden
                return;

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

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

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

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

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

            #line 65 "..\..\TipsTricksPage.xaml"
                this.BtnSlaWijzigingOp.Click += new System.Windows.RoutedEventHandler(this.BtnSlaWijzigingOp_OnClick);

            #line default
            #line hidden
                return;

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

            #line 66 "..\..\TipsTricksPage.xaml"
                this.BtnAnnuleerWijzigTip.Click += new System.Windows.RoutedEventHandler(this.BtnAnnuleerWijzigTip_OnClick);

            #line default
            #line hidden
                return;

            case 13:
                this.Popup = ((System.Windows.Controls.Primitives.Popup)(target));

            #line 71 "..\..\TipsTricksPage.xaml"
                this.Popup.MouseLeftButtonDown += new System.Windows.Input.MouseButtonEventHandler(this.Popup_OnMouseLeftButtonDown);

            #line default
            #line hidden
                return;

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

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

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

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

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

            #line 89 "..\..\TipsTricksPage.xaml"
                this.BtnVoegTipToe.Click += new System.Windows.RoutedEventHandler(this.BtnVoegTipToe_OnClick);

            #line default
            #line hidden
                return;

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

            #line 90 "..\..\TipsTricksPage.xaml"
                this.BtnAnnuleerNieuweTip.Click += new System.Windows.RoutedEventHandler(this.BtnAnnuleerNieuweTip_OnClick);

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

            #line 6 "..\..\..\..\Views\CutprepMasterFilterWindow.xaml"
                ((MasterSchedule.Views.CutprepMasterFilterWindow)(target)).Loaded += new System.Windows.RoutedEventHandler(this.Window_Loaded);

            #line default
            #line hidden
                return;

            case 2:
                this.popupLine = ((System.Windows.Controls.Primitives.Popup)(target));
                return;

            case 3:
                this.lvLine = ((System.Windows.Controls.ListView)(target));
                return;

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

            #line 30 "..\..\..\..\Views\CutprepMasterFilterWindow.xaml"
                this.btnOK.Click += new System.Windows.RoutedEventHandler(this.btnOK_Click);

            #line default
            #line hidden
                return;

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

            #line 31 "..\..\..\..\Views\CutprepMasterFilterWindow.xaml"
                this.btnCancel.Click += new System.Windows.RoutedEventHandler(this.btnCancel_Click);

            #line default
            #line hidden
                return;

            case 7:
                this.popupETD = ((System.Windows.Controls.Primitives.Popup)(target));
                return;

            case 8:
                this.lvETD = ((System.Windows.Controls.ListView)(target));
                return;

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

            #line 55 "..\..\..\..\Views\CutprepMasterFilterWindow.xaml"
                this.btnETDOK.Click += new System.Windows.RoutedEventHandler(this.btnETDOK_Click);

            #line default
            #line hidden
                return;

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

            #line 56 "..\..\..\..\Views\CutprepMasterFilterWindow.xaml"
                this.btnETDCancel.Click += new System.Windows.RoutedEventHandler(this.btnETDCancel_Click);

            #line default
            #line hidden
                return;

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

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

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

            #line 78 "..\..\..\..\Views\CutprepMasterFilterWindow.xaml"
                this.btnLine.Click += new System.Windows.RoutedEventHandler(this.btnLine_Click);

            #line default
            #line hidden
                return;

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

            #line 79 "..\..\..\..\Views\CutprepMasterFilterWindow.xaml"
                this.btnETD.Click += new System.Windows.RoutedEventHandler(this.btnETD_Click);

            #line default
            #line hidden
                return;

            case 16:
                this.btnFilter = ((System.Windows.Controls.Button)(target));

            #line 80 "..\..\..\..\Views\CutprepMasterFilterWindow.xaml"
                this.btnFilter.Click += new System.Windows.RoutedEventHandler(this.btnFilter_Click);

            #line default
            #line hidden
                return;

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

            #line 81 "..\..\..\..\Views\CutprepMasterFilterWindow.xaml"
                this.btnReport.Click += new System.Windows.RoutedEventHandler(this.btnReport_Click);

            #line default
            #line hidden
                return;

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

            case 19:
                this.miRemove = ((System.Windows.Controls.MenuItem)(target));

            #line 90 "..\..\..\..\Views\CutprepMasterFilterWindow.xaml"
                this.miRemove.Click += new System.Windows.RoutedEventHandler(this.miRemove_Click);

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

            case 2:
                this.PopupStatus = ((System.Windows.Controls.Primitives.Popup)(target));
                return;

            case 3:
                this.DropShadowEffect = ((System.Windows.Media.Effects.DropShadowEffect)(target));
                return;

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

            #line 66 "..\..\..\..\control_items\your_order_content_presenters\EditTechnicalTaskContent.xaml"
                this.ButtonStatusExecute.Click += new System.Windows.RoutedEventHandler(this.ButtonStatusChange_Click);

            #line default
            #line hidden
                return;

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

            #line 78 "..\..\..\..\control_items\your_order_content_presenters\EditTechnicalTaskContent.xaml"
                this.ButtonStatusCancel.Click += new System.Windows.RoutedEventHandler(this.ButtonStatusChange_Click);

            #line default
            #line hidden
                return;

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

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

            #line 148 "..\..\..\..\control_items\your_order_content_presenters\EditTechnicalTaskContent.xaml"
                this.DemandList.MouseLeftButtonUp += new System.Windows.Input.MouseButtonEventHandler(this.ListBox_MouseLeftButtonUp);

            #line default
            #line hidden

            #line 148 "..\..\..\..\control_items\your_order_content_presenters\EditTechnicalTaskContent.xaml"
                this.DemandList.MouseDoubleClick += new System.Windows.Input.MouseButtonEventHandler(this.ListBox_MouseDoubleClick);

            #line default
            #line hidden
                return;

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

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

            #line 156 "..\..\..\..\control_items\your_order_content_presenters\EditTechnicalTaskContent.xaml"
                this.ButtonAddDemand.Click += new System.Windows.RoutedEventHandler(this.ButtonAddDemand_Click);

            #line default
            #line hidden
                return;

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

            #line 159 "..\..\..\..\control_items\your_order_content_presenters\EditTechnicalTaskContent.xaml"
                this.ButtonSave.Click += new System.Windows.RoutedEventHandler(this.ButtonSave_Click);

            #line default
            #line hidden
                return;

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

            #line 161 "..\..\..\..\control_items\your_order_content_presenters\EditTechnicalTaskContent.xaml"
                this.ButtonDelete.Click += new System.Windows.RoutedEventHandler(this.ButtonDelete_Click);

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

            #line 106 "..\..\..\..\View\Operations\Block_Room.xaml"
                this.txtroomno.LostFocus += new System.Windows.RoutedEventHandler(this.txtroomno_LostFocus);

            #line default
            #line hidden

            #line 106 "..\..\..\..\View\Operations\Block_Room.xaml"
                this.txtroomno.AddHandler(System.Windows.Controls.Validation.ErrorEvent, new System.EventHandler <System.Windows.Controls.ValidationErrorEventArgs>(this.Validation_Error));

            #line default
            #line hidden
                return;

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

            case 3:
                this.dpfromdate = ((System.Windows.Controls.DatePicker)(target));

            #line 112 "..\..\..\..\View\Operations\Block_Room.xaml"
                this.dpfromdate.AddHandler(System.Windows.Controls.Validation.ErrorEvent, new System.EventHandler <System.Windows.Controls.ValidationErrorEventArgs>(this.Validation_Error));

            #line default
            #line hidden

            #line 112 "..\..\..\..\View\Operations\Block_Room.xaml"
                this.dpfromdate.SelectedDateChanged += new System.EventHandler <System.Windows.Controls.SelectionChangedEventArgs>(this.dpfromdate_SelectedDateChanged);

            #line default
            #line hidden
                return;

            case 4:
                this.dptodate = ((System.Windows.Controls.DatePicker)(target));

            #line 114 "..\..\..\..\View\Operations\Block_Room.xaml"
                this.dptodate.AddHandler(System.Windows.Controls.Validation.ErrorEvent, new System.EventHandler <System.Windows.Controls.ValidationErrorEventArgs>(this.Validation_Error));

            #line default
            #line hidden

            #line 114 "..\..\..\..\View\Operations\Block_Room.xaml"
                this.dptodate.SelectedDateChanged += new System.EventHandler <System.Windows.Controls.SelectionChangedEventArgs>(this.dptodate_SelectedDateChanged);

            #line default
            #line hidden
                return;

            case 5:
                this.rbmaintance = ((System.Windows.Controls.RadioButton)(target));

            #line 118 "..\..\..\..\View\Operations\Block_Room.xaml"
                this.rbmaintance.Click += new System.Windows.RoutedEventHandler(this.rbmaintance_Click);

            #line default
            #line hidden
                return;

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

            #line 123 "..\..\..\..\View\Operations\Block_Room.xaml"
                this.rbmanagement.Click += new System.Windows.RoutedEventHandler(this.rbmanagement_Click);

            #line default
            #line hidden
                return;

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

            #line 130 "..\..\..\..\View\Operations\Block_Room.xaml"
                this.rbmaintance1.Click += new System.Windows.RoutedEventHandler(this.rbmaintance1_Click);

            #line default
            #line hidden
                return;

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

            #line 135 "..\..\..\..\View\Operations\Block_Room.xaml"
                this.rbmanagement1.Click += new System.Windows.RoutedEventHandler(this.rbmanagement1_Click);

            #line default
            #line hidden
                return;

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

            #line 144 "..\..\..\..\View\Operations\Block_Room.xaml"
                this.txtreason.AddHandler(System.Windows.Controls.Validation.ErrorEvent, new System.EventHandler <System.Windows.Controls.ValidationErrorEventArgs>(this.Validation_Error));

            #line default
            #line hidden
                return;

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

            #line 147 "..\..\..\..\View\Operations\Block_Room.xaml"
                this.btnblock.Click += new System.Windows.RoutedEventHandler(this.btnblock_Click);

            #line default
            #line hidden
                return;

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

            #line 148 "..\..\..\..\View\Operations\Block_Room.xaml"
                this.btnrelease.Click += new System.Windows.RoutedEventHandler(this.btnrelease_Click);

            #line default
            #line hidden
                return;

            case 12:
                this.pop1 = ((System.Windows.Controls.Primitives.Popup)(target));
                return;

            case 13:

            #line 166 "..\..\..\..\View\Operations\Block_Room.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Button_Click);

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

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

            #line 88 "..\..\..\..\View\Masters\Planecode.xaml"
                this.TXTPLANCODE.GotFocus += new System.Windows.RoutedEventHandler(this.TXTPLANCODE_GotFocus);

            #line default
            #line hidden

            #line 88 "..\..\..\..\View\Masters\Planecode.xaml"
                this.TXTPLANCODE.LostFocus += new System.Windows.RoutedEventHandler(this.TXTPLANCODE_LostFocus);

            #line default
            #line hidden

            #line 88 "..\..\..\..\View\Masters\Planecode.xaml"
                this.TXTPLANCODE.KeyUp += new System.Windows.Input.KeyEventHandler(this.TXTPLANCODE_KeyUp);

            #line default
            #line hidden

            #line 89 "..\..\..\..\View\Masters\Planecode.xaml"
                this.TXTPLANCODE.TextChanged += new System.Windows.Controls.TextChangedEventHandler(this.txtPLANCODE_TextChanged);

            #line default
            #line hidden
                return;

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

            #line 92 "..\..\..\..\View\Masters\Planecode.xaml"
                this.li.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.li_SelectionChanged);

            #line default
            #line hidden
                return;

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

            #line 96 "..\..\..\..\View\Masters\Planecode.xaml"
                this.TXTPLANNAME.AddHandler(System.Windows.Controls.Validation.ErrorEvent, new System.EventHandler <System.Windows.Controls.ValidationErrorEventArgs>(this.Validation_Error));

            #line default
            #line hidden
                return;

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

            #line 104 "..\..\..\..\View\Masters\Planecode.xaml"
                this.TXTREPORTINGNAME.AddHandler(System.Windows.Controls.Validation.ErrorEvent, new System.EventHandler <System.Windows.Controls.ValidationErrorEventArgs>(this.Validation_Error));

            #line default
            #line hidden
                return;

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

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

            #line 115 "..\..\..\..\View\Masters\Planecode.xaml"
                this.add.Click += new System.Windows.RoutedEventHandler(this.add_Click);

            #line default
            #line hidden
                return;

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

            #line 116 "..\..\..\..\View\Masters\Planecode.xaml"
                this.modify.Click += new System.Windows.RoutedEventHandler(this.modify_Click);

            #line default
            #line hidden
                return;

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

            #line 117 "..\..\..\..\View\Masters\Planecode.xaml"
                this.save.Click += new System.Windows.RoutedEventHandler(this.save_Click);

            #line default
            #line hidden
                return;

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

            #line 118 "..\..\..\..\View\Masters\Planecode.xaml"
                this.clear.Click += new System.Windows.RoutedEventHandler(this.clear_Click);

            #line default
            #line hidden
                return;

            case 11:
                this.pop1 = ((System.Windows.Controls.Primitives.Popup)(target));
                return;

            case 12:

            #line 126 "..\..\..\..\View\Masters\Planecode.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Button_Click);

            #line default
            #line hidden
                return;

            case 13:
                this.pop2 = ((System.Windows.Controls.Primitives.Popup)(target));
                return;

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

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

            #line 135 "..\..\..\..\View\Masters\Planecode.xaml"
                this.insertpop.Click += new System.Windows.RoutedEventHandler(this.insertpop_Click);

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

            #line 74 "..\..\..\..\View\Masters\login.xaml"
                this.btnexit.Click += new System.Windows.RoutedEventHandler(this.btnexit_Click);

            #line default
            #line hidden
                return;

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

            #line 105 "..\..\..\..\View\Masters\login.xaml"
                this.TXTUSERNAME.LostFocus += new System.Windows.RoutedEventHandler(this.TXTUSERNAME_LostFocus);

            #line default
            #line hidden
                return;

            case 3:
                this.TXTPASSWORD = ((System.Windows.Controls.PasswordBox)(target));

            #line 113 "..\..\..\..\View\Masters\login.xaml"
                this.TXTPASSWORD.GotFocus += new System.Windows.RoutedEventHandler(this.TXTPASSWORD_GotFocus);

            #line default
            #line hidden

            #line 113 "..\..\..\..\View\Masters\login.xaml"
                this.TXTPASSWORD.LostFocus += new System.Windows.RoutedEventHandler(this.TXTPASSWORD_LostFocus);

            #line default
            #line hidden
                return;

            case 4:

            #line 117 "..\..\..\..\View\Masters\login.xaml"
                ((System.Windows.Controls.Button)(target)).GotFocus += new System.Windows.RoutedEventHandler(this.Button_GotFocus);

            #line default
            #line hidden

            #line 117 "..\..\..\..\View\Masters\login.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Button_Click_1);

            #line default
            #line hidden
                return;

            case 5:
                this.tclink = ((System.Windows.Documents.Hyperlink)(target));

            #line 122 "..\..\..\..\View\Masters\login.xaml"
                this.tclink.RequestNavigate += new System.Windows.Navigation.RequestNavigateEventHandler(this.tclink_RequestNavigate_1);

            #line default
            #line hidden
                return;

            case 6:

            #line 125 "..\..\..\..\View\Masters\login.xaml"
                ((System.Windows.Documents.Hyperlink)(target)).RequestNavigate += new System.Windows.Navigation.RequestNavigateEventHandler(this.Hyperlink_RequestNavigate);

            #line default
            #line hidden
                return;

            case 7:
                this.ExpPOP = ((System.Windows.Controls.Primitives.Popup)(target));
                return;

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

            #line 136 "..\..\..\..\View\Masters\login.xaml"
                this.ok.Click += new System.Windows.RoutedEventHandler(this.ok_Click);

            #line default
            #line hidden
                return;

            case 9:
                this.WarningPOP = ((System.Windows.Controls.Primitives.Popup)(target));
                return;

            case 10:

            #line 146 "..\..\..\..\View\Masters\login.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Button_Click_2);

            #line default
            #line hidden
                return;

            case 11:
                this.mf_popup = ((System.Windows.Controls.Primitives.Popup)(target));
                return;

            case 12:

            #line 165 "..\..\..\..\View\Masters\login.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Button_Click);

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

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

            #line default
            #line hidden

            #line 11 "..\..\MainWindow.xaml"
                ((WpfApp2.MainWindow)(target)).KeyDown += new System.Windows.Input.KeyEventHandler(this.Window_KeyDown);

            #line default
            #line hidden
                return;

            case 2:
                this.sell = ((System.Windows.Controls.Primitives.Popup)(target));
                return;

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

            #line 82 "..\..\MainWindow.xaml"
                this.settings.Click += new System.Windows.RoutedEventHandler(this.settings_Click);

            #line default
            #line hidden
                return;

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

            #line 93 "..\..\MainWindow.xaml"
                this.tickets.Click += new System.Windows.RoutedEventHandler(this.tickets_Click);

            #line default
            #line hidden
                return;

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

            #line 103 "..\..\MainWindow.xaml"
                this.credits.Click += new System.Windows.RoutedEventHandler(this.credits_Click);

            #line default
            #line hidden
                return;

            case 6:
                this.photo = ((System.Windows.Media.ImageBrush)(target));
                return;

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

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

            #line 174 "..\..\MainWindow.xaml"
                this.edit_profile.Click += new System.Windows.RoutedEventHandler(this.edit_profile_Click);

            #line default
            #line hidden
                return;

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

            #line 182 "..\..\MainWindow.xaml"
                this.logout.Click += new System.Windows.RoutedEventHandler(this.logout_Click);

            #line default
            #line hidden
                return;

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

            #line 189 "..\..\MainWindow.xaml"
                this.exit.Click += new System.Windows.RoutedEventHandler(this.exit_Click);

            #line default
            #line hidden
                return;

            case 11:
                this.grid = ((System.Windows.Controls.StackPanel)(target));
                return;

            case 12:
                this.SideMenuSwitcher = ((MahApps.Metro.IconPacks.PackIconMaterialLight)(target));

            #line 227 "..\..\MainWindow.xaml"
                this.SideMenuSwitcher.MouseDown += new System.Windows.Input.MouseButtonEventHandler(this.SideMenuSwitcher_MouseDown);

            #line default
            #line hidden
                return;

            case 13:
                this.SideMenu = ((System.Windows.Controls.TabControl)(target));
                return;

            case 14:
                this.all_routes = ((System.Windows.Controls.StackPanel)(target));

            #line 245 "..\..\MainWindow.xaml"
                this.all_routes.MouseLeftButtonDown += new System.Windows.Input.MouseButtonEventHandler(this.all_routes_MouseLeftButtonDown);

            #line default
            #line hidden
                return;

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

            #line 272 "..\..\MainWindow.xaml"
                this.last_routes.MouseLeftButtonDown += new System.Windows.Input.MouseButtonEventHandler(this.last_routes_MouseLeftButtonDown);

            #line default
            #line hidden
                return;

            case 16:
                this.summary = ((System.Windows.Controls.StackPanel)(target));

            #line 298 "..\..\MainWindow.xaml"
                this.summary.MouseLeftButtonDown += new System.Windows.Input.MouseButtonEventHandler(this.summary_MouseLeftButtonDown);

            #line default
            #line hidden
                return;

            case 17:
                this.search = ((System.Windows.Controls.StackPanel)(target));

            #line 323 "..\..\MainWindow.xaml"
                this.search.MouseLeftButtonDown += new System.Windows.Input.MouseButtonEventHandler(this.search_MouseLeftButtonDown);

            #line default
            #line hidden
                return;

            case 18:
                this.Page = ((System.Windows.Controls.Frame)(target));
                return;
            }
            this._contentLoaded = true;
        }
Ejemplo n.º 42
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.LayoutRoot = ((System.Windows.Controls.Grid)(target));
                return;

            case 2:

            #line 206 "..\..\..\Views\GRMainView.xaml"
                ((System.Windows.Controls.ToolBar)(target)).Loaded += new System.Windows.RoutedEventHandler(this.ToolBar_Loaded);

            #line default
            #line hidden
                return;

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

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

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

            #line 416 "..\..\..\Views\GRMainView.xaml"
                this.btnOkFilter.Click += new System.Windows.RoutedEventHandler(this.btnOkFilter_Click);

            #line default
            #line hidden
                return;

            case 6:
                this.okPopupSelection = ((System.Windows.Controls.Primitives.Popup)(target));
                return;

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

            #line 441 "..\..\..\Views\GRMainView.xaml"
                this.btnSelectAll.Click += new System.Windows.RoutedEventHandler(this.btnSelectAll_Click);

            #line default
            #line hidden
                return;

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

            #line 449 "..\..\..\Views\GRMainView.xaml"
                this.btnUnselectAll.Click += new System.Windows.RoutedEventHandler(this.btnUnselectAll_Click);

            #line default
            #line hidden
                return;

            case 10:
                this.Preview = ((System.Windows.Controls.ContentControl)(target));
                return;

            case 11:
                this.pbStatus = ((System.Windows.Controls.ProgressBar)(target));
                return;
            }
            this._contentLoaded = true;
        }
Ejemplo n.º 43
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.grid = ((System.Windows.Controls.Grid)(target));
                return;

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

            #line 127 "..\..\..\..\View\Masters\RoomMaster.xaml"
                this.txtroomno.GotFocus += new System.Windows.RoutedEventHandler(this.txtroomno_GotFocus);

            #line default
            #line hidden

            #line 127 "..\..\..\..\View\Masters\RoomMaster.xaml"
                this.txtroomno.LostFocus += new System.Windows.RoutedEventHandler(this.txtroomno_LostFocus);

            #line default
            #line hidden

            #line 127 "..\..\..\..\View\Masters\RoomMaster.xaml"
                this.txtroomno.KeyUp += new System.Windows.Input.KeyEventHandler(this.txtroomno_KeyUp);

            #line default
            #line hidden

            #line 127 "..\..\..\..\View\Masters\RoomMaster.xaml"
                this.txtroomno.TextChanged += new System.Windows.Controls.TextChangedEventHandler(this.txtroomno_TextChanged);

            #line default
            #line hidden
                return;

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

            #line 129 "..\..\..\..\View\Masters\RoomMaster.xaml"
                this.list.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.list_SelectionChanged);

            #line default
            #line hidden
                return;

            case 4:
                this.TXTCATEGORY = ((System.Windows.Controls.ComboBox)(target));

            #line 134 "..\..\..\..\View\Masters\RoomMaster.xaml"
                this.TXTCATEGORY.PreviewKeyUp += new System.Windows.Input.KeyEventHandler(this.TXTCATEGORY_PreviewKeyUp);

            #line default
            #line hidden

            #line 134 "..\..\..\..\View\Masters\RoomMaster.xaml"
                this.TXTCATEGORY.DropDownClosed += new System.EventHandler(this.TXTCATEGORY_DropDownClosed);

            #line default
            #line hidden
                return;

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

            #line 137 "..\..\..\..\View\Masters\RoomMaster.xaml"
                this.txtroomview.AddHandler(System.Windows.Controls.Validation.ErrorEvent, new System.EventHandler <System.Windows.Controls.ValidationErrorEventArgs>(this.Validation_Error));

            #line default
            #line hidden
                return;

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

            #line 141 "..\..\..\..\View\Masters\RoomMaster.xaml"
                this.txtmaxpax.AddHandler(System.Windows.Controls.Validation.ErrorEvent, new System.EventHandler <System.Windows.Controls.ValidationErrorEventArgs>(this.Validation_Error));

            #line default
            #line hidden

            #line 141 "..\..\..\..\View\Masters\RoomMaster.xaml"
                this.txtmaxpax.TextChanged += new System.Windows.Controls.TextChangedEventHandler(this.txtmaxpax_TextChanged);

            #line default
            #line hidden
                return;

            case 7:
                this.date = ((System.Windows.Controls.DatePicker)(target));

            #line 148 "..\..\..\..\View\Masters\RoomMaster.xaml"
                this.date.SelectedDateChanged += new System.EventHandler <System.Windows.Controls.SelectionChangedEventArgs>(this.date_SelectedDateChanged);

            #line default
            #line hidden
                return;

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

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

            #line 163 "..\..\..\..\View\Masters\RoomMaster.xaml"
                this.plancode.DropDownClosed += new System.EventHandler(this.plancode_DropDownClosed);

            #line default
            #line hidden
                return;

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

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

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

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

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

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

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

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

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

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

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

            #line 199 "..\..\..\..\View\Masters\RoomMaster.xaml"
                this.txtcommonprice.TextChanged += new System.Windows.Controls.TextChangedEventHandler(this.txtcommonprice_TextChanged);

            #line default
            #line hidden
                return;

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

            #line 201 "..\..\..\..\View\Masters\RoomMaster.xaml"
                this.txtcommonplan.TextChanged += new System.Windows.Controls.TextChangedEventHandler(this.txtcommonplan_TextChanged);

            #line default
            #line hidden
                return;

            case 22:
                this.status = ((System.Windows.Controls.ComboBox)(target));
                return;

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

            #line 212 "..\..\..\..\View\Masters\RoomMaster.xaml"
                this.Confirm.Click += new System.Windows.RoutedEventHandler(this.Confirm_Click_1);

            #line default
            #line hidden
                return;

            case 24:
                this.wp = ((System.Windows.Controls.StackPanel)(target));
                return;

            case 25:
                this.popup = ((System.Windows.Controls.Primitives.Popup)(target));
                return;

            case 26:
                this.tb = ((System.Windows.Controls.TextBlock)(target));
                return;

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

            #line 244 "..\..\..\..\View\Masters\RoomMaster.xaml"
                this.yes.Click += new System.Windows.RoutedEventHandler(this.yes_Click);

            #line default
            #line hidden
                return;

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

            #line 246 "..\..\..\..\View\Masters\RoomMaster.xaml"
                this.no.Click += new System.Windows.RoutedEventHandler(this.no_Click);

            #line default
            #line hidden
                return;

            case 29:
                this.datagrid = ((System.Windows.Controls.DataGrid)(target));
                return;

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

            #line 285 "..\..\..\..\View\Masters\RoomMaster.xaml"
                this.add.Click += new System.Windows.RoutedEventHandler(this.add_Click);

            #line default
            #line hidden
                return;

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

            #line 287 "..\..\..\..\View\Masters\RoomMaster.xaml"
                this.modify.Click += new System.Windows.RoutedEventHandler(this.modify_Click);

            #line default
            #line hidden
                return;

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

            #line 289 "..\..\..\..\View\Masters\RoomMaster.xaml"
                this.save.Click += new System.Windows.RoutedEventHandler(this.save_Click);

            #line default
            #line hidden
                return;

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

            #line 291 "..\..\..\..\View\Masters\RoomMaster.xaml"
                this.search.Click += new System.Windows.RoutedEventHandler(this.search_Click);

            #line default
            #line hidden
                return;

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

            #line 293 "..\..\..\..\View\Masters\RoomMaster.xaml"
                this.clear.Click += new System.Windows.RoutedEventHandler(this.clear_Click);

            #line default
            #line hidden
                return;

            case 35:
                this.pop1 = ((System.Windows.Controls.Primitives.Popup)(target));
                return;

            case 36:

            #line 302 "..\..\..\..\View\Masters\RoomMaster.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Button_Click);

            #line default
            #line hidden
                return;

            case 37:
                this.pop2 = ((System.Windows.Controls.Primitives.Popup)(target));
                return;

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

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

            #line 311 "..\..\..\..\View\Masters\RoomMaster.xaml"
                this.insertpop.Click += new System.Windows.RoutedEventHandler(this.insertpop_Click);

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

            #line 8 "..\..\..\Pages\Translate.xaml"
                ((DM_Studio.Pages.Translate)(target)).Unloaded += new System.Windows.RoutedEventHandler(this.UserControl_Unloaded);

            #line default
            #line hidden
                return;

            case 2:
                this.PopupLanguage = ((System.Windows.Controls.Primitives.Popup)(target));

            #line 48 "..\..\..\Pages\Translate.xaml"
                this.PopupLanguage.Closed += new System.EventHandler(this.PopupFromLanguage_Closed);

            #line default
            #line hidden
                return;

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

            case 4:
                this.CheckLanguage = ((System.Windows.Controls.RadioButton)(target));

            #line 59 "..\..\..\Pages\Translate.xaml"
                this.CheckLanguage.Click += new System.Windows.RoutedEventHandler(this.CheckLanguage_Click);

            #line default
            #line hidden
                return;

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

            case 6:
                this.BtnFromLanguage = ((System.Windows.Controls.CheckBox)(target));

            #line 145 "..\..\..\Pages\Translate.xaml"
                this.BtnFromLanguage.Click += new System.Windows.RoutedEventHandler(this.BtnFromLanguage_Click);

            #line default
            #line hidden
                return;

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

            #line 150 "..\..\..\Pages\Translate.xaml"
                this.ButtonTurnLanguage.Click += new System.Windows.RoutedEventHandler(this.ButtonTurnLanguage_Click);

            #line default
            #line hidden
                return;

            case 8:
                this.BtnToLanguage = ((System.Windows.Controls.CheckBox)(target));

            #line 156 "..\..\..\Pages\Translate.xaml"
                this.BtnToLanguage.Click += new System.Windows.RoutedEventHandler(this.BtnToLanguage_Click);

            #line default
            #line hidden
                return;

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

            #line 158 "..\..\..\Pages\Translate.xaml"
                this.BtnTranslate.Click += new System.Windows.RoutedEventHandler(this.BtnTranslate_Click);

            #line default
            #line hidden
                return;

            case 10:
                this.TbKey = ((DM_Studio.Control.WaterMaskTextBox)(target));
                return;

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

            #line 172 "..\..\..\Pages\Translate.xaml"
                this.BtnReadFromText.Click += new System.Windows.RoutedEventHandler(this.BtnReadFromText_Click);

            #line default
            #line hidden
                return;

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

            #line 177 "..\..\..\Pages\Translate.xaml"
                this.BtnCopyFromText.Click += new System.Windows.RoutedEventHandler(this.ButtonTurnLanguage_Click);

            #line default
            #line hidden
                return;

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

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

            #line 193 "..\..\..\Pages\Translate.xaml"
                this.BtnReadToText.Click += new System.Windows.RoutedEventHandler(this.BtnReadToText_Click);

            #line default
            #line hidden
                return;

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

            case 16:
                this.Word_Panel = ((System.Windows.Controls.Border)(target));
                return;

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

            case 18:
                this.Word_Symbol = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 19:
                this.ItemsControl_Word_Means = ((System.Windows.Controls.ItemsControl)(target));
                return;

            case 20:
                this.ReadMediaElement = ((System.Windows.Controls.MediaElement)(target));
                return;
            }
            this._contentLoaded = true;
        }
Ejemplo n.º 45
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.Window = ((PerfMon.MainWindow)(target));
                return;

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

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

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

            #line 28 "..\..\..\MainWindow.xaml"
                this.SetTime.PreviewTextInput += new System.Windows.Input.TextCompositionEventHandler(this.NumberValidationTextBox);

            #line default
            #line hidden
                return;

            case 5:
                this.RepeatUpButton = ((System.Windows.Controls.Primitives.RepeatButton)(target));

            #line 31 "..\..\..\MainWindow.xaml"
                this.RepeatUpButton.Click += new System.Windows.RoutedEventHandler(this.RepeatUpButton_Click);

            #line default
            #line hidden
                return;

            case 6:
                this.RepeatDownButton = ((System.Windows.Controls.Primitives.RepeatButton)(target));

            #line 32 "..\..\..\MainWindow.xaml"
                this.RepeatDownButton.Click += new System.Windows.RoutedEventHandler(this.RepeatDownButton_Click);

            #line default
            #line hidden
                return;

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

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

            #line 38 "..\..\..\MainWindow.xaml"
                this.DirectoryButton.Click += new System.Windows.RoutedEventHandler(this.DirectoryButton_Click);

            #line default
            #line hidden
                return;

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

            #line 41 "..\..\..\MainWindow.xaml"
                this.SA1RadioBurron.Checked += new System.Windows.RoutedEventHandler(this.SA1RadioBurron_Checked);

            #line default
            #line hidden
                return;

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

            #line 42 "..\..\..\MainWindow.xaml"
                this.SA2RadioBurron.Checked += new System.Windows.RoutedEventHandler(this.SA2RadioBurron_Checked);

            #line default
            #line hidden
                return;

            case 11:
                this.MainImage = ((System.Windows.Controls.Image)(target));
                return;

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

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

            #line 50 "..\..\..\MainWindow.xaml"
                this.Directory.PreviewTextInput += new System.Windows.Input.TextCompositionEventHandler(this.Keybord_Preview_Text_Input);

            #line default
            #line hidden
                return;

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

            #line 53 "..\..\..\MainWindow.xaml"
                this.StartButton.Click += new System.Windows.RoutedEventHandler(this.StartButton_Click);

            #line default
            #line hidden
                return;

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

            #line 54 "..\..\..\MainWindow.xaml"
                this.EndButton.Click += new System.Windows.RoutedEventHandler(this.EndButton_Click);

            #line default
            #line hidden
                return;

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

            case 17:
                this.Progress = ((System.Windows.Controls.ProgressBar)(target));
                return;

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

            case 19:
                this.OverNumberAllert = ((System.Windows.Controls.Primitives.Popup)(target));
                return;

            case 20:
                this.Container1 = ((System.Windows.Shapes.Path)(target));
                return;

            case 21:
                this.NoNumberAllert = ((System.Windows.Controls.Primitives.Popup)(target));
                return;

            case 22:
                this.Container2 = ((System.Windows.Shapes.Path)(target));
                return;

            case 23:
                this.FolderAllert = ((System.Windows.Controls.Primitives.Popup)(target));
                return;

            case 24:
                this.Container3 = ((System.Windows.Shapes.Path)(target));
                return;
            }
            this._contentLoaded = true;
        }
Ejemplo n.º 46
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:

            #line 14 "..\..\MainWindow.xaml"
                ((TM2.MainWindow)(target)).Loaded += new System.Windows.RoutedEventHandler(this.Window_Loaded);

            #line default
            #line hidden
                return;

            case 2:
                this.tabControl = ((TM2.TabControlEx)(target));
                return;

            case 3:
                this.navigationPanel = ((System.Windows.Controls.DockPanel)(target));
                return;

            case 4:
                this.MainMenu = ((System.Windows.Controls.GroupBox)(target));
                return;

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

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

            #line default
            #line hidden
                return;

            case 6:
                this.borderBack = ((System.Windows.Controls.Border)(target));
                return;

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

            #line 105 "..\..\MainWindow.xaml"
                this.btnToday.Click += new System.Windows.RoutedEventHandler(this.btnToday_Click);

            #line default
            #line hidden

            #line 106 "..\..\MainWindow.xaml"
                this.btnToday.PreviewMouseRightButtonUp += new System.Windows.Input.MouseButtonEventHandler(this.btnToday_PreviewMouseRightButtonUp);

            #line default
            #line hidden
                return;

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

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

            #line 129 "..\..\MainWindow.xaml"
                this.btnMovies.Click += new System.Windows.RoutedEventHandler(this.btnMovies_Click);

            #line default
            #line hidden
                return;

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

            #line 145 "..\..\MainWindow.xaml"
                this.btnTV.Click += new System.Windows.RoutedEventHandler(this.btnTV_Click);

            #line default
            #line hidden
                return;

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

            #line 161 "..\..\MainWindow.xaml"
                this.btnGames.Click += new System.Windows.RoutedEventHandler(this.btnGames_Click);

            #line default
            #line hidden
                return;

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

            case 13:
                this.datePicker = ((System.Windows.Controls.Primitives.Popup)(target));
                return;

            case 14:
                this.calendar = ((System.Windows.Controls.Calendar)(target));

            #line 204 "..\..\MainWindow.xaml"
                this.calendar.SelectedDatesChanged += new System.EventHandler <System.Windows.Controls.SelectionChangedEventArgs>(this.calendar_SelectedDatesChanged);

            #line default
            #line hidden
                return;

            case 15:
                this.TorrentSearch = ((System.Windows.Controls.GroupBox)(target));
                return;

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

            case 17:
                this.cmbGenre = ((System.Windows.Controls.ComboBox)(target));
                return;

            case 18:
                this.cmbYear = ((System.Windows.Controls.ComboBox)(target));
                return;

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

            #line 301 "..\..\MainWindow.xaml"
                this.CmbMeklet.KeyUp += new System.Windows.Input.KeyEventHandler(this.CmbMeklet_KeyUp);

            #line default
            #line hidden

            #line 302 "..\..\MainWindow.xaml"
                this.CmbMeklet.MouseRightButtonUp += new System.Windows.Input.MouseButtonEventHandler(this.CmbMeklet_MouseRightButtonUp);

            #line default
            #line hidden
                return;

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

            #line 311 "..\..\MainWindow.xaml"
                this.BtnMeklet.Click += new System.Windows.RoutedEventHandler(this.BtnMeklet_Click);

            #line default
            #line hidden
                return;

            case 21:
                this.Trackers = ((System.Windows.Controls.GroupBox)(target));
                return;

            case 22:

            #line 353 "..\..\MainWindow.xaml"
                ((System.Windows.Controls.StackPanel)(target)).SizeChanged += new System.Windows.SizeChangedEventHandler(this.SplitterCheck);

            #line default
            #line hidden
                return;

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

            #line 356 "..\..\MainWindow.xaml"
                this.btnKonti.Click += new System.Windows.RoutedEventHandler(this.btnKonti_Click);

            #line default
            #line hidden
                return;

            case 24:
                this.spliter = ((System.Windows.Controls.Border)(target));
                return;

            case 25:
                this.groupBoxFano = ((System.Windows.Controls.GroupBox)(target));

            #line 400 "..\..\MainWindow.xaml"
                this.groupBoxFano.MouseEnter += new System.Windows.Input.MouseEventHandler(this.groupBoxFano_MouseEnter);

            #line default
            #line hidden

            #line 401 "..\..\MainWindow.xaml"
                this.groupBoxFano.MouseLeave += new System.Windows.Input.MouseEventHandler(this.groupBoxFano_MouseLeave);

            #line default
            #line hidden

            #line 402 "..\..\MainWindow.xaml"
                this.groupBoxFano.PreviewMouseLeftButtonUp += new System.Windows.Input.MouseButtonEventHandler(this.groupBoxFano_PreviewMouseLeftButtonUp);

            #line default
            #line hidden
                return;

            case 26:
                this.progressBarFano = ((System.Windows.Controls.ProgressBar)(target));
                return;

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

            #line 448 "..\..\MainWindow.xaml"
                this.btnFanoClose.PreviewMouseLeftButtonUp += new System.Windows.Input.MouseButtonEventHandler(this.btnFanoClose_PreviewMouseLeftButtonUp);

            #line default
            #line hidden
                return;

            case 28:
                this.txtFanoUser = ((System.Windows.Controls.TextBlock)(target));
                return;

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

            case 30:
                this.groupBoxKinozal = ((System.Windows.Controls.GroupBox)(target));

            #line 482 "..\..\MainWindow.xaml"
                this.groupBoxKinozal.MouseEnter += new System.Windows.Input.MouseEventHandler(this.groupBoxKinozal_MouseEnter);

            #line default
            #line hidden

            #line 483 "..\..\MainWindow.xaml"
                this.groupBoxKinozal.MouseLeave += new System.Windows.Input.MouseEventHandler(this.groupBoxKinozal_MouseLeave);

            #line default
            #line hidden

            #line 484 "..\..\MainWindow.xaml"
                this.groupBoxKinozal.PreviewMouseLeftButtonUp += new System.Windows.Input.MouseButtonEventHandler(this.groupBoxKinozal_PreviewMouseLeftButtonUp);

            #line default
            #line hidden
                return;

            case 31:
                this.progressBarKinozal = ((System.Windows.Controls.ProgressBar)(target));
                return;

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

            #line 531 "..\..\MainWindow.xaml"
                this.btnKinozalClose.PreviewMouseLeftButtonUp += new System.Windows.Input.MouseButtonEventHandler(this.btnKinozalClose_PreviewMouseLeftButtonUp);

            #line default
            #line hidden
                return;

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

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

            case 35:
                this.sp = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 36:
                this.txtAvailable = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 37:
                this.groupBoxFilebase = ((System.Windows.Controls.GroupBox)(target));

            #line 582 "..\..\MainWindow.xaml"
                this.groupBoxFilebase.MouseEnter += new System.Windows.Input.MouseEventHandler(this.groupBoxFilebase_MouseEnter);

            #line default
            #line hidden

            #line 583 "..\..\MainWindow.xaml"
                this.groupBoxFilebase.MouseLeave += new System.Windows.Input.MouseEventHandler(this.groupBoxFilebase_MouseLeave);

            #line default
            #line hidden

            #line 584 "..\..\MainWindow.xaml"
                this.groupBoxFilebase.PreviewMouseLeftButtonUp += new System.Windows.Input.MouseButtonEventHandler(this.groupBoxFilebase_PreviewMouseLeftButtonUp);

            #line default
            #line hidden
                return;

            case 38:
                this.progressBarFilebase = ((System.Windows.Controls.ProgressBar)(target));
                return;

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

            #line 630 "..\..\MainWindow.xaml"
                this.btnFilebaseClose.PreviewMouseLeftButtonUp += new System.Windows.Input.MouseButtonEventHandler(this.btnFilebaseClose_PreviewMouseLeftButtonUp);

            #line default
            #line hidden
                return;

            case 40:
                this.txtFilebaseUser = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 41:
                this.txtFilebaseRatio = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 42:
                this.Other = ((System.Windows.Controls.GroupBox)(target));
                return;

            case 43:
                this.btnIespejas = ((System.Windows.Controls.Button)(target));

            #line 682 "..\..\MainWindow.xaml"
                this.btnIespejas.Click += new System.Windows.RoutedEventHandler(this.btnIespejas_Click);

            #line default
            #line hidden
                return;

            case 44:
                this.progressBar = ((System.Windows.Controls.ProgressBar)(target));
                return;

            case 45:
                this.filterPanel = ((System.Windows.Controls.GroupBox)(target));
                return;

            case 46:
                this.filterPanelCategorys = ((System.Windows.Controls.GroupBox)(target));
                return;

            case 47:
                this.containerList = ((System.Windows.Controls.Grid)(target));
                return;

            case 48:
                this.containerCovers = ((System.Windows.Controls.Grid)(target));
                return;

            case 49:
                this.publishVersion = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 50:
                this.imgWorld = ((System.Windows.Controls.Image)(target));

            #line 768 "..\..\MainWindow.xaml"
                this.imgWorld.PreviewMouseLeftButtonUp += new System.Windows.Input.MouseButtonEventHandler(this.imgWorld_PreviewMouseLeftButtonUp);

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

            case 2:
                this.btn_Repeat = ((System.Windows.Controls.Primitives.RepeatButton)(target));
                return;

            case 3:

            #line 34 "..\..\..\..\Chapter6\unit6_2.xaml"
                ((System.Windows.Controls.RadioButton)(target)).Click += new System.Windows.RoutedEventHandler(this.RadioButton_Click);

            #line default
            #line hidden
                return;

            case 4:

            #line 35 "..\..\..\..\Chapter6\unit6_2.xaml"
                ((System.Windows.Controls.RadioButton)(target)).Click += new System.Windows.RoutedEventHandler(this.RadioButton_Click);

            #line default
            #line hidden
                return;

            case 5:

            #line 36 "..\..\..\..\Chapter6\unit6_2.xaml"
                ((System.Windows.Controls.RadioButton)(target)).Click += new System.Windows.RoutedEventHandler(this.RadioButton_Click);

            #line default
            #line hidden
                return;

            case 6:

            #line 37 "..\..\..\..\Chapter6\unit6_2.xaml"
                ((System.Windows.Controls.RadioButton)(target)).Click += new System.Windows.RoutedEventHandler(this.RadioButton_Click);

            #line default
            #line hidden
                return;

            case 7:

            #line 38 "..\..\..\..\Chapter6\unit6_2.xaml"
                ((System.Windows.Controls.RadioButton)(target)).Click += new System.Windows.RoutedEventHandler(this.RadioButton_Click);

            #line default
            #line hidden
                return;

            case 8:

            #line 39 "..\..\..\..\Chapter6\unit6_2.xaml"
                ((System.Windows.Controls.RadioButton)(target)).Click += new System.Windows.RoutedEventHandler(this.RadioButton_Click);

            #line default
            #line hidden
                return;

            case 9:

            #line 40 "..\..\..\..\Chapter6\unit6_2.xaml"
                ((System.Windows.Controls.RadioButton)(target)).Click += new System.Windows.RoutedEventHandler(this.RadioButton_Click);

            #line default
            #line hidden
                return;

            case 10:

            #line 41 "..\..\..\..\Chapter6\unit6_2.xaml"
                ((System.Windows.Controls.RadioButton)(target)).Click += new System.Windows.RoutedEventHandler(this.RadioButton_Click);

            #line default
            #line hidden
                return;

            case 11:

            #line 42 "..\..\..\..\Chapter6\unit6_2.xaml"
                ((System.Windows.Controls.RadioButton)(target)).Click += new System.Windows.RoutedEventHandler(this.RadioButton_Click);

            #line default
            #line hidden
                return;

            case 12:

            #line 43 "..\..\..\..\Chapter6\unit6_2.xaml"
                ((System.Windows.Controls.RadioButton)(target)).Click += new System.Windows.RoutedEventHandler(this.RadioButton_Click);

            #line default
            #line hidden
                return;

            case 13:

            #line 45 "..\..\..\..\Chapter6\unit6_2.xaml"
                ((System.Windows.Controls.CheckBox)(target)).Click += new System.Windows.RoutedEventHandler(this.CheckBox_Click);

            #line default
            #line hidden
                return;

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

            case 15:
                this.ls_event = ((WpfBase.Common.ListMessagePanel)(target));
                return;

            case 16:

            #line 70 "..\..\..\..\Chapter6\unit6_2.xaml"
                ((System.Windows.Documents.Run)(target)).MouseEnter += new System.Windows.Input.MouseEventHandler(this.Run_MouseEnter);

            #line default
            #line hidden
                return;

            case 17:
                this.popLink = ((System.Windows.Controls.Primitives.Popup)(target));
                return;

            case 18:

            #line 75 "..\..\..\..\Chapter6\unit6_2.xaml"
                ((System.Windows.Documents.Hyperlink)(target)).Click += new System.Windows.RoutedEventHandler(this.Hyperlink_Click);

            #line default
            #line hidden
                return;

            case 19:

            #line 81 "..\..\..\..\Chapter6\unit6_2.xaml"
                ((System.Windows.Controls.Label)(target)).MouseEnter += new System.Windows.Input.MouseEventHandler(this.Label_MouseEnter);

            #line default
            #line hidden
                return;

            case 20:
                this.popWin = ((System.Windows.Controls.Primitives.Popup)(target));
                return;

            case 21:
                this.TitleBar = ((System.Windows.Controls.DockPanel)(target));
                return;

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

            #line 91 "..\..\..\..\Chapter6\unit6_2.xaml"
                this.BtnClose.Click += new System.Windows.RoutedEventHandler(this.BtnClose_Click);

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

            #line 16 "..\..\MainWindow.xaml"
                ((Menu.MainWindow)(target)).Loaded += new System.Windows.RoutedEventHandler(this.Window_Loaded);

            #line default
            #line hidden
                return;

            case 2:
                this.popup1 = ((System.Windows.Controls.Primitives.Popup)(target));
                return;

            case 3:
                this.stackpanel_notif = ((System.Windows.Controls.StackPanel)(target));
                return;

            case 4:

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

            #line default
            #line hidden
                return;

            case 5:

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

            #line default
            #line hidden
                return;

            case 6:

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

            #line default
            #line hidden
                return;

            case 7:

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

            #line default
            #line hidden
                return;

            case 8:

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

            #line default
            #line hidden
                return;

            case 9:

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

            #line default
            #line hidden
                return;

            case 10:

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

            #line default
            #line hidden
                return;

            case 11:

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

            #line default
            #line hidden
                return;

            case 12:

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

            #line default
            #line hidden
                return;

            case 13:

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

            #line default
            #line hidden
                return;

            case 14:

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

            #line default
            #line hidden
                return;

            case 15:

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

            #line default
            #line hidden
                return;

            case 16:

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

            #line default
            #line hidden
                return;

            case 17:

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

            #line default
            #line hidden
                return;

            case 18:

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

            #line default
            #line hidden
                return;

            case 19:

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

            #line default
            #line hidden
                return;

            case 20:

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

            #line default
            #line hidden
                return;

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

            #line 186 "..\..\MainWindow.xaml"
                this.home.Click += new System.Windows.RoutedEventHandler(this.home_Click);

            #line default
            #line hidden
                return;

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

            #line 190 "..\..\MainWindow.xaml"
                this.open.Click += new System.Windows.RoutedEventHandler(this.open_Click);

            #line default
            #line hidden
                return;

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

            #line 195 "..\..\MainWindow.xaml"
                this.help.Click += new System.Windows.RoutedEventHandler(this.help_Click_1);

            #line default
            #line hidden
                return;

            case 24:
                this.user = ((MaterialDesignThemes.Wpf.Chip)(target));
                return;

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

            #line 208 "..\..\MainWindow.xaml"
                this.minimize.Click += new System.Windows.RoutedEventHandler(this.minimize_Click);

            #line default
            #line hidden
                return;

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

            #line 212 "..\..\MainWindow.xaml"
                this.expand.Click += new System.Windows.RoutedEventHandler(this.expand_Click);

            #line default
            #line hidden
                return;

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

            #line 216 "..\..\MainWindow.xaml"
                this.fermer.Click += new System.Windows.RoutedEventHandler(this.fermer_Click);

            #line default
            #line hidden
                return;

            case 28:
                this.page = ((System.Windows.Controls.Grid)(target));
                return;

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

            case 30:
                this.Frame2 = ((System.Windows.Controls.Frame)(target));
                return;
            }
            this._contentLoaded = true;
        }
Ejemplo n.º 49
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:

            #line 8 "..\..\..\..\Sales\Customer\Cust_add_uc.xaml"
                ((Cash_prg.Sales.Customer.Cust_add_uc)(target)).Loaded += new System.Windows.RoutedEventHandler(this.UserControl_Loaded);

            #line default
            #line hidden
                return;

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

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

            #line 18 "..\..\..\..\Sales\Customer\Cust_add_uc.xaml"
                this.city_idCBox.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.city_idCBox_SelectionChanged);

            #line default
            #line hidden

            #line 18 "..\..\..\..\Sales\Customer\Cust_add_uc.xaml"
                this.city_idCBox.DropDownClosed += new System.EventHandler(this.city_idCBox_DropDownClosed);

            #line default
            #line hidden
                return;

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

            case 5:
                this.country_idCBox = ((System.Windows.Controls.ComboBox)(target));

            #line 20 "..\..\..\..\Sales\Customer\Cust_add_uc.xaml"
                this.country_idCBox.DropDownClosed += new System.EventHandler(this.country_idCBox_DropDownClosed);

            #line default
            #line hidden

            #line 20 "..\..\..\..\Sales\Customer\Cust_add_uc.xaml"
                this.country_idCBox.LostFocus += new System.Windows.RoutedEventHandler(this.country_idCBox_LostFocus);

            #line default
            #line hidden
                return;

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

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

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

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

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

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

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

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

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

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

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

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

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

            case 19:
                this.customer_Notes = ((System.Windows.Controls.Label)(target));
                return;

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

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

            case 22:
                this.customer_payment_termsTextBox = ((System.Windows.Controls.TextBox)(target));
                return;

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

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

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

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

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

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

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

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

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

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

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

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

            case 35:
                this.payment_preferredCBox = ((System.Windows.Controls.ComboBox)(target));
                return;

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

            case 37:
                this.project_nameCBox = ((System.Windows.Controls.ComboBox)(target));
                return;

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

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

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

            case 41:
                this.town_idCBox = ((System.Windows.Controls.ComboBox)(target));
                return;

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

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

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

            #line 60 "..\..\..\..\Sales\Customer\Cust_add_uc.xaml"
                this.button_add.Click += new System.Windows.RoutedEventHandler(this.button_add_Click);

            #line default
            #line hidden
                return;

            case 45:
                this.Cust_pop = ((System.Windows.Controls.Primitives.Popup)(target));
                return;

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

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

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

            #line 73 "..\..\..\..\Sales\Customer\Cust_add_uc.xaml"
                this.pop_btn_replace.Click += new System.Windows.RoutedEventHandler(this.pop_btn_replac);

            #line default
            #line hidden
                return;

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

            #line 75 "..\..\..\..\Sales\Customer\Cust_add_uc.xaml"
                this.btn_exit_pop.Click += new System.Windows.RoutedEventHandler(this.btn_exit_pop_Click);

            #line default
            #line hidden
                return;

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

            #line 81 "..\..\..\..\Sales\Customer\Cust_add_uc.xaml"
                this.btn_replace_active.Click += new System.Windows.RoutedEventHandler(this.button_pop_Click);

            #line default
            #line hidden
                return;

            case 51:
                this.customer_activCBox = ((System.Windows.Controls.ComboBox)(target));

            #line 87 "..\..\..\..\Sales\Customer\Cust_add_uc.xaml"
                this.customer_activCBox.LostFocus += new System.Windows.RoutedEventHandler(this.customer_activCBox_LostFocus);

            #line default
            #line hidden
                return;

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

            #line 88 "..\..\..\..\Sales\Customer\Cust_add_uc.xaml"
                this.btn_replace_contry.Click += new System.Windows.RoutedEventHandler(this.replace_contry);

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

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

            #line default
            #line hidden
                return;

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

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

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

            #line default
            #line hidden
                return;

            case 4:
                this.popupbutton = ((System.Windows.Controls.Primitives.ToggleButton)(target));

            #line 64 "..\..\MainWindow.xaml"
                this.popupbutton.Checked += new System.Windows.RoutedEventHandler(this.popupbutton_Checked);

            #line default
            #line hidden

            #line 64 "..\..\MainWindow.xaml"
                this.popupbutton.Unchecked += new System.Windows.RoutedEventHandler(this.popupbutton_Unchecked);

            #line default
            #line hidden
                return;

            case 5:
                this.popup = ((System.Windows.Controls.Primitives.Popup)(target));
                return;

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

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

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

            #line 90 "..\..\MainWindow.xaml"
                this.report.Click += new System.Windows.RoutedEventHandler(this.report_Click);

            #line default
            #line hidden
                return;

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

            #line 95 "..\..\MainWindow.xaml"
                this.HelpButton.Click += new System.Windows.RoutedEventHandler(this.HelpButton_Click);

            #line default
            #line hidden
                return;

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

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

            #line default
            #line hidden
                return;

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

            #line 106 "..\..\MainWindow.xaml"
                this.CloseButton.Click += new System.Windows.RoutedEventHandler(this.CloseButton_Click);

            #line default
            #line hidden

            #line 106 "..\..\MainWindow.xaml"
                this.CloseButton.MouseEnter += new System.Windows.Input.MouseEventHandler(this.CloseButton_MouseEnter);

            #line default
            #line hidden
                return;

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

            #line 107 "..\..\MainWindow.xaml"
                this.Close.MouseLeave += new System.Windows.Input.MouseEventHandler(this.Close_MouseLeave);

            #line default
            #line hidden
                return;

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

            #line 109 "..\..\MainWindow.xaml"
                this.MinimizeButton.Click += new System.Windows.RoutedEventHandler(this.MinimizeButton_Click);

            #line default
            #line hidden

            #line 109 "..\..\MainWindow.xaml"
                this.MinimizeButton.MouseEnter += new System.Windows.Input.MouseEventHandler(this.MinimizeButton_MouseEnter);

            #line default
            #line hidden
                return;

            case 14:
                this.Minimise = ((System.Windows.Controls.Image)(target));

            #line 110 "..\..\MainWindow.xaml"
                this.Minimise.MouseLeave += new System.Windows.Input.MouseEventHandler(this.Minimise_MouseLeave);

            #line default
            #line hidden
                return;

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

            #line 132 "..\..\MainWindow.xaml"
                this.BrowseTourButton.Click += new System.Windows.RoutedEventHandler(this.BrowseTourButton_Click);

            #line default
            #line hidden
                return;

            case 16:
                this.CartButton = ((System.Windows.Controls.Button)(target));

            #line 138 "..\..\MainWindow.xaml"
                this.CartButton.Click += new System.Windows.RoutedEventHandler(this.CartButton_Click);

            #line default
            #line hidden
                return;

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

            #line 144 "..\..\MainWindow.xaml"
                this.BookmarkButton.Click += new System.Windows.RoutedEventHandler(this.BookmarkButton_Click);

            #line default
            #line hidden
                return;

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

            #line 150 "..\..\MainWindow.xaml"
                this.ReviewButton.Click += new System.Windows.RoutedEventHandler(this.ReviewButton_Click);

            #line default
            #line hidden
                return;

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

            #line 157 "..\..\MainWindow.xaml"
                this.ContactUsButton.Click += new System.Windows.RoutedEventHandler(this.ContactUsButton_Click);

            #line default
            #line hidden
                return;

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

            #line 164 "..\..\MainWindow.xaml"
                this.SettingsButton.Click += new System.Windows.RoutedEventHandler(this.SettingsButton_Click);

            #line default
            #line hidden
                return;

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

            #line 12 "..\..\..\Views\LoginView.xaml"
                this.LogIn.Click += new System.Windows.RoutedEventHandler(this.LogIn_Click);

            #line default
            #line hidden
                return;

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

            #line 15 "..\..\..\Views\LoginView.xaml"
                this.Register.Click += new System.Windows.RoutedEventHandler(this.Register_Click);

            #line default
            #line hidden
                return;

            case 3:
                this.PopupLogin = ((System.Windows.Controls.Primitives.Popup)(target));
                return;

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

            #line 32 "..\..\..\Views\LoginView.xaml"
                this.LogowaniePopup.Click += new System.Windows.RoutedEventHandler(this.LogowaniePopup_Click);

            #line default
            #line hidden
                return;

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

            #line 35 "..\..\..\Views\LoginView.xaml"
                this.NumberTextBox.PreviewTextInput += new System.Windows.Input.TextCompositionEventHandler(this.TylkoLiczbyHandler);

            #line default
            #line hidden

            #line 35 "..\..\..\Views\LoginView.xaml"
                this.NumberTextBox.AddHandler(System.Windows.DataObject.PastingEvent, new System.Windows.DataObjectPastingEventHandler(this.TextBoxPastingHandler));

            #line default
            #line hidden

            #line 35 "..\..\..\Views\LoginView.xaml"
                this.NumberTextBox.TextChanged += new System.Windows.Controls.TextChangedEventHandler(this.NumberTextBox_TextChanged);

            #line default
            #line hidden
                return;

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

            #line 37 "..\..\..\Views\LoginView.xaml"
                this.ZamknijPopup.Click += new System.Windows.RoutedEventHandler(this.ZamknijPopupClick);

            #line default
            #line hidden
                return;

            case 7:
                this.PopupRegister = ((System.Windows.Controls.Primitives.Popup)(target));
                return;

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

            #line 56 "..\..\..\Views\LoginView.xaml"
                this.RegisterPopup.Click += new System.Windows.RoutedEventHandler(this.RegisterPopup_Click);

            #line default
            #line hidden
                return;

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

            #line 59 "..\..\..\Views\LoginView.xaml"
                this.NumberTextBoxReg.PreviewTextInput += new System.Windows.Input.TextCompositionEventHandler(this.TylkoLiczbyHandler);

            #line default
            #line hidden

            #line 59 "..\..\..\Views\LoginView.xaml"
                this.NumberTextBoxReg.AddHandler(System.Windows.DataObject.PastingEvent, new System.Windows.DataObjectPastingEventHandler(this.TextBoxPastingHandler));

            #line default
            #line hidden

            #line 59 "..\..\..\Views\LoginView.xaml"
                this.NumberTextBoxReg.TextChanged += new System.Windows.Controls.TextChangedEventHandler(this.NumberTextBoxReg_TextChanged);

            #line default
            #line hidden
                return;

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

            #line 61 "..\..\..\Views\LoginView.xaml"
                this.ZamknijPopupReg.Click += new System.Windows.RoutedEventHandler(this.ZamknijPopupClick);

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

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

            #line 372 "..\..\MainPage.xaml"
                this.AddNewWaste.Click += new System.Windows.RoutedEventHandler(this.AddNew_Click);

            #line default
            #line hidden
                return;

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

            #line 383 "..\..\MainPage.xaml"
                this.Logout.Click += new System.Windows.RoutedEventHandler(this.Logout_Click);

            #line default
            #line hidden
                return;

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

            case 5:
                this.Popup = ((System.Windows.Controls.Primitives.Popup)(target));
                return;

            case 6:
                this.Rectangle1 = ((System.Windows.Shapes.Rectangle)(target));
                return;

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

            #line 428 "..\..\MainPage.xaml"
                this.Sum.GotFocus += new System.Windows.RoutedEventHandler(this.Sum_GotFocus);

            #line default
            #line hidden

            #line 429 "..\..\MainPage.xaml"
                this.Sum.LostFocus += new System.Windows.RoutedEventHandler(this.Sum_LostFocus);

            #line default
            #line hidden

            #line 429 "..\..\MainPage.xaml"
                this.Sum.PreviewTextInput += new System.Windows.Input.TextCompositionEventHandler(this.Sum_PreviewTextInput);

            #line default
            #line hidden
                return;

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

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

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

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

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

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

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

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

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

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

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

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

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

            case 21:
                this.Calendar = ((System.Windows.Controls.DatePicker)(target));
                return;

            case 22:
                this.Rectangle3 = ((System.Windows.Shapes.Rectangle)(target));
                return;

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

            #line 689 "..\..\MainPage.xaml"
                this.Description.GotFocus += new System.Windows.RoutedEventHandler(this.Description_GotFocus);

            #line default
            #line hidden

            #line 689 "..\..\MainPage.xaml"
                this.Description.LostFocus += new System.Windows.RoutedEventHandler(this.Description_LostFocus);

            #line default
            #line hidden
                return;

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

            #line 699 "..\..\MainPage.xaml"
                this.Save.Click += new System.Windows.RoutedEventHandler(this.Save_Click);

            #line default
            #line hidden
                return;

            case 25:

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

            #line default
            #line hidden
                return;

            case 26:
                this.rectangle = ((System.Windows.Shapes.Rectangle)(target));
                return;

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

            case 28:
                this.Menu = ((System.Windows.Controls.ListView)(target));
                return;

            case 29:
                this.Dashboard = ((System.Windows.Controls.ListViewItem)(target));
                return;

            case 30:
                this.Stats = ((System.Windows.Controls.ListViewItem)(target));
                return;

            case 31:
                this.Important = ((System.Windows.Controls.ListViewItem)(target));
                return;

            case 32:
                this.Events = ((System.Windows.Controls.ListViewItem)(target));
                return;

            case 33:
                this.Feedback = ((System.Windows.Controls.ListViewItem)(target));
                return;

            case 34:
                this.Settings = ((System.Windows.Controls.ListViewItem)(target));
                return;
            }
            this._contentLoaded = true;
        }
Ejemplo n.º 53
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:

            #line 8 "..\..\MainWindow.xaml"
                ((Light_Control_Test.MainWindow)(target)).MouseDown += new System.Windows.Input.MouseButtonEventHandler(this.Window_MouseDown);

            #line default
            #line hidden

            #line 8 "..\..\MainWindow.xaml"
                ((Light_Control_Test.MainWindow)(target)).Deactivated += new System.EventHandler(this.Window_Deactivated);

            #line default
            #line hidden
                return;

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

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

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

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

            #line default
            #line hidden
                return;

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

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

            #line default
            #line hidden
                return;

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

            #line 42 "..\..\MainWindow.xaml"
                this.buttonPlan.Click += new System.Windows.RoutedEventHandler(this.Button_Click);

            #line default
            #line hidden
                return;

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

            #line 48 "..\..\MainWindow.xaml"
                this.buttonUpdate.Click += new System.Windows.RoutedEventHandler(this.Button_Click);

            #line default
            #line hidden
                return;

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

            #line 54 "..\..\MainWindow.xaml"
                this.Test.Click += new System.Windows.RoutedEventHandler(this.Test_Click);

            #line default
            #line hidden
                return;

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

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

            #line default
            #line hidden
                return;

            case 10:
                this.menuImage = ((System.Windows.Controls.Image)(target));

            #line 63 "..\..\MainWindow.xaml"
                this.menuImage.MouseLeftButtonDown += new System.Windows.Input.MouseButtonEventHandler(this.menuImage_MouseLeftButtonDown);

            #line default
            #line hidden
                return;

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

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

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

            #line default
            #line hidden
                return;

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

            #line 75 "..\..\MainWindow.xaml"
                this.DataCenter.Click += new System.Windows.RoutedEventHandler(this.DataCenter_Click);

            #line default
            #line hidden
                return;

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

            #line 80 "..\..\MainWindow.xaml"
                this.DataLoad.Click += new System.Windows.RoutedEventHandler(this.DataLoad_Click);

            #line default
            #line hidden
                return;

            case 15:
                this.SecondMenuPop = ((System.Windows.Controls.Primitives.Popup)(target));
                return;

            case 16:
                this.SecondMenuPop2 = ((System.Windows.Controls.Primitives.Popup)(target));
                return;

            case 17:
                this.SecondMenuPop3 = ((System.Windows.Controls.Primitives.Popup)(target));
                return;
            }
            this._contentLoaded = true;
        }
Ejemplo n.º 54
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.login = ((CSClient.LoginWindow)(target));
                return;

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

            case 3:
                this.popupLoginers = ((System.Windows.Controls.Primitives.Popup)(target));
                return;

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

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

            #line 123 "..\..\LoginWindow.xaml"
                this.btnMin.Click += new System.Windows.RoutedEventHandler(this.btnMin_Click);

            #line default
            #line hidden
                return;

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

            #line 124 "..\..\LoginWindow.xaml"
                this.btnClose.Click += new System.Windows.RoutedEventHandler(this.btnClose_Click);

            #line default
            #line hidden
                return;

            case 7:
                this.btnLoginUser = ((IMCustomControls.PopupToggleButton)(target));
                return;

            case 8:
                this.elpRing = ((System.Windows.Shapes.Ellipse)(target));
                return;

            case 9:
                this.rotateRing = ((System.Windows.Media.RotateTransform)(target));
                return;

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

            case 11:
                this.cbLogining = ((System.Windows.Controls.CheckBox)(target));
                return;

            case 12:
                this.BeginLoading = ((System.Windows.Media.Animation.BeginStoryboard)(target));
                return;
            }
            this._contentLoaded = true;
        }
Ejemplo n.º 55
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.SavePopup = ((System.Windows.Controls.Primitives.Popup)(target));
                return;

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

            #line 22 "..\..\MainWindow.xaml"
                this.COMBox.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.COMBox_SelectionChanged);

            #line default
            #line hidden
                return;

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

            #line 26 "..\..\MainWindow.xaml"
                this.ConnectButton.Click += new System.Windows.RoutedEventHandler(this.Connect);

            #line default
            #line hidden
                return;

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

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

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

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

            #line default
            #line hidden
                return;

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

            case 8:
                this.ButtonsControl = ((System.Windows.Controls.StackPanel)(target));
                return;

            case 9:
                this.b1SingleLine = ((System.Windows.Controls.CheckBox)(target));

            #line 50 "..\..\MainWindow.xaml"
                this.b1SingleLine.Click += new System.Windows.RoutedEventHandler(this.b1SingleLine_Click);

            #line default
            #line hidden
                return;

            case 10:
                this.b1Reverse = ((System.Windows.Controls.CheckBox)(target));

            #line 54 "..\..\MainWindow.xaml"
                this.b1Reverse.Click += new System.Windows.RoutedEventHandler(this.b1Reverse_Click);

            #line default
            #line hidden
                return;

            case 11:
                this.b1Flashing = ((System.Windows.Controls.CheckBox)(target));

            #line 58 "..\..\MainWindow.xaml"
                this.b1Flashing.Click += new System.Windows.RoutedEventHandler(this.b1Flashing_Click);

            #line default
            #line hidden
                return;

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

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

            #line default
            #line hidden
                return;

            case 13:
                this.b1ScrollSpeed = ((System.Windows.Controls.ComboBox)(target));
                return;

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

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

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

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

            #line 90 "..\..\MainWindow.xaml"
                this.b2SingleLine.Click += new System.Windows.RoutedEventHandler(this.b2SingleLine_Click);

            #line default
            #line hidden
                return;

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

            #line 94 "..\..\MainWindow.xaml"
                this.b2Reverse.Click += new System.Windows.RoutedEventHandler(this.b2Reverse_Click);

            #line default
            #line hidden
                return;

            case 19:
                this.b2Flashing = ((System.Windows.Controls.CheckBox)(target));

            #line 98 "..\..\MainWindow.xaml"
                this.b2Flashing.Click += new System.Windows.RoutedEventHandler(this.b2Flashing_Click);

            #line default
            #line hidden
                return;

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

            #line 102 "..\..\MainWindow.xaml"
                this.b2AutoScroll.Click += new System.Windows.RoutedEventHandler(this.b2AutoScroll_Click);

            #line default
            #line hidden
                return;

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

            case 22:
                this.b2DisplayTime = ((System.Windows.Controls.TextBox)(target));
                return;

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

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

            case 25:
                this.b3SingleLine = ((System.Windows.Controls.CheckBox)(target));

            #line 133 "..\..\MainWindow.xaml"
                this.b3SingleLine.Click += new System.Windows.RoutedEventHandler(this.b3SingleLine_Click);

            #line default
            #line hidden
                return;

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

            #line 137 "..\..\MainWindow.xaml"
                this.b3Reverse.Click += new System.Windows.RoutedEventHandler(this.b3Reverse_Click);

            #line default
            #line hidden
                return;

            case 27:
                this.b3Flashing = ((System.Windows.Controls.CheckBox)(target));

            #line 141 "..\..\MainWindow.xaml"
                this.b3Flashing.Click += new System.Windows.RoutedEventHandler(this.b3Flashing_Click);

            #line default
            #line hidden
                return;

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

            #line 146 "..\..\MainWindow.xaml"
                this.b3AutoScroll.Click += new System.Windows.RoutedEventHandler(this.b3AutoScroll_Click);

            #line default
            #line hidden
                return;

            case 29:
                this.b3ScrollSpeed = ((System.Windows.Controls.ComboBox)(target));
                return;

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

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

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

            case 33:
                this.b4SingleLine = ((System.Windows.Controls.CheckBox)(target));

            #line 175 "..\..\MainWindow.xaml"
                this.b4SingleLine.Click += new System.Windows.RoutedEventHandler(this.b4SingleLine_Click);

            #line default
            #line hidden
                return;

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

            #line 179 "..\..\MainWindow.xaml"
                this.b4Reverse.Click += new System.Windows.RoutedEventHandler(this.b4Reverse_Click);

            #line default
            #line hidden
                return;

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

            #line 183 "..\..\MainWindow.xaml"
                this.b4Flashing.Click += new System.Windows.RoutedEventHandler(this.b4Flashing_Click);

            #line default
            #line hidden
                return;

            case 36:
                this.b4AutoScroll = ((System.Windows.Controls.CheckBox)(target));

            #line 188 "..\..\MainWindow.xaml"
                this.b4AutoScroll.Click += new System.Windows.RoutedEventHandler(this.b4AutoScroll_Click);

            #line default
            #line hidden
                return;

            case 37:
                this.b4ScrollSpeed = ((System.Windows.Controls.ComboBox)(target));
                return;

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

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

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

            case 41:
                this.b5SingleLine = ((System.Windows.Controls.CheckBox)(target));

            #line 219 "..\..\MainWindow.xaml"
                this.b5SingleLine.Click += new System.Windows.RoutedEventHandler(this.b5SingleLine_Click);

            #line default
            #line hidden
                return;

            case 42:
                this.b5Reverse = ((System.Windows.Controls.CheckBox)(target));

            #line 223 "..\..\MainWindow.xaml"
                this.b5Reverse.Click += new System.Windows.RoutedEventHandler(this.b5Reverse_Click);

            #line default
            #line hidden
                return;

            case 43:
                this.b5Flashing = ((System.Windows.Controls.CheckBox)(target));

            #line 227 "..\..\MainWindow.xaml"
                this.b5Flashing.Click += new System.Windows.RoutedEventHandler(this.b5Flashing_Click);

            #line default
            #line hidden
                return;

            case 44:
                this.b5AutoScroll = ((System.Windows.Controls.CheckBox)(target));

            #line 231 "..\..\MainWindow.xaml"
                this.b5AutoScroll.Click += new System.Windows.RoutedEventHandler(this.b5AutoScroll_Click);

            #line default
            #line hidden
                return;

            case 45:
                this.b5ScrollSpeed = ((System.Windows.Controls.ComboBox)(target));
                return;

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

            case 47:
                this.b5Line1 = ((System.Windows.Controls.TextBox)(target));
                return;

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

            case 49:
                this.b6SingleLine = ((System.Windows.Controls.CheckBox)(target));

            #line 260 "..\..\MainWindow.xaml"
                this.b6SingleLine.Click += new System.Windows.RoutedEventHandler(this.b6SingleLine_Click);

            #line default
            #line hidden
                return;

            case 50:
                this.b6Reverse = ((System.Windows.Controls.CheckBox)(target));

            #line 264 "..\..\MainWindow.xaml"
                this.b6Reverse.Click += new System.Windows.RoutedEventHandler(this.b6Reverse_Click);

            #line default
            #line hidden
                return;

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

            #line 268 "..\..\MainWindow.xaml"
                this.b6Flashing.Click += new System.Windows.RoutedEventHandler(this.b6Flashing_Click);

            #line default
            #line hidden
                return;

            case 52:
                this.b6AutoScroll = ((System.Windows.Controls.CheckBox)(target));

            #line 273 "..\..\MainWindow.xaml"
                this.b6AutoScroll.Click += new System.Windows.RoutedEventHandler(this.b6AutoScroll_Click);

            #line default
            #line hidden
                return;

            case 53:
                this.b6ScrollSpeed = ((System.Windows.Controls.ComboBox)(target));
                return;

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

            case 55:
                this.b6Line1 = ((System.Windows.Controls.TextBox)(target));
                return;

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

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

            #line 301 "..\..\MainWindow.xaml"
                this.Cancel.Click += new System.Windows.RoutedEventHandler(this.ShutDown);

            #line default
            #line hidden
                return;

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

            #line 302 "..\..\MainWindow.xaml"
                this.Save.Click += new System.Windows.RoutedEventHandler(this.SaveStuffToArduino);

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

            #line 7 "..\..\MainWindow.xaml"
                this.MainWindowName.PreviewKeyDown += new System.Windows.Input.KeyEventHandler(this.Window_KeyDown);

            #line default
            #line hidden
                return;

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

            case 3:
                this.PopupBar = ((System.Windows.Controls.Primitives.Popup)(target));
                return;

            case 4:
                this.BarStatus = ((System.Windows.Controls.ProgressBar)(target));
                return;

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

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

            case 7:
                this.WholeMenu = ((System.Windows.Controls.Menu)(target));
                return;

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

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

            #line 38 "..\..\MainWindow.xaml"
                this.MenuNew.Click += new System.Windows.RoutedEventHandler(this.NewFile);

            #line default
            #line hidden
                return;

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

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

            #line default
            #line hidden
                return;

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

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

            #line default
            #line hidden
                return;

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

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

            #line default
            #line hidden
                return;

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

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

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

            #line default
            #line hidden
                return;

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

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

            #line 50 "..\..\MainWindow.xaml"
                this.SpeedComboBox.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.SetDrawInterval);

            #line default
            #line hidden
                return;

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

            case 18:
                this.MenuDFS = ((System.Windows.Controls.MenuItem)(target));

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

            #line default
            #line hidden
                return;

            case 19:
                this.MenuBFS = ((System.Windows.Controls.MenuItem)(target));

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

            #line default
            #line hidden
                return;

            case 20:
                this.MenuGo = ((System.Windows.Controls.MenuItem)(target));

            #line 66 "..\..\MainWindow.xaml"
                this.MenuGo.Click += new System.Windows.RoutedEventHandler(this.StartSimulation);

            #line default
            #line hidden
                return;

            case 21:
                this.MenuStop = ((System.Windows.Controls.MenuItem)(target));

            #line 74 "..\..\MainWindow.xaml"
                this.MenuStop.Click += new System.Windows.RoutedEventHandler(this.StopSimulation);

            #line default
            #line hidden
                return;

            case 22:
                this.EditTip = ((System.Windows.Controls.TextBlock)(target));
                return;

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

            #line 90 "..\..\MainWindow.xaml"
                this.canvas1.MouseLeftButtonDown += new System.Windows.Input.MouseButtonEventHandler(this.Canvas_MouseLeftButtonDown);

            #line default
            #line hidden
                return;

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

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

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

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

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

            case 29:
                this.cLeft = ((System.Windows.Controls.CheckBox)(target));

            #line 145 "..\..\MainWindow.xaml"
                this.cLeft.Unchecked += new System.Windows.RoutedEventHandler(this.modifyWalls);

            #line default
            #line hidden

            #line 145 "..\..\MainWindow.xaml"
                this.cLeft.Checked += new System.Windows.RoutedEventHandler(this.modifyWalls);

            #line default
            #line hidden
                return;

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

            #line 146 "..\..\MainWindow.xaml"
                this.cUp.Unchecked += new System.Windows.RoutedEventHandler(this.modifyWalls);

            #line default
            #line hidden

            #line 146 "..\..\MainWindow.xaml"
                this.cUp.Checked += new System.Windows.RoutedEventHandler(this.modifyWalls);

            #line default
            #line hidden
                return;

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

            #line 147 "..\..\MainWindow.xaml"
                this.cRight.Unchecked += new System.Windows.RoutedEventHandler(this.modifyWalls);

            #line default
            #line hidden

            #line 147 "..\..\MainWindow.xaml"
                this.cRight.Checked += new System.Windows.RoutedEventHandler(this.modifyWalls);

            #line default
            #line hidden
                return;

            case 32:
                this.cDown = ((System.Windows.Controls.CheckBox)(target));

            #line 148 "..\..\MainWindow.xaml"
                this.cDown.Unchecked += new System.Windows.RoutedEventHandler(this.modifyWalls);

            #line default
            #line hidden

            #line 148 "..\..\MainWindow.xaml"
                this.cDown.Checked += new System.Windows.RoutedEventHandler(this.modifyWalls);

            #line default
            #line hidden
                return;

            case 33:
                this.Startowy = ((System.Windows.Controls.RadioButton)(target));

            #line 149 "..\..\MainWindow.xaml"
                this.Startowy.Checked += new System.Windows.RoutedEventHandler(this.Node_Checked);

            #line default
            #line hidden
                return;

            case 34:
                this.Koncowy = ((System.Windows.Controls.RadioButton)(target));

            #line 150 "..\..\MainWindow.xaml"
                this.Koncowy.Checked += new System.Windows.RoutedEventHandler(this.Node_Checked);

            #line default
            #line hidden
                return;

            case 35:
                this.Zwykly = ((System.Windows.Controls.RadioButton)(target));

            #line 151 "..\..\MainWindow.xaml"
                this.Zwykly.Checked += new System.Windows.RoutedEventHandler(this.Node_Checked);

            #line default
            #line hidden
                return;

            case 36:
                this.ZakEdycje = ((System.Windows.Controls.Button)(target));

            #line 152 "..\..\MainWindow.xaml"
                this.ZakEdycje.Click += new System.Windows.RoutedEventHandler(this.EndEditing);

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

            #line 6 "..\..\..\..\Views\InputAccessoriesWindow.xaml"
                ((MasterSchedule.Views.InputAccessoriesWindow)(target)).Loaded += new System.Windows.RoutedEventHandler(this.Window_Loaded);

            #line default
            #line hidden

            #line 6 "..\..\..\..\Views\InputAccessoriesWindow.xaml"
                ((MasterSchedule.Views.InputAccessoriesWindow)(target)).KeyUp += new System.Windows.Input.KeyEventHandler(this.Window_KeyUp);

            #line default
            #line hidden
                return;

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

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

            #line 27 "..\..\..\..\Views\InputAccessoriesWindow.xaml"
                this.btnAddNewAccessory.Click += new System.Windows.RoutedEventHandler(this.btnAddNewAccessory_Click);

            #line default
            #line hidden
                return;

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

            #line 43 "..\..\..\..\Views\InputAccessoriesWindow.xaml"
                this.dgAccessoriesInfor.LoadingRow += new System.EventHandler <System.Windows.Controls.DataGridRowEventArgs>(this.dgAccessoriesInfor_LoadingRow);

            #line default
            #line hidden

            #line 44 "..\..\..\..\Views\InputAccessoriesWindow.xaml"
                this.dgAccessoriesInfor.MouseLeftButtonDown += new System.Windows.Input.MouseButtonEventHandler(this.dgAccessoriesInfor_MouseLeftButtonDown);

            #line default
            #line hidden
                return;

            case 5:
                this.colSupplier = ((System.Windows.Controls.DataGridTemplateColumn)(target));
                return;

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

            case 8:
                this.popInputWorkerId = ((System.Windows.Controls.Primitives.Popup)(target));
                return;

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

            #line 141 "..\..\..\..\Views\InputAccessoriesWindow.xaml"
                this.txtWorkerId.PreviewKeyUp += new System.Windows.Input.KeyEventHandler(this.txtWorkerId_PreviewKeyUp);

            #line default
            #line hidden
                return;

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

            #line 142 "..\..\..\..\Views\InputAccessoriesWindow.xaml"
                this.btnWorkderId.Click += new System.Windows.RoutedEventHandler(this.btnWorkderId_Click);

            #line default
            #line hidden
                return;

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

            case 12:
                this.dpDeliveryDate = ((System.Windows.Controls.DatePicker)(target));

            #line 160 "..\..\..\..\Views\InputAccessoriesWindow.xaml"
                this.dpDeliveryDate.SelectedDateChanged += new System.EventHandler <System.Windows.Controls.SelectionChangedEventArgs>(this.dpDeliveryDate_SelectedDateChanged);

            #line default
            #line hidden
                return;

            case 13:
                this.stkReviser = ((System.Windows.Controls.StackPanel)(target));
                return;

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

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

            #line 166 "..\..\..\..\Views\InputAccessoriesWindow.xaml"
                this.btnClearReviser.Click += new System.Windows.RoutedEventHandler(this.btnClearReviser_Click);

            #line default
            #line hidden
                return;

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

            case 17:
                this.dgDeliveryDetail = ((System.Windows.Controls.DataGrid)(target));

            #line 176 "..\..\..\..\Views\InputAccessoriesWindow.xaml"
                this.dgDeliveryDetail.LoadingRow += new System.EventHandler <System.Windows.Controls.DataGridRowEventArgs>(this.dgDeliveryDetail_LoadingRow);

            #line default
            #line hidden

            #line 177 "..\..\..\..\Views\InputAccessoriesWindow.xaml"
                this.dgDeliveryDetail.BeginningEdit += new System.EventHandler <System.Windows.Controls.DataGridBeginningEditEventArgs>(this.dgDeliveryDetail_BeginningEdit);

            #line default
            #line hidden

            #line 177 "..\..\..\..\Views\InputAccessoriesWindow.xaml"
                this.dgDeliveryDetail.CellEditEnding += new System.EventHandler <System.Windows.Controls.DataGridCellEditEndingEventArgs>(this.dgDeliveryDetail_CellEditEnding);

            #line default
            #line hidden
                return;

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

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

            #line 233 "..\..\..\..\Views\InputAccessoriesWindow.xaml"
                this.btnDelete.Click += new System.Windows.RoutedEventHandler(this.btnDelete_Click);

            #line default
            #line hidden
                return;

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

            #line 234 "..\..\..\..\Views\InputAccessoriesWindow.xaml"
                this.btnSave.Click += new System.Windows.RoutedEventHandler(this.btnSave_Click);

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

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

            #line 17 "..\..\..\Memory_Screen.xaml"
                this.menuButton.Click += new System.Windows.RoutedEventHandler(this.menuButton_Click);

            #line default
            #line hidden
                return;

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

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

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

            #line 25 "..\..\..\Memory_Screen.xaml"
                this.backButton.Click += new System.Windows.RoutedEventHandler(this.backButton_Click);

            #line default
            #line hidden
                return;

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

            #line 26 "..\..\..\Memory_Screen.xaml"
                this.flagButton.Click += new System.Windows.RoutedEventHandler(this.flagButton_Click);

            #line default
            #line hidden
                return;

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

            case 8:
                this.Popup1 = ((System.Windows.Controls.Primitives.Popup)(target));
                return;

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

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

            #line 48 "..\..\..\Memory_Screen.xaml"
                this.confirmFlag.Click += new System.Windows.RoutedEventHandler(this.confirmFlag_Click);

            #line default
            #line hidden
                return;

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

            #line 49 "..\..\..\Memory_Screen.xaml"
                this.cancelButton.Click += new System.Windows.RoutedEventHandler(this.cancelButton_Click);

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

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

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

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

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

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

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

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

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

            case 10:
                this.IMAGE = ((System.Windows.Controls.Image)(target));
                return;

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

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

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

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

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

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

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

            case 18:
                this.txtstate = ((System.Windows.Controls.ComboBox)(target));
                return;

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

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

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

            case 22:
                this.idproof = ((System.Windows.Controls.ComboBox)(target));
                return;

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

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

            #line 154 "..\..\..\..\View\Operations\grpchkn.xaml"
                this.txtpax.LostFocus += new System.Windows.RoutedEventHandler(this.txtpax_LostFocus);

            #line default
            #line hidden
                return;

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

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

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

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

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

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

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

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

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

            #line 186 "..\..\..\..\View\Operations\grpchkn.xaml"
                this.btntd.Click += new System.Windows.RoutedEventHandler(this.btntd_Click);

            #line default
            #line hidden
                return;

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

            case 35:
                this.scantybaggage = ((System.Windows.Controls.ComboBox)(target));
                return;

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

            case 37:
                this.poptp = ((System.Windows.Controls.Primitives.Popup)(target));
                return;

            case 38:
                this.tarrifsgrid = ((System.Windows.Controls.Grid)(target));
                return;

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

            #line 240 "..\..\..\..\View\Operations\grpchkn.xaml"
                this.btnpupdt.Click += new System.Windows.RoutedEventHandler(this.btnpupdt_Click);

            #line default
            #line hidden
                return;
            }
            this._contentLoaded = true;
        }
Ejemplo n.º 60
-1
        // Constructor
        public MainPage( )
        {
            InitializeComponent();

            myPopup = new Popup() { IsOpen = true, Child = new SplashScreen() };
            backroungWorker = new BackgroundWorker();
            RunBackgroundWorker();

            using(AppDbContext context = new AppDbContext("Data Source='isostore:/AccountAssistantDb.sdf'"))
            {
                if(!context.DatabaseExists())
                {
                    context.CreateDatabase();

                }
            }
            if(!IsolatedStorageSettings.ApplicationSettings.Contains("situation"))
                IsolatedStorageSettings.ApplicationSettings.Add("situation", true);

            if(!IsolatedStorageSettings.ApplicationSettings.Contains("TilePerson"))
                IsolatedStorageSettings.ApplicationSettings.Add("TilePerson", "");

            if(!IsolatedStorageSettings.ApplicationSettings.Contains("TileSituation"))
                IsolatedStorageSettings.ApplicationSettings.Add("TileSituation", "");
        }