Ejemplo n.º 1
1
        //public window_content win_content;
        public image_frame()
        {
            InitializeComponent();
            //this.title_bar.Background = configurations.contribution_view_title_bar_color;

            //Static Configuration Values:
            this.the_item.Width = configurations.frame_width;
            this.the_item.Height = 300;
            this.the_content.Width = configurations.frame_width;
            this.the_media.Margin = new Thickness(0, -1 * configurations.frame_title_bar_height, 0, 0);

            //this.title_bar.Background = new SolidColorBrush(Color.;
            //this.frame.BorderBrush = new SolidColorBrush(Color.;
            this.title_bar.Height = configurations.frame_title_bar_height;
            var b1 = new ImageBrush();
            b1.ImageSource = configurations.img_close_icon;
            this.close.Background = b1;

            if (configurations.response_to_mouse_clicks)
                this.close.Click += new RoutedEventHandler(close_Click);
            //this.change_view.Click += new RoutedEventHandler(change_view_Click);
            this.close.PreviewTouchDown += new EventHandler<TouchEventArgs>(close_Click);

            RenderOptions.SetBitmapScalingMode(the_item, configurations.scaling_mode);
        }
Ejemplo n.º 2
1
        public Model3DGroup Create(Color modelColor,string pictureName, Point3D startPos, double maxHigh)
        {
            try
            {
                Uri inpuri = new Uri(@pictureName, UriKind.Relative);
                BitmapImage bi = new BitmapImage();
                bi.BeginInit();
                bi.UriSource = inpuri;
                bi.EndInit();
                ImageBrush imagebrush = new ImageBrush(bi);
                imagebrush.Opacity = 100;
                imagebrush.Freeze();

                Point[] ptexture0 = { new Point(0, 0), new Point(0, 1), new Point(1, 0) };
                Point[] ptexture1 = { new Point(1, 0), new Point(0, 1), new Point(1, 1) };

                SolidColorBrush modelbrush = new SolidColorBrush(modelColor);
                Model3DGroup cube = new Model3DGroup();
                Point3D uppercircle = startPos;
                modelbrush.Freeze();
                uppercircle.Y = startPos.Y + maxHigh;
                cube.Children.Add(CreateEllipse2D(modelbrush, uppercircle, _EllipseHigh, new Vector3D(0, 1, 0)));
                cube.Children.Add(CreateEllipse2D(modelbrush, startPos, _EllipseHigh, new Vector3D(0, -1, 0)));
                cube.Children.Add(CreateEllipse3D(imagebrush, startPos, _EllipseHigh, maxHigh, ptexture0));
                return cube;
            }
            catch (Exception ex)
            {
                throw ex;
            }
        }
Ejemplo n.º 3
0
 public override Brush getViewTile(ICase tile)
 {
     ImageBrush brush = new ImageBrush();
     if (tile is CaseDesert)
     {
         if (tileDesert == null)
             tileDesert = new BitmapImage(new Uri("../../Resources/" + styleName + "/caseDesert.png", UriKind.Relative));
         brush.ImageSource = tileDesert;
     }
     else if (tile is CaseEau)
     {
         if (tileEau == null)
             tileEau = new BitmapImage(new Uri("../../Resources/" + styleName + "/caseEau.png", UriKind.Relative));
         brush.ImageSource = tileEau;
     }
     else if (tile is CaseForet)
     {
         if (tileForet == null)
             tileForet = new BitmapImage(new Uri("../../Resources/" + styleName + "/caseForet.png", UriKind.Relative));
         brush.ImageSource = tileForet;
     }
     else if (tile is CaseMontagne)
     {
         if (tileMontagne == null)
             tileMontagne = new BitmapImage(new Uri("../../Resources/" + styleName + "/caseMontagne.png", UriKind.Relative));
         brush.ImageSource = tileMontagne;
     }
     else if (tile is CasePlaine)
     {
         if (tilePlaine == null)
             tilePlaine = new BitmapImage(new Uri("../../Resources/" + styleName + "/casePlaine.png", UriKind.Relative));
         brush.ImageSource = tilePlaine;
     }
     return brush;
 }
Ejemplo n.º 4
0
        public Lobby(Menu parent)
        {
            InitializeComponent();

            ImageBrush myBrush = new ImageBrush();
            myBrush.ImageSource = new BitmapImage(new Uri(".\\Resources\\icon_backarrow.png", UriKind.Relative));
            bekk.Background = myBrush;

            ImageBrush myBrush2 = new ImageBrush();
            myBrush2.ImageSource = new BitmapImage(new Uri(".\\Resources\\icon_closebutton.png", UriKind.Relative));
            klóz.Background = myBrush2;

            this.parent = parent;

            chatbox.Items.Clear();

            refreshworker = new BackgroundWorker();
            refreshworker.WorkerSupportsCancellation = true;
            refreshworker.WorkerReportsProgress = true;
            refreshworker.DoWork += refresh;
            refreshworker.ProgressChanged += refreshUI;

            activityworker = new BackgroundWorker();
            activityworker.WorkerSupportsCancellation = true;
            activityworker.DoWork += wait;
            activityworker.RunWorkerCompleted += doActivity;
        }
Ejemplo n.º 5
0
 public void design(int type)
 {
     Uri uri = null;
     var image = new ImageBrush();
     switch(type)
     {
         case Constants.GENERAL_ERROR_POPUP:
             this.title.Content = "Humm... ";
             this.message.Content = "Une erreur s'est produite!";
             uri = new Uri("pack://application:,,,/assets/img/popups/error_msg_bg.png", UriKind.Absolute);
             image.ImageSource = new BitmapImage(uri);
             this.Background = image;
             break;
         case Constants.LOGIN_ERROR_POPUP:
             this.title.Content = "Humm...";
             this.message.Content = "Informations incorrectes.";
             uri = new Uri("pack://application:,,,/assets/img/popups/error_msg_bg.png", UriKind.Absolute);
             image.ImageSource = new BitmapImage(uri);
             this.Background = image;
             break;
         case Constants.LOGIN_WARNING_POPUP:
             this.title.Foreground = new SolidColorBrush(Colors.Red);
             this.message.Foreground = new SolidColorBrush(Colors.Red);
             this.title.Content = "Humm... ";
             this.message.Content = "Pas de connexion!";
             uri = new Uri("pack://application:,,,/assets/img/popups/warning_msg_bg.png", UriKind.Absolute);
             image.ImageSource = new BitmapImage(uri);
             this.Background = image;
             break;
     }
 }
Ejemplo n.º 6
0
 public HelpScreen1()
 {
     InitializeComponent();
     ImageBrush ib = new ImageBrush();
     ib.ImageSource = new BitmapImage(new Uri(startupPath + "/images/HelpScreenBackground.jpg", UriKind.Absolute));
     HelpBackground.Background = ib;
 }
 private void MetroWindow_Loaded_1(object sender, RoutedEventArgs e)
 {
     try
     {
         ImageBrush myBrush = new ImageBrush();
         System.Windows.Controls.Image image = new System.Windows.Controls.Image();
         image.Source = new BitmapImage(
             new Uri(AppDomain.CurrentDomain.BaseDirectory + "\\Icons\\bg5.png"));
         myBrush.ImageSource = image.Source;
         //Grid grid = new Grid();
         wdw1.Background = myBrush;
         if (status == "Approval")
         {
             lbl1.Content = "View all Applied Loans";
             lbl2.Content = "Update Loans";
         }
         else if (status == "Releasing")
         {
             lbl1.Content = "View all Approved Loans";
             lbl2.Content = "Update Released Loans";
         }
     }
     catch (Exception ex)
     {
         System.Windows.MessageBox.Show("Runtime Error: " + ex.Message, "Error", MessageBoxButton.OK, MessageBoxImage.Error);
         return;
     }
 }
Ejemplo n.º 8
0
        internal static async Task LoadImage(this Canvas canvas, WindowData data, int imageIndex)
        {
            var image = await Task.Run(delegate
            {
                var im = new BitmapImage(new Uri(data.FileList[imageIndex].FileName));
                im.Freeze();
                return im;
            });

            data.ScaleX = image.Width / image.PixelWidth;
            data.ScaleY = image.Height / image.PixelHeight;

            //if (image.PixelWidth != FileAccess.imageWidth || image.PixelHeight != FileAccess.imageHeight) throw new Exception();

            var bg = new ImageBrush
            {
                ImageSource = image
            };

            data.WindowTitle = Path.GetFileName(data.FileList[imageIndex].FileName) + " (" + bg.ImageSource.Width + "x" + bg.ImageSource.Height + ")";

            canvas.Background = bg;
            canvas.Width = bg.ImageSource.Width;
            canvas.Height = bg.ImageSource.Height;

            canvas.Scale(data.Zoom);

            Keyboard.Focus(canvas);
        }
 private void LoadBackgroundImage()
 {
     ImageBrush myBrush = new ImageBrush();
     var path = System.IO.Path.GetFullPath(@"..\..\Resources\Other_graphics\Instructions.png");
     myBrush.ImageSource = new BitmapImage(new Uri(path, UriKind.Absolute));
     this.Background = myBrush;
 }
Ejemplo n.º 10
0
 public DemandeEnCours()
 {
     
     InitializeComponent();
     ImageBrush myBrush = new ImageBrush();
     
 }
Ejemplo n.º 11
0
 public Wall(Canvas container, Point position, double width, double height) {
   this.container = container;
   this.position = position;
   this.width = width;
   this.height = height;
   this.image = new ImageBrush();
   Debug.WriteLine("IMG width: " + imageSource.PixelWidth + ", height: " + imageSource.PixelHeight);
   this.image.ImageSource = imageSource;
   this.image.Stretch = Stretch.None;
   transform = new TranslateTransform();
   transform.X = -this.position.X;
   transform.Y = -this.position.Y;
   st = new ScaleTransform();
   st.ScaleX = 1.55;
   st.ScaleY = 2;
   this.image.RelativeTransform = st;
   this.image.Transform = transform;
   this.imageContainer = new Canvas();
   this.imageContainer.Width = width;
   this.imageContainer.Height = height;
   this.imageContainer.Background = this.image;
   this.container.Children.Add(this.imageContainer);
   Canvas.SetLeft(this.imageContainer, this.position.X);
   Canvas.SetTop(this.imageContainer, this.position.Y);
   Canvas.SetZIndex(this.imageContainer, 2);
 }
Ejemplo n.º 12
0
 public Letter(string letter, string word, ImageBrush image = null)
 {
     SmallLetter = letter.ToLower();
     BigLetter = letter.ToUpper();
     Word = word;
     Image = image;
 }
Ejemplo n.º 13
0
        public ResultPage()
        {
           
            InitializeComponent();

            System.Windows.Media.ImageBrush myBrush = new System.Windows.Media.ImageBrush();
            Image image = new Image();
            image.ImageFailed += (s, i) => MessageBox.Show("Failed to load: " + i.ErrorException.Message);
            image.Source = new BitmapImage(new Uri("/Images/bg_hdpi.jpg", UriKind.Relative));
            myBrush.ImageSource = image.Source;
            LayoutRoot.Background = myBrush;


            m = (Measure)PhoneApplicationService.Current.State["Data"];
            pgrLoader.Visibility = Visibility.Visible;
            RequestServer();

            if (IsolatedStorageSettings.ApplicationSettings.Contains("login"))
            {
                email = IsolatedStorageSettings.ApplicationSettings["login"] as string;
                password = IsolatedStorageSettings.ApplicationSettings["password"] as string;
                LoggedIn();
            }
          

        }
        public CardStack InitCards()
        {
            images['T'] = 11;
            images['V'] = 2;
            images['Q'] = 3;
            images['K'] = 4;

            for (int j = 0; j < imagesM.Length; j++)
            {
                for (int i = 0; i < values.Length; i++)
                {

                    ImageBrush backForCanvas = new ImageBrush() { ImageSource = new BitmapImage(new Uri(String.Format(@"\CardsImage\{0}{1}.png", values[i], imagesM[j]), UriKind.Relative)) };
                    tempStack.AddCard(new Card(values[i], String.Format("{0}{1}", values[i], imagesM[j])));
                }
                foreach (KeyValuePair<char, int> item in images)
                {

                    ImageBrush backForCanvas = new ImageBrush() { ImageSource = new BitmapImage(new Uri(String.Format(@"\CardsImage\{0}{1}.png", item.Key, imagesM[j]), UriKind.Relative)) };
                    tempStack.AddCard(new Card(item.Value, String.Format("{0}{1}", item.Key, imagesM[j])));
                }

            }
            return tempStack;
        }
