private void Window_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; wdw1.Background = myBrush; resetGrid(); if (status == false)//maintenance { btnView.Visibility = Visibility.Hidden; btnAdd.Visibility = Visibility.Hidden; btnRet.Visibility = Visibility.Visible; myLbL.Content = "Bank Retrieval"; } } catch (Exception ex) { System.Windows.MessageBox.Show("Runtime Error: " + ex.Message, "Error", MessageBoxButton.OK, MessageBoxImage.Error); return; } }
public TcpViewModelDataType(TcpRow data) { Data = data; ProccessIcon = new Image(); ImageName = "Skipped"; FullPath = "Skipped"; }
public TcpViewModelDataType(TcpRow data, Image icon, string name, string path) { Data = data; ProccessIcon = icon; ImageName = name; FullPath = path; }
private void btnRun_Click(object sender, RoutedEventArgs e) { Workbook workbook = new Workbook(); workbook.LoadFromFile(@"..\..\..\..\..\Data\ImageSample.xls"); Worksheet sheet = workbook.Worksheets[0]; //get picture ExcelPicture pic = sheet.Pictures[0]; //save memoryStream System.Windows.Controls.Image img = new System.Windows.Controls.Image(); System.IO.MemoryStream mem = new System.IO.MemoryStream(); pic.Picture.Save(mem, System.Drawing.Imaging.ImageFormat.Png); img.Source = GetBitmapSourceFromStream(mem); //create window Window imgWindow = new Window(); imgWindow.Title = "ImageSample"; imgWindow.WindowStartupLocation = WindowStartupLocation.CenterScreen; imgWindow.Width = pic.Picture.Width; imgWindow.Height = pic.Picture.Height; imgWindow.ResizeMode = ResizeMode.NoResize; //set margin Thickness thick = new Thickness(0,0,0,0); img.Margin = thick; imgWindow.Content = img; imgWindow.ShowDialog(); }
public CardPack() { _pack = new List<Card>(); Uri uri = new Uri("./Images/cards.png", UriKind.Relative); source = new BitmapImage(uri); _cardFronts = new List<CroppedBitmap>(); CardBack = new Image(); int w = source.PixelWidth / 13; int h = source.PixelHeight/5; for (int s = 0; s < 4; s++) { for (int v = 0; v < 13; v++) { int imageIndex = (s*13) + v; int fx = imageIndex % 13; int fy = imageIndex / 13; Int32Rect sourceRect = new Int32Rect(fx * w, fy * h, w, h); CroppedBitmap front = new CroppedBitmap(source, sourceRect); sourceRect = new Int32Rect(2 * w, 4 * h, w, h); CroppedBitmap back = new CroppedBitmap(source, sourceRect); Image frontImage = new Image {Source = front}; Image backImage = new Image { Source = back }; Card card = new Card((CardSuit)s, (CardValue)v, frontImage, backImage); _pack.Add(card); } } }
void CheckImage(BitmapImage img) { if(img.IsDownloading) { Dispatcher.InvokeAsync(() => CheckImage(img), DispatcherPriority.Background); } else { var el = new System.Windows.Controls.Image() { Source = img, SnapsToDevicePixels = true, UseLayoutRounding = true, MinWidth = LedBadgeLib.BadgeCaps.Width, MinHeight = LedBadgeLib.BadgeCaps.Height, Width = img.Width * ((BitmapSource)img).DpiX / 96, Stretch = Stretch.UniformToFill, }; RenderOptions.SetBitmapScalingMode(img, BitmapScalingMode.NearestNeighbor); el.Measure(new Size(LedBadgeLib.BadgeCaps.Width, LedBadgeLib.BadgeCaps.Height)); el.Arrange(new Rect(0, 0, LedBadgeLib.BadgeCaps.Width, LedBadgeLib.BadgeCaps.Height)); m_messageQueue.Enqueue(new LedBadgeLib.MessageQueueItem(new LedBadgeLib.WpfVisual(el, dither : Dither))); }; }
public void SetCurrentRoom(Image image) { CurrentRoom.Selected = false; var room = _rooms.FirstOrDefault(a => a.Image == image); if (room != null) CurrentRoom = room; CurrentRoom.Selected = true; }
public void AddFriend(Image userIcon, string userName, string userStatus, int userID, bool isOnline) { Friend friend = new Friend(userIcon, userName, userStatus, userID, isOnline); friend.RequestShare += friend_RequestShare; _friends.Add(friend); Update(); }
/// <summary> /// Initializes a new instance of the <see cref="ImageButton"/> class. /// </summary> public ImageButton() { SetResourceReference(HeightProperty, "DefaultControlHeight"); var panel = new StackPanel {Orientation = Orientation.Horizontal}; _icon = new Image {Margin = new Thickness(0, 0, 6, 0)}; var imageBinding = new Binding("Icon") { Source = this, UpdateSourceTrigger = UpdateSourceTrigger.PropertyChanged }; _icon.SetBinding(Image.SourceProperty, imageBinding); panel.Children.Add(_icon); _textBlock = new TextBlock(); var textBinding = new Binding("Content") { Source = this, UpdateSourceTrigger = UpdateSourceTrigger.PropertyChanged }; _textBlock.SetBinding(TextBlock.TextProperty, textBinding); panel.Children.Add(_textBlock); base.Content = panel; SetResourceReference(StyleProperty, typeof (Button)); }
private void OnDragInitialize(object sender, DragInitializeEventArgs args) { args.AllowedEffects = DragDropEffects.All; if (args.OriginalSource.GetType() == typeof(Telerik.Windows.Controls.RadListBoxItem)) { var draggedShape = (args.OriginalSource as Telerik.Windows.Controls.RadListBoxItem).ChildrenOfType<RadDiagramShapeBase>().FirstOrDefault(); if (draggedShape != null) { var shapeSize = new Size(draggedShape.ActualWidth, draggedShape.ActualHeight); if (shapeSize.Width > 0 && shapeSize.Height > 0) { var dropInfo = new DiagramDropInfo(shapeSize, SerializationService.Default.SerializeItems(new List<IDiagramItem> {draggedShape})); args.Data = dropInfo; args.DragVisualOffset = new Point(args.RelativeStartPoint.X - (shapeSize.Width / 2), args.RelativeStartPoint.Y - (shapeSize.Height / 2)); var draggingImage = new System.Windows.Controls.Image { Source = new Telerik.Windows.Media.Imaging.RadBitmap(draggedShape).Bitmap, Width = shapeSize.Width, Height = shapeSize.Height }; args.DragVisual = draggingImage; } } } }
void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) { switch (connectionId) { case 1: this.CheckImage = ((System.Windows.Controls.Image)(target)); return; case 2: #line 7 "..\..\MainWindow.xaml" ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Green_Click); #line default #line hidden return; case 3: #line 8 "..\..\MainWindow.xaml" ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Red_Click); #line default #line hidden return; case 4: #line 9 "..\..\MainWindow.xaml" ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Purple_Click); #line default #line hidden return; } this._contentLoaded = true; }
public DirectoryListItem(int width, int height, songInfo info) { itemInfo = info; _isPressed = false; _background = new System.Windows.Controls.Image(); _background.Stretch = Stretch.Fill; _background.Width = width; _background.Height = height; this.Children.Add(_background); _artist = new System.Windows.Controls.Label(); _artist.Content = info.artist; _artist.Margin = new Thickness(0, 0, 0, 0); _artist.FontFamily = new System.Windows.Media.FontFamily("Calibri"); _artist.FontSize = 20.0; _artist.Foreground = System.Windows.Media.Brushes.White; this.Children.Add(_artist); _title = new System.Windows.Controls.Label(); _title.Content = info.title; _title.FontFamily = new System.Windows.Media.FontFamily("Calibri"); _title.FontSize = 16.0; _title.Foreground = System.Windows.Media.Brushes.White; _title.Margin = new Thickness(0, 30, 0, 0); this.Children.Add(_title); itemInfo = info; }
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; //Grid grid = new Grid(); wdw1.Background = myBrush; using (var ctx = new finalContext()) { FPaymentInfo fp = ctx.FPaymentInfo.Find(fId); double n = 0; n = fp.Amount * (fp.Loan.Service.DaifPenalty / 100); lblDaif.Content = "(Fee: " + n.ToString("N2") + ")"; DaifFee = Double.Parse(n.ToString("N2")); n = fp.Amount * (fp.Loan.Service.ClosedAccountPenalty / 100); lblClosed.Content = "(Fee: " + n.ToString("N2") + ")"; ClosedFee = Double.Parse(n.ToString("N2")); } } catch (Exception ex) { System.Windows.MessageBox.Show("Runtime Error: " + ex.Message, "Error", MessageBoxButton.OK, MessageBoxImage.Error); return; } }
public static Image AsImage(BitmapImage bitmapImage) { Image image = new Image(); image.Source = bitmapImage; return image; }
public RecordController(int width, int height) { _isPressed = false; _button = new System.Windows.Controls.Image(); _button.Stretch = Stretch.Fill; _button.Width = width; _button.Height = height; this.Children.Add(_button); _artistLabel = new System.Windows.Controls.Label(); _artistLabel.Content = "Artist"; _artistLabel.Margin = new Thickness(0, 170, 0, 0); _artistLabel.Width = 462; _artistLabel.HorizontalContentAlignment = HorizontalAlignment.Center; _artistLabel.FontFamily = new System.Windows.Media.FontFamily("Calibri"); _artistLabel.FontSize = 20.0; this.Children.Add(_artistLabel); _titleLabel = new System.Windows.Controls.Label(); _titleLabel.Content = "Title"; _titleLabel.Margin = new Thickness(100, 260, 0, 0); _titleLabel.Width = 262; _titleLabel.HorizontalContentAlignment = HorizontalAlignment.Center; this.Children.Add(_titleLabel); }
public ImageTransitionControl() { InitializeComponent(); _currentImage = Image1; _newImage = Image2; }
private void CreateDragVisual() { ClearDragVisual(); var bitmap = new System.Windows.Media.Imaging.WriteableBitmap(this, null); bitmap.Render(this, null); bitmap.Invalidate(); _dragVisual = new System.Windows.Controls.Image(); _dragVisual.Source = bitmap; // find topmost canvas.. (so we can add the drag visual as a child // and ensure that it is on top of everything) // var canvas = this.GetTopmostParentOfType<Canvas>(); canvas.Children.Add(_dragVisual); var point = this.GetRelativePosition(canvas); _dragVisual.SetValue(Canvas.TopProperty, point.Y); _dragVisual.SetValue(Canvas.LeftProperty, point.X); // Really make sure the drag visual is on top // Canvas.SetZIndex(_dragVisual, Int16.MaxValue); }
private static MemoryStream SaveDrawingImage(ImageSource drawingImage) { var image = new Image { Source = drawingImage }; image.Arrange(new Rect(0, 0, drawingImage.Width, drawingImage.Height)); var settings = Settings.Default; var renderTargetBitmap = new RenderTargetBitmap((int)drawingImage.Width, (int)drawingImage.Height, settings.ImageDPI, settings.ImageDPI, PixelFormats.Default); renderTargetBitmap.Render(image); Settings.Default.Save(); var encoder = new JpegBitmapEncoder { QualityLevel = settings.JpgQuality }; encoder.Frames.Add(BitmapFrame.Create(renderTargetBitmap)); var memoryStream = new MemoryStream(); encoder.Save(memoryStream); return memoryStream; }
/// <summary> /// Defaults to the off state and the image from displayedImage /// </summary> public ImageToggle(ImageSource otherImage, ref Image displayedImage) { _img1 = otherImage; _img2 = displayedImage.Source; _displayedImage = displayedImage; Toggled = false; }
public override void OnApplyTemplate() { base.OnApplyTemplate(); _currentImageReference = (Image)GetTemplateChild("ImagePresenter"); _currentImageReference.ImageOpened += GetImageSourceImageOpened; _currentImageReference.ImageFailed += GetImageSourceImageFailed; }
public JumpToSlideWindow() { InitializeComponent(); var mainWin = DesignerMainWindow.GetInstance(); for (int i = 0; i < mainWin.lbThumbs.Items.Count; i++) { var vb = mainWin.lbThumbs.Items[i] as Viewbox; var slideImg = (vb.Child as Border).Child as Image; if (slideImg == null) continue; var thumb = new Image {Source = slideImg.Source}; if (i == mainWin.GetCurrentSlideNr()) thumb.Opacity = 0.7; thumb.Width = 110; thumb.Height = thumb.Width/1.6666667; var brdr = new Border { BorderBrush = Brushes.Black, BorderThickness = new Thickness(2), Margin = new Thickness(1, 3, 2, 3), Child = thumb, Tag = vb.Tag }; lbSlides.Items.Add(brdr); } }
void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) { switch (connectionId) { case 1: this.myimage = ((System.Windows.Controls.Image)(target)); #line 9 "..\..\..\UserControls\MyCheckUC.xaml" this.myimage.MouseLeftButtonDown += new System.Windows.Input.MouseButtonEventHandler(this.myimage_MouseLeftButtonDown); #line default #line hidden #line 9 "..\..\..\UserControls\MyCheckUC.xaml" this.myimage.MouseEnter += new System.Windows.Input.MouseEventHandler(this.myimage_MouseEnter); #line default #line hidden #line 9 "..\..\..\UserControls\MyCheckUC.xaml" this.myimage.MouseLeave += new System.Windows.Input.MouseEventHandler(this.myimage_MouseLeave); #line default #line hidden return; } this._contentLoaded = true; }
public static void SavePicture(Image img) { //PhotoSet set = this.CurrentPhoto(); //if (null == set) //{ // CustomControls.PopToast("图片不存在,无法保存!", "", 0x3e8); //} //else //{ // ImageCacherEngine.imgSuffixString = string.Format("480x{0}", 720); // string filename = ImageCacherEngine.FileCacheName(set.ImageUri); // if (IsoStore.FileExists(filename)) // { // Stream source = IsoStore.StreamFileFromIsoStore(filename); // if (source.Length > 0L) // { // Picture picture = new MediaLibrary().SavePicture(filename.Substring(7, filename.Length - 7), source); // CustomControls.PopToast("保存成功!", "", 0x3e8); // } // } // else // { // CustomControls.PopToast("图片不存在,无法保存!", "", 0x3e8); // } //} }
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; } }
public override void OnApplyTemplate() { base.OnApplyTemplate(); icon = GetTemplateChild("PART_Icon") as Image; if (icon != null) { icon.MouseLeftButtonDown += icon_MouseLeftButtonDown; icon.MouseUp += icon_MouseUp; } minButton = GetTemplateChild("PART_MinButton") as Button; maxButton = GetTemplateChild("PART_MaxButton") as Button; closeButton = GetTemplateChild("PART_CloseButton") as Button; if (minButton != null) minButton.Click += button_Click; if (maxButton != null) maxButton.Click += button_Click; if (closeButton != null) closeButton.Click += button_Click; }
public ImageTarget(String name, String filename) { image = new System.Windows.Controls.Image(); grid = new Grid(); this.name = name; LoadImage(filename); image.Height = 100; image.Width = 100; grid.Children.Add(image); highlight = new System.Windows.Shapes.Rectangle(); highlight.Width = 100; highlight.Height = 100; highlight.Fill = new SolidColorBrush(System.Windows.Media.Color.FromRgb(70, 130, 80)); highlight.Opacity = 0.4; highlight.Visibility = System.Windows.Visibility.Hidden; grid.Children.Add(highlight); select = new System.Windows.Shapes.Rectangle(); select.Width = 120; select.Height = 120; select.Fill = new SolidColorBrush(System.Windows.Media.Color.FromRgb(0, 255, 0)); Grid.SetZIndex(select, -1); select.Visibility = System.Windows.Visibility.Hidden; grid.Children.Add(select); }
public void FillItem(string path,string _name) { _filepath = path; StackPanel ImageStack = new StackPanel(); ImageStack.Background = System.Windows.Media.Brushes.Transparent; ImageStack.Orientation = Orientation.Vertical; System.Windows.Controls.Image FileImage = new System.Windows.Controls.Image(); //set the source!!! FileImage.Source = SmartThumnailProvider.GetThumbInt(path, 128, 128,ThumbOptions.BiggerOk); TextBlock FileText = new TextBlock(); FileText.FontSize = 18; FileText.TextTrimming = TextTrimming.CharacterEllipsis; FileText.Text = _name; FileText.TextAlignment = TextAlignment.Center; FileText.VerticalAlignment = VerticalAlignment.Bottom; FileText.Height = 30; FileImage.Height = 100; FileImage.Width = 100; ImageStack.Children.Add(FileImage); ImageStack.Children.Add(FileText); this.Content = ImageStack; }
/// <summary> /// Within the given line add the scarlet box behind the a /// </summary> private void CreateVisuals(ITextViewLine line) { //grab a reference to the lines in the current TextView IWpfTextViewLineCollection textViewLines = _view.TextViewLines; int start = line.Start; int end = line.End; //Loop through each character, and place a box around any a for (int i = start; (i < end); ++i) { if (_view.TextSnapshot[i] == 'a') { SnapshotSpan span = new SnapshotSpan(_view.TextSnapshot, Span.FromBounds(i, i + 1)); Geometry g = textViewLines.GetMarkerGeometry(span); if (g != null) { GeometryDrawing drawing = new GeometryDrawing(_brush, _pen, g); drawing.Freeze(); DrawingImage drawingImage = new DrawingImage(drawing); drawingImage.Freeze(); Image image = new Image(); image.Source = drawingImage; //Align the image with the top of the bounds of the text geometry Canvas.SetLeft(image, g.Bounds.Left); Canvas.SetTop(image, g.Bounds.Top); _layer.AddAdornment(AdornmentPositioningBehavior.TextRelative, span, null, image, null); } } } }
/// <summary> /// /// </summary> /// <param name="target"></param> public void SetTargetImage(Image target) { if (null != target) { target.Source = this.colorBitmap; } }
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; } }
private static UIElement PrintPage(BitmapSource bitmap) { var bitmapSize = new System.Windows.Size(bitmap.PixelWidth, bitmap.PixelHeight); var image = new System.Windows.Controls.Image { Source = bitmap }; image.Measure(bitmapSize); image.Arrange(new System.Windows.Rect(new System.Windows.Point(0, 0), bitmapSize)); return(image); }
public static void StartPing(System.Windows.Controls.Image img1, System.Windows.Controls.Image img2) { _img1 = img1; _img2 = img2; _netConnectionWorker = new BackgroundWorker { WorkerReportsProgress = true, WorkerSupportsCancellation = true }; _netConnectionWorker.DoWork += NetConnectionWorker_DoWork; _netConnectionWorker.RunWorkerCompleted += NetConnectionWorker_RunWorkerCompleted; _netConnectionWorker.ProgressChanged += NetConnectionWorker_ProgressChanged; if (_netConnectionWorker.IsBusy != true) { _netConnectionWorker.RunWorkerAsync(); } }
void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) { switch (connectionId) { case 1: this.tbNombre = ((System.Windows.Controls.TextBox)(target)); return; case 2: this.tbApellidoP = ((System.Windows.Controls.TextBox)(target)); return; case 3: this.tbApellidoM = ((System.Windows.Controls.TextBox)(target)); return; case 4: this.tbCorreo = ((System.Windows.Controls.TextBox)(target)); return; case 5: this.tbCelular = ((System.Windows.Controls.TextBox)(target)); return; case 6: this.tbClub = ((System.Windows.Controls.TextBox)(target)); return; case 7: this.CmbTorneo = ((System.Windows.Controls.ComboBox)(target)); return; case 8: this.CmbCategorias = ((System.Windows.Controls.ComboBox)(target)); return; case 9: this.imgFoto = ((System.Windows.Controls.Image)(target)); return; case 10: this.btnFoto = ((System.Windows.Controls.Button)(target)); return; case 11: this.btnCaptura = ((System.Windows.Controls.Button)(target)); #line 42 "..\..\..\View\Registro.xaml" this.btnCaptura.Click += new System.Windows.RoutedEventHandler(this.BtnRegistro_Click); #line default #line hidden return; case 12: this.btnGuardar = ((System.Windows.Controls.Button)(target)); #line 47 "..\..\..\View\Registro.xaml" this.btnGuardar.Click += new System.Windows.RoutedEventHandler(this.btnGuardar_Click); #line default #line hidden return; case 13: this.tbUrlFoto = ((System.Windows.Controls.TextBox)(target)); return; case 14: this.imgVerHuella = ((System.Windows.Controls.Image)(target)); return; } this._contentLoaded = true; }
void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) { switch (connectionId) { case 1: #line 22 "..\..\..\Manager\detectdetails.xaml" ((System.Windows.Controls.Primitives.Thumb)(target)).DragDelta += new System.Windows.Controls.Primitives.DragDeltaEventHandler(this.Thumb_DragDelta); #line default #line hidden return; case 2: this.exit = ((System.Windows.Controls.Image)(target)); #line 24 "..\..\..\Manager\detectdetails.xaml" this.exit.MouseDown += new System.Windows.Input.MouseButtonEventHandler(this.exit_MouseDown); #line default #line hidden #line 24 "..\..\..\Manager\detectdetails.xaml" this.exit.MouseEnter += new System.Windows.Input.MouseEventHandler(this.exit_MouseEnter); #line default #line hidden #line 24 "..\..\..\Manager\detectdetails.xaml" this.exit.MouseLeave += new System.Windows.Input.MouseEventHandler(this.exit_MouseLeave); #line default #line hidden return; case 3: this._orderid = ((System.Windows.Controls.TextBlock)(target)); return; case 4: this._areaName = ((System.Windows.Controls.TextBlock)(target)); return; case 5: this._companyName = ((System.Windows.Controls.TextBlock)(target)); return; case 6: this._itemName = ((System.Windows.Controls.TextBlock)(target)); return; case 7: this._objectName = ((System.Windows.Controls.TextBlock)(target)); return; case 8: this._sampleName = ((System.Windows.Controls.TextBlock)(target)); return; case 9: this._reangetName = ((System.Windows.Controls.TextBlock)(target)); return; case 10: this._detectvalue = ((System.Windows.Controls.TextBlock)(target)); return; case 11: this._resultName = ((System.Windows.Controls.TextBlock)(target)); return; case 12: this._deptName = ((System.Windows.Controls.TextBlock)(target)); return; case 13: this._detectDate = ((System.Windows.Controls.TextBlock)(target)); return; case 14: this._detectUserName = ((System.Windows.Controls.TextBlock)(target)); return; case 15: this._detectTypeName = ((System.Windows.Controls.TextBlock)(target)); return; } this._contentLoaded = true; }
void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) { switch (connectionId) { case 1: this.p1 = ((System.Windows.Controls.Image)(target)); return; case 2: this.p2 = ((System.Windows.Controls.Image)(target)); return; case 3: this.p3 = ((System.Windows.Controls.Image)(target)); return; case 4: this.p4 = ((System.Windows.Controls.Image)(target)); return; case 5: this.zad = ((System.Windows.Controls.TextBlock)(target)); return; case 6: this.grid = ((System.Windows.Controls.Grid)(target)); return; case 7: this.enter = ((System.Windows.Controls.Button)(target)); #line 29 "..\..\MainWindow.xaml" this.enter.Click += new System.Windows.RoutedEventHandler(this.Button_Click); #line default #line hidden return; case 8: this.login = ((System.Windows.Controls.TextBox)(target)); return; case 9: this.tbbbbb = ((System.Windows.Controls.TextBlock)(target)); return; case 10: this.pass = ((System.Windows.Controls.PasswordBox)(target)); return; case 11: this.lbl1 = ((System.Windows.Controls.Label)(target)); return; case 12: this.lbl2 = ((System.Windows.Controls.Label)(target)); return; case 13: this.SV = ((System.Windows.Controls.ScrollViewer)(target)); return; case 14: this.CVS = ((System.Windows.Controls.Canvas)(target)); return; case 15: this.Next = ((System.Windows.Controls.Button)(target)); #line 60 "..\..\MainWindow.xaml" this.Next.Click += new System.Windows.RoutedEventHandler(this.Button_Click_1); #line default #line hidden return; case 16: this.Next2 = ((System.Windows.Controls.Button)(target)); #line 61 "..\..\MainWindow.xaml" this.Next2.Click += new System.Windows.RoutedEventHandler(this.Next2_Click); #line default #line hidden return; case 17: this.media = ((System.Windows.Controls.MediaElement)(target)); #line 62 "..\..\MainWindow.xaml" this.media.MediaEnded += new System.Windows.RoutedEventHandler(this.media_MediaEnded); #line default #line hidden return; case 18: this.listen = ((System.Windows.Controls.Button)(target)); #line 63 "..\..\MainWindow.xaml" this.listen.Click += new System.Windows.RoutedEventHandler(this.Button_Click_2); #line default #line hidden return; case 19: this.Stop = ((System.Windows.Controls.Button)(target)); #line 64 "..\..\MainWindow.xaml" this.Stop.Click += new System.Windows.RoutedEventHandler(this.Button_Click_3); #line default #line hidden return; } this._contentLoaded = true; }
void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) { switch (connectionId) { case 1: #line 8 "..\..\MainWindow.xaml" ((PIWebAPILogClient.MainWindow)(target)).Loaded += new System.Windows.RoutedEventHandler(this.AppLoaded); #line default #line hidden return; case 2: this.SaveAs = ((System.Windows.Controls.ComboBox)(target)); #line 15 "..\..\MainWindow.xaml" this.SaveAs.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.SaveAs_SelectionChanged); #line default #line hidden #line 15 "..\..\MainWindow.xaml" this.SaveAs.Loaded += new System.Windows.RoutedEventHandler(this.SaveAs_Loaded); #line default #line hidden return; case 3: this.label = ((System.Windows.Controls.Label)(target)); return; case 4: this.LoadFrom = ((System.Windows.Controls.ComboBox)(target)); #line 18 "..\..\MainWindow.xaml" this.LoadFrom.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.LoadFrom_SelectionChanged); #line default #line hidden #line 18 "..\..\MainWindow.xaml" this.LoadFrom.Loaded += new System.Windows.RoutedEventHandler(this.LoadFrom_Loaded); #line default #line hidden return; case 5: this.LoadFromLabel = ((System.Windows.Controls.Label)(target)); return; case 6: this.LogFile = ((System.Windows.Controls.TextBox)(target)); return; case 7: this.label1_Copy2 = ((System.Windows.Controls.Label)(target)); return; case 8: this.LogFileButton = ((System.Windows.Controls.Button)(target)); #line 23 "..\..\MainWindow.xaml" this.LogFileButton.Click += new System.Windows.RoutedEventHandler(this.LogFile_Click); #line default #line hidden return; case 9: this.lfbutton = ((System.Windows.Controls.Image)(target)); return; case 10: this.StartWatchButton = ((System.Windows.Controls.Button)(target)); #line 29 "..\..\MainWindow.xaml" this.StartWatchButton.Click += new System.Windows.RoutedEventHandler(this.StartWatch); #line default #line hidden return; case 11: this.CancelButton = ((System.Windows.Controls.Button)(target)); #line 30 "..\..\MainWindow.xaml" this.CancelButton.Click += new System.Windows.RoutedEventHandler(this.Cancel); #line default #line hidden return; case 12: this.ParseButton = ((System.Windows.Controls.Button)(target)); #line 31 "..\..\MainWindow.xaml" this.ParseButton.Click += new System.Windows.RoutedEventHandler(this.Parse); #line default #line hidden return; case 13: this.Processing = ((System.Windows.Controls.Label)(target)); return; case 14: this.label1_Copy3 = ((System.Windows.Controls.Label)(target)); return; case 15: this.MachineName = ((System.Windows.Controls.TextBox)(target)); return; case 16: this.FileOutput = ((System.Windows.Controls.TextBox)(target)); return; case 17: this.label1 = ((System.Windows.Controls.Label)(target)); return; case 18: this.FileOutputButton = ((System.Windows.Controls.Button)(target)); #line 39 "..\..\MainWindow.xaml" this.FileOutputButton.Click += new System.Windows.RoutedEventHandler(this.FileOutput_Click); #line default #line hidden return; case 19: this.AFServer_Label = ((System.Windows.Controls.Label)(target)); return; case 20: this.AFServer = ((System.Windows.Controls.ComboBox)(target)); #line 46 "..\..\MainWindow.xaml" this.AFServer.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.AFServer_SelectionChanged); #line default #line hidden #line 46 "..\..\MainWindow.xaml" this.AFServer.Loaded += new System.Windows.RoutedEventHandler(this.AFServer_Loaded); #line default #line hidden return; case 21: this.AFDatabase_Label = ((System.Windows.Controls.Label)(target)); return; case 22: this.AFDatabase = ((System.Windows.Controls.ComboBox)(target)); #line 49 "..\..\MainWindow.xaml" this.AFDatabase.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.AFDatabase_SelectionChanged); #line default #line hidden return; case 23: this.AFDatabase_Label_Copy = ((System.Windows.Controls.Label)(target)); return; case 24: this.MinSeconds = ((System.Windows.Controls.TextBox)(target)); #line 52 "..\..\MainWindow.xaml" this.MinSeconds.PreviewTextInput += new System.Windows.Input.TextCompositionEventHandler(this.NumberValidationTextBox); #line default #line hidden return; case 25: this.seconds = ((System.Windows.Controls.Label)(target)); return; case 26: this.StartTime = ((System.Windows.Controls.DatePicker)(target)); return; case 27: this.EndTime = ((System.Windows.Controls.DatePicker)(target)); return; case 28: this.label1_Copy = ((System.Windows.Controls.Label)(target)); return; case 29: this.label1_Copy1 = ((System.Windows.Controls.Label)(target)); return; } this._contentLoaded = true; }
void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) { switch (connectionId) { case 1: this.MainForm = ((WpfApp1.MainWindow)(target)); #line 9 "..\..\MainWindow.xaml" this.MainForm.Loaded += new System.Windows.RoutedEventHandler(this.MainForm_Loaded); #line default #line hidden #line 9 "..\..\MainWindow.xaml" this.MainForm.Closing += new System.ComponentModel.CancelEventHandler(this.MainForm_Closing); #line default #line hidden return; case 2: this.Leftpanel = ((System.Windows.Controls.DockPanel)(target)); return; case 3: this.AddBtn = ((System.Windows.Controls.Button)(target)); #line 18 "..\..\MainWindow.xaml" this.AddBtn.Click += new System.Windows.RoutedEventHandler(this.AddBtn_Click); #line default #line hidden return; case 4: this.DeleteBtn = ((System.Windows.Controls.Button)(target)); #line 26 "..\..\MainWindow.xaml" this.DeleteBtn.Click += new System.Windows.RoutedEventHandler(this.DeleteBtn_Click); #line default #line hidden return; case 5: this.EditBtn = ((System.Windows.Controls.Button)(target)); #line 37 "..\..\MainWindow.xaml" this.EditBtn.Click += new System.Windows.RoutedEventHandler(this.EditBtn_Click); #line default #line hidden return; case 6: this.SideMenu = ((System.Windows.Controls.Menu)(target)); return; case 7: this.GroupByBtn = ((System.Windows.Controls.MenuItem)(target)); return; case 8: this.SortByBtn = ((System.Windows.Controls.MenuItem)(target)); return; case 9: this.LogoutBtn = ((System.Windows.Controls.Button)(target)); #line 58 "..\..\MainWindow.xaml" this.LogoutBtn.Click += new System.Windows.RoutedEventHandler(this.LogoutBtn_Click); #line default #line hidden return; case 10: this.RightPanel = ((System.Windows.Controls.DockPanel)(target)); return; case 11: this.MainCal = ((System.Windows.Controls.Calendar)(target)); #line 71 "..\..\MainWindow.xaml" this.MainCal.SelectedDatesChanged += new System.EventHandler <System.Windows.Controls.SelectionChangedEventArgs>(this.MainCal_SelectedDatesChanged); #line default #line hidden return; case 12: this.NewEventBtn = ((System.Windows.Controls.Button)(target)); #line 77 "..\..\MainWindow.xaml" this.NewEventBtn.Click += new System.Windows.RoutedEventHandler(this.NewEventBtn_Click); #line default #line hidden return; case 13: this.MainMenu = ((System.Windows.Controls.Menu)(target)); return; case 14: this.CustomersBtn = ((System.Windows.Controls.MenuItem)(target)); #line 87 "..\..\MainWindow.xaml" this.CustomersBtn.Checked += new System.Windows.RoutedEventHandler(this.CustomersBtn_Checked); #line default #line hidden #line 87 "..\..\MainWindow.xaml" this.CustomersBtn.Unchecked += new System.Windows.RoutedEventHandler(this.CustomersBtn_Unchecked); #line default #line hidden return; case 15: this.WorkersBtn = ((System.Windows.Controls.MenuItem)(target)); #line 94 "..\..\MainWindow.xaml" this.WorkersBtn.Checked += new System.Windows.RoutedEventHandler(this.WorkersBtn_Checked); #line default #line hidden #line 94 "..\..\MainWindow.xaml" this.WorkersBtn.Unchecked += new System.Windows.RoutedEventHandler(this.WorkersBtn_Unchecked); #line default #line hidden return; case 16: this.ProviderBtn = ((System.Windows.Controls.MenuItem)(target)); #line 99 "..\..\MainWindow.xaml" this.ProviderBtn.Checked += new System.Windows.RoutedEventHandler(this.ProviderBtn_Checked); #line default #line hidden #line 99 "..\..\MainWindow.xaml" this.ProviderBtn.Unchecked += new System.Windows.RoutedEventHandler(this.ProviderBtn_Unchecked); #line default #line hidden return; case 17: this.SalesBtn = ((System.Windows.Controls.MenuItem)(target)); #line 104 "..\..\MainWindow.xaml" this.SalesBtn.Checked += new System.Windows.RoutedEventHandler(this.SalesBtn_Checked); #line default #line hidden #line 104 "..\..\MainWindow.xaml" this.SalesBtn.Unchecked += new System.Windows.RoutedEventHandler(this.SalesBtn_Unchecked); #line default #line hidden return; case 18: this.SupplyBtn = ((System.Windows.Controls.MenuItem)(target)); #line 109 "..\..\MainWindow.xaml" this.SupplyBtn.Checked += new System.Windows.RoutedEventHandler(this.SupplyBtn_Checked); #line default #line hidden #line 109 "..\..\MainWindow.xaml" this.SupplyBtn.Unchecked += new System.Windows.RoutedEventHandler(this.SupplyBtn_Unchecked); #line default #line hidden return; case 19: this.OrdersBtn = ((System.Windows.Controls.MenuItem)(target)); #line 114 "..\..\MainWindow.xaml" this.OrdersBtn.Checked += new System.Windows.RoutedEventHandler(this.OrdersBtn_Checked); #line default #line hidden #line 114 "..\..\MainWindow.xaml" this.OrdersBtn.Unchecked += new System.Windows.RoutedEventHandler(this.OrdersBtn_Unchecked); #line default #line hidden return; case 20: this.centerpanel = ((System.Windows.Controls.DockPanel)(target)); return; case 21: this.mainTabs = ((System.Windows.Controls.TabControl)(target)); return; case 22: this.LoginTab = ((System.Windows.Controls.TabItem)(target)); return; case 23: this.RegisterBtn = ((System.Windows.Controls.Button)(target)); #line 131 "..\..\MainWindow.xaml" this.RegisterBtn.Click += new System.Windows.RoutedEventHandler(this.RegisterBtn_Click); #line default #line hidden return; case 24: this.LoginBtn = ((System.Windows.Controls.Button)(target)); #line 132 "..\..\MainWindow.xaml" this.LoginBtn.Click += new System.Windows.RoutedEventHandler(this.LoginBtn_Click); #line default #line hidden return; case 25: this.UserNameTextBox = ((System.Windows.Controls.TextBox)(target)); #line 135 "..\..\MainWindow.xaml" this.UserNameTextBox.TextChanged += new System.Windows.Controls.TextChangedEventHandler(this.UserNameTextBox_TextChanged); #line default #line hidden return; case 26: this.PasswordTextBox = ((System.Windows.Controls.PasswordBox)(target)); #line 136 "..\..\MainWindow.xaml" this.PasswordTextBox.PasswordChanged += new System.Windows.RoutedEventHandler(this.PasswordTextBox_PasswordChanged); #line default #line hidden return; case 27: this.UserImg = ((System.Windows.Controls.Image)(target)); return; case 28: this.CheckImg = ((System.Windows.Controls.Image)(target)); return; case 29: this.UserLabel = ((System.Windows.Controls.Label)(target)); return; case 30: this.PasswordLabel = ((System.Windows.Controls.Label)(target)); return; case 31: this.CustomersInfoTab = ((System.Windows.Controls.TabItem)(target)); return; case 32: this.CustomersInfoTable = ((System.Windows.Controls.DataGrid)(target)); return; case 33: this.SalesTab = ((System.Windows.Controls.TabItem)(target)); return; case 34: this.SalesTable = ((System.Windows.Controls.DataGrid)(target)); return; case 35: this.WorkersInfoTab = ((System.Windows.Controls.TabItem)(target)); return; case 36: this.WorkerInfoTable = ((System.Windows.Controls.DataGrid)(target)); return; case 37: this.NewEventTab = ((System.Windows.Controls.TabItem)(target)); return; case 38: this.AddToCalendar = ((System.Windows.Controls.Button)(target)); #line 257 "..\..\MainWindow.xaml" this.AddToCalendar.Click += new System.Windows.RoutedEventHandler(this.AddToCalendar_Click); #line default #line hidden return; case 39: this.CheckImg1 = ((System.Windows.Controls.Image)(target)); return; case 40: this.EventDate = ((System.Windows.Controls.DatePicker)(target)); #line 273 "..\..\MainWindow.xaml" this.EventDate.SelectedDateChanged += new System.EventHandler <System.Windows.Controls.SelectionChangedEventArgs>(this.EventDate_SelectedDateChanged); #line default #line hidden return; case 41: this.EventTitle = ((System.Windows.Controls.TextBox)(target)); return; case 42: this.EventDescription = ((System.Windows.Controls.TextBox)(target)); return; case 43: this.ExitNewEventTab = ((System.Windows.Controls.Button)(target)); #line 279 "..\..\MainWindow.xaml" this.ExitNewEventTab.Click += new System.Windows.RoutedEventHandler(this.ExitNewEventTab_Click); #line default #line hidden return; case 44: this.DateValidateLabel = ((System.Windows.Controls.Label)(target)); return; case 45: this.TitleValidateLabel = ((System.Windows.Controls.Label)(target)); return; case 46: this.WorkersHoursTab = ((System.Windows.Controls.TabItem)(target)); return; case 47: this.WorkerInfoTable1 = ((System.Windows.Controls.DataGrid)(target)); return; case 48: this.ProvidersInfoTab = ((System.Windows.Controls.TabItem)(target)); return; case 49: this.ProvidersInfoTable = ((System.Windows.Controls.DataGrid)(target)); return; case 50: this.lbb_Copy1 = ((System.Windows.Controls.Label)(target)); return; case 51: this.NewProviderTab = ((System.Windows.Controls.TabItem)(target)); return; case 52: this.AddToCalendar1 = ((System.Windows.Controls.Button)(target)); #line 353 "..\..\MainWindow.xaml" this.AddToCalendar1.Click += new System.Windows.RoutedEventHandler(this.AddToCalendar_Click); #line default #line hidden return; case 53: this.CheckImg2 = ((System.Windows.Controls.Image)(target)); return; case 54: this.EventDate1 = ((System.Windows.Controls.DatePicker)(target)); #line 369 "..\..\MainWindow.xaml" this.EventDate1.SelectedDateChanged += new System.EventHandler <System.Windows.Controls.SelectionChangedEventArgs>(this.EventDate_SelectedDateChanged); #line default #line hidden return; case 55: this.EventTitle1 = ((System.Windows.Controls.TextBox)(target)); return; case 56: this.EventDescription1 = ((System.Windows.Controls.TextBox)(target)); return; case 57: this.ExitNewEventTab1 = ((System.Windows.Controls.Button)(target)); #line 375 "..\..\MainWindow.xaml" this.ExitNewEventTab1.Click += new System.Windows.RoutedEventHandler(this.ExitNewEventTab_Click); #line default #line hidden return; case 58: this.DateValidateLabel1 = ((System.Windows.Controls.Label)(target)); return; case 59: this.TitleValidateLabel1 = ((System.Windows.Controls.Label)(target)); return; case 60: this.testTab = ((System.Windows.Controls.TabItem)(target)); return; case 61: this.testTable = ((System.Windows.Controls.DataGrid)(target)); return; } this._contentLoaded = true; }
void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) { switch (connectionId) { case 1: this.Main = ((System.Windows.Controls.Canvas)(target)); return; case 2: this.GridImg1 = ((System.Windows.Controls.Grid)(target)); return; case 3: this.Image1 = ((System.Windows.Controls.Image)(target)); #line 14 "..\..\..\UserControls\UC_Sorting.xaml" this.Image1.MouseMove += new System.Windows.Input.MouseEventHandler(this.Feast_MouseMove); #line default #line hidden #line 14 "..\..\..\UserControls\UC_Sorting.xaml" this.Image1.MouseDown += new System.Windows.Input.MouseButtonEventHandler(this.Feast_MouseDown); #line default #line hidden #line 14 "..\..\..\UserControls\UC_Sorting.xaml" this.Image1.MouseUp += new System.Windows.Input.MouseButtonEventHandler(this.Feast_MouseUp); #line default #line hidden return; case 4: this.GridImg2 = ((System.Windows.Controls.Grid)(target)); return; case 5: this.Image2 = ((System.Windows.Controls.Image)(target)); #line 19 "..\..\..\UserControls\UC_Sorting.xaml" this.Image2.MouseMove += new System.Windows.Input.MouseEventHandler(this.Feast_MouseMove); #line default #line hidden #line 19 "..\..\..\UserControls\UC_Sorting.xaml" this.Image2.MouseDown += new System.Windows.Input.MouseButtonEventHandler(this.Feast_MouseDown); #line default #line hidden #line 19 "..\..\..\UserControls\UC_Sorting.xaml" this.Image2.MouseUp += new System.Windows.Input.MouseButtonEventHandler(this.Feast_MouseUp); #line default #line hidden return; case 6: this.GridImg3 = ((System.Windows.Controls.Grid)(target)); return; case 7: this.Image3 = ((System.Windows.Controls.Image)(target)); #line 24 "..\..\..\UserControls\UC_Sorting.xaml" this.Image3.MouseMove += new System.Windows.Input.MouseEventHandler(this.Feast_MouseMove); #line default #line hidden #line 24 "..\..\..\UserControls\UC_Sorting.xaml" this.Image3.MouseDown += new System.Windows.Input.MouseButtonEventHandler(this.Feast_MouseDown); #line default #line hidden #line 24 "..\..\..\UserControls\UC_Sorting.xaml" this.Image3.MouseUp += new System.Windows.Input.MouseButtonEventHandler(this.Feast_MouseUp); #line default #line hidden return; case 8: this.GridBox1 = ((System.Windows.Controls.Grid)(target)); return; case 9: this.ImageBase1 = ((System.Windows.Controls.Image)(target)); #line 30 "..\..\..\UserControls\UC_Sorting.xaml" this.ImageBase1.MouseMove += new System.Windows.Input.MouseEventHandler(this.Feast_MouseMove); #line default #line hidden #line 30 "..\..\..\UserControls\UC_Sorting.xaml" this.ImageBase1.MouseDown += new System.Windows.Input.MouseButtonEventHandler(this.Feast_MouseDown); #line default #line hidden #line 30 "..\..\..\UserControls\UC_Sorting.xaml" this.ImageBase1.MouseUp += new System.Windows.Input.MouseButtonEventHandler(this.Feast_MouseUp); #line default #line hidden return; case 10: this.Gif1 = ((System.Windows.Controls.Image)(target)); return; case 11: this.GridBox2 = ((System.Windows.Controls.Grid)(target)); return; case 12: this.ImageBase2 = ((System.Windows.Controls.Image)(target)); #line 40 "..\..\..\UserControls\UC_Sorting.xaml" this.ImageBase2.MouseMove += new System.Windows.Input.MouseEventHandler(this.Feast_MouseMove); #line default #line hidden #line 40 "..\..\..\UserControls\UC_Sorting.xaml" this.ImageBase2.MouseDown += new System.Windows.Input.MouseButtonEventHandler(this.Feast_MouseDown); #line default #line hidden #line 40 "..\..\..\UserControls\UC_Sorting.xaml" this.ImageBase2.MouseUp += new System.Windows.Input.MouseButtonEventHandler(this.Feast_MouseUp); #line default #line hidden return; case 13: this.Gif2 = ((System.Windows.Controls.Image)(target)); return; case 14: this.GridBox3 = ((System.Windows.Controls.Grid)(target)); return; case 15: this.ImageBase3 = ((System.Windows.Controls.Image)(target)); #line 49 "..\..\..\UserControls\UC_Sorting.xaml" this.ImageBase3.MouseMove += new System.Windows.Input.MouseEventHandler(this.Feast_MouseMove); #line default #line hidden #line 49 "..\..\..\UserControls\UC_Sorting.xaml" this.ImageBase3.MouseDown += new System.Windows.Input.MouseButtonEventHandler(this.Feast_MouseDown); #line default #line hidden #line 49 "..\..\..\UserControls\UC_Sorting.xaml" this.ImageBase3.MouseUp += new System.Windows.Input.MouseButtonEventHandler(this.Feast_MouseUp); #line default #line hidden return; case 16: this.Gif3 = ((System.Windows.Controls.Image)(target)); return; case 17: this.GridVoid1 = ((System.Windows.Controls.Grid)(target)); return; case 18: this.ImageVoid1 = ((System.Windows.Controls.Image)(target)); #line 56 "..\..\..\UserControls\UC_Sorting.xaml" this.ImageVoid1.MouseDown += new System.Windows.Input.MouseButtonEventHandler(this.VoidImage_MouseDown); #line default #line hidden return; case 19: this.GridVoid2 = ((System.Windows.Controls.Grid)(target)); return; case 20: this.ImageVoid2 = ((System.Windows.Controls.Image)(target)); #line 63 "..\..\..\UserControls\UC_Sorting.xaml" this.ImageVoid2.MouseDown += new System.Windows.Input.MouseButtonEventHandler(this.VoidImage_MouseDown); #line default #line hidden return; case 21: this.GridVoid3 = ((System.Windows.Controls.Grid)(target)); return; case 22: this.ImageVoid3 = ((System.Windows.Controls.Image)(target)); #line 70 "..\..\..\UserControls\UC_Sorting.xaml" this.ImageVoid3.MouseDown += new System.Windows.Input.MouseButtonEventHandler(this.VoidImage_MouseDown); #line default #line hidden return; case 23: this.Votay = ((System.Windows.Controls.Image)(target)); return; } this._contentLoaded = true; }
void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) { switch (connectionId) { case 1: this.Titlescreen_Page = ((_2dGame.TitleScreen)(target)); return; case 2: this.titlescreen_canvas = ((System.Windows.Controls.Canvas)(target)); return; case 3: this.background1 = ((System.Windows.Controls.Image)(target)); return; case 4: this.background2 = ((System.Windows.Controls.Image)(target)); return; case 5: this.background3 = ((System.Windows.Controls.Image)(target)); return; case 6: this.background4 = ((System.Windows.Controls.Image)(target)); return; case 7: this.background5 = ((System.Windows.Controls.Image)(target)); return; case 8: this.background11 = ((System.Windows.Controls.Image)(target)); return; case 9: this.background21 = ((System.Windows.Controls.Image)(target)); return; case 10: this.background31 = ((System.Windows.Controls.Image)(target)); return; case 11: this.background41 = ((System.Windows.Controls.Image)(target)); return; case 12: this.background51 = ((System.Windows.Controls.Image)(target)); return; case 13: #line 60 "..\..\TitleScreen.xaml" ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Button_Click); #line default #line hidden return; case 14: #line 67 "..\..\TitleScreen.xaml" ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Button_Click_1); #line default #line hidden return; case 15: #line 73 "..\..\TitleScreen.xaml" ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Button_Click_2); #line default #line hidden return; } this._contentLoaded = true; }
void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) { switch (connectionId) { case 1: #line 11 "..\..\MainWindow.xaml" ((MarketDataAnalyser.MainWindow)(target)).Loaded += new System.Windows.RoutedEventHandler(this.ShowDefaultStock); #line default #line hidden return; case 2: this.titleMain = ((System.Windows.Controls.Label)(target)); return; case 3: this.btnStocksList = ((System.Windows.Controls.Button)(target)); #line 14 "..\..\MainWindow.xaml" this.btnStocksList.Click += new System.Windows.RoutedEventHandler(this.ShowStockListWindow); #line default #line hidden return; case 4: this.btnSpecificStock = ((System.Windows.Controls.Button)(target)); #line 15 "..\..\MainWindow.xaml" this.btnSpecificStock.Click += new System.Windows.RoutedEventHandler(this.ShowSpecificStockWindow); #line default #line hidden return; case 5: this.btnStocksCompare = ((System.Windows.Controls.Button)(target)); #line 16 "..\..\MainWindow.xaml" this.btnStocksCompare.Click += new System.Windows.RoutedEventHandler(this.ShowCompareStockWindow); #line default #line hidden return; case 6: this.txtSearch = ((System.Windows.Controls.TextBox)(target)); return; case 7: this.greenArrow = ((System.Windows.Shapes.Polygon)(target)); return; case 8: this.redArrow = ((System.Windows.Shapes.Polygon)(target)); return; case 9: this.btnSignOut = ((System.Windows.Controls.Button)(target)); #line 22 "..\..\MainWindow.xaml" this.btnSignOut.Click += new System.Windows.RoutedEventHandler(this.ShowLoginWindow); #line default #line hidden return; case 10: this.lblStockName = ((System.Windows.Controls.Label)(target)); return; case 11: this.imgLogoMain = ((System.Windows.Controls.Image)(target)); return; case 12: this.groupBox = ((System.Windows.Controls.GroupBox)(target)); return; case 13: this.stackPanelStockDetails = ((System.Windows.Controls.StackPanel)(target)); return; case 14: this.label1_Copy = ((System.Windows.Controls.Label)(target)); return; case 15: this.lblOpeningPrice = ((System.Windows.Controls.Label)(target)); return; case 16: this.label1_Copy1 = ((System.Windows.Controls.Label)(target)); return; case 17: this.lblClosingPrice = ((System.Windows.Controls.Label)(target)); return; case 18: this.label1_Copy2 = ((System.Windows.Controls.Label)(target)); return; case 19: this.lblHigh = ((System.Windows.Controls.Label)(target)); return; case 20: this.label1_Copy3 = ((System.Windows.Controls.Label)(target)); return; case 21: this.lblLow = ((System.Windows.Controls.Label)(target)); return; case 22: this.label1_Copy4 = ((System.Windows.Controls.Label)(target)); return; case 23: this.lblVolume = ((System.Windows.Controls.Label)(target)); return; case 24: this.lineChart = ((System.Windows.Controls.DataVisualization.Charting.Chart)(target)); return; case 25: this.btnMovingAvg = ((System.Windows.Controls.Button)(target)); #line 77 "..\..\MainWindow.xaml" this.btnMovingAvg.Click += new System.Windows.RoutedEventHandler(this.ShowMovingAverage); #line default #line hidden return; case 26: this.lblTickerValue = ((System.Windows.Controls.Label)(target)); return; case 27: this.btnVolumePriceTrend = ((System.Windows.Controls.Button)(target)); #line 79 "..\..\MainWindow.xaml" this.btnVolumePriceTrend.Click += new System.Windows.RoutedEventHandler(this.ShowVolumePriceTrend); #line default #line hidden return; case 28: this.btnReset = ((System.Windows.Controls.Button)(target)); #line 80 "..\..\MainWindow.xaml" this.btnReset.Click += new System.Windows.RoutedEventHandler(this.ShowPriceTrend); #line default #line hidden return; } this._contentLoaded = true; }
void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) { switch (connectionId) { case 1: this.HeaderRectangle = ((System.Windows.Shapes.Rectangle)(target)); #line 215 "..\..\MainWindow.xaml" this.HeaderRectangle.MouseDown += new System.Windows.Input.MouseButtonEventHandler(this.HeaderRectangle_OnMouseDown); #line default #line hidden return; case 2: this.TextBlockHeader = ((System.Windows.Controls.TextBlock)(target)); #line 217 "..\..\MainWindow.xaml" this.TextBlockHeader.MouseDown += new System.Windows.Input.MouseButtonEventHandler(this.HeaderRectangle_OnMouseDown); #line default #line hidden return; case 3: this.ButtonClose = ((System.Windows.Controls.Image)(target)); #line 219 "..\..\MainWindow.xaml" this.ButtonClose.MouseUp += new System.Windows.Input.MouseButtonEventHandler(this.ButtonClose_OnMouseUp); #line default #line hidden return; case 4: this.ButtonMinimize = ((System.Windows.Controls.Image)(target)); #line 234 "..\..\MainWindow.xaml" this.ButtonMinimize.MouseDown += new System.Windows.Input.MouseButtonEventHandler(this.ButtonMinimize_OnMouseDown); #line default #line hidden return; case 5: this.ButtonSettings = ((System.Windows.Controls.Button)(target)); #line 248 "..\..\MainWindow.xaml" this.ButtonSettings.Click += new System.Windows.RoutedEventHandler(this.ButtonSettings_OnClick); #line default #line hidden return; case 6: this.GridScrollView = ((System.Windows.Controls.Grid)(target)); return; case 7: this.TextBlockNewText = ((System.Windows.Controls.TextBlock)(target)); return; case 8: this.ListBoxNewHeaders = ((System.Windows.Controls.ListBox)(target)); #line 289 "..\..\MainWindow.xaml" this.ListBoxNewHeaders.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.ListBoxNewHeaders_OnSelectionChanged); #line default #line hidden return; case 9: this.ButtonUpdate = ((System.Windows.Controls.Button)(target)); #line 325 "..\..\MainWindow.xaml" this.ButtonUpdate.Click += new System.Windows.RoutedEventHandler(this.Button_OnClick); #line default #line hidden return; case 10: this.TextBoxSearch = ((System.Windows.Controls.TextBox)(target)); #line 357 "..\..\MainWindow.xaml" this.TextBoxSearch.TextChanged += new System.Windows.Controls.TextChangedEventHandler(this.TextBoxSearch_OnTextChanged); #line default #line hidden return; case 11: this.ProgressBarParsingNews = ((System.Windows.Controls.ProgressBar)(target)); return; } this._contentLoaded = true; }
void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) { switch (connectionId) { case 1: this.CameraGrid = ((System.Windows.Controls.Grid)(target)); return; case 2: this.CameraImage = ((System.Windows.Controls.Image)(target)); return; case 3: this.SkeletonCanvas = ((System.Windows.Controls.Canvas)(target)); return; case 4: this.DepthGrid = ((System.Windows.Controls.Grid)(target)); return; case 5: this.DepthImage = ((System.Windows.Controls.Image)(target)); return; case 6: this.InfraredGrid = ((System.Windows.Controls.Grid)(target)); return; case 7: this.InfraredImage = ((System.Windows.Controls.Image)(target)); return; case 8: this.ToggleCamera = ((System.Windows.Controls.Button)(target)); #line 58 "..\..\MainWindow.xaml" this.ToggleCamera.Click += new System.Windows.RoutedEventHandler(this.OnToggleCamera); #line default #line hidden return; case 9: this.ToggleDepth = ((System.Windows.Controls.Button)(target)); #line 63 "..\..\MainWindow.xaml" this.ToggleDepth.Click += new System.Windows.RoutedEventHandler(this.OnToggleDepth); #line default #line hidden return; case 10: this.ToggleInfrared = ((System.Windows.Controls.Button)(target)); #line 68 "..\..\MainWindow.xaml" this.ToggleInfrared.Click += new System.Windows.RoutedEventHandler(this.OnToggleInfrared); #line default #line hidden return; } this._contentLoaded = true; }
void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) { switch (connectionId) { case 1: this.mywin = ((EVO.TOOL.MAKEPIC.MainWindow)(target)); return; case 2: this.container = ((System.Windows.Controls.Canvas)(target)); return; case 3: this.imgbk = ((System.Windows.Controls.Viewbox)(target)); #line 18 "..\..\MainWindow.xaml" this.imgbk.MouseLeftButtonDown += new System.Windows.Input.MouseButtonEventHandler(this.c_MouseLeftButtonDown); #line default #line hidden #line 18 "..\..\MainWindow.xaml" this.imgbk.MouseMove += new System.Windows.Input.MouseEventHandler(this.c_MouseMove); #line default #line hidden #line 19 "..\..\MainWindow.xaml" this.imgbk.MouseLeftButtonUp += new System.Windows.Input.MouseButtonEventHandler(this.c_MouseUp); #line default #line hidden return; case 4: this.img = ((System.Windows.Controls.Image)(target)); return; case 5: #line 37 "..\..\MainWindow.xaml" ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Button_Click_4); #line default #line hidden return; case 6: #line 38 "..\..\MainWindow.xaml" ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Button_Click_3); #line default #line hidden return; case 7: this.tbwidth = ((System.Windows.Controls.TextBox)(target)); return; case 8: this.tbheight = ((System.Windows.Controls.TextBox)(target)); return; case 9: this.btnscaleup = ((System.Windows.Controls.Button)(target)); #line 46 "..\..\MainWindow.xaml" this.btnscaleup.Click += new System.Windows.RoutedEventHandler(this.btnscaleup_Click); #line default #line hidden return; case 10: this.btnscaledown = ((System.Windows.Controls.Button)(target)); #line 47 "..\..\MainWindow.xaml" this.btnscaledown.Click += new System.Windows.RoutedEventHandler(this.btnscaledown_Click); #line default #line hidden return; case 11: this.TextIn = ((System.Windows.Controls.TextBox)(target)); return; case 12: #line 61 "..\..\MainWindow.xaml" ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Button_Click_1); #line default #line hidden return; case 13: #line 62 "..\..\MainWindow.xaml" ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Button_Click_2); #line default #line hidden return; case 14: #line 63 "..\..\MainWindow.xaml" ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Button_Click_5); #line default #line hidden return; case 15: this.rectcolor = ((System.Windows.Shapes.Rectangle)(target)); return; case 16: this.cbfont = ((System.Windows.Controls.ComboBox)(target)); #line 65 "..\..\MainWindow.xaml" this.cbfont.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.font_chg); #line default #line hidden return; case 17: this.fontsize = ((System.Windows.Controls.TextBlock)(target)); return; case 18: #line 68 "..\..\MainWindow.xaml" ((System.Windows.Controls.Slider)(target)).ValueChanged += new System.Windows.RoutedPropertyChangedEventHandler <double>(this.Slider_ValueChanged); #line default #line hidden return; } this._contentLoaded = true; }
void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) { switch (connectionId) { case 1: this.ContactDirectoryWindow1 = ((Pointel.Interactions.Contact.Forms.ContactDirectoryWindow)(target)); #line 6 "..\..\..\Forms\ContactDirectoryWindow.xaml" this.ContactDirectoryWindow1.Loaded += new System.Windows.RoutedEventHandler(this.ContactDirectoryWindow1_Loaded); #line default #line hidden #line 7 "..\..\..\Forms\ContactDirectoryWindow.xaml" this.ContactDirectoryWindow1.Activated += new System.EventHandler(this.ContactDirectoryWindow1_Activated); #line default #line hidden #line 7 "..\..\..\Forms\ContactDirectoryWindow.xaml" this.ContactDirectoryWindow1.Deactivated += new System.EventHandler(this.ContactDirectoryWindow1_Deactivated); #line default #line hidden #line 7 "..\..\..\Forms\ContactDirectoryWindow.xaml" this.ContactDirectoryWindow1.KeyDown += new System.Windows.Input.KeyEventHandler(this.ContactDirectoryWindow1_KeyDown); #line default #line hidden return; case 2: this.MainBorder = ((System.Windows.Controls.Border)(target)); return; case 3: this.pTitleBar = ((System.Windows.Controls.Border)(target)); #line 27 "..\..\..\Forms\ContactDirectoryWindow.xaml" this.pTitleBar.MouseLeftButtonDown += new System.Windows.Input.MouseButtonEventHandler(this.pTitleBar_MouseLeftButtonDown); #line default #line hidden return; case 4: this.agentStateBorder = ((System.Windows.Controls.Border)(target)); return; case 5: this.imgEmail = ((System.Windows.Controls.Image)(target)); return; case 6: this.txtAgentName = ((System.Windows.Controls.TextBlock)(target)); return; case 7: this.txtCustomerName = ((System.Windows.Controls.Label)(target)); return; case 8: this.btnClose = ((System.Windows.Controls.Button)(target)); #line 45 "..\..\..\Forms\ContactDirectoryWindow.xaml" this.btnClose.Click += new System.Windows.RoutedEventHandler(this.btnClose_Click); #line default #line hidden return; case 9: this.dockContactDirectoryPanel = ((System.Windows.Controls.DockPanel)(target)); return; } this._contentLoaded = true; }
public InfoPageViewModel(RootObject rootObject) { //this.children = new UIElementCollection(null, null); //this.panel = new StackPanel(); this.collection = new ObservableCollection <Grid>(); this.rootObject = rootObject; for (int i = 0; i < rootObject.payload.Count; i++) { var news = rootObject.payload; Grid grid = new Grid(); grid.Width = 1500; ColumnDefinition cd1 = new ColumnDefinition(); cd1.Width = new System.Windows.GridLength(1, System.Windows.GridUnitType.Star); ColumnDefinition cd2 = new ColumnDefinition(); cd2.Width = new System.Windows.GridLength(2, System.Windows.GridUnitType.Star); grid.ColumnDefinitions.Add(cd1); grid.ColumnDefinitions.Add(cd2); RowDefinition rd1 = new RowDefinition(); rd1.Height = new System.Windows.GridLength(1, System.Windows.GridUnitType.Star); RowDefinition rd2 = new RowDefinition(); rd2.Height = new System.Windows.GridLength(1, System.Windows.GridUnitType.Star); grid.RowDefinitions.Add(rd1); grid.RowDefinitions.Add(rd2); Image image = new Image(); //BitmapImage bitmapImage = new BitmapImage(new Uri(news[i].url)); //bitmapImage.DownloadCompleted += (sender, e) => BitmapImage_DownloadCompleted(sender, e, image); // souce = payload.source //Binding bind = new Binding(String.Format("rootObject.payload[{0}].source", i)); //image.SetBinding(Image.SourceProperty, bind); image.Source = rootObject.payload[i].source; image.Width = 250; image.SetValue(Grid.RowProperty, 0); image.SetValue(Grid.ColumnProperty, 0); image.SetValue(Grid.RowSpanProperty, 2); //image.Margin = new System.Windows.Thickness(5, 0, 0, 0); grid.Children.Add(image); TextBlock title = new TextBlock(); title.Text = news[i].title; title.HorizontalAlignment = System.Windows.HorizontalAlignment.Left; title.FontSize = 30.0; title.SetValue(Grid.ColumnProperty, 1); title.SetValue(Grid.RowProperty, 0); grid.Children.Add(title); TextBlock description = new TextBlock(); description.Width = 250; description.TextWrapping = System.Windows.TextWrapping.WrapWithOverflow; description.HorizontalAlignment = System.Windows.HorizontalAlignment.Left; description.Background = (SolidColorBrush)(new BrushConverter().ConvertFrom(news[i].color)); description.Text = news[i].type; description.SetValue(Grid.ColumnProperty, 1); description.SetValue(Grid.RowProperty, 2); grid.Children.Add(description); grid.Margin = new System.Windows.Thickness(0, 100, 0, 0); this.collection.Add(grid); //panel.Children.Add(grid); //children.Add(grid); //mainStackPanel.Children.Add(grid); } }
void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) { switch (connectionId) { case 1: this.backButton = ((System.Windows.Controls.Button)(target)); #line 19 "..\..\AddRecipe.xaml" this.backButton.Click += new System.Windows.RoutedEventHandler(this.backButton_Click); #line default #line hidden return; case 2: this.label = ((System.Windows.Controls.Label)(target)); return; case 3: this.nametb = ((System.Windows.Controls.TextBox)(target)); return; case 4: this.label_Copy = ((System.Windows.Controls.Label)(target)); return; case 5: this.label_Copy1 = ((System.Windows.Controls.Label)(target)); return; case 6: this.label_Copy2 = ((System.Windows.Controls.Label)(target)); return; case 7: this.label_Copy3 = ((System.Windows.Controls.Label)(target)); return; case 8: this.label_Copy4 = ((System.Windows.Controls.Label)(target)); return; case 9: this.label_Copy5 = ((System.Windows.Controls.Label)(target)); return; case 10: this.comboBox = ((System.Windows.Controls.ComboBox)(target)); #line 28 "..\..\AddRecipe.xaml" this.comboBox.Loaded += new System.Windows.RoutedEventHandler(this.comboBox_Loaded); #line default #line hidden return; case 11: this.amounttb = ((System.Windows.Controls.TextBox)(target)); return; case 12: this.hourstb = ((System.Windows.Controls.TextBox)(target)); return; case 13: this.minutestb = ((System.Windows.Controls.TextBox)(target)); return; case 14: this.secondstb = ((System.Windows.Controls.TextBox)(target)); return; case 15: this.label_Copy6 = ((System.Windows.Controls.Label)(target)); return; case 16: this.label_Copy7 = ((System.Windows.Controls.Label)(target)); return; case 17: this.dataGrid = ((System.Windows.Controls.DataGrid)(target)); return; case 18: this.preptb = ((System.Windows.Controls.TextBox)(target)); return; case 19: this.button1 = ((System.Windows.Controls.Button)(target)); #line 37 "..\..\AddRecipe.xaml" this.button1.Click += new System.Windows.RoutedEventHandler(this.Button1_Click); #line default #line hidden return; case 20: this.image = ((System.Windows.Controls.Image)(target)); return; case 21: this.uploadImg = ((System.Windows.Controls.Button)(target)); #line 39 "..\..\AddRecipe.xaml" this.uploadImg.Click += new System.Windows.RoutedEventHandler(this.uploadImg_Click); #line default #line hidden return; } this._contentLoaded = true; }
void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) { switch (connectionId) { case 1: #line 8 "..\..\MainWindow.xaml" ((GestensteuerungVersuchsanlage.MainWindow)(target)).Loaded += new System.Windows.RoutedEventHandler(this.Window_Loaded); #line default #line hidden return; case 2: this.camera = ((System.Windows.Controls.Image)(target)); return; case 3: this.TankViz = ((System.Windows.Controls.StackPanel)(target)); return; case 4: this.tank1 = ((System.Windows.Controls.Border)(target)); return; case 5: this.lblTank1 = ((System.Windows.Controls.Label)(target)); return; case 6: this.tank2 = ((System.Windows.Controls.Border)(target)); return; case 7: this.lblTank2 = ((System.Windows.Controls.Label)(target)); return; case 8: this.tank3 = ((System.Windows.Controls.Border)(target)); return; case 9: this.lblTank3 = ((System.Windows.Controls.Label)(target)); return; case 10: this.tblOriginTank = ((System.Windows.Controls.TextBlock)(target)); return; case 11: this.tblTargetTank = ((System.Windows.Controls.TextBlock)(target)); return; case 12: this.tblPumpStatus = ((System.Windows.Controls.TextBlock)(target)); return; case 13: this.tblLevel1 = ((System.Windows.Controls.TextBlock)(target)); return; case 14: this.tblLevel2 = ((System.Windows.Controls.TextBlock)(target)); return; case 15: this.tblLevel3 = ((System.Windows.Controls.TextBlock)(target)); return; case 16: this.btnShowTanks = ((System.Windows.Controls.Button)(target)); #line 66 "..\..\MainWindow.xaml" this.btnShowTanks.Click += new System.Windows.RoutedEventHandler(this.btnShowTanks_Click); #line default #line hidden return; case 17: this.btnShowCamera = ((System.Windows.Controls.Button)(target)); #line 67 "..\..\MainWindow.xaml" this.btnShowCamera.Click += new System.Windows.RoutedEventHandler(this.btnShowCamera_Click); #line default #line hidden return; case 18: this.btnHelp = ((System.Windows.Controls.Button)(target)); #line 69 "..\..\MainWindow.xaml" this.btnHelp.Click += new System.Windows.RoutedEventHandler(this.btnHelp_Click); #line default #line hidden return; } this._contentLoaded = true; }
void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) { switch (connectionId) { case 1: this.txt1 = ((System.Windows.Controls.TextBox)(target)); return; case 2: this.txtStart1 = ((System.Windows.Controls.TextBox)(target)); #line 24 "..\..\MainWindow.xaml" this.txtStart1.TextChanged += new System.Windows.Controls.TextChangedEventHandler(this.txtStart1_TextChanged); #line default #line hidden return; case 3: this.txtFinish1 = ((System.Windows.Controls.TextBox)(target)); #line 25 "..\..\MainWindow.xaml" this.txtFinish1.TextChanged += new System.Windows.Controls.TextChangedEventHandler(this.txtFinish1_TextChanged); #line default #line hidden return; case 4: this.txt2 = ((System.Windows.Controls.TextBox)(target)); return; case 5: this.txtStart2 = ((System.Windows.Controls.TextBox)(target)); #line 29 "..\..\MainWindow.xaml" this.txtStart2.TextChanged += new System.Windows.Controls.TextChangedEventHandler(this.txtStart2_TextChanged); #line default #line hidden return; case 6: this.txtFinish2 = ((System.Windows.Controls.TextBox)(target)); #line 30 "..\..\MainWindow.xaml" this.txtFinish2.TextChanged += new System.Windows.Controls.TextChangedEventHandler(this.txtFinish2_TextChanged); #line default #line hidden return; case 7: this.txt3 = ((System.Windows.Controls.TextBox)(target)); return; case 8: this.txtStart3 = ((System.Windows.Controls.TextBox)(target)); #line 34 "..\..\MainWindow.xaml" this.txtStart3.TextChanged += new System.Windows.Controls.TextChangedEventHandler(this.txtStart3_TextChanged); #line default #line hidden return; case 9: this.txtFinish3 = ((System.Windows.Controls.TextBox)(target)); #line 35 "..\..\MainWindow.xaml" this.txtFinish3.TextChanged += new System.Windows.Controls.TextChangedEventHandler(this.txtFinish3_TextChanged); #line default #line hidden return; case 10: this.txt4 = ((System.Windows.Controls.TextBox)(target)); return; case 11: this.txtStart4 = ((System.Windows.Controls.TextBox)(target)); #line 39 "..\..\MainWindow.xaml" this.txtStart4.TextChanged += new System.Windows.Controls.TextChangedEventHandler(this.txtStart4_TextChanged); #line default #line hidden return; case 12: this.txtFinish4 = ((System.Windows.Controls.TextBox)(target)); #line 40 "..\..\MainWindow.xaml" this.txtFinish4.TextChanged += new System.Windows.Controls.TextChangedEventHandler(this.txtFinish4_TextChanged); #line default #line hidden return; case 13: this.txt5 = ((System.Windows.Controls.TextBox)(target)); return; case 14: this.txtStart5 = ((System.Windows.Controls.TextBox)(target)); #line 44 "..\..\MainWindow.xaml" this.txtStart5.TextChanged += new System.Windows.Controls.TextChangedEventHandler(this.txtStart5_TextChanged); #line default #line hidden return; case 15: this.txtFinish5 = ((System.Windows.Controls.TextBox)(target)); #line 45 "..\..\MainWindow.xaml" this.txtFinish5.TextChanged += new System.Windows.Controls.TextChangedEventHandler(this.txtFinish5_TextChanged); #line default #line hidden return; case 16: this.lbl1 = ((System.Windows.Controls.Label)(target)); return; case 17: this.lbl2 = ((System.Windows.Controls.Label)(target)); return; case 18: #line 51 "..\..\MainWindow.xaml" ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Button_Click); #line default #line hidden return; case 19: this.img1 = ((System.Windows.Controls.Image)(target)); return; case 20: #line 53 "..\..\MainWindow.xaml" ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Button_Click_1); #line default #line hidden return; case 21: this.img2 = ((System.Windows.Controls.Image)(target)); return; case 22: this.img3 = ((System.Windows.Controls.Image)(target)); return; case 23: #line 64 "..\..\MainWindow.xaml" ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Button_Click_2); #line default #line hidden return; case 24: #line 65 "..\..\MainWindow.xaml" ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Button_Click_3); #line default #line hidden return; } this._contentLoaded = true; }
void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) { switch (connectionId) { case 1: #line 8 "..\..\Inventory.xaml" ((WpfApp1.Inventory)(target)).Loaded += new System.Windows.RoutedEventHandler(this.Window_Loaded); #line default #line hidden return; case 2: this.grid1 = ((System.Windows.Controls.Grid)(target)); return; case 3: this.LabelTime = ((System.Windows.Controls.Label)(target)); return; case 4: #line 44 "..\..\Inventory.xaml" ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Button_Click); #line default #line hidden return; case 5: this.TypeA0 = ((System.Windows.Controls.TextBox)(target)); return; case 6: this.TypeB0 = ((System.Windows.Controls.TextBox)(target)); return; case 7: this.TypeC0 = ((System.Windows.Controls.TextBox)(target)); return; case 8: this.neob0 = ((System.Windows.Controls.TextBox)(target)); return; case 9: this.ost0 = ((System.Windows.Controls.TextBox)(target)); return; case 10: this.TypeA1 = ((System.Windows.Controls.TextBox)(target)); return; case 11: this.TypeB1 = ((System.Windows.Controls.TextBox)(target)); return; case 12: this.TypeC1 = ((System.Windows.Controls.TextBox)(target)); return; case 13: this.neob1 = ((System.Windows.Controls.TextBox)(target)); return; case 14: this.ost1 = ((System.Windows.Controls.TextBox)(target)); return; case 15: this.TypeA2 = ((System.Windows.Controls.TextBox)(target)); return; case 16: this.TypeB2 = ((System.Windows.Controls.TextBox)(target)); return; case 17: this.TypeC2 = ((System.Windows.Controls.TextBox)(target)); return; case 18: this.neob2 = ((System.Windows.Controls.TextBox)(target)); return; case 19: this.ost2 = ((System.Windows.Controls.TextBox)(target)); return; case 20: this.TypeB3 = ((System.Windows.Controls.TextBox)(target)); return; case 21: this.TypeC3 = ((System.Windows.Controls.TextBox)(target)); return; case 22: this.neob3 = ((System.Windows.Controls.TextBox)(target)); return; case 23: this.ost3 = ((System.Windows.Controls.TextBox)(target)); return; case 24: this.TypeB4 = ((System.Windows.Controls.TextBox)(target)); return; case 25: this.TypeC4 = ((System.Windows.Controls.TextBox)(target)); return; case 26: this.neob4 = ((System.Windows.Controls.TextBox)(target)); return; case 27: this.ost4 = ((System.Windows.Controls.TextBox)(target)); return; case 28: this.TypeC5 = ((System.Windows.Controls.TextBox)(target)); return; case 29: this.neob5 = ((System.Windows.Controls.TextBox)(target)); return; case 30: this.ost5 = ((System.Windows.Controls.TextBox)(target)); return; case 31: this.TypeC6 = ((System.Windows.Controls.TextBox)(target)); return; case 32: this.neob6 = ((System.Windows.Controls.TextBox)(target)); return; case 33: this.ost6 = ((System.Windows.Controls.TextBox)(target)); return; case 34: this.Img1 = ((System.Windows.Controls.Image)(target)); return; case 35: this.Img2 = ((System.Windows.Controls.Image)(target)); return; case 36: this.Img3 = ((System.Windows.Controls.Image)(target)); return; case 37: this.Img4 = ((System.Windows.Controls.Image)(target)); return; case 38: this.Img5 = ((System.Windows.Controls.Image)(target)); return; case 39: this.Img6 = ((System.Windows.Controls.Image)(target)); return; } this._contentLoaded = true; }
void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) { switch (connectionId) { case 1: this.grid1 = ((System.Windows.Controls.Grid)(target)); return; case 2: this.lblCode = ((System.Windows.Controls.Label)(target)); return; case 3: this.lblDesignation = ((System.Windows.Controls.Label)(target)); return; case 4: this.lblMontant = ((System.Windows.Controls.Label)(target)); return; case 5: this.cmdValider = ((System.Windows.Controls.Button)(target)); #line 21 "..\..\..\UI\NouveauSetArticleUI.xaml" this.cmdValider.Click += new System.Windows.RoutedEventHandler(this.cmdValider_Click); #line default #line hidden return; case 6: this.cmdAnnuler = ((System.Windows.Controls.Button)(target)); #line 22 "..\..\..\UI\NouveauSetArticleUI.xaml" this.cmdAnnuler.Click += new System.Windows.RoutedEventHandler(this.cmdAnnuler_Click); #line default #line hidden return; case 7: this.txtCode = ((System.Windows.Controls.TextBox)(target)); return; case 8: this.txtDesignation = ((System.Windows.Controls.TextBox)(target)); return; case 9: this.txtMontant = ((System.Windows.Controls.TextBox)(target)); return; case 10: this.image1 = ((System.Windows.Controls.Image)(target)); return; case 11: this.image2 = ((System.Windows.Controls.Image)(target)); return; } this._contentLoaded = true; }
void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) { switch (connectionId) { case 1: this.WindowOv = ((YPBBT_2._0.OverlayModWindow)(target)); #line 8 "..\..\OverlayModWindow.xaml" this.WindowOv.MouseDown += new System.Windows.Input.MouseButtonEventHandler(this.Window_MouseDown); #line default #line hidden return; case 2: this.rec_Copy = ((System.Windows.Shapes.Rectangle)(target)); return; case 3: this.BossImage = ((System.Windows.Controls.Image)(target)); return; case 4: this.Label1 = ((System.Windows.Controls.Label)(target)); return; case 5: this.BossTimeLabel = ((System.Windows.Controls.Label)(target)); return; case 6: this.Label2 = ((System.Windows.Controls.Label)(target)); return; case 7: this.NightInBdoTimeLabel = ((System.Windows.Controls.Label)(target)); return; case 8: this.Label3 = ((System.Windows.Controls.Label)(target)); return; case 9: this.IRTimeLabel = ((System.Windows.Controls.Label)(target)); return; case 10: this.BossNameLabel = ((System.Windows.Controls.Label)(target)); return; case 11: this.exitButton = ((System.Windows.Controls.Button)(target)); #line 48 "..\..\OverlayModWindow.xaml" this.exitButton.Click += new System.Windows.RoutedEventHandler(this.exitButton_Click); #line default #line hidden return; case 12: this.SoundOptionCheckBox = ((System.Windows.Controls.CheckBox)(target)); #line 72 "..\..\OverlayModWindow.xaml" this.SoundOptionCheckBox.Click += new System.Windows.RoutedEventHandler(this.SoundOptionCheckBox_Click); #line default #line hidden return; case 13: this.NTSoundOptionCheckBox = ((System.Windows.Controls.CheckBox)(target)); #line 73 "..\..\OverlayModWindow.xaml" this.NTSoundOptionCheckBox.Click += new System.Windows.RoutedEventHandler(this.NTSoundOptionCheckBox_Click); #line default #line hidden return; case 14: this.IRSoundOptionCheckBox = ((System.Windows.Controls.CheckBox)(target)); #line 74 "..\..\OverlayModWindow.xaml" this.IRSoundOptionCheckBox.Click += new System.Windows.RoutedEventHandler(this.IRSoundOptionCheckBox_Click); #line default #line hidden return; case 15: this.Label4 = ((System.Windows.Controls.Label)(target)); return; } this._contentLoaded = true; }
void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) { switch (connectionId) { case 1: this.diesel_card_deposit_details = ((System.Windows.Controls.StackPanel)(target)); return; case 2: this.cardes_id = ((System.Windows.Controls.ComboBox)(target)); #line 20 "..\..\Diesel_Card_Deposit.xaml" this.cardes_id.KeyDown += new System.Windows.Input.KeyEventHandler(this.customer_id_SelectionChanged); #line default #line hidden #line 20 "..\..\Diesel_Card_Deposit.xaml" this.cardes_id.GotFocus += new System.Windows.RoutedEventHandler(this.cardes_id_GotFocus); #line default #line hidden #line 20 "..\..\Diesel_Card_Deposit.xaml" this.cardes_id.PreviewKeyDown += new System.Windows.Input.KeyEventHandler(this.cardes_id_PreviewKeyDown); #line default #line hidden return; case 3: this.customer_id = ((System.Windows.Controls.TextBox)(target)); return; case 4: this.corporation = ((System.Windows.Controls.TextBox)(target)); return; case 5: this.credit = ((System.Windows.Controls.TextBox)(target)); #line 26 "..\..\Diesel_Card_Deposit.xaml" this.credit.PreviewTextInput += new System.Windows.Input.TextCompositionEventHandler(this.Credit_Amount_PreViewTextInput); #line default #line hidden return; case 6: this.date = ((System.Windows.Controls.DatePicker)(target)); return; case 7: this.insert = ((System.Windows.Controls.Button)(target)); #line 37 "..\..\Diesel_Card_Deposit.xaml" this.insert.Click += new System.Windows.RoutedEventHandler(this.diesel_card_deposit_insert_click); #line default #line hidden return; case 8: this.deposit_insert_img1 = ((System.Windows.Controls.Image)(target)); return; case 9: this.deposit_insert_img2 = ((System.Windows.Controls.Image)(target)); return; case 10: this.update = ((System.Windows.Controls.Button)(target)); #line 51 "..\..\Diesel_Card_Deposit.xaml" this.update.Click += new System.Windows.RoutedEventHandler(this.diesel_card_deposit_update_click); #line default #line hidden return; case 11: this.deposit_update_img1 = ((System.Windows.Controls.Image)(target)); return; case 12: this.delete = ((System.Windows.Controls.Button)(target)); #line 65 "..\..\Diesel_Card_Deposit.xaml" this.delete.Click += new System.Windows.RoutedEventHandler(this.diesel_card_deposit_delete_click); #line default #line hidden return; case 13: this.deposit_remove_img1 = ((System.Windows.Controls.Image)(target)); return; case 14: this.Deposit_Back = ((System.Windows.Controls.Button)(target)); #line 79 "..\..\Diesel_Card_Deposit.xaml" this.Deposit_Back.Click += new System.Windows.RoutedEventHandler(this.Deposit_Back_Click); #line default #line hidden return; case 15: this.diesel_details = ((System.Windows.Controls.DataGrid)(target)); #line 88 "..\..\Diesel_Card_Deposit.xaml" this.diesel_details.MouseDoubleClick += new System.Windows.Input.MouseButtonEventHandler(this.diesel_details_MouseDoubleClick); #line default #line hidden return; } this._contentLoaded = true; }
void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) { switch (connectionId) { case 1: #line 7 "..\..\MainWindow.xaml" ((PasswordManager.MainWindow)(target)).Loaded += new System.Windows.RoutedEventHandler(this.Window_Loaded); #line default #line hidden #line 7 "..\..\MainWindow.xaml" ((PasswordManager.MainWindow)(target)).Closing += new System.ComponentModel.CancelEventHandler(this.Window_Closing); #line default #line hidden #line 12 "..\..\MainWindow.xaml" ((PasswordManager.MainWindow)(target)).MouseMove += new System.Windows.Input.MouseEventHandler(this.Window_MouseMove); #line default #line hidden return; case 2: #line 24 "..\..\MainWindow.xaml" ((System.Windows.Input.CommandBinding)(target)).CanExecute += new System.Windows.Input.CanExecuteRoutedEventHandler(this.Command_CanExecute); #line default #line hidden #line 24 "..\..\MainWindow.xaml" ((System.Windows.Input.CommandBinding)(target)).Executed += new System.Windows.Input.ExecutedRoutedEventHandler(this.Command_Executed); #line default #line hidden return; case 3: #line 25 "..\..\MainWindow.xaml" ((System.Windows.Input.CommandBinding)(target)).CanExecute += new System.Windows.Input.CanExecuteRoutedEventHandler(this.Command_CanExecute); #line default #line hidden #line 25 "..\..\MainWindow.xaml" ((System.Windows.Input.CommandBinding)(target)).Executed += new System.Windows.Input.ExecutedRoutedEventHandler(this.Command_Executed); #line default #line hidden return; case 4: #line 26 "..\..\MainWindow.xaml" ((System.Windows.Input.CommandBinding)(target)).CanExecute += new System.Windows.Input.CanExecuteRoutedEventHandler(this.Command_CanExecute); #line default #line hidden #line 26 "..\..\MainWindow.xaml" ((System.Windows.Input.CommandBinding)(target)).Executed += new System.Windows.Input.ExecutedRoutedEventHandler(this.Command_Executed); #line default #line hidden return; case 5: #line 27 "..\..\MainWindow.xaml" ((System.Windows.Input.CommandBinding)(target)).CanExecute += new System.Windows.Input.CanExecuteRoutedEventHandler(this.Command_CanExecute); #line default #line hidden #line 27 "..\..\MainWindow.xaml" ((System.Windows.Input.CommandBinding)(target)).Executed += new System.Windows.Input.ExecutedRoutedEventHandler(this.Command_Executed); #line default #line hidden return; case 6: #line 28 "..\..\MainWindow.xaml" ((System.Windows.Input.CommandBinding)(target)).CanExecute += new System.Windows.Input.CanExecuteRoutedEventHandler(this.Command_CanExecute); #line default #line hidden #line 28 "..\..\MainWindow.xaml" ((System.Windows.Input.CommandBinding)(target)).Executed += new System.Windows.Input.ExecutedRoutedEventHandler(this.Command_Executed); #line default #line hidden return; case 7: #line 29 "..\..\MainWindow.xaml" ((System.Windows.Input.CommandBinding)(target)).CanExecute += new System.Windows.Input.CanExecuteRoutedEventHandler(this.Command_CanExecute); #line default #line hidden #line 29 "..\..\MainWindow.xaml" ((System.Windows.Input.CommandBinding)(target)).Executed += new System.Windows.Input.ExecutedRoutedEventHandler(this.Command_Executed); #line default #line hidden return; case 8: #line 30 "..\..\MainWindow.xaml" ((System.Windows.Input.CommandBinding)(target)).CanExecute += new System.Windows.Input.CanExecuteRoutedEventHandler(this.Command_CanExecute); #line default #line hidden #line 30 "..\..\MainWindow.xaml" ((System.Windows.Input.CommandBinding)(target)).Executed += new System.Windows.Input.ExecutedRoutedEventHandler(this.Command_Executed); #line default #line hidden return; case 9: #line 31 "..\..\MainWindow.xaml" ((System.Windows.Input.CommandBinding)(target)).CanExecute += new System.Windows.Input.CanExecuteRoutedEventHandler(this.Command_CanExecute); #line default #line hidden #line 31 "..\..\MainWindow.xaml" ((System.Windows.Input.CommandBinding)(target)).Executed += new System.Windows.Input.ExecutedRoutedEventHandler(this.Command_Executed); #line default #line hidden return; case 10: #line 32 "..\..\MainWindow.xaml" ((System.Windows.Input.CommandBinding)(target)).CanExecute += new System.Windows.Input.CanExecuteRoutedEventHandler(this.Command_CanExecute); #line default #line hidden #line 32 "..\..\MainWindow.xaml" ((System.Windows.Input.CommandBinding)(target)).Executed += new System.Windows.Input.ExecutedRoutedEventHandler(this.Command_Executed); #line default #line hidden return; case 11: #line 33 "..\..\MainWindow.xaml" ((System.Windows.Input.CommandBinding)(target)).CanExecute += new System.Windows.Input.CanExecuteRoutedEventHandler(this.Command_CanExecute); #line default #line hidden #line 33 "..\..\MainWindow.xaml" ((System.Windows.Input.CommandBinding)(target)).Executed += new System.Windows.Input.ExecutedRoutedEventHandler(this.Command_Executed); #line default #line hidden return; case 12: #line 34 "..\..\MainWindow.xaml" ((System.Windows.Input.CommandBinding)(target)).CanExecute += new System.Windows.Input.CanExecuteRoutedEventHandler(this.Command_CanExecute); #line default #line hidden #line 34 "..\..\MainWindow.xaml" ((System.Windows.Input.CommandBinding)(target)).Executed += new System.Windows.Input.ExecutedRoutedEventHandler(this.Command_Executed); #line default #line hidden return; case 13: #line 35 "..\..\MainWindow.xaml" ((System.Windows.Input.CommandBinding)(target)).CanExecute += new System.Windows.Input.CanExecuteRoutedEventHandler(this.Command_CanExecute); #line default #line hidden #line 35 "..\..\MainWindow.xaml" ((System.Windows.Input.CommandBinding)(target)).Executed += new System.Windows.Input.ExecutedRoutedEventHandler(this.Command_Executed); #line default #line hidden return; case 14: #line 36 "..\..\MainWindow.xaml" ((System.Windows.Input.CommandBinding)(target)).CanExecute += new System.Windows.Input.CanExecuteRoutedEventHandler(this.Command_CanExecute); #line default #line hidden #line 36 "..\..\MainWindow.xaml" ((System.Windows.Input.CommandBinding)(target)).Executed += new System.Windows.Input.ExecutedRoutedEventHandler(this.Command_Executed); #line default #line hidden return; case 15: #line 37 "..\..\MainWindow.xaml" ((System.Windows.Input.CommandBinding)(target)).CanExecute += new System.Windows.Input.CanExecuteRoutedEventHandler(this.Command_CanExecute); #line default #line hidden #line 37 "..\..\MainWindow.xaml" ((System.Windows.Input.CommandBinding)(target)).Executed += new System.Windows.Input.ExecutedRoutedEventHandler(this.Command_Executed); #line default #line hidden return; case 16: #line 38 "..\..\MainWindow.xaml" ((System.Windows.Input.CommandBinding)(target)).CanExecute += new System.Windows.Input.CanExecuteRoutedEventHandler(this.Command_CanExecute); #line default #line hidden #line 38 "..\..\MainWindow.xaml" ((System.Windows.Input.CommandBinding)(target)).Executed += new System.Windows.Input.ExecutedRoutedEventHandler(this.Command_Executed); #line default #line hidden return; case 17: #line 39 "..\..\MainWindow.xaml" ((System.Windows.Input.CommandBinding)(target)).CanExecute += new System.Windows.Input.CanExecuteRoutedEventHandler(this.Command_CanExecute); #line default #line hidden #line 39 "..\..\MainWindow.xaml" ((System.Windows.Input.CommandBinding)(target)).Executed += new System.Windows.Input.ExecutedRoutedEventHandler(this.Command_Executed); #line default #line hidden return; case 18: #line 40 "..\..\MainWindow.xaml" ((System.Windows.Input.CommandBinding)(target)).CanExecute += new System.Windows.Input.CanExecuteRoutedEventHandler(this.Command_CanExecute); #line default #line hidden #line 40 "..\..\MainWindow.xaml" ((System.Windows.Input.CommandBinding)(target)).Executed += new System.Windows.Input.ExecutedRoutedEventHandler(this.Command_Executed); #line default #line hidden return; case 19: #line 41 "..\..\MainWindow.xaml" ((System.Windows.Input.CommandBinding)(target)).CanExecute += new System.Windows.Input.CanExecuteRoutedEventHandler(this.Command_CanExecute); #line default #line hidden #line 41 "..\..\MainWindow.xaml" ((System.Windows.Input.CommandBinding)(target)).Executed += new System.Windows.Input.ExecutedRoutedEventHandler(this.Command_Executed); #line default #line hidden return; case 20: #line 42 "..\..\MainWindow.xaml" ((System.Windows.Input.CommandBinding)(target)).CanExecute += new System.Windows.Input.CanExecuteRoutedEventHandler(this.Command_CanExecute); #line default #line hidden #line 42 "..\..\MainWindow.xaml" ((System.Windows.Input.CommandBinding)(target)).Executed += new System.Windows.Input.ExecutedRoutedEventHandler(this.Command_Executed); #line default #line hidden return; case 21: #line 43 "..\..\MainWindow.xaml" ((System.Windows.Input.CommandBinding)(target)).CanExecute += new System.Windows.Input.CanExecuteRoutedEventHandler(this.Command_CanExecute); #line default #line hidden #line 43 "..\..\MainWindow.xaml" ((System.Windows.Input.CommandBinding)(target)).Executed += new System.Windows.Input.ExecutedRoutedEventHandler(this.Command_Executed); #line default #line hidden return; case 22: #line 44 "..\..\MainWindow.xaml" ((System.Windows.Input.CommandBinding)(target)).CanExecute += new System.Windows.Input.CanExecuteRoutedEventHandler(this.Command_CanExecute); #line default #line hidden #line 44 "..\..\MainWindow.xaml" ((System.Windows.Input.CommandBinding)(target)).Executed += new System.Windows.Input.ExecutedRoutedEventHandler(this.Command_Executed); #line default #line hidden return; case 23: #line 45 "..\..\MainWindow.xaml" ((System.Windows.Input.CommandBinding)(target)).CanExecute += new System.Windows.Input.CanExecuteRoutedEventHandler(this.Command_CanExecute); #line default #line hidden #line 45 "..\..\MainWindow.xaml" ((System.Windows.Input.CommandBinding)(target)).Executed += new System.Windows.Input.ExecutedRoutedEventHandler(this.Command_Executed); #line default #line hidden return; case 24: this.gridLock = ((System.Windows.Controls.Grid)(target)); return; case 25: #line 49 "..\..\MainWindow.xaml" ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.ButtonVerifyPassword_Click); #line default #line hidden return; case 26: this.gridMain = ((System.Windows.Controls.Grid)(target)); return; case 27: this.grid = ((System.Windows.Controls.Grid)(target)); return; case 28: this.menuItemShowLoginColumn = ((System.Windows.Controls.MenuItem)(target)); return; case 29: this.menuItemShowPasswordColumn = ((System.Windows.Controls.MenuItem)(target)); return; case 30: this.menuItemShowToolbar = ((System.Windows.Controls.MenuItem)(target)); return; case 31: this.toolbarTray = ((System.Windows.Controls.ToolBarTray)(target)); return; case 32: this.buttonToggleShow = ((System.Windows.Controls.Button)(target)); return; case 33: this.imageToggleShow = ((System.Windows.Controls.Image)(target)); return; case 34: this.textBoxFilter = ((System.Windows.Controls.TextBox)(target)); #line 179 "..\..\MainWindow.xaml" this.textBoxFilter.TextChanged += new System.Windows.Controls.TextChangedEventHandler(this.TextBoxFilter_TextChanged); #line default #line hidden return; case 35: this.textBlockStatus = ((System.Windows.Controls.TextBlock)(target)); return; case 36: this.listView = ((System.Windows.Controls.ListView)(target)); #line 190 "..\..\MainWindow.xaml" this.listView.MouseDoubleClick += new System.Windows.Input.MouseButtonEventHandler(this.ListView_MouseDoubleClick); #line default #line hidden #line 190 "..\..\MainWindow.xaml" this.listView.ContextMenuOpening += new System.Windows.Controls.ContextMenuEventHandler(this.ListView_ContextMenuOpening); #line default #line hidden #line 190 "..\..\MainWindow.xaml" this.listView.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.ListView_SelectionChanged); #line default #line hidden return; case 37: this.gridViewColumnLogin = ((System.Windows.Controls.GridViewColumn)(target)); return; case 38: this.gridViewColumnPassword = ((System.Windows.Controls.GridViewColumn)(target)); return; case 39: this.listViewToggleShowPassword = ((System.Windows.Controls.MenuItem)(target)); return; } this._contentLoaded = true; }
void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) { switch (connectionId) { case 1: this.hometxt = ((System.Windows.Controls.TextBlock)(target)); #line 13 "..\..\UC0103-SS03.xaml" this.hometxt.MouseLeftButtonDown += new System.Windows.Input.MouseButtonEventHandler(this.gotoHome); #line default #line hidden return; case 2: this.txt = ((System.Windows.Controls.TextBlock)(target)); return; case 3: this.statictxt = ((System.Windows.Controls.TextBlock)(target)); #line 15 "..\..\UC0103-SS03.xaml" this.statictxt.MouseLeftButtonDown += new System.Windows.Input.MouseButtonEventHandler(this.gotoStatic); #line default #line hidden return; case 4: this.homeim = ((System.Windows.Controls.Image)(target)); #line 16 "..\..\UC0103-SS03.xaml" this.homeim.MouseLeftButtonDown += new System.Windows.Input.MouseButtonEventHandler(this.gotoHome); #line default #line hidden return; case 5: this.logouttxt = ((System.Windows.Controls.TextBlock)(target)); return; case 6: this.logoutim = ((System.Windows.Controls.Image)(target)); return; case 7: this.textBlock = ((System.Windows.Controls.TextBlock)(target)); return; case 8: this.button = ((System.Windows.Controls.Button)(target)); #line 20 "..\..\UC0103-SS03.xaml" this.button.Click += new System.Windows.RoutedEventHandler(this.gotoStatic); #line default #line hidden return; case 9: this.UC0103_3 = ((System.Windows.Controls.Frame)(target)); return; } this._contentLoaded = true; }
void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) { switch (connectionId) { case 1: this.SMWidgetForm = ((Rapid_Reporter.SMWidget)(target)); #line 3 "..\..\SMWidget.xaml" this.SMWidgetForm.MouseLeftButtonDown += new System.Windows.Input.MouseButtonEventHandler(this.SMWidget_LeftButtonDown); #line default #line hidden #line 3 "..\..\SMWidget.xaml" this.SMWidgetForm.GotFocus += new System.Windows.RoutedEventHandler(this.SMWidgetForm_GotFocus); #line default #line hidden #line 3 "..\..\SMWidget.xaml" this.SMWidgetForm.Loaded += new System.Windows.RoutedEventHandler(this.SMWidgetForm_Loaded); #line default #line hidden #line 3 "..\..\SMWidget.xaml" this.SMWidgetForm.Closed += new System.EventHandler(this.SMWidgetForm_Closed); #line default #line hidden return; case 2: this.cm = ((System.Windows.Controls.ContextMenu)(target)); return; case 3: this.TimerMenu = ((System.Windows.Controls.MenuItem)(target)); return; case 4: this.t60 = ((System.Windows.Controls.MenuItem)(target)); #line 10 "..\..\SMWidget.xaml" this.t60.Click += new System.Windows.RoutedEventHandler(this.ProgressTimer_Click); #line default #line hidden #line 10 "..\..\SMWidget.xaml" this.t60.Checked += new System.Windows.RoutedEventHandler(this.timer_Checked); #line default #line hidden return; case 5: this.t90 = ((System.Windows.Controls.MenuItem)(target)); #line 11 "..\..\SMWidget.xaml" this.t90.Click += new System.Windows.RoutedEventHandler(this.ProgressTimer_Click); #line default #line hidden #line 11 "..\..\SMWidget.xaml" this.t90.Checked += new System.Windows.RoutedEventHandler(this.timer_Checked); #line default #line hidden return; case 6: this.t120 = ((System.Windows.Controls.MenuItem)(target)); #line 12 "..\..\SMWidget.xaml" this.t120.Click += new System.Windows.RoutedEventHandler(this.ProgressTimer_Click); #line default #line hidden #line 12 "..\..\SMWidget.xaml" this.t120.Checked += new System.Windows.RoutedEventHandler(this.timer_Checked); #line default #line hidden return; case 7: this.t0 = ((System.Windows.Controls.MenuItem)(target)); #line 13 "..\..\SMWidget.xaml" this.t0.Click += new System.Windows.RoutedEventHandler(this.ProgressTimer_Click); #line default #line hidden #line 13 "..\..\SMWidget.xaml" this.t0.Checked += new System.Windows.RoutedEventHandler(this.timer_Checked); #line default #line hidden return; case 8: this.ChangeAccount = ((System.Windows.Controls.MenuItem)(target)); #line 17 "..\..\SMWidget.xaml" this.ChangeAccount.Click += new System.Windows.RoutedEventHandler(this.ChangeAccount_Click); #line default #line hidden return; case 9: this.OpenFolder = ((System.Windows.Controls.MenuItem)(target)); return; case 10: this.FolderName = ((System.Windows.Controls.MenuItem)(target)); #line 19 "..\..\SMWidget.xaml" this.FolderName.Click += new System.Windows.RoutedEventHandler(this.WorkingFolder_Click); #line default #line hidden return; case 11: this.AboutBox = ((System.Windows.Controls.MenuItem)(target)); #line 22 "..\..\SMWidget.xaml" this.AboutBox.Click += new System.Windows.RoutedEventHandler(this.AboutBox_Click); #line default #line hidden return; case 12: this.TransparencySlide = ((System.Windows.Controls.Slider)(target)); #line 37 "..\..\SMWidget.xaml" this.TransparencySlide.ValueChanged += new System.Windows.RoutedPropertyChangedEventHandler<double>(this.TransparencySlide_ValueChanged); #line default #line hidden return; case 13: this.ScreenShot = ((System.Windows.Controls.Button)(target)); #line 38 "..\..\SMWidget.xaml" this.ScreenShot.Click += new System.Windows.RoutedEventHandler(this.ScreenShot_Click); #line default #line hidden return; case 14: this.ScreenShotIcon = ((System.Windows.Controls.Image)(target)); return; case 15: this.ToggleUpload = ((System.Windows.Controls.Button)(target)); #line 43 "..\..\SMWidget.xaml" this.ToggleUpload.Click += new System.Windows.RoutedEventHandler(this.ToggleUpload_Click); #line default #line hidden return; case 16: this.ToggleUploadIcon = ((System.Windows.Controls.Image)(target)); return; case 17: this.RTFNoteBtn = ((System.Windows.Controls.Primitives.ToggleButton)(target)); #line 49 "..\..\SMWidget.xaml" this.RTFNoteBtn.Click += new System.Windows.RoutedEventHandler(this.RTFNote_Click); #line default #line hidden return; case 18: this.RTFNoteBtnIcon = ((System.Windows.Controls.Image)(target)); return; case 19: this.ProgressBackground = ((System.Windows.Controls.ProgressBar)(target)); return; case 20: this.nextType = ((System.Windows.Controls.TextBox)(target)); return; case 21: this.prevType = ((System.Windows.Controls.TextBox)(target)); return; case 22: this.NoteType = ((System.Windows.Controls.TextBox)(target)); #line 57 "..\..\SMWidget.xaml" this.NoteType.TextChanged += new System.Windows.Controls.TextChangedEventHandler(this.NoteType_TextChanged); #line default #line hidden return; case 23: this.FlickrInlogg = ((System.Windows.Controls.TextBox)(target)); return; case 24: this.AuthenticateMe = ((System.Windows.Controls.TextBox)(target)); return; case 25: this.NoteContent = ((System.Windows.Controls.TextBox)(target)); #line 60 "..\..\SMWidget.xaml" this.NoteContent.KeyUp += new System.Windows.Input.KeyEventHandler(this.NoteContent_KeyUp); #line default #line hidden return; case 26: this.NoteHistory = ((System.Windows.Controls.ContextMenu)(target)); return; case 27: this.timeralarm = ((System.Windows.Controls.Image)(target)); #line 65 "..\..\SMWidget.xaml" this.timeralarm.MouseLeftButtonDown += new System.Windows.Input.MouseButtonEventHandler(this.timeralarm_MouseLeftButtonDown); #line default #line hidden #line 65 "..\..\SMWidget.xaml" this.timeralarm.ImageFailed += new System.EventHandler<System.Windows.ExceptionRoutedEventArgs>(this.timeralarm_ImageFailed); #line default #line hidden return; case 28: this.CloseButton = ((System.Windows.Controls.Button)(target)); #line 82 "..\..\SMWidget.xaml" this.CloseButton.Click += new System.Windows.RoutedEventHandler(this.CloseButton_Click); #line default #line hidden return; } this._contentLoaded = true; }
void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) { switch (connectionId) { case 1: this.main_grid = ((System.Windows.Controls.Grid)(target)); return; case 2: this.product_logo = ((System.Windows.Controls.Image)(target)); return; case 3: this.MinimizeWindow = ((System.Windows.Controls.Button)(target)); #line 22 "..\..\..\View\SubmissionTrackerWindow.xaml" this.MinimizeWindow.Click += new System.Windows.RoutedEventHandler(this.MinimizeWindow_OnClick); #line default #line hidden return; case 4: this.MaximizeWindow = ((System.Windows.Controls.Button)(target)); #line 23 "..\..\..\View\SubmissionTrackerWindow.xaml" this.MaximizeWindow.Click += new System.Windows.RoutedEventHandler(this.MaximizeWindow_OnClick); #line default #line hidden return; case 5: this.CloseWindow = ((System.Windows.Controls.Button)(target)); #line 24 "..\..\..\View\SubmissionTrackerWindow.xaml" this.CloseWindow.Click += new System.Windows.RoutedEventHandler(this.CloseWindow_OnClick); #line default #line hidden return; case 6: this.mast = ((System.Windows.Controls.Label)(target)); return; case 7: this.MainMenu = ((System.Windows.Controls.Menu)(target)); return; case 8: this.MenuMain = ((System.Windows.Controls.MenuItem)(target)); return; case 9: this.P4Login = ((System.Windows.Controls.MenuItem)(target)); #line 39 "..\..\..\View\SubmissionTrackerWindow.xaml" this.P4Login.Click += new System.Windows.RoutedEventHandler(this.P4Login_Click); #line default #line hidden return; case 10: this.P4Logout = ((System.Windows.Controls.MenuItem)(target)); #line 41 "..\..\..\View\SubmissionTrackerWindow.xaml" this.P4Logout.Click += new System.Windows.RoutedEventHandler(this.P4Logout_Click); #line default #line hidden return; case 11: this.Open = ((System.Windows.Controls.MenuItem)(target)); return; case 12: this.File = ((System.Windows.Controls.MenuItem)(target)); return; case 13: this.Save = ((System.Windows.Controls.MenuItem)(target)); return; case 14: this.About = ((System.Windows.Controls.MenuItem)(target)); #line 49 "..\..\..\View\SubmissionTrackerWindow.xaml" this.About.Click += new System.Windows.RoutedEventHandler(this.About_OnClick); #line default #line hidden return; case 15: this.TabViews = ((System.Windows.Controls.TabControl)(target)); #line 54 "..\..\..\View\SubmissionTrackerWindow.xaml" this.TabViews.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.TabControl_SelectionChanged); #line default #line hidden return; case 16: this.PathViewTab = ((System.Windows.Controls.TabItem)(target)); return; case 17: this.stackPanel1 = ((System.Windows.Controls.StackPanel)(target)); return; case 18: this.LogTab1 = ((System.Windows.Controls.TextBlock)(target)); return; case 19: this.MessageLog1 = ((System.Windows.Controls.TextBox)(target)); return; case 20: this.ChangelistViewTab = ((System.Windows.Controls.TabItem)(target)); return; case 21: this.stackPanel2 = ((System.Windows.Controls.StackPanel)(target)); return; case 22: this.LogTab2 = ((System.Windows.Controls.TextBlock)(target)); return; case 23: this.ChangelistGrid = ((System.Windows.Controls.Grid)(target)); return; case 24: this.Changelistlabel = ((System.Windows.Controls.Label)(target)); return; case 25: this.changelistBox = ((System.Windows.Controls.TextBox)(target)); return; case 26: this.SourcePath = ((System.Windows.Controls.TextBox)(target)); return; case 27: this.chooseFile1 = ((System.Windows.Controls.Button)(target)); #line 115 "..\..\..\View\SubmissionTrackerWindow.xaml" this.chooseFile1.Click += new System.Windows.RoutedEventHandler(this.ChooseWorkspace_Click); #line default #line hidden return; case 28: this.DestinationPath = ((System.Windows.Controls.TextBox)(target)); return; case 29: this.chooseFile2 = ((System.Windows.Controls.Button)(target)); #line 126 "..\..\..\View\SubmissionTrackerWindow.xaml" this.chooseFile2.Click += new System.Windows.RoutedEventHandler(this.ChooseWorkspace_Click); #line default #line hidden return; case 30: this.Run = ((System.Windows.Controls.Button)(target)); #line 131 "..\..\..\View\SubmissionTrackerWindow.xaml" this.Run.Click += new System.Windows.RoutedEventHandler(this.Run_Click); #line default #line hidden return; case 31: this.label = ((System.Windows.Controls.Label)(target)); return; case 32: this.FilterContainer = ((System.Windows.Controls.Grid)(target)); return; case 33: this.AllFiles = ((System.Windows.Controls.RadioButton)(target)); #line 137 "..\..\..\View\SubmissionTrackerWindow.xaml" this.AllFiles.Checked += new System.Windows.RoutedEventHandler(this.FiltersStatusChanged); #line default #line hidden return; case 34: this.OnlyIntegratedFiles = ((System.Windows.Controls.RadioButton)(target)); #line 138 "..\..\..\View\SubmissionTrackerWindow.xaml" this.OnlyIntegratedFiles.Checked += new System.Windows.RoutedEventHandler(this.FiltersStatusChanged); #line default #line hidden return; case 35: this.OnlyNotIntegratedFiles = ((System.Windows.Controls.RadioButton)(target)); #line 139 "..\..\..\View\SubmissionTrackerWindow.xaml" this.OnlyNotIntegratedFiles.Checked += new System.Windows.RoutedEventHandler(this.FiltersStatusChanged); #line default #line hidden return; case 36: this.FindMatch = ((System.Windows.Controls.CheckBox)(target)); #line 140 "..\..\..\View\SubmissionTrackerWindow.xaml" this.FindMatch.Click += new System.Windows.RoutedEventHandler(this.FindMatch_Click); #line default #line hidden return; case 37: this.DataGrid = ((System.Windows.Controls.Grid)(target)); return; case 38: this.DataGridTable = ((System.Windows.Controls.DataGrid)(target)); return; case 39: this.tabControl1 = ((System.Windows.Controls.TabControl)(target)); return; case 40: this.Log = ((System.Windows.Controls.TabItem)(target)); return; case 41: this.stackPanel3 = ((System.Windows.Controls.StackPanel)(target)); return; case 42: this.LogTab = ((System.Windows.Controls.TextBlock)(target)); return; case 43: this.MessageLog = ((System.Windows.Controls.TextBox)(target)); return; case 44: this.Footer = ((System.Windows.Controls.Grid)(target)); return; case 45: this.label1 = ((System.Windows.Controls.Label)(target)); return; case 46: this.ProgressBar = ((System.Windows.Controls.ProgressBar)(target)); #line 247 "..\..\..\View\SubmissionTrackerWindow.xaml" this.ProgressBar.ValueChanged += new System.Windows.RoutedPropertyChangedEventHandler <double>(this.ProgressBar_ValueChanged); #line default #line hidden return; } this._contentLoaded = true; }
void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) { switch (connectionId) { case 1: this.mi_file = ((System.Windows.Controls.MenuItem)(target)); return; case 2: #line 20 "..\..\MainWindow.xaml" ((System.Windows.Controls.MenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.mnuExit_Click); #line default #line hidden return; case 3: this.mi_instructions = ((System.Windows.Controls.MenuItem)(target)); return; case 4: this.one = ((System.Windows.Controls.MenuItem)(target)); return; case 5: this.two = ((System.Windows.Controls.MenuItem)(target)); return; case 6: this.three = ((System.Windows.Controls.MenuItem)(target)); return; case 7: this.five = ((System.Windows.Controls.MenuItem)(target)); return; case 8: this.six = ((System.Windows.Controls.MenuItem)(target)); return; case 9: this.seven = ((System.Windows.Controls.MenuItem)(target)); return; case 10: this.mi_about = ((System.Windows.Controls.MenuItem)(target)); return; case 11: this.About = ((System.Windows.Controls.MenuItem)(target)); return; case 12: this.cb_filter = ((System.Windows.Controls.ComboBox)(target)); #line 38 "..\..\MainWindow.xaml" this.cb_filter.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.Cb_filter_SelectionChanged); #line default #line hidden return; case 13: this.txt_R = ((System.Windows.Controls.TextBox)(target)); return; case 14: this.btnStart = ((System.Windows.Controls.Button)(target)); #line 51 "..\..\MainWindow.xaml" this.btnStart.Click += new System.Windows.RoutedEventHandler(this.Button_Click); #line default #line hidden return; case 15: this.txt_L = ((System.Windows.Controls.TextBox)(target)); return; case 16: this.txt_C = ((System.Windows.Controls.TextBox)(target)); return; case 17: this.txt_fc = ((System.Windows.Controls.TextBox)(target)); return; case 18: this.lbl_R = ((System.Windows.Controls.Label)(target)); return; case 19: this.lbl_L = ((System.Windows.Controls.Label)(target)); return; case 20: this.lbl_C = ((System.Windows.Controls.Label)(target)); return; case 21: this.cnvChart = ((System.Windows.Controls.Canvas)(target)); return; case 22: this.freqChart = ((System.Windows.Controls.Canvas)(target)); return; case 23: this.lbl_fc = ((System.Windows.Controls.Label)(target)); return; case 24: this.img_circuit = ((System.Windows.Controls.Image)(target)); return; case 25: this.txt_fc2 = ((System.Windows.Controls.TextBox)(target)); return; case 26: this.cb_color_bk = ((System.Windows.Controls.ComboBox)(target)); return; case 27: this.cb_color_fr = ((System.Windows.Controls.ComboBox)(target)); return; case 28: this.btn_colors = ((System.Windows.Controls.Button)(target)); #line 106 "..\..\MainWindow.xaml" this.btn_colors.Click += new System.Windows.RoutedEventHandler(this.Btn_colors_Click); #line default #line hidden return; case 29: this.lbl_b = ((System.Windows.Controls.Label)(target)); return; } this._contentLoaded = true; }
void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) { switch (connectionId) { case 1: #line 4 "..\..\MainWindow.xaml" ((KinectHandTracking.MainWindow)(target)).Loaded += new System.Windows.RoutedEventHandler(this.Window_Loaded); #line default #line hidden #line 4 "..\..\MainWindow.xaml" ((KinectHandTracking.MainWindow)(target)).Closed += new System.EventHandler(this.Window_Closed); #line default #line hidden return; case 2: this.camera = ((System.Windows.Controls.Image)(target)); return; case 3: this.canvas = ((System.Windows.Controls.Canvas)(target)); return; case 4: this.label3 = ((System.Windows.Controls.Label)(target)); return; case 5: this.OneTestButton = ((System.Windows.Controls.Button)(target)); #line 22 "..\..\MainWindow.xaml" this.OneTestButton.Click += new System.Windows.RoutedEventHandler(this.OneTestButton_Click); #line default #line hidden return; case 6: this.label5 = ((System.Windows.Controls.Label)(target)); return; case 7: this.label6 = ((System.Windows.Controls.Label)(target)); return; case 8: this.fileName = ((System.Windows.Controls.TextBox)(target)); return; case 9: this.createButton = ((System.Windows.Controls.Button)(target)); #line 27 "..\..\MainWindow.xaml" this.createButton.Click += new System.Windows.RoutedEventHandler(this.createButton_click); #line default #line hidden return; case 10: this.label7 = ((System.Windows.Controls.Label)(target)); return; case 11: this.outputImage = ((System.Windows.Controls.Image)(target)); return; case 12: this.label8 = ((System.Windows.Controls.Label)(target)); return; case 13: this.outputText = ((System.Windows.Controls.Label)(target)); return; case 14: this.label9 = ((System.Windows.Controls.Label)(target)); return; case 15: this.statusDetail = ((System.Windows.Controls.Label)(target)); return; case 16: this.label10 = ((System.Windows.Controls.Label)(target)); return; case 17: this.tblLeftHandState = ((System.Windows.Controls.Label)(target)); return; case 18: this.label11 = ((System.Windows.Controls.Label)(target)); return; case 19: this.tblRightHandState = ((System.Windows.Controls.Label)(target)); return; case 20: this.label12 = ((System.Windows.Controls.Label)(target)); return; case 21: this.ambilData = ((System.Windows.Controls.Label)(target)); return; } this._contentLoaded = true; }
void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) { switch (connectionId) { case 1: this.picClubLogo = ((System.Windows.Controls.Image)(target)); return; case 2: this.lblClubName = ((System.Windows.Controls.Label)(target)); return; case 3: this.lblDate = ((System.Windows.Controls.Label)(target)); return; case 4: this.lblPresident = ((System.Windows.Controls.Label)(target)); return; case 5: this.lblVice = ((System.Windows.Controls.Label)(target)); return; case 6: this.lblSecretary = ((System.Windows.Controls.Label)(target)); return; case 7: this.lblDescription = ((System.Windows.Controls.Label)(target)); return; case 8: this.btnBack = ((System.Windows.Controls.Button)(target)); #line 86 "..\..\Club_Details.xaml" this.btnBack.Click += new System.Windows.RoutedEventHandler(this.btnBack_Click); #line default #line hidden return; case 9: this.btnHome = ((System.Windows.Controls.Button)(target)); #line 87 "..\..\Club_Details.xaml" this.btnHome.Click += new System.Windows.RoutedEventHandler(this.btnHome_Click); #line default #line hidden return; case 10: this.txtSearch = ((System.Windows.Controls.TextBox)(target)); return; case 11: this.btnSearch = ((System.Windows.Controls.Button)(target)); return; case 12: this.lblType = ((System.Windows.Controls.Label)(target)); return; case 13: this.joinBtn = ((System.Windows.Controls.Button)(target)); #line 97 "..\..\Club_Details.xaml" this.joinBtn.Click += new System.Windows.RoutedEventHandler(this.joinBtn_Click); #line default #line hidden return; } this._contentLoaded = true; }
void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) { switch (connectionId) { case 1: this.testType_Control = ((Good_Teacher.Controls.TestType_ControlN)(target)); return; case 2: this.MenuItem_Up = ((System.Windows.Controls.MenuItem)(target)); #line 16 "..\..\..\Controls\TestType_ControlN.xaml" this.MenuItem_Up.Click += new System.Windows.RoutedEventHandler(this.MenuItem_Click); #line default #line hidden return; case 3: this.MenuItem_Down = ((System.Windows.Controls.MenuItem)(target)); #line 21 "..\..\..\Controls\TestType_ControlN.xaml" this.MenuItem_Down.Click += new System.Windows.RoutedEventHandler(this.MenuItem_Click); #line default #line hidden return; case 4: this.MenuItem_Copy = ((System.Windows.Controls.MenuItem)(target)); #line 27 "..\..\..\Controls\TestType_ControlN.xaml" this.MenuItem_Copy.Click += new System.Windows.RoutedEventHandler(this.MenuItem_Click); #line default #line hidden return; case 5: this.MenuItem_MoveTo = ((System.Windows.Controls.MenuItem)(target)); #line 35 "..\..\..\Controls\TestType_ControlN.xaml" this.MenuItem_MoveTo.Click += new System.Windows.RoutedEventHandler(this.MenuItem_Click); #line default #line hidden return; case 6: this.MenuItem_Lock = ((System.Windows.Controls.MenuItem)(target)); #line 40 "..\..\..\Controls\TestType_ControlN.xaml" this.MenuItem_Lock.Click += new System.Windows.RoutedEventHandler(this.MenuItem_Click); #line default #line hidden return; case 7: this.MenuItem_Hide = ((System.Windows.Controls.MenuItem)(target)); #line 45 "..\..\..\Controls\TestType_ControlN.xaml" this.MenuItem_Hide.Click += new System.Windows.RoutedEventHandler(this.MenuItem_Click); #line default #line hidden return; case 8: this.MenuItem_Settings = ((System.Windows.Controls.MenuItem)(target)); #line 52 "..\..\..\Controls\TestType_ControlN.xaml" this.MenuItem_Settings.Click += new System.Windows.RoutedEventHandler(this.MenuItem_Click); #line default #line hidden return; case 9: this.MenuItem_Delete = ((System.Windows.Controls.MenuItem)(target)); #line 58 "..\..\..\Controls\TestType_ControlN.xaml" this.MenuItem_Delete.Click += new System.Windows.RoutedEventHandler(this.MenuItem_Click); #line default #line hidden return; case 10: this.border = ((System.Windows.Controls.Border)(target)); return; case 11: this.CanvasImage = ((System.Windows.Controls.Image)(target)); return; case 12: this.InfoGrid = ((System.Windows.Controls.Grid)(target)); return; case 13: this.Description = ((System.Windows.Controls.Label)(target)); return; case 14: this.HiddenI = ((System.Windows.Controls.Image)(target)); return; case 15: this.LockedI = ((System.Windows.Controls.Image)(target)); return; case 16: this.LabelPage = ((System.Windows.Controls.Label)(target)); return; } this._contentLoaded = true; }