Ejemplo n.º 15
0
		static PainterCache()
		{
            UseTransparentImage = true;
			try
			{
				TransparentBrush = new SolidColorBrush(Colors.Transparent);
				TransparentBrush.Freeze();
				BlackBrush = new SolidColorBrush(Colors.Black);
				BlackBrush.Freeze();
				WhiteBrush = new SolidColorBrush(Colors.White);
				WhiteBrush.Freeze();
				ZonePen = new Pen(BlackBrush, 1);
				GridLineBrush = new SolidColorBrush(Colors.Orange);
				GridLineBrush.Freeze();
				GridLinePen = new Pen(GridLineBrush, 1);
				GridLinePen.EndLineCap = PenLineCap.Square;
				GridLinePen.StartLineCap = PenLineCap.Square;
				GridLinePen.DashStyle = DashStyles.Dash;
				PointGeometry = new RectangleGeometry(new Rect(-15, -15, 30, 30));
				_transparentBackgroundBrush = CreateTransparentBackgroundBrush();
			}
			catch (Exception e)
			{
				Logger.Error(e, "PainterCache.PainterCache()");
			}
		}
 public RibbionControl()
 {
     InitializeComponent();
     ImageSource imgSrc = new BitmapImage(new Uri("../../Resources/Images/bigstock-satellite.jpg", UriKind.RelativeOrAbsolute));
     ImageBrush imgBrush = new ImageBrush(imgSrc);
     MainMdiContainer.Background = imgBrush;
 }
Ejemplo n.º 17
0
        private void wdw1_Loaded(object sender, RoutedEventArgs e)
        {
            try
            {
                ImageBrush myBrush = new ImageBrush();
                System.Windows.Controls.Image image = new System.Windows.Controls.Image();
                image.Source = new BitmapImage(
                    new Uri(AppDomain.CurrentDomain.BaseDirectory + "\\Icons\\bg5.png"));
                myBrush.ImageSource = image.Source;
                wdw1.Background = myBrush;

                if (status == "View")
                {
                    using (var ctx = new finalContext())
                    {
                        Domain.Position pos = ctx.Positions.Find(pID);
                        txtPosition.Text = pos.PositionName;
                        txtDesc.Text = pos.Description;
                        btnSave.Content = "Save";
                    }
                }
            }
            catch (Exception ex)
            {
                System.Windows.MessageBox.Show("Runtime Error: " + ex.Message, "Error", MessageBoxButton.OK, MessageBoxImage.Error);
                return;
            }
        }
Ejemplo n.º 18
0
        public override void OnApplyTemplate()
        {
            base.OnApplyTemplate();

            _ui_txtTitle = (TextBlock)GetTemplateChild("_ui_txtTitle");
            if (null != (_ui_btnOpenClose = (Button)GetTemplateChild("_ui_btnOpenClose")))
                _ui_btnOpenClose.Click += new RoutedEventHandler(_ui_btnOpenClose_Click);
            _ui_rectOpenClose = (Rectangle)GetTemplateChild("_ui_rectOpenClose");
            _ui_brdContent = (Border)GetTemplateChild("_ui_brdContent");
            _ui_cntContent = (ContentControl)GetTemplateChild("_ui_cntContent");

            if (null != (_ui_dpHeader = (DockPanel)GetTemplateChild("_ui_dpHeader")))
                _ui_dpHeader.MouseLeftButtonDown += new MouseButtonEventHandler(_ui_dpHeader_MouseLeftButtonDown);


            //            Image cImg = new Image();
            ImageBrush cIB = new ImageBrush();
            cIB.ImageSource = new System.Windows.Media.Imaging.BitmapImage(new Uri("/controls.sl;component/Images/rp_open.png", UriKind.Relative));
            cIB.Stretch = Stretch.None;
            _cOpenSymbol = cIB;               // = cImg;
            cIB = new ImageBrush();
            cIB.ImageSource = new System.Windows.Media.Imaging.BitmapImage(new Uri("/controls.sl;component/Images/rp_close.png", UriKind.Relative));
            cIB.Stretch = Stretch.None;
            _cCloseSymbol = cIB;              //= cImg;
            if(Title.IsNullOrEmpty())
                Title = g.Common.sName;
            ProcessTitle();
            ProcessIsOpen();
        }
Ejemplo n.º 19
0
        public void floor(double l, double h, double w)
        {
            DiffuseMaterial material1 = new DiffuseMaterial();
            ImageBrush brush = new ImageBrush();
            brush.ImageSource = new BitmapImage(new Uri(@"floor15.jpg", UriKind.Relative));
            brush.Viewport = new Rect(0, 0, 0.1, 0.1);
            brush.TileMode = TileMode.Tile;
            material1.Brush = brush;

            Model3DGroup cube = new Model3DGroup();
            material[0] = material1;
            material[1] = material1;
            material[2] = material1;
            material[3] = material1;
            material[4] = material1;
            material[5] = material1;
            material[6] = material1;
            material[7] = material1;
            material[8] = material1;
            material[9] = material1;
            material[10] = material1;
            material[11] = material1;
            cubegroup(l, h, w,ref cube,  material);
            this.Content = cube;  
        }
        public object Convert(object value, Type targetType, object parameter, System.Globalization.CultureInfo culture)
        {
            if (value is Project)
            {
                Project item = (Project)value;

                if (item != null && item.name.Contains("Inbox"))
                {
                    ImageBrush background = new ImageBrush();
                    background.ImageSource =
                        new System.Windows.Media.Imaging.BitmapImage(
                            new Uri("/MetroistLib;component/Images/MetroistInbox.png", UriKind.Relative));
                    return background;
                }
                else
                {
                    return App.Current.Resources["ProjectColor" + item.color] as SolidColorBrush;
                }
            }
            else if (value is string)
            {
                return App.Current.Resources["ProjectColor" + (string)value] as SolidColorBrush;
            }

            return value;
        }
Ejemplo n.º 21
0
        private void CreateBackFace(int width, int height, BitmapImage bitmapImage)
        {
            ;

            MeshGeometry3D mesh = new MeshGeometry3D();

            mesh.Positions.Add(new Point3D(-width, -height, -10));
            mesh.Positions.Add(new Point3D(width, -height, -10));
            mesh.Positions.Add(new Point3D(width, height, -10));
            mesh.Positions.Add(new Point3D(-width, height, -10));

            mesh.TriangleIndices.Add(0);
            mesh.TriangleIndices.Add(1);
            mesh.TriangleIndices.Add(3);
            mesh.TriangleIndices.Add(1);
            mesh.TriangleIndices.Add(2);
            mesh.TriangleIndices.Add(3);

            // These are the lines you need to allow an image to be painted onto the 3d model
            mesh.TextureCoordinates.Add(new Point(0, 0));
            mesh.TextureCoordinates.Add(new Point(1, 0));
            mesh.TextureCoordinates.Add(new Point(1, 1));
            mesh.TextureCoordinates.Add(new Point(0, 1));

            ImageBrush imageBrush = new ImageBrush(bitmapImage);

            GeometryModel3D geometry = new GeometryModel3D(mesh, new DiffuseMaterial(imageBrush));
            //GeometryModel3D geometry = new GeometryModel3D(mesh, new DiffuseMaterial(new SolidColorBrush(Colors.Red)));

            group.Children.Add(geometry);
        }
Ejemplo n.º 22
0
		public static void OnStretch(DependencyPropertyChangedEventArgs e, ImageBrush brush)
		{
			if (e.NewValue == e.OldValue)
				return;

			SetStretch(brush, (Stretch)e.NewValue);
		}
Ejemplo n.º 23
0
        public FullIdeaResource()
        {
            ImageSource imageResource = (ImageSource)Application.Current.Resources[FullIdeaResourceName];

            _brushResource = new ImageBrush();
            _brushResource.ImageSource = imageResource;
        }
Ejemplo n.º 24
0
		public static void OnImageChange(DependencyPropertyChangedEventArgs e, ImageBrush brush)
		{ 
            if (e.NewValue == e.OldValue)
                return;

            SetImageBrush(brush, e.NewValue as ImageSource);
		}
Ejemplo n.º 25
0
		public static void SetImageBrush(ImageBrush brush, ImageSource imageSource)
		{
			if (brush == null)
				return;

			brush.ImageSource = imageSource;
		}
Ejemplo n.º 26
0
 public OptionsWindow()
 {
     InitializeComponent();
     ImageBrush ib = new ImageBrush();
     ib.ImageSource = new BitmapImage(new Uri(startupPath + "/images/OptionsScreen.png", UriKind.Absolute));
     OptionsBackgrnd.Background = ib;
 }
Ejemplo n.º 27
0
 static Airplane()
 {
     try
     {
         Assembly assembly = Assembly.GetExecutingAssembly();
         string[] names = assembly.GetManifestResourceNames();
         string name = names.FirstOrDefault(x => x.Contains("WFTools3D.jpg"));
         if (name != null)
         {
             Stream stream = assembly.GetManifestResourceStream(name);
             if (stream != null)
             {
                 BitmapImage bitmap = new BitmapImage();
                 bitmap.BeginInit();
                 bitmap.StreamSource = stream;
                 bitmap.EndInit();
                 ImageBrush imbrush = new ImageBrush(bitmap);
                 imbrush.TileMode = TileMode.Tile;
                 imbrush.Viewport = new Rect(0, 0, 0.5, 1);
                 imbrush.Freeze();
                 brush = imbrush;
             }
         }
     }
     catch
     {
         brush = Brushes.Silver;
     }
 }
Ejemplo n.º 28
0
		public static void SetStretch(ImageBrush brush, Stretch stretch)
		{
			if (brush == null)
				return;

			brush.Stretch = stretch;
		}
Ejemplo n.º 29
0
		private static void RegisterBrush(LibraryDevice libraryDevice)
		{
			var imageSource = GetImageSource(libraryDevice == null ? Guid.Empty : libraryDevice.DriverId);
			var brush = new ImageBrush(imageSource);
			brush.Freeze();
			_brushes.Add(libraryDevice == null ? Guid.Empty : libraryDevice.DriverId, brush);
		}
Ejemplo n.º 30
0
        public CompactQuestionResource()
        {
            ImageSource imageResource = (ImageSource)Application.Current.Resources[CompactQuestionResourceName];

            _brushResource = new ImageBrush();
            _brushResource.ImageSource = imageResource;
        }
Ejemplo n.º 31
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.btn_Edit = ((System.Windows.Controls.Label)(target));
                return;

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

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

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

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

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

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

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

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

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

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

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

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

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

            case 15:
                this.sp_Statistics = ((System.Windows.Controls.StackPanel)(target));
                return;
            }
            this._contentLoaded = true;
        }
Ejemplo n.º 32
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:

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

            #line default
            #line hidden
                return;

            case 2:
                this.ProfileContainer = ((System.Windows.Shapes.Ellipse)(target));

            #line 22 "..\..\MainWindow.xaml"
                this.ProfileContainer.MouseLeftButtonDown += new System.Windows.Input.MouseButtonEventHandler(this.ProfileContainer_MouseLeftButtonDown);

            #line default
            #line hidden
                return;

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

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

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

            case 6:
                this.MainMediaPlayer = ((System.Windows.Controls.MediaElement)(target));
                return;

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

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

            #line default
            #line hidden
                return;

            case 8:
                this.UserStationsList = ((System.Windows.Controls.ListBox)(target));

            #line 71 "..\..\MainWindow.xaml"
                this.UserStationsList.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.UserStationsList_SelectionChanged);

            #line default
            #line hidden
                return;

            case 10:
                this.FindStationsTypes = ((System.Windows.Controls.ListBox)(target));

            #line 94 "..\..\MainWindow.xaml"
                this.FindStationsTypes.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.FindStationsTypes_SelectionChanged);

            #line default
            #line hidden
                return;

            case 11:
                this.FindStationsNames = ((System.Windows.Controls.ListBox)(target));
                return;
            }
            this._contentLoaded = true;
        }
Ejemplo n.º 33
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.window = ((Login.MainWindow)(target));
                return;

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

            case 3:
                this.canvas = ((System.Windows.Controls.Canvas)(target));
                return;

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

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

            #line 18 "..\..\MainWindow.xaml"
                this.forgot.MouseLeave += new System.Windows.Input.MouseEventHandler(this.Forgot_MouseLeave);

            #line default
            #line hidden

            #line 18 "..\..\MainWindow.xaml"
                this.forgot.PreviewMouseMove += new System.Windows.Input.MouseEventHandler(this.Forgot_PreviewMouseMove);

            #line default
            #line hidden
                return;

            case 6:
                this.c5 = ((System.Windows.Controls.Canvas)(target));
                return;

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

            #line 23 "..\..\MainWindow.xaml"
                this.signin.PreviewMouseMove += new System.Windows.Input.MouseEventHandler(this.Signin_PreviewMouseMove);

            #line default
            #line hidden

            #line 23 "..\..\MainWindow.xaml"
                this.signin.MouseLeave += new System.Windows.Input.MouseEventHandler(this.Signin_MouseLeave);

            #line default
            #line hidden
                return;

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

            case 9:
                this.canvas3 = ((System.Windows.Controls.Canvas)(target));

            #line 30 "..\..\MainWindow.xaml"
                this.canvas3.MouseEnter += new System.Windows.Input.MouseEventHandler(this.Canvas3_MouseEnter);

            #line default
            #line hidden

            #line 30 "..\..\MainWindow.xaml"
                this.canvas3.MouseLeave += new System.Windows.Input.MouseEventHandler(this.Canvas3_MouseLeave);

            #line default
            #line hidden
                return;

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

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

            #line 33 "..\..\MainWindow.xaml"
                this.errb.Click += new System.Windows.RoutedEventHandler(this.Btn_Click_1);

            #line default
            #line hidden
                return;

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

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

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

            #line 59 "..\..\MainWindow.xaml"
                this.canvas2.MouseEnter += new System.Windows.Input.MouseEventHandler(this.Canvas2_MouseEnter);

            #line default
            #line hidden

            #line 59 "..\..\MainWindow.xaml"
                this.canvas2.MouseLeave += new System.Windows.Input.MouseEventHandler(this.Canvas2_MouseLeave);

            #line default
            #line hidden
                return;

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

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

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

            case 18:
                this.pwd = ((System.Windows.Controls.PasswordBox)(target));

            #line 71 "..\..\MainWindow.xaml"
                this.pwd.PasswordChanged += new System.Windows.RoutedEventHandler(this.Pwd_PasswordChanged);

            #line default
            #line hidden

            #line 71 "..\..\MainWindow.xaml"
                this.pwd.PreviewKeyDown += new System.Windows.Input.KeyEventHandler(this.Pwd_PreviewKeyDown);

            #line default
            #line hidden
                return;

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

            #line 74 "..\..\MainWindow.xaml"
                this.btn.Click += new System.Windows.RoutedEventHandler(this.Btn_Click);

            #line default
            #line hidden
                return;

            case 20:
                this.user = ((System.Windows.Shapes.Ellipse)(target));
                return;

            case 21:
                this.image = ((System.Windows.Media.ImageBrush)(target));
                return;

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

            case 23:
                this.r2 = ((System.Windows.Shapes.Rectangle)(target));
                return;

            case 24:
                this.eth = ((System.Windows.Controls.Image)(target));

            #line 103 "..\..\MainWindow.xaml"
                this.eth.MouseEnter += new System.Windows.Input.MouseEventHandler(this.Eth_MouseEnter);

            #line default
            #line hidden

            #line 103 "..\..\MainWindow.xaml"
                this.eth.MouseLeave += new System.Windows.Input.MouseEventHandler(this.Eth_MouseLeave);

            #line default
            #line hidden
                return;

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

            #line 105 "..\..\MainWindow.xaml"
                this.language.MouseEnter += new System.Windows.Input.MouseEventHandler(this.Language_MouseEnter);

            #line default
            #line hidden

            #line 105 "..\..\MainWindow.xaml"
                this.language.MouseLeave += new System.Windows.Input.MouseEventHandler(this.Language_MouseLeave);

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

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

            case 3:

            #line 90 "..\..\NewGuestRequest.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Button_Click_MinimizeWindow);

            #line default
            #line hidden

            #line 96 "..\..\NewGuestRequest.xaml"
                ((System.Windows.Controls.Button)(target)).MouseEnter += new System.Windows.Input.MouseEventHandler(this.Button_MouseEnter);

            #line default
            #line hidden

            #line 97 "..\..\NewGuestRequest.xaml"
                ((System.Windows.Controls.Button)(target)).MouseLeave += new System.Windows.Input.MouseEventHandler(this.Button_MouseLeave);

            #line default
            #line hidden
                return;

            case 4:

            #line 103 "..\..\NewGuestRequest.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Button_Click_MaximizeWindow);

            #line default
            #line hidden

            #line 111 "..\..\NewGuestRequest.xaml"
                ((System.Windows.Controls.Button)(target)).MouseEnter += new System.Windows.Input.MouseEventHandler(this.Button_MouseEnter);

            #line default
            #line hidden

            #line 112 "..\..\NewGuestRequest.xaml"
                ((System.Windows.Controls.Button)(target)).MouseLeave += new System.Windows.Input.MouseEventHandler(this.Button_MouseLeave);

            #line default
            #line hidden
                return;

            case 5:

            #line 120 "..\..\NewGuestRequest.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Button_Click_CloseWindow);

            #line default
            #line hidden

            #line 126 "..\..\NewGuestRequest.xaml"
                ((System.Windows.Controls.Button)(target)).MouseEnter += new System.Windows.Input.MouseEventHandler(this.Button_MouseEnter);

            #line default
            #line hidden

            #line 127 "..\..\NewGuestRequest.xaml"
                ((System.Windows.Controls.Button)(target)).MouseLeave += new System.Windows.Input.MouseEventHandler(this.Button_MouseLeave);

            #line default
            #line hidden
                return;

            case 6:

            #line 158 "..\..\NewGuestRequest.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Send_OnClick);

            #line default
            #line hidden
                return;

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

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

            #line 182 "..\..\NewGuestRequest.xaml"
                this.area.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.area_SelectionChanged);

            #line default
            #line hidden
                return;

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

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

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

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

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

            case 14:
                this.checkInTimeDatePicker = ((System.Windows.Controls.DatePicker)(target));
                return;

            case 15:
                this.Check_Out_Date = ((System.Windows.Controls.DatePicker)(target));
                return;

            case 16:
                this.Breakfast = ((System.Windows.Controls.Image)(target));
                return;

            case 17:
                this.Lunch = ((System.Windows.Controls.Image)(target));
                return;

            case 18:
                this.Dinner = ((System.Windows.Controls.Image)(target));
                return;

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

            case 20:
                this.DoubleBed = ((System.Windows.Controls.Image)(target));
                return;

            case 21:
                this.BabyCrib = ((System.Windows.Controls.Image)(target));
                return;

            case 22:
                this.Bathtub = ((System.Windows.Controls.Image)(target));
                return;

            case 23:
                this.PrivateBathroom = ((System.Windows.Controls.Image)(target));
                return;

            case 24:
                this.RoomService = ((System.Windows.Controls.Image)(target));
                return;

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

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

            case 27:
                this.Jacuzzi = ((System.Windows.Controls.Image)(target));
                return;

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

            case 29:
                this.Pool = ((System.Windows.Controls.Image)(target));
                return;

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

            case 31:
                this.Spa = ((System.Windows.Controls.Image)(target));
                return;

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

            case 33:
                this.Gym = ((System.Windows.Controls.Image)(target));
                return;

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

            case 35:
                this.Terrace = ((System.Windows.Controls.Image)(target));
                return;

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

            case 37:
                this.Garden = ((System.Windows.Controls.Image)(target));
                return;

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

            case 39:
                this.ChildrenAttraction = ((System.Windows.Controls.Image)(target));
                return;

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

            case 41:
                this.AirConditioning = ((System.Windows.Controls.Image)(target));
                return;

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

            case 43:
                this.WiFi = ((System.Windows.Controls.Image)(target));
                return;

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

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

            #line 17 "..\..\..\Views\CuaHang.xaml"
                ((QLCuaHang.Views.CuaHang)(target)).Loaded += new System.Windows.RoutedEventHandler(this.Window_Loaded);

            #line default
            #line hidden
                return;

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

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

            #line 29 "..\..\..\Views\CuaHang.xaml"
                this.btnphucvu.Click += new System.Windows.RoutedEventHandler(this.btnphucvu_Click);

            #line default
            #line hidden
                return;

            case 4:
                this.hinhphucvu = ((System.Windows.Controls.Image)(target));
                return;

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

            #line 35 "..\..\..\Views\CuaHang.xaml"
                this.btnkhuvuc.Click += new System.Windows.RoutedEventHandler(this.btnkhuvuc_Click);

            #line default
            #line hidden
                return;

            case 6:
                this.hinhkhuvuc = ((System.Windows.Controls.Image)(target));
                return;

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

            #line 41 "..\..\..\Views\CuaHang.xaml"
                this.btnban.Click += new System.Windows.RoutedEventHandler(this.btnban_Click);

            #line default
            #line hidden
                return;

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

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

            #line 47 "..\..\..\Views\CuaHang.xaml"
                this.btnthucdon.Click += new System.Windows.RoutedEventHandler(this.btnthucdon_Click);

            #line default
            #line hidden
                return;

            case 10:
                this.hinhthucdon = ((System.Windows.Controls.Image)(target));
                return;

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

            #line 53 "..\..\..\Views\CuaHang.xaml"
                this.btngiamgia.Click += new System.Windows.RoutedEventHandler(this.btngiamgia_Click);

            #line default
            #line hidden
                return;

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

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

            #line 59 "..\..\..\Views\CuaHang.xaml"
                this.btnthongke.Click += new System.Windows.RoutedEventHandler(this.btnthongke_Click);

            #line default
            #line hidden
                return;

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

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

            #line 65 "..\..\..\Views\CuaHang.xaml"
                this.btntaikhoan.Click += new System.Windows.RoutedEventHandler(this.btntaikhoan_Click);

            #line default
            #line hidden
                return;

            case 16:
                this.hinhtaikhoan = ((System.Windows.Controls.Image)(target));
                return;

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

            #line 71 "..\..\..\Views\CuaHang.xaml"
                this.btndangxuat.Click += new System.Windows.RoutedEventHandler(this.btndangxuat_Click);

            #line default
            #line hidden
                return;

            case 18:
                this.hinhdangxuat = ((System.Windows.Controls.Image)(target));
                return;

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

            #line 77 "..\..\..\Views\CuaHang.xaml"
                this.btnthoat.Click += new System.Windows.RoutedEventHandler(this.btnthoat_Click);

            #line default
            #line hidden
                return;

            case 20:
                this.hinhthoat = ((System.Windows.Controls.Image)(target));
                return;

            case 21:
                this.pageTransitionControl = ((WpfPageTransitions.PageTransition)(target));
                return;
            }
            this._contentLoaded = true;
        }
Ejemplo n.º 36
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:

            #line 9 "..\..\MainWindow.xaml"
                ((System.Windows.Controls.Grid)(target)).Loaded += new System.Windows.RoutedEventHandler(this.Grid_Loaded);

            #line default
            #line hidden
                return;

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

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

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

            #line 15 "..\..\MainWindow.xaml"
                this.ID_btn.Click += new System.Windows.RoutedEventHandler(this.ID_Select);

            #line default
            #line hidden
                return;

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

            #line 16 "..\..\MainWindow.xaml"
                this.bg_btn.Click += new System.Windows.RoutedEventHandler(this.bg_add);

            #line default
            #line hidden
                return;

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

            #line 17 "..\..\MainWindow.xaml"
                this.ReaderView.MouseDoubleClick += new System.Windows.Input.MouseButtonEventHandler(this.ReaderView_MouseDoubleClick);

            #line default
            #line hidden

            #line 17 "..\..\MainWindow.xaml"
                this.ReaderView.AddHandler(System.Windows.Controls.Primitives.ButtonBase.ClickEvent, new System.Windows.RoutedEventHandler(this.View_Sort));

            #line default
            #line hidden
                return;

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

            #line 11 "..\..\..\..\View\windows\wd_logIn.xaml"
                ((AdministratorApp.View.windows.wd_logIn)(target)).KeyDown += new System.Windows.Input.KeyEventHandler(this.HandleKeyPress);

            #line default
            #line hidden

            #line 13 "..\..\..\..\View\windows\wd_logIn.xaml"
                ((AdministratorApp.View.windows.wd_logIn)(target)).Loaded += new System.Windows.RoutedEventHandler(this.Window_Loaded);

            #line default
            #line hidden

            #line 15 "..\..\..\..\View\windows\wd_logIn.xaml"
                ((AdministratorApp.View.windows.wd_logIn)(target)).MouseDown += new System.Windows.Input.MouseButtonEventHandler(this.Window_MouseDown);

            #line default
            #line hidden

            #line 19 "..\..\..\..\View\windows\wd_logIn.xaml"
                ((AdministratorApp.View.windows.wd_logIn)(target)).Closing += new System.ComponentModel.CancelEventHandler(this.Window_Closing);

            #line default
            #line hidden
                return;

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

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

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

            #line 77 "..\..\..\..\View\windows\wd_logIn.xaml"
                this.txtUserName.LostFocus += new System.Windows.RoutedEventHandler(this.validateEmpty);

            #line default
            #line hidden

            #line 77 "..\..\..\..\View\windows\wd_logIn.xaml"
                this.txtUserName.TextChanged += new System.Windows.Controls.TextChangedEventHandler(this.validateTextChanged);

            #line default
            #line hidden
                return;

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

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

            case 7:
                this.txtPassword = ((System.Windows.Controls.PasswordBox)(target));

            #line 97 "..\..\..\..\View\windows\wd_logIn.xaml"
                this.txtPassword.PasswordChanged += new System.Windows.RoutedEventHandler(this.validatePasswordChanged);

            #line default
            #line hidden

            #line 97 "..\..\..\..\View\windows\wd_logIn.xaml"
                this.txtPassword.LostFocus += new System.Windows.RoutedEventHandler(this.validateEmpty);

            #line default
            #line hidden
                return;

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

            case 9:
                this.p_errorPassword = ((System.Windows.Shapes.Path)(target));
                return;

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

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

            #line 114 "..\..\..\..\View\windows\wd_logIn.xaml"
                this.p_showPassword.MouseEnter += new System.Windows.Input.MouseEventHandler(this.P_showPassword_MouseEnter);

            #line default
            #line hidden

            #line 115 "..\..\..\..\View\windows\wd_logIn.xaml"
                this.p_showPassword.MouseLeave += new System.Windows.Input.MouseEventHandler(this.P_showPassword_MouseLeave);

            #line default
            #line hidden
                return;

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

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

            #line 134 "..\..\..\..\View\windows\wd_logIn.xaml"
                this.btnLogIn.Click += new System.Windows.RoutedEventHandler(this.btnLogIn_Click);

            #line default
            #line hidden
                return;

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

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

            #line 143 "..\..\..\..\View\windows\wd_logIn.xaml"
                this.btnClose.Click += new System.Windows.RoutedEventHandler(this.btnClose_Click);

            #line default
            #line hidden
                return;

            case 16:
                this.txt_close = ((System.Windows.Controls.TextBlock)(target));
                return;

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

            case 18:
                this.img_En = ((System.Windows.Media.ImageBrush)(target));
                return;

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

            case 20:
                this.img_Ar = ((System.Windows.Media.ImageBrush)(target));
                return;
            }
            this._contentLoaded = true;
        }
Ejemplo n.º 38
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:

            #line 9 "..\..\..\View\UserSpace.xaml"
                ((SocialNetWork.View.UserSpace)(target)).Closed += new System.EventHandler(this.Window_Closed);

            #line default
            #line hidden
                return;

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

            case 3:

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

            #line default
            #line hidden
                return;

            case 4:

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

            #line default
            #line hidden
                return;

            case 5:
                this.avatar = ((System.Windows.Media.ImageBrush)(target));
                return;

            case 6:

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

            #line default
            #line hidden
                return;

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

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

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

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

            case 11:

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

            #line default
            #line hidden
                return;

            case 12:

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

            #line default
            #line hidden
                return;

            case 13:
                this.listOfImages = ((System.Windows.Controls.ItemsControl)(target));
                return;
            }
            this._contentLoaded = true;
        }
Ejemplo n.º 39
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:

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

            #line default
            #line hidden
                return;

            case 2:
                this.ColorLight = ((System.Windows.Media.Media3D.DirectionalLight)(target));
                return;

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

            case 4:
                this.myRotate3D = ((System.Windows.Media.Media3D.RotateTransform3D)(target));
                return;

            case 5:
                this.rotate = ((System.Windows.Media.Media3D.AxisAngleRotation3D)(target));
                return;

            case 6:
                this.rotateAnimation = ((System.Windows.Media.Animation.Rotation3DAnimation)(target));
                return;

            case 7:
                this.ColorAnimation1 = ((System.Windows.Media.Animation.ColorAnimation)(target));
                return;

            case 8:
                this.ColorAnimation2 = ((System.Windows.Media.Animation.ColorAnimation)(target));
                return;

            case 9:
                this.ColorAnimation3 = ((System.Windows.Media.Animation.ColorAnimation)(target));
                return;

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

            #line 116 "..\..\MainWindow.xaml"
                this.listFile1.MouseUp += new System.Windows.Input.MouseButtonEventHandler(this.ListFile1_MouseUp);

            #line default
            #line hidden
                return;

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

            #line 123 "..\..\MainWindow.xaml"
                this.button2.Click += new System.Windows.RoutedEventHandler(this.Button2_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:

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

            #line default
            #line hidden

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

            #line default
            #line hidden

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

            #line default
            #line hidden
                return;

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

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

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

            #line default
            #line hidden
                return;

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

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

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

            #line 75 "..\..\..\..\View\windows\wd_companyInfo.xaml"
                this.img_customer.Click += new System.Windows.RoutedEventHandler(this.Img_customer_Click);

            #line default
            #line hidden
                return;

            case 7:
                this.IMG_customer = ((System.Windows.Media.ImageBrush)(target));
                return;

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

            #line 89 "..\..\..\..\View\windows\wd_companyInfo.xaml"
                this.tb_name.TextChanged += new System.Windows.Controls.TextChangedEventHandler(this.ValidateEmpty_TextChange);

            #line default
            #line hidden

            #line 90 "..\..\..\..\View\windows\wd_companyInfo.xaml"
                this.tb_name.LostFocus += new System.Windows.RoutedEventHandler(this.validateEmpty_LostFocus);

            #line default
            #line hidden
                return;

            case 9:
                this.p_error_name = ((System.Windows.Shapes.Path)(target));
                return;

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

            #line 104 "..\..\..\..\View\windows\wd_companyInfo.xaml"
                this.tb_address.TextChanged += new System.Windows.Controls.TextChangedEventHandler(this.ValidateEmpty_TextChange);

            #line default
            #line hidden

            #line 105 "..\..\..\..\View\windows\wd_companyInfo.xaml"
                this.tb_address.LostFocus += new System.Windows.RoutedEventHandler(this.validateEmpty_LostFocus);

            #line default
            #line hidden
                return;

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

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

            #line 119 "..\..\..\..\View\windows\wd_companyInfo.xaml"
                this.tb_email.LostFocus += new System.Windows.RoutedEventHandler(this.validateEmpty_LostFocus);

            #line default
            #line hidden

            #line 120 "..\..\..\..\View\windows\wd_companyInfo.xaml"
                this.tb_email.TextChanged += new System.Windows.Controls.TextChangedEventHandler(this.ValidateEmpty_TextChange);

            #line default
            #line hidden
                return;

            case 13:
                this.p_error_email = ((System.Windows.Shapes.Path)(target));
                return;

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

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

            #line 141 "..\..\..\..\View\windows\wd_companyInfo.xaml"
                this.tb_mobile.PreviewTextInput += new System.Windows.Input.TextCompositionEventHandler(this.Number_PreviewTextInput);

            #line default
            #line hidden

            #line 141 "..\..\..\..\View\windows\wd_companyInfo.xaml"
                this.tb_mobile.PreviewKeyDown += new System.Windows.Input.KeyEventHandler(this.Spaces_PreviewKeyDown);

            #line default
            #line hidden

            #line 142 "..\..\..\..\View\windows\wd_companyInfo.xaml"
                this.tb_mobile.TextChanged += new System.Windows.Controls.TextChangedEventHandler(this.ValidateEmpty_TextChange);

            #line default
            #line hidden

            #line 143 "..\..\..\..\View\windows\wd_companyInfo.xaml"
                this.tb_mobile.LostFocus += new System.Windows.RoutedEventHandler(this.validateEmpty_LostFocus);

            #line default
            #line hidden
                return;

            case 16:
                this.p_error_mobile = ((System.Windows.Shapes.Path)(target));
                return;

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

            #line 167 "..\..\..\..\View\windows\wd_companyInfo.xaml"
                this.cb_areaPhone.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.Cb_areaPhone_SelectionChanged);

            #line default
            #line hidden
                return;

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

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

            #line 185 "..\..\..\..\View\windows\wd_companyInfo.xaml"
                this.tb_phone.PreviewTextInput += new System.Windows.Input.TextCompositionEventHandler(this.Number_PreviewTextInput);

            #line default
            #line hidden

            #line 185 "..\..\..\..\View\windows\wd_companyInfo.xaml"
                this.tb_phone.PreviewKeyDown += new System.Windows.Input.KeyEventHandler(this.Spaces_PreviewKeyDown);

            #line default
            #line hidden

            #line 186 "..\..\..\..\View\windows\wd_companyInfo.xaml"
                this.tb_phone.TextChanged += new System.Windows.Controls.TextChangedEventHandler(this.ValidateEmpty_TextChange);

            #line default
            #line hidden

            #line 187 "..\..\..\..\View\windows\wd_companyInfo.xaml"
                this.tb_phone.LostFocus += new System.Windows.RoutedEventHandler(this.validateEmpty_LostFocus);

            #line default
            #line hidden
                return;

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

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

            #line 208 "..\..\..\..\View\windows\wd_companyInfo.xaml"
                this.cb_areaFax.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.Cb_areaFax_SelectionChanged);

            #line default
            #line hidden
                return;

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

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

            #line 226 "..\..\..\..\View\windows\wd_companyInfo.xaml"
                this.tb_fax.PreviewTextInput += new System.Windows.Input.TextCompositionEventHandler(this.Number_PreviewTextInput);

            #line default
            #line hidden

            #line 226 "..\..\..\..\View\windows\wd_companyInfo.xaml"
                this.tb_fax.PreviewKeyDown += new System.Windows.Input.KeyEventHandler(this.Spaces_PreviewKeyDown);

            #line default
            #line hidden

            #line 228 "..\..\..\..\View\windows\wd_companyInfo.xaml"
                this.tb_fax.TextChanged += new System.Windows.Controls.TextChangedEventHandler(this.ValidateEmpty_TextChange);

            #line default
            #line hidden

            #line 229 "..\..\..\..\View\windows\wd_companyInfo.xaml"
                this.tb_fax.LostFocus += new System.Windows.RoutedEventHandler(this.validateEmpty_LostFocus);

            #line default
            #line hidden
                return;

            case 24:
                this.p_error_fax = ((System.Windows.Shapes.Path)(target));
                return;

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

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

            #line default
            #line hidden
                return;
            }
            this._contentLoaded = true;
        }
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.GridShowImage = ((System.Windows.Controls.Grid)(target));
                return;

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

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

            #line 13 "..\..\ReportWindow.xaml"
                this.ButtonImageBack.Click += new System.Windows.RoutedEventHandler(this.ButtonImageBack_Click);

            #line default
            #line hidden
                return;

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

            #line 14 "..\..\ReportWindow.xaml"
                this.ButtonImageNext.Click += new System.Windows.RoutedEventHandler(this.ButtonImageNext_Click);

            #line default
            #line hidden
                return;

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

            #line 24 "..\..\ReportWindow.xaml"
                this.ButtonPrintImage.Click += new System.Windows.RoutedEventHandler(this.ButtonPrintImage_Click);

            #line default
            #line hidden
                return;

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

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

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

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

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

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

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

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

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

            case 15:
                this.DatePickerDateBirth = ((System.Windows.Controls.DatePicker)(target));
                return;

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

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

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

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

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

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

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

            case 23:
                this.GridGender = ((System.Windows.Controls.Grid)(target));
                return;

            case 24:
                this.RadioButtonGenderMan = ((System.Windows.Controls.RadioButton)(target));
                return;

            case 25:
                this.RadioButtonGenderWoman = ((System.Windows.Controls.RadioButton)(target));
                return;

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

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

            case 28:
                this.EllipseAvatar = ((System.Windows.Shapes.Ellipse)(target));
                return;

            case 29:
                this.ImageAvatar = ((System.Windows.Media.ImageBrush)(target));
                return;

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

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

            #line 72 "..\..\ReportWindow.xaml"
                this.ButtonGenerateReport.Click += new System.Windows.RoutedEventHandler(this.ButtonGenerateReport_Click);

            #line default
            #line hidden
                return;

            case 32:
                this.RadioButtonStudent = ((System.Windows.Controls.RadioButton)(target));
                return;

            case 33:
                this.RadioButtonDad = ((System.Windows.Controls.RadioButton)(target));

            #line 74 "..\..\ReportWindow.xaml"
                this.RadioButtonDad.Checked += new System.Windows.RoutedEventHandler(this.RadioButtonDad_Checked);

            #line default
            #line hidden
                return;

            case 34:
                this.RadioButtonMom = ((System.Windows.Controls.RadioButton)(target));

            #line 75 "..\..\ReportWindow.xaml"
                this.RadioButtonMom.Checked += new System.Windows.RoutedEventHandler(this.RadioButtonMom_Checked);

            #line default
            #line hidden
                return;

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

            #line 77 "..\..\ReportWindow.xaml"
                this.CheckBoxName.Click += new System.Windows.RoutedEventHandler(this.CheckBoxName_Click);

            #line default
            #line hidden
                return;

            case 36:
                this.CheckBoxSubname = ((System.Windows.Controls.CheckBox)(target));

            #line 78 "..\..\ReportWindow.xaml"
                this.CheckBoxSubname.Click += new System.Windows.RoutedEventHandler(this.CheckBoxSubname_Click);

            #line default
            #line hidden
                return;

            case 37:
                this.CheckBoxPatronymic = ((System.Windows.Controls.CheckBox)(target));

            #line 79 "..\..\ReportWindow.xaml"
                this.CheckBoxPatronymic.Click += new System.Windows.RoutedEventHandler(this.CheckBoxPatronymic_Click);

            #line default
            #line hidden
                return;

            case 38:
                this.CheckBoxDateBirth = ((System.Windows.Controls.CheckBox)(target));

            #line 80 "..\..\ReportWindow.xaml"
                this.CheckBoxDateBirth.Click += new System.Windows.RoutedEventHandler(this.CheckBoxDateBirth_Click);

            #line default
            #line hidden
                return;

            case 39:
                this.CheckBoxLocation = ((System.Windows.Controls.CheckBox)(target));

            #line 81 "..\..\ReportWindow.xaml"
                this.CheckBoxLocation.Click += new System.Windows.RoutedEventHandler(this.CheckBoxLocation_Click);

            #line default
            #line hidden
                return;

            case 40:
                this.CheckBoxGroupNameOrPlaceWork = ((System.Windows.Controls.CheckBox)(target));

            #line 82 "..\..\ReportWindow.xaml"
                this.CheckBoxGroupNameOrPlaceWork.Click += new System.Windows.RoutedEventHandler(this.CheckBoxGroupNameOrPlaceWork_Click);

            #line default
            #line hidden
                return;

            case 41:
                this.CheckBoxPhone = ((System.Windows.Controls.CheckBox)(target));

            #line 83 "..\..\ReportWindow.xaml"
                this.CheckBoxPhone.Click += new System.Windows.RoutedEventHandler(this.CheckBoxPhone_Click);

            #line default
            #line hidden
                return;

            case 42:
                this.CheckBoxGender = ((System.Windows.Controls.CheckBox)(target));

            #line 84 "..\..\ReportWindow.xaml"
                this.CheckBoxGender.Click += new System.Windows.RoutedEventHandler(this.CheckBoxGender_Click);

            #line default
            #line hidden
                return;

            case 43:
                this.CheckBoxAdditional = ((System.Windows.Controls.CheckBox)(target));

            #line 85 "..\..\ReportWindow.xaml"
                this.CheckBoxAdditional.Click += new System.Windows.RoutedEventHandler(this.CheckBoxAdditional_Click);

            #line default
            #line hidden
                return;

            case 44:
                this.CheckBoxPhoto = ((System.Windows.Controls.CheckBox)(target));

            #line 86 "..\..\ReportWindow.xaml"
                this.CheckBoxPhoto.Click += new System.Windows.RoutedEventHandler(this.CheckBoxPhoto_Click);

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

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

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

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

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

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

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

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

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

            case 10:

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

            #line default
            #line hidden
                return;

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

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

            case 13:

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

            #line default
            #line hidden
                return;

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

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

            case 16:

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

            #line default
            #line hidden
                return;

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

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

            case 19:

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

            #line default
            #line hidden
                return;

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

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

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

            case 23:

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

            #line default
            #line hidden
                return;

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

            #line 217 "..\..\MainWindow.xaml"
                this.Region.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.SelRegion);

            #line default
            #line hidden
                return;

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

            #line 225 "..\..\MainWindow.xaml"
                this.BackBtnName.Click += new System.Windows.RoutedEventHandler(this.BackBtn);

            #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:
                this.bdLayout = ((System.Windows.Controls.Border)(target));

            #line 16 "..\..\..\..\Views\Controls\PersonalCard.xaml"
                this.bdLayout.PreviewMouseLeftButtonUp += new System.Windows.Input.MouseButtonEventHandler(this.Border_MouseLeftButtonUp);

            #line default
            #line hidden
                return;

            case 2:
                this.menu = ((System.Windows.Controls.ContextMenu)(target));

            #line 24 "..\..\..\..\Views\Controls\PersonalCard.xaml"
                this.menu.AddHandler(System.Windows.Controls.MenuItem.ClickEvent, new System.Windows.RoutedEventHandler(this.ContextMenu_Click));

            #line default
            #line hidden

            #line 24 "..\..\..\..\Views\Controls\PersonalCard.xaml"
                this.menu.Opened += new System.Windows.RoutedEventHandler(this.menu_Opened);

            #line default
            #line hidden
                return;

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

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

            case 5:

            #line 43 "..\..\..\..\Views\Controls\PersonalCard.xaml"
                ((System.Windows.Shapes.Ellipse)(target)).PreviewMouseDown += new System.Windows.Input.MouseButtonEventHandler(this.Ellipse_PreviewMouseDown);

            #line default
            #line hidden
                return;

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

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

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

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

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

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

            #line 16 "..\..\PageAddFood.xaml"
                this.addStepButton.Click += new System.Windows.RoutedEventHandler(this.addStepButton_Click);

            #line default
            #line hidden
                return;

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

            #line 17 "..\..\PageAddFood.xaml"
                this.addImageStep.Click += new System.Windows.RoutedEventHandler(this.addImageStep_Click);

            #line default
            #line hidden
                return;

            case 4:
                this.dataComboBox = ((System.Windows.Controls.ListView)(target));
                return;

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

            case 9:

            #line 72 "..\..\PageAddFood.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.SaveToDB);

            #line default
            #line hidden
                return;

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

            case 11:
                this.ImageDescriptionOfRecipe = ((System.Windows.Media.ImageBrush)(target));
                return;

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

            #line 83 "..\..\PageAddFood.xaml"
                this.ChooseImage.Click += new System.Windows.RoutedEventHandler(this.ChooseImages);

            #line default
            #line hidden
                return;

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

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

            case 15:
                this.descriptionStep = ((System.Windows.Controls.TextBox)(target));
                return;
            }
            this._contentLoaded = true;
        }
Ejemplo n.º 46
0
        private void RefreshPreviewPositionRect()
        {
            if (mMainWindow == null)
            {
                return;
            }
            int   HCount    = (int)this.HCountSlider.Value;
            int   VCount    = (int)this.VCountSlider.Value;
            float Scale     = (float)this.ScaleSlider.Value;
            float SplitX    = (float)this.SplitSlider.Value;
            float StartPosX = (float)this.XStartSlider.Value;
            float StartPosY = (float)this.YStartSlider.Value;

            double L = (mMainWindow.MainGrid.ActualWidth - mMainWindow.PreviewImage.Width) / 2;
            double T = (mMainWindow.MainGrid.ActualHeight - mMainWindow.PreviewImage.Height) / 2;

            //Add element if not enough
            if (PreviewPositionRect.Count < HCount * VCount)
            {
                int RemainCount = HCount * VCount - PreviewPositionRect.Count;
                for (int i = 0; i < RemainCount; i++)
                {
                    var newrect = new System.Windows.Shapes.Rectangle();
                    newrect.Stroke = System.Windows.Media.Brushes.Black;
                    var imgBrush = new System.Windows.Media.ImageBrush(mMainWindow.PreviewImage.Source);
                    imgBrush.TileMode   = TileMode.None;
                    imgBrush.Stretch    = Stretch.None;
                    imgBrush.AlignmentX = AlignmentX.Left;
                    imgBrush.AlignmentY = AlignmentY.Top;
                    newrect.Fill        = imgBrush;
                    mMainWindow.MainGrid.Children.Add(newrect);
                    newrect.Visibility = Visibility.Visible;
                    PreviewPositionRect.Add(newrect);
                }
            }
            //Remove no needed rect
            while (PreviewPositionRect.Count > HCount * VCount)
            {
                mMainWindow.MainGrid.Children.Remove(PreviewPositionRect.Last());
                PreviewPositionRect.Remove(PreviewPositionRect.Last());
            }

            for (int x = 0; x < HCount; x++)
            {
                for (int y = 0; y < VCount; y++)
                {
                    PreviewPositionRect[x * VCount + y].Width  = defaultwidth * Scale / DpiX;
                    PreviewPositionRect[x * VCount + y].Height = defaultheight * Scale / DpiY;
                    Thickness tmpMargin = PreviewPositionRect[x * VCount + y].Margin;
                    PreviewPositionRect[x * VCount + y].HorizontalAlignment = HorizontalAlignment.Left;
                    PreviewPositionRect[x * VCount + y].VerticalAlignment   = VerticalAlignment.Top;
                    tmpMargin.Left = ((SplitX + defaultwidth) * x *
                                      Scale + PreviewImg.Width * StartPosX) / DpiX + L;
                    tmpMargin.Top = ((defaultSplitY + defaultheight) * y *
                                     Scale + PreviewImg.Height * StartPosY) / DpiY + T;
                    PreviewPositionRect[x * VCount + y].Margin = tmpMargin;
                    var ImgBrush = (ImageBrush)PreviewPositionRect[x * VCount + y].Fill;
                    if (ImgBrush != null)
                    {
                        var tmpViewbox = ImgBrush.Viewbox;
                        tmpViewbox.X  = (PreviewPositionRect[x * VCount + y].Margin.Left - L) / mMainWindow.PreviewImage.Width;
                        tmpViewbox.X += PreviewPositionRect[x * VCount + y].StrokeThickness / mMainWindow.PreviewImage.Width;
                        tmpViewbox.Y  = (PreviewPositionRect[x * VCount + y].Margin.Top - T) / mMainWindow.PreviewImage.Height;
                        tmpViewbox.Y += PreviewPositionRect[x * VCount + y].StrokeThickness / mMainWindow.PreviewImage.Height;
                        //ImgBrush.Viewport = tmpViewport;
                        ImgBrush.Viewbox = tmpViewbox;
                        //PreviewPositionRect[x * VCount + y].Fill = ImgBrush;
                    }
                }
            }
            mMainWindow.MainGrid.UpdateLayout();
        }
Ejemplo n.º 47
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.grid_films = ((System.Windows.Controls.Grid)(target));
                return;

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

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

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

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

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

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

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

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

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

            case 11:
                this.sceь3n = ((System.Windows.Controls.Label)(target));
                return;

            case 12:
                this.scdрfe2n = ((System.Windows.Controls.Label)(target));
                return;

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

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

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

            case 16:
                this.scdfe2аn = ((System.Windows.Controls.Label)(target));
                return;
            }
            this._contentLoaded = true;
        }
Ejemplo n.º 48
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:

            #line 10 "..\..\ChatWindow.xaml"
                ((Chat.ChatWindow)(target)).MouseDown += new System.Windows.Input.MouseButtonEventHandler(this.Window_MouseDown);

            #line default
            #line hidden

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

            #line default
            #line hidden
                return;

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

            case 3:

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

            #line default
            #line hidden
                return;

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

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

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

            #line 43 "..\..\ChatWindow.xaml"
                this.MessPanel.IsVisibleChanged += new System.Windows.DependencyPropertyChangedEventHandler(this.Border_IsVisibleChanged);

            #line default
            #line hidden
                return;

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

            #line 51 "..\..\ChatWindow.xaml"
                this.messageTextBox.PreviewKeyDown += new System.Windows.Input.KeyEventHandler(this.MessageTextBox_PreviewKeyDown);

            #line default
            #line hidden
                return;

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

            #line 52 "..\..\ChatWindow.xaml"
                this.sentButton.Click += new System.Windows.RoutedEventHandler(this.SentButton_Click);

            #line default
            #line hidden
                return;

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

            #line 72 "..\..\ChatWindow.xaml"
                this.searchBox.TextChanged += new System.Windows.Controls.TextChangedEventHandler(this.TextBox_TextChanged);

            #line default
            #line hidden
                return;

            case 10:

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

            #line default
            #line hidden
                return;

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

            case 12:
                this.scrollViewerUser = ((System.Windows.Controls.ScrollViewer)(target));
                return;

            case 13:
                this.listViewItem_1 = ((System.Windows.Controls.ListViewItem)(target));

            #line 97 "..\..\ChatWindow.xaml"
                this.listViewItem_1.Selected += new System.Windows.RoutedEventHandler(this.ListViewItem_1_Selected);

            #line default
            #line hidden
                return;

            case 14:
                this.userImg = ((System.Windows.Media.ImageBrush)(target));
                return;

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

            case 16:
                this.lastMessage = ((System.Windows.Controls.TextBlock)(target));
                return;

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

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

            case 19:

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

            #line default
            #line hidden
                return;

            case 20:

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

            #line default
            #line hidden
                return;

            case 21:
                this.winStateImg = ((MaterialDesignThemes.Wpf.PackIcon)(target));
                return;

            case 22:

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

            #line default
            #line hidden
                return;

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

            case 24:
                this.descriptionInfo = ((System.Windows.Controls.TextBlock)(target));
                return;

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

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

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

            case 28:
                this.mail = ((System.Windows.Controls.TextBlock)(target));
                return;
            }
            this._contentLoaded = true;
        }
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.EnterWindow = ((System.Windows.Media.ImageBrush)(target));
                return;

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

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

            case 4:

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

            #line default
            #line hidden

            #line 95 "..\..\CustomerLogin.xaml"
                ((System.Windows.Controls.Button)(target)).MouseEnter += new System.Windows.Input.MouseEventHandler(this.Button_MouseEnter);

            #line default
            #line hidden

            #line 96 "..\..\CustomerLogin.xaml"
                ((System.Windows.Controls.Button)(target)).MouseLeave += new System.Windows.Input.MouseEventHandler(this.Button_MouseLeave);

            #line default
            #line hidden
                return;

            case 5:

            #line 107 "..\..\CustomerLogin.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Button_Click_MaximizeWindow);

            #line default
            #line hidden

            #line 112 "..\..\CustomerLogin.xaml"
                ((System.Windows.Controls.Button)(target)).MouseEnter += new System.Windows.Input.MouseEventHandler(this.Button_MouseEnter);

            #line default
            #line hidden

            #line 113 "..\..\CustomerLogin.xaml"
                ((System.Windows.Controls.Button)(target)).MouseLeave += new System.Windows.Input.MouseEventHandler(this.Button_MouseLeave);

            #line default
            #line hidden
                return;

            case 6:

            #line 119 "..\..\CustomerLogin.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Button_Click_CloseWindow);

            #line default
            #line hidden

            #line 125 "..\..\CustomerLogin.xaml"
                ((System.Windows.Controls.Button)(target)).MouseEnter += new System.Windows.Input.MouseEventHandler(this.Button_MouseEnter);

            #line default
            #line hidden

            #line 126 "..\..\CustomerLogin.xaml"
                ((System.Windows.Controls.Button)(target)).MouseLeave += new System.Windows.Input.MouseEventHandler(this.Button_MouseLeave);

            #line default
            #line hidden
                return;

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

            #line 169 "..\..\CustomerLogin.xaml"
                this.firstName.LostFocus += new System.Windows.RoutedEventHandler(this.FirstName_OnLostFocus);

            #line default
            #line hidden

            #line 170 "..\..\CustomerLogin.xaml"
                this.firstName.GotFocus += new System.Windows.RoutedEventHandler(this.FirstName_OnGotFocus);

            #line default
            #line hidden
                return;

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

            #line 183 "..\..\CustomerLogin.xaml"
                this.lastName.LostFocus += new System.Windows.RoutedEventHandler(this.LastName_OnLostFocus);

            #line default
            #line hidden

            #line 184 "..\..\CustomerLogin.xaml"
                this.lastName.GotFocus += new System.Windows.RoutedEventHandler(this.LastName_OnGotFocus);

            #line default
            #line hidden
                return;

            case 9:
                this.DateBirth = ((System.Windows.Controls.DatePicker)(target));
                return;

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

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

            #line 228 "..\..\CustomerLogin.xaml"
                this.phon.LostFocus += new System.Windows.RoutedEventHandler(this.Phon_OnLostFocus);

            #line default
            #line hidden

            #line 229 "..\..\CustomerLogin.xaml"
                this.phon.GotFocus += new System.Windows.RoutedEventHandler(this.Phon_OnGotFocus);

            #line default
            #line hidden
                return;

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

            #line 242 "..\..\CustomerLogin.xaml"
                this.email.LostFocus += new System.Windows.RoutedEventHandler(this.Email_OnLostFocus);

            #line default
            #line hidden

            #line 243 "..\..\CustomerLogin.xaml"
                this.email.GotFocus += new System.Windows.RoutedEventHandler(this.Email_OnGotFocus);

            #line default
            #line hidden
                return;

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

            #line 269 "..\..\CustomerLogin.xaml"
                this.userName.LostFocus += new System.Windows.RoutedEventHandler(this.UserName_OnLostFocus);

            #line default
            #line hidden

            #line 270 "..\..\CustomerLogin.xaml"
                this.userName.GotFocus += new System.Windows.RoutedEventHandler(this.UserName_OnGotFocus);

            #line default
            #line hidden
                return;

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

            #line 293 "..\..\CustomerLogin.xaml"
                this.PasswordBox.LostFocus += new System.Windows.RoutedEventHandler(this.PasswordBox_OnLostFocus);

            #line default
            #line hidden

            #line 294 "..\..\CustomerLogin.xaml"
                this.PasswordBox.GotFocus += new System.Windows.RoutedEventHandler(this.PasswordBox_OnGotFocus);

            #line default
            #line hidden
                return;

            case 15:
                this.confirme = ((System.Windows.Controls.PasswordBox)(target));

            #line 315 "..\..\CustomerLogin.xaml"
                this.confirme.LostFocus += new System.Windows.RoutedEventHandler(this.Confirme_OnLostFocus);

            #line default
            #line hidden

            #line 316 "..\..\CustomerLogin.xaml"
                this.confirme.GotFocus += new System.Windows.RoutedEventHandler(this.Confirme_OnGotFocus);

            #line default
            #line hidden
                return;

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

            #line 322 "..\..\CustomerLogin.xaml"
                this.SignIn.Click += new System.Windows.RoutedEventHandler(this.SignIn_OnClick);

            #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 10 "..\..\ManageBookPage.xaml"
                ((GUI.ManageBookPage)(target)).Loaded += new System.Windows.RoutedEventHandler(this.Page_Loaded);

            #line default
            #line hidden
                return;

            case 2:
                this.TrainsitionigContentSlide = ((MaterialDesignThemes.Wpf.Transitions.TransitioningContent)(target));
                return;

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

            #line 32 "..\..\ManageBookPage.xaml"
                this.txtSearch.TextChanged += new System.Windows.Controls.TextChangedEventHandler(this.TextBox_TextChanged);

            #line default
            #line hidden
                return;

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

            #line 39 "..\..\ManageBookPage.xaml"
                this.btn_Search.Click += new System.Windows.RoutedEventHandler(this.Btn_Search_Click);

            #line default
            #line hidden
                return;

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

            #line 42 "..\..\ManageBookPage.xaml"
                this.Combobox_CategoriesBook.Loaded += new System.Windows.RoutedEventHandler(this.Loaded_CategoriesBook);

            #line default
            #line hidden

            #line 42 "..\..\ManageBookPage.xaml"
                this.Combobox_CategoriesBook.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.Combobox_CategoriesBook_SelectionChanged);

            #line default
            #line hidden
                return;

            case 6:
                this.ScrollViewer_Books = ((System.Windows.Controls.ScrollViewer)(target));

            #line 52 "..\..\ManageBookPage.xaml"
                this.ScrollViewer_Books.PreviewMouseWheel += new System.Windows.Input.MouseWheelEventHandler(this.ScrollViewerBooks_PreviewMouseWheel);

            #line default
            #line hidden
                return;

            case 7:
                this.ListViewBooks = ((System.Windows.Controls.ListView)(target));

            #line 53 "..\..\ManageBookPage.xaml"
                this.ListViewBooks.MouseUp += new System.Windows.Input.MouseButtonEventHandler(this.selectItemBook);

            #line default
            #line hidden
                return;

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

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

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

            #line default
            #line hidden
                return;

            case 10:
                this.Img__book_avartar = ((System.Windows.Media.ImageBrush)(target));
                return;

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

            #line 92 "..\..\ManageBookPage.xaml"
                this.btnUpdateImg_Cover.Click += new System.Windows.RoutedEventHandler(this.btnUpadateImgCover_Click);

            #line default
            #line hidden
                return;

            case 12:
                this.Img__book_cover = ((System.Windows.Media.ImageBrush)(target));
                return;

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

            #line 117 "..\..\ManageBookPage.xaml"
                this.btnUpdateImg_Avatar.Click += new System.Windows.RoutedEventHandler(this.btnUpadateImgAvatar_Click);

            #line default
            #line hidden
                return;

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

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

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

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

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

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

            #line 163 "..\..\ManageBookPage.xaml"
                this.btn_AddExist.Click += new System.Windows.RoutedEventHandler(this.Btn_AddExist_Click);

            #line default
            #line hidden
                return;

            case 20:
                this.Textbox__book_type = ((System.Windows.Controls.ComboBox)(target));

            #line 171 "..\..\ManageBookPage.xaml"
                this.Textbox__book_type.Loaded += new System.Windows.RoutedEventHandler(this.Loaded_CategoriesBook);

            #line default
            #line hidden
                return;

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

            #line 173 "..\..\ManageBookPage.xaml"
                this.btnEdit.Click += new System.Windows.RoutedEventHandler(this.BtnEdit_Click);

            #line default
            #line hidden
                return;

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

            #line 174 "..\..\ManageBookPage.xaml"
                this.btnCancel.Click += new System.Windows.RoutedEventHandler(this.BtnCancel_Click);

            #line default
            #line hidden
                return;

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

            #line 175 "..\..\ManageBookPage.xaml"
                this.btnDone.Click += new System.Windows.RoutedEventHandler(this.BtnDone_Click);

            #line default
            #line hidden
                return;

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

            case 25:
                this.Img__addBook_cover = ((System.Windows.Media.ImageBrush)(target));
                return;

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

            #line 184 "..\..\ManageBookPage.xaml"
                this.btnAddImg_Cover.Click += new System.Windows.RoutedEventHandler(this.btnAddImgCover_Click);

            #line default
            #line hidden
                return;

            case 27:
                this.Img__addBook_avatar = ((System.Windows.Media.ImageBrush)(target));
                return;

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

            #line 209 "..\..\ManageBookPage.xaml"
                this.btnAddImg_Avatar.Click += new System.Windows.RoutedEventHandler(this.btnAddImgAvatar_Click);

            #line default
            #line hidden
                return;

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

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

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

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

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

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

            #line 260 "..\..\ManageBookPage.xaml"
                this.Textbox__addBook_type.Loaded += new System.Windows.RoutedEventHandler(this.Loaded_CategoriesBook);

            #line default
            #line hidden
                return;

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

            #line 262 "..\..\ManageBookPage.xaml"
                this.btnCancel_addBook.Click += new System.Windows.RoutedEventHandler(this.BtnCancel_addBook_Click);

            #line default
            #line hidden
                return;

            case 36:
                this.btnDone_addBook = ((System.Windows.Controls.Button)(target));

            #line 263 "..\..\ManageBookPage.xaml"
                this.btnDone_addBook.Click += new System.Windows.RoutedEventHandler(this.BtnDone_addBook_Click);

            #line default
            #line hidden
                return;

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

            case 38:

            #line 267 "..\..\ManageBookPage.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.btn_CloseAddExist);

            #line default
            #line hidden
                return;

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

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

            case 41:
                this.AuthorBook = ((System.Windows.Controls.Label)(target));
                return;

            case 42:
                this.countAddBook = ((System.Windows.Controls.TextBox)(target));

            #line 297 "..\..\ManageBookPage.xaml"
                this.countAddBook.PreviewTextInput += new System.Windows.Input.TextCompositionEventHandler(this.CountAddBook_PreviewTextInput);

            #line default
            #line hidden
                return;

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

            #line 298 "..\..\ManageBookPage.xaml"
                this.AddExistBook.Click += new System.Windows.RoutedEventHandler(this.AddExistBook_Click);

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

            #line 178 "..\..\homepage.xaml"
                this.bg.PreviewMouseLeftButtonDown += new System.Windows.Input.MouseButtonEventHandler(this.bg_PreviewMouseLeftButtonDown);

            #line default
            #line hidden
                return;

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

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

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

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

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

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

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

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

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

            #line default
            #line hidden
                return;

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

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

            case 12:
                this.Toggle_btn = ((System.Windows.Controls.Primitives.ToggleButton)(target));

            #line 288 "..\..\homepage.xaml"
                this.Toggle_btn.Unchecked += new System.Windows.RoutedEventHandler(this.Toggle_tn_Unchecked);

            #line default
            #line hidden

            #line 288 "..\..\homepage.xaml"
                this.Toggle_btn.Checked += new System.Windows.RoutedEventHandler(this.Toggle_button_Checked);

            #line default
            #line hidden
                return;

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

            case 14:
                this.ShowstackPanel = ((System.Windows.Media.Animation.Storyboard)(target));
                return;

            case 15:

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

            #line default
            #line hidden
                return;

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

            case 17:

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

            #line default
            #line hidden
                return;

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

            case 19:

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

            #line default
            #line hidden
                return;

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

            case 21:

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

            #line default
            #line hidden
                return;

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

            case 23:

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

            #line default
            #line hidden
                return;

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

            case 25:

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

            #line default
            #line hidden
                return;

            case 26:
                this.tt_signout = ((System.Windows.Controls.ToolTip)(target));
                return;
            }
            this._contentLoaded = true;
        }
Ejemplo n.º 52
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.ButtonVoltar = ((System.Windows.Controls.Button)(target));

            #line 12 "..\..\..\servicePage.xaml"
                this.ButtonVoltar.Click += new System.Windows.RoutedEventHandler(this.ButtonVoltar_Click);

            #line default
            #line hidden
                return;

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

            #line 15 "..\..\..\servicePage.xaml"
                this.ButtonAddFav.Click += new System.Windows.RoutedEventHandler(this.ButtonAddFav_Click);

            #line default
            #line hidden
                return;

            case 3:
                this.favoritos = ((MaterialDesignThemes.Wpf.PackIcon)(target));
                return;

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

            case 5:
                this.userfoto = ((System.Windows.Media.ImageBrush)(target));
                return;

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

            case 7:
                this.nomeinstituto = ((System.Windows.Controls.RichTextBox)(target));
                return;

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

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

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

            case 11:
                this.preco = ((System.Windows.Controls.RichTextBox)(target));
                return;

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

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

            case 14:

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

            #line default
            #line hidden
                return;

            case 15:

            #line 57 "..\..\..\servicePage.xaml"
                ((MaterialDesignThemes.Wpf.PackIcon)(target)).PreviewMouseLeftButtonDown += new System.Windows.Input.MouseButtonEventHandler(this.PackIcon_PreviewMouseLeftButtonDown);

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

            #line 17 "..\..\..\Windows\ContactsModify.xaml"
                ((Eskuvo_tervezo.Windows.ContactsModify)(target)).KeyDown += new System.Windows.Input.KeyEventHandler(this.Window_KeyDown);

            #line default
            #line hidden
                return;

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

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

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

            #line 49 "..\..\..\Windows\ContactsModify.xaml"
                this.Tb_Name.PreviewKeyDown += new System.Windows.Input.KeyEventHandler(this.Tb_Name_PreviewKeyDown);

            #line default
            #line hidden
                return;

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

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

            #line 56 "..\..\..\Windows\ContactsModify.xaml"
                this.Tb_Phone.PreviewKeyDown += new System.Windows.Input.KeyEventHandler(this.Tb_Phone_PreviewKeyDown);

            #line default
            #line hidden
                return;

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

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

            #line 63 "..\..\..\Windows\ContactsModify.xaml"
                this.Tb_Email.PreviewKeyDown += new System.Windows.Input.KeyEventHandler(this.Tb_Email_PreviewKeyDown);

            #line default
            #line hidden
                return;

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

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

            #line 70 "..\..\..\Windows\ContactsModify.xaml"
                this.BT_Modification.Click += new System.Windows.RoutedEventHandler(this.BT_Modification_Click);

            #line default
            #line hidden
                return;

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

            #line 75 "..\..\..\Windows\ContactsModify.xaml"
                this.BT_Cancel.Click += new System.Windows.RoutedEventHandler(this.BT_Cancel_Click);

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

            case 2:
                this.FlipViewTest = ((MahApps.Metro.Controls.FlipView)(target));
                return;

            case 3:
                this.flUser = ((MahApps.Metro.Controls.Flyout)(target));
                return;

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

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

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

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

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

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

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

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

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

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

            case 14:
                this.flProccess = ((MahApps.Metro.Controls.Flyout)(target));
                return;

            case 15:
                this.gvDate = ((System.Windows.Controls.DataGrid)(target));
                return;

            case 16:
                this.flChampions = ((MahApps.Metro.Controls.Flyout)(target));
                return;

            case 17:
                this.lvChampion = ((System.Windows.Controls.ListView)(target));
                return;

            case 18:
                this.btnCloseChampions = ((MahApps.Metro.Controls.Tile)(target));
                return;

            case 19:
                this.child01 = ((MahApps.Metro.SimpleChildWindow.ChildWindow)(target));
                return;

            case 20:
                this.imgAVT = ((System.Windows.Media.ImageBrush)(target));
                return;

            case 21:
                this.btnAVT = ((MahApps.Metro.Controls.Tile)(target));
                return;

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

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

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

            case 25:
                this.txtOldPass = ((System.Windows.Controls.PasswordBox)(target));
                return;

            case 26:
                this.txtNewPass = ((System.Windows.Controls.PasswordBox)(target));
                return;

            case 27:
                this.txtConfiPass = ((System.Windows.Controls.PasswordBox)(target));
                return;
            }
            this._contentLoaded = true;
        }
Ejemplo n.º 55
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:

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

            #line default
            #line hidden

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

            #line default
            #line hidden

            #line 22 "..\..\..\View\MainWindow.xaml"
                ((Direct_Response.MainWindow)(target)).Closed += new System.EventHandler(this.Window_Closed);

            #line default
            #line hidden

            #line 24 "..\..\..\View\MainWindow.xaml"
                ((Direct_Response.MainWindow)(target)).StateChanged += new System.EventHandler(this.Window_StateChanged);

            #line default
            #line hidden
                return;

            case 2:

            #line 72 "..\..\..\View\MainWindow.xaml"
                ((System.Windows.Input.CommandBinding)(target)).Executed += new System.Windows.Input.ExecutedRoutedEventHandler(this.OnReturnAddMessage);

            #line default
            #line hidden
                return;

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

            #line 88 "..\..\..\View\MainWindow.xaml"
                this.windowBorderDrag.MouseLeftButtonDown += new System.Windows.Input.MouseButtonEventHandler(this.windowBorderDrag_MouseLeftButtonDown);

            #line default
            #line hidden
                return;

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

            #line 92 "..\..\..\View\MainWindow.xaml"
                this.WindowMinimize.Click += new System.Windows.RoutedEventHandler(this.WindowMinimize_Click);

            #line default
            #line hidden
                return;

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

            #line 95 "..\..\..\View\MainWindow.xaml"
                this.WindowMaximize.Click += new System.Windows.RoutedEventHandler(this.WindowMaximize_Click);

            #line default
            #line hidden
                return;

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

            #line 98 "..\..\..\View\MainWindow.xaml"
                this.WindowClose.Click += new System.Windows.RoutedEventHandler(this.WindowClose_Click);

            #line default
            #line hidden
                return;

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

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

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

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

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

            case 12:
                this.tbUserNameIcon = ((MaterialDesignThemes.Wpf.PackIcon)(target));
                return;

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

            case 14:
                this.tbUserNameFailIcon = ((MaterialDesignThemes.Wpf.PackIcon)(target));
                return;

            case 15:
                this.tbPasswordIcon = ((MaterialDesignThemes.Wpf.PackIcon)(target));
                return;

            case 16:
                this.tbPassword = ((System.Windows.Controls.PasswordBox)(target));
                return;

            case 17:
                this.tbPasswordFailIcon = ((MaterialDesignThemes.Wpf.PackIcon)(target));
                return;

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

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

            #line 136 "..\..\..\View\MainWindow.xaml"
                this.btnLogin.Click += new System.Windows.RoutedEventHandler(this.btnLogin_Click);

            #line default
            #line hidden
                return;

            case 20:
                this.HyperLinkRegister = ((System.Windows.Documents.Hyperlink)(target));

            #line 141 "..\..\..\View\MainWindow.xaml"
                this.HyperLinkRegister.Click += new System.Windows.RoutedEventHandler(this.HyperLinkRegister_Click);

            #line default
            #line hidden
                return;

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

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

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

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

            #line 160 "..\..\..\View\MainWindow.xaml"
                this.hideMenu.Click += new System.Windows.RoutedEventHandler(this.hideMenu_Click);

            #line default
            #line hidden
                return;

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

            #line 163 "..\..\..\View\MainWindow.xaml"
                this.showMenu.Click += new System.Windows.RoutedEventHandler(this.showMenu_Click);

            #line default
            #line hidden
                return;

            case 26:
                this.ListOfConversations = ((System.Windows.Controls.ListBox)(target));

            #line 172 "..\..\..\View\MainWindow.xaml"
                this.ListOfConversations.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.ListView_SelectionChanged);

            #line default
            #line hidden
                return;

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

            #line 173 "..\..\..\View\MainWindow.xaml"
                this.btnAddConversation.Click += new System.Windows.RoutedEventHandler(this.btnAddConversation_Click);

            #line default
            #line hidden
                return;

            case 28:
                this.settingsPanel = ((System.Windows.Controls.StackPanel)(target));
                return;

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

            #line 178 "..\..\..\View\MainWindow.xaml"
                this.btnSettings.Click += new System.Windows.RoutedEventHandler(this.btnSettings_Click);

            #line default
            #line hidden
                return;

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

            #line 179 "..\..\..\View\MainWindow.xaml"
                this.hideSettings.Click += new System.Windows.RoutedEventHandler(this.hideSettings_Click);

            #line default
            #line hidden
                return;

            case 31:
                this.accountImage = ((System.Windows.Controls.StackPanel)(target));
                return;

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

            #line 193 "..\..\..\View\MainWindow.xaml"
                this.btnUpdateImage.Click += new System.Windows.RoutedEventHandler(this.btnUpdateImage_Click);

            #line default
            #line hidden
                return;

            case 33:
                this.AccountImage = ((System.Windows.Media.ImageBrush)(target));
                return;

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

            case 35:
                this.passwordInfo = ((System.Windows.Controls.PasswordBox)(target));

            #line 207 "..\..\..\View\MainWindow.xaml"
                this.passwordInfo.PasswordChanged += new System.Windows.RoutedEventHandler(this.passwordInfo_PasswordChanged);

            #line default
            #line hidden
                return;

            case 36:
                this.rePasswordInfo = ((System.Windows.Controls.PasswordBox)(target));

            #line 211 "..\..\..\View\MainWindow.xaml"
                this.rePasswordInfo.PasswordChanged += new System.Windows.RoutedEventHandler(this.passwordInfo_PasswordChanged);

            #line default
            #line hidden
                return;

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

            #line 214 "..\..\..\View\MainWindow.xaml"
                this.btnUpdate.Click += new System.Windows.RoutedEventHandler(this.btnUpdate_Click);

            #line default
            #line hidden
                return;

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

            #line 219 "..\..\..\View\MainWindow.xaml"
                this.btnLogOut.Click += new System.Windows.RoutedEventHandler(this.btnLogOut_Click);

            #line default
            #line hidden
                return;

            case 39:
                this.Messages = ((System.Windows.Controls.Grid)(target));
                return;

            case 40:
                this.MessageList = ((System.Windows.Controls.ListView)(target));
                return;

            case 41:
                this.grdMessageControl = ((System.Windows.Controls.Grid)(target));
                return;

            case 42:
                this.tbMessage = ((System.Windows.Controls.TextBox)(target));
                return;

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

            #line 249 "..\..\..\View\MainWindow.xaml"
                this.SendMessage.Click += new System.Windows.RoutedEventHandler(this.SendMessage_Click);

            #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.ExitButton = ((System.Windows.Controls.Button)(target));

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

            #line default
            #line hidden
                return;

            case 2:

            #line 66 "..\..\NewTripScreen.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.OnSubmit);

            #line default
            #line hidden
                return;

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

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

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

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

            case 7:

            #line 172 "..\..\NewTripScreen.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.OnAddNewMilestone);

            #line default
            #line hidden
                return;

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

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

            #line 226 "..\..\NewTripScreen.xaml"
                this.addAvatar.Click += new System.Windows.RoutedEventHandler(this.addAvatar_Click);

            #line default
            #line hidden
                return;

            case 10:
                this.Avatar = ((System.Windows.Media.ImageBrush)(target));
                return;

            case 11:

            #line 275 "..\..\NewTripScreen.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.OnAddNewImage);

            #line default
            #line hidden
                return;

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

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

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

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

            #line 393 "..\..\NewTripScreen.xaml"
                this.txtCost.PreviewTextInput += new System.Windows.Input.TextCompositionEventHandler(this.NumberValidationTextBox);

            #line default
            #line hidden
                return;

            case 16:

            #line 403 "..\..\NewTripScreen.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.OnAddNewCost);

            #line default
            #line hidden
                return;

            case 17:
                this.lbCostList = ((System.Windows.Controls.ListBox)(target));
                return;

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

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

            #line 479 "..\..\NewTripScreen.xaml"
                this.txtMemberFee.PreviewTextInput += new System.Windows.Input.TextCompositionEventHandler(this.NumberValidationTextBox);

            #line default
            #line hidden
                return;

            case 20:

            #line 489 "..\..\NewTripScreen.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.OnAddNewMember);

            #line default
            #line hidden
                return;

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

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

            #line default
            #line hidden
                return;

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

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

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

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

            case 6:

            #line 191 "..\..\DifferentialBackupWindow.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.GoBackButtonClicked);

            #line default
            #line hidden
                return;

            case 7:

            #line 193 "..\..\DifferentialBackupWindow.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.SourceFolderButtonClicked);

            #line default
            #line hidden
                return;

            case 8:

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

            #line default
            #line hidden
                return;

            case 9:

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

            #line default
            #line hidden
                return;

            case 10:

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

            #line default
            #line hidden
                return;

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

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

            #line default
            #line hidden
                return;

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

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

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

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

            #line default
            #line hidden

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

            #line default
            #line hidden
                return;

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

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

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

            case 18:

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

            #line default
            #line hidden
                return;

            case 19:

            #line 371 "..\..\DifferentialBackupWindow.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.GoBackButtonClicked);

            #line default
            #line hidden
                return;

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

            case 21:

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

            #line default
            #line hidden
                return;

            case 22:

            #line 410 "..\..\DifferentialBackupWindow.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.OpenDifferentialBackupWindow);

            #line default
            #line hidden
                return;

            case 23:
                this.tt_DiffBackup = ((System.Windows.Controls.ToolTip)(target));
                return;

            case 24:

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

            #line default
            #line hidden
                return;

            case 25:

            #line 445 "..\..\DifferentialBackupWindow.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.OpenFullBackupWindow);

            #line default
            #line hidden
                return;

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

            case 27:

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

            #line default
            #line hidden
                return;

            case 28:

            #line 480 "..\..\DifferentialBackupWindow.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.OpenSettingWindow);

            #line default
            #line hidden
                return;

            case 29:
                this.tt_Parameters = ((System.Windows.Controls.ToolTip)(target));
                return;
            }
            this._contentLoaded = true;
        }
Ejemplo n.º 58
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 3:
                this.g1 = ((System.Windows.Controls.Grid)(target));
                return;

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

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

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

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

            case 8:

            #line 98 "..\..\MainWindow.xaml"
                ((System.Windows.Controls.Primitives.Thumb)(target)).DragDelta += new System.Windows.Controls.Primitives.DragDeltaEventHandler(this.Thumb_DragDelta);

            #line default
            #line hidden
                return;

            case 9:
                this.min = ((System.Windows.Controls.Image)(target));

            #line 100 "..\..\MainWindow.xaml"
                this.min.MouseEnter += new System.Windows.Input.MouseEventHandler(this.min_MouseEnter);

            #line default
            #line hidden

            #line 100 "..\..\MainWindow.xaml"
                this.min.MouseLeave += new System.Windows.Input.MouseEventHandler(this.all_MouseLeave);

            #line default
            #line hidden

            #line 100 "..\..\MainWindow.xaml"
                this.min.MouseDown += new System.Windows.Input.MouseButtonEventHandler(this.min_MouseDown);

            #line default
            #line hidden
                return;

            case 10:
                this.max = ((System.Windows.Controls.Image)(target));

            #line 101 "..\..\MainWindow.xaml"
                this.max.MouseEnter += new System.Windows.Input.MouseEventHandler(this.max_MouseEnter);

            #line default
            #line hidden

            #line 101 "..\..\MainWindow.xaml"
                this.max.MouseLeave += new System.Windows.Input.MouseEventHandler(this.all_MouseLeave);

            #line default
            #line hidden

            #line 101 "..\..\MainWindow.xaml"
                this.max.MouseDown += new System.Windows.Input.MouseButtonEventHandler(this.max_MouseDown);

            #line default
            #line hidden
                return;

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

            #line 102 "..\..\MainWindow.xaml"
                this.exit.MouseEnter += new System.Windows.Input.MouseEventHandler(this.exit_MouseEnter);

            #line default
            #line hidden

            #line 102 "..\..\MainWindow.xaml"
                this.exit.MouseLeave += new System.Windows.Input.MouseEventHandler(this.all_MouseLeave);

            #line default
            #line hidden

            #line 102 "..\..\MainWindow.xaml"
                this.exit.MouseDown += new System.Windows.Input.MouseButtonEventHandler(this.exit_MouseDown);

            #line default
            #line hidden
                return;

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

            case 13:
                this._menu_bar = ((System.Windows.Media.ImageBrush)(target));
                return;

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

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

            case 16:
                this._text_0 = ((System.Windows.Controls.TextBlock)(target));
                return;

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

            case 18:
                this._image_1 = ((System.Windows.Controls.Image)(target));
                return;

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

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

            case 21:
                this._image_2 = ((System.Windows.Controls.Image)(target));
                return;

            case 22:
                this._text_2 = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 23:
                this._grid_3 = ((System.Windows.Controls.Grid)(target));
                return;

            case 24:
                this._image_3 = ((System.Windows.Controls.Image)(target));
                return;

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

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

            case 27:
                this._image_4 = ((System.Windows.Controls.Image)(target));
                return;

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

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

            case 30:
                this._image_5 = ((System.Windows.Controls.Image)(target));
                return;

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

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

            case 33:
                this._image_6 = ((System.Windows.Controls.Image)(target));
                return;

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

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

            case 36:
                this._image_7 = ((System.Windows.Controls.Image)(target));
                return;

            case 37:
                this._text_7 = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 38:
                this._grid_8 = ((System.Windows.Controls.Grid)(target));
                return;

            case 39:
                this._image_8 = ((System.Windows.Controls.Image)(target));
                return;

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

            case 41:
                this._grid_9 = ((System.Windows.Controls.Grid)(target));
                return;

            case 42:
                this._image_9 = ((System.Windows.Controls.Image)(target));
                return;

            case 43:
                this._text_9 = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 44:
                this._grid_10 = ((System.Windows.Controls.Grid)(target));
                return;

            case 45:
                this._image_10 = ((System.Windows.Controls.Image)(target));
                return;

            case 46:
                this._text_10 = ((System.Windows.Controls.TextBlock)(target));
                return;

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

            case 48:
                this._image_11 = ((System.Windows.Controls.Image)(target));
                return;

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

            case 50:
                this._grid_12 = ((System.Windows.Controls.Grid)(target));
                return;

            case 51:
                this._image_12 = ((System.Windows.Controls.Image)(target));
                return;

            case 52:
                this._text_12 = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 53:
                this._grid_13 = ((System.Windows.Controls.Grid)(target));
                return;

            case 54:
                this._image_13 = ((System.Windows.Controls.Image)(target));
                return;

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

            case 56:
                this._grid_14 = ((System.Windows.Controls.Grid)(target));
                return;

            case 57:
                this._image_14 = ((System.Windows.Controls.Image)(target));
                return;

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

            case 59:
                this.grid_mainpage = ((System.Windows.Controls.Grid)(target));
                return;

            case 60:
                this.grid_Menu = ((System.Windows.Controls.Grid)(target));
                return;

            case 61:
                this.grid_splitter = ((System.Windows.Controls.Grid)(target));
                return;

            case 62:
                this._image = ((System.Windows.Controls.Image)(target));

            #line 211 "..\..\MainWindow.xaml"
                this._image.MouseDown += new System.Windows.Input.MouseButtonEventHandler(this._changeSize_MouseDown);

            #line default
            #line hidden

            #line 211 "..\..\MainWindow.xaml"
                this._image.MouseEnter += new System.Windows.Input.MouseEventHandler(this._changeSize_MouseEnter);

            #line default
            #line hidden

            #line 211 "..\..\MainWindow.xaml"
                this._image.MouseLeave += new System.Windows.Input.MouseEventHandler(this._changeSize_MouseLeave);

            #line default
            #line hidden
                return;

            case 63:
                this.grid_Component = ((System.Windows.Controls.Grid)(target));
                return;

            case 64:
                this._tab = ((System.Windows.Controls.TabControl)(target));
                return;

            case 65:
                this.grid_bottom = ((System.Windows.Controls.Grid)(target));
                return;

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

            #line 9 "..\..\..\Screens\TripDetailScreen.xaml"
                ((DA2_WeSplit.Screens.TripDetailScreen)(target)).Loaded += new System.Windows.RoutedEventHandler(this.UserControl_Loaded);

            #line default
            #line hidden
                return;

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

            #line 32 "..\..\..\Screens\TripDetailScreen.xaml"
                this.ExitButton.Click += new System.Windows.RoutedEventHandler(this.exitButton_Click);

            #line default
            #line hidden
                return;

            case 3:

            #line 72 "..\..\..\Screens\TripDetailScreen.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.EditButton_Click);

            #line default
            #line hidden
                return;

            case 4:
                this.mainImage = ((System.Windows.Media.ImageBrush)(target));
                return;

            case 5:
                this.ImageListView = ((System.Windows.Controls.ListView)(target));

            #line 146 "..\..\..\Screens\TripDetailScreen.xaml"
                this.ImageListView.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.ImageListView_SelectionChanged);

            #line default
            #line hidden
                return;

            case 6:
                this.MotaView = ((System.Windows.Controls.ScrollViewer)(target));
                return;

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

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

            case 9:
                this.PlaceButton = ((System.Windows.Controls.Primitives.ToggleButton)(target));

            #line 236 "..\..\..\Screens\TripDetailScreen.xaml"
                this.PlaceButton.Checked += new System.Windows.RoutedEventHandler(this.PlaceButton_Checked);

            #line default
            #line hidden

            #line 237 "..\..\..\Screens\TripDetailScreen.xaml"
                this.PlaceButton.Unchecked += new System.Windows.RoutedEventHandler(this.PlaceButton_Unchecked);

            #line default
            #line hidden
                return;

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

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

            case 12:
                this.MemberButton = ((System.Windows.Controls.Primitives.ToggleButton)(target));

            #line 276 "..\..\..\Screens\TripDetailScreen.xaml"
                this.MemberButton.Checked += new System.Windows.RoutedEventHandler(this.MemberButton_Checked);

            #line default
            #line hidden

            #line 277 "..\..\..\Screens\TripDetailScreen.xaml"
                this.MemberButton.Unchecked += new System.Windows.RoutedEventHandler(this.MemberButton_Unchecked);

            #line default
            #line hidden
                return;

            case 13:
                this.myChart = ((LiveCharts.Wpf.PieChart)(target));

            #line 322 "..\..\..\Screens\TripDetailScreen.xaml"
                this.myChart.DataClick += new LiveCharts.Events.DataClickHandler(this.Chart_OnDataClick);

            #line default
            #line hidden
                return;

            case 14:
                this.myChart2 = ((LiveCharts.Wpf.PieChart)(target));

            #line 344 "..\..\..\Screens\TripDetailScreen.xaml"
                this.myChart2.DataClick += new LiveCharts.Events.DataClickHandler(this.Chart_OnDataClick);

            #line default
            #line hidden
                return;

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

            #line 164 "..\..\register_volunteer.xaml"
                this.bg.PreviewMouseLeftButtonDown += new System.Windows.Input.MouseButtonEventHandler(this.bg_PreviewMouseLeftButtonDown);

            #line default
            #line hidden
                return;

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

            case 3:

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

            #line default
            #line hidden
                return;

            case 4:

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

            #line default
            #line hidden
                return;

            case 5:

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

            #line default
            #line hidden
                return;

            case 6:

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

            #line default
            #line hidden
                return;

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

            #line 209 "..\..\register_volunteer.xaml"
                this.btn_click_for_client.Click += new System.Windows.RoutedEventHandler(this.Button_Click);

            #line default
            #line hidden
                return;

            case 8:
                this.register_client = ((Community_Help_App.Register_client)(target));
                return;

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

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

            #line default
            #line hidden
                return;

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

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

            case 12:
                this.Toggle_btn = ((System.Windows.Controls.Primitives.ToggleButton)(target));

            #line 301 "..\..\register_volunteer.xaml"
                this.Toggle_btn.Unchecked += new System.Windows.RoutedEventHandler(this.Toggle_tn_Unchecked);

            #line default
            #line hidden

            #line 301 "..\..\register_volunteer.xaml"
                this.Toggle_btn.Checked += new System.Windows.RoutedEventHandler(this.Toggle_button_Checked);

            #line default
            #line hidden
                return;

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

            case 14:
                this.ShowstackPanel = ((System.Windows.Media.Animation.Storyboard)(target));
                return;

            case 15:

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

            #line default
            #line hidden
                return;

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

            case 17:

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

            #line default
            #line hidden
                return;

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

            case 19:

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

            #line default
            #line hidden
                return;

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

            case 21:

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

            #line default
            #line hidden
                return;

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

            case 23:

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

            #line default
            #line hidden
                return;

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

            case 25:

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

            #line default
            #line hidden
                return;

            case 26:
                this.tt_signout = ((System.Windows.Controls.ToolTip)(target));
                return;
            }
            this._contentLoaded = true;
        }