Exemple #1
0
        private void Credits_Click(object sender, RoutedEventArgs e)
        {
            this.Mainwindow.BackGrid.Children.Clear();
            this.Mainwindow.MainGrid.Visibility = Visibility.Hidden;
            creditCanvas.Background = Brushes.White;
            creditCanvas.IsHitTestVisible = true;
            RichTextBox richTextBox1 = new RichTextBox();
            creditCanvas.Children.Add(richTextBox1);
            FileStream fs = new FileStream("Documents\\Credits\\credits.rtf", FileMode.Open, FileAccess.Read);

            TextRange RTBText = new TextRange(richTextBox1.Document.ContentStart, richTextBox1.Document.ContentEnd);
            RTBText.Load(fs, DataFormats.Rtf);
            richTextBox1.Width = 1920;
            richTextBox1.Height = 10000;
            richTextBox1.HorizontalAlignment = HorizontalAlignment.Center;
            richTextBox1.Background = Brushes.Black;
            richTextBox1.Foreground = Brushes.WhiteSmoke;
            richTextBox1.FontFamily = new FontFamily("Segoe UI");

            richTextBox1.BorderThickness = new Thickness(0);
            TranslateTransform ttransform = new TranslateTransform();
            richTextBox1.RenderTransform= ttransform;
            DoubleAnimation scrollAnim = new DoubleAnimation(0,-10000,new Duration(TimeSpan.FromSeconds(60)),FillBehavior.Stop);
            scrollAnim.Completed += new EventHandler(scrollAnim_Completed);
            richTextBox1.ClipToBounds = true;
            //scrollAnim.RepeatBehavior = RepeatBehavior.Forever;
            ttransform.BeginAnimation(TranslateTransform.YProperty, scrollAnim);
            creditCanvas.PreviewMouseDown += new MouseButtonEventHandler(creditCanvas_PreviewMouseDown);
            this.Mainwindow.BackGrid.Children.Add(creditCanvas);
        }
        public FormatRichText()
        {
            Title = "Format Rich Text";

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

            // Create ToolBarTray docked at top of client area.
            ToolBarTray tray = new ToolBarTray();
            dock.Children.Add(tray);
            DockPanel.SetDock(tray, Dock.Top);

            // Create RichTextBox.
            txtbox = new RichTextBox();
            txtbox.VerticalScrollBarVisibility = ScrollBarVisibility.Auto;

            // Call methods in other files.
            AddFileToolBar(tray, 0, 0);
            AddEditToolBar(tray, 1, 0);
            AddCharToolBar(tray, 2, 0);
            AddParaToolBar(tray, 2, 1);
            AddStatusBar(dock);

            // Fill rest of client area with RichTextBox and give it focus.
            dock.Children.Add(txtbox);
            txtbox.Focus();
        }
        private UIElement _BuildLogBlock(FlowDocument log)
        {
            log.FontFamily = new FontFamily("SimSun");
            log.FontSize = 15;
            double width = log.GetFormattedText().WidthIncludingTrailingWhitespace + 20;
            RichTextBox rtb = new RichTextBox()
            {
                Document = log,
                Foreground = new SolidColorBrush(Color.FromArgb(0xFF, 0xFF, 0xEE, 0x99)),
                Background = new SolidColorBrush(Colors.Transparent),
                BorderThickness = new Thickness(0d),
                Width = width,
                Effect = new DropShadowEffect() { Color = Colors.Black, BlurRadius = 3, ShadowDepth = 0 },
            };

            Border border = new Border()
            {
                CornerRadius = new CornerRadius(3d),
                Child = rtb,
                Width = width,
                Background = new SolidColorBrush(Color.FromArgb(0xFF, 0x3D, 0x3A, 0x2C)),
                BorderThickness = new Thickness(1d),
                Opacity = 0d,
                HorizontalAlignment = System.Windows.HorizontalAlignment.Center
            };

            return border;
        }
 public IntellisenseAdorner(RichTextBox richTextBox)
     : base((UIElement)richTextBox)
 {
     this.Unloaded += new RoutedEventHandler(this.IntellisenseAdorner_Unloaded);
     this.richTextBox = richTextBox;
     IntellisenseAdorner intellisenseAdorner1 = this;
     ListBox listBox1 = new ListBox();
     listBox1.Focusable = false;
     ListBox listBox2 = listBox1;
     intellisenseAdorner1.intellisenseListBox = listBox2;
     this.intellisenseListBox.SetResourceReference(FrameworkElement.StyleProperty, (object)"IntellisenseList");
     this.Enable();
     IntellisenseAdorner intellisenseAdorner2 = this;
     Popup popup1 = new Popup();
     popup1.AllowsTransparency = true;
     popup1.Focusable = false;
     popup1.IsOpen = false;
     popup1.Placement = PlacementMode.Top;
     popup1.PlacementTarget = (UIElement)richTextBox;
     popup1.StaysOpen = false;
     popup1.HorizontalAlignment = HorizontalAlignment.Left;
     popup1.Child = (UIElement)this.intellisenseListBox;
     Popup popup2 = popup1;
     intellisenseAdorner2.intellisensePopup = popup2;
 }
		private static void CreateTextBox(List<DependencyObject> list, List<Inline> current, IHtmlTextBlock textBlock)
		{
			if (current.Count > 0)
			{
				var p = new Paragraph();
				foreach (var r in current)
					p.Inlines.Add(r);

#if !WINRT
				var tb = new RichTextBox();
				tb.Background = textBlock.Background;
				tb.Margin = new Thickness(-12, textBlock.ParagraphMargin, -12, textBlock.ParagraphMargin);
#else
				var tb = new RichTextBlock();
				tb.IsTextSelectionEnabled = false;
				tb.Margin = new Thickness(0, textBlock.ParagraphMargin, 0, textBlock.ParagraphMargin);
#endif
				tb.Blocks.Add(p);
				tb.Foreground = textBlock.Foreground;
				tb.FontSize = textBlock.FontSize;
				tb.FontFamily = textBlock.FontFamily;
				
				list.Add(tb);
				current.Clear();
			}
		}
Exemple #6
0
 public SyntaxHighlight(RichTextBox TextInput, CommonSyntaxProvider Syntax, Color KeyWordColor)
 {
     textInput = TextInput;
     textInput.TextChanged += TextInput_TextChanged;
     syntax = Syntax;
     keyWordColor = KeyWordColor;
 }
Exemple #7
0
 private static void LoadRange(RichTextBox richTextBox, TextRange range)
 {
     MemoryStream buffer = new MemoryStream();
     range.Save(buffer, DataFormats.Rtf);
     var rtf = Encoding.UTF8.GetString(buffer.ToArray());
     SetContent(richTextBox, rtf);
 }
Exemple #8
0
        public void HighlightText(RichTextBox block)
        {
            const string reg = @"@.*?\s+|\#([^\#|.]+)\#|http://([\w-]+\.)+[\w-]+(/[\w-./?%&=]*)";
            var regAccount = new Regex(reg);
          

        }
 /// <summary>
 /// extracts the font size (double) out of the current selection of
 /// the rich text box
 /// </summary>
 /// <param name="box">the rich text box</param>
 /// <returns>the font size or null (therefore the
 /// nullable type double? is used) if the state could not
 /// be determined</returns>
 private double? GetSelectedFontSize(RichTextBox box)
 {
     var propVal = box.Selection.GetPropertyValue(FontSizeProperty);
     if (propVal == DependencyProperty.UnsetValue)
         return null;
     return (double)propVal;
 }
Exemple #10
0
        public override void OnApplyTemplate()
        {
            base.OnApplyTemplate();

            _block = (RichTextBox)GetTemplateChild("PART_TextBlock");
            UpdateText();
        }
 /// <summary>
 /// extracts the font family used in the current selection of
 /// the rich text box
 /// </summary>
 /// <param name="box">the rich text box</param>
 /// <returns>the font family name or null if the state could not
 /// be determined</returns>
 private string GetSelectedFontFamily(RichTextBox box)
 {
     var propVal = box.Selection.GetPropertyValue(FontFamilyProperty);
     if (propVal == DependencyProperty.UnsetValue)
         return null;
     return ((FontFamily)propVal).Source;
 }
 /// <summary>
 /// Append text to RichTextBox with red coloring; for errors
 /// </summary>
 /// <param name="targetBox">Box to append text to</param>
 /// <param name="text">Error text to append</param>
 private void appendErrorText(RichTextBox targetBox, string text)
 {
     // Append text with automatic styling for error text
     TextRange tr = new TextRange(targetBox.Document.ContentEnd, targetBox.Document.ContentEnd);
     tr.Text = text;
     tr.ApplyPropertyValue(TextElement.ForegroundProperty, Brushes.Red);
 }
Exemple #13
0
		void Create ()
		{
			var run = new Run { Text = "Hello From The Run" };
			var paragraph = new Paragraph();
			paragraph.Inlines.Add(run);

			RichTextBox box = new RichTextBox { };
			box.Blocks.Add(paragraph);

			var insertion = box.ContentEnd.GetPositionAtOffset(-2, LogicalDirection.Backward).GetPositionAtOffset(-1, LogicalDirection.Backward);
			box.Selection.Select(insertion, insertion);
			box.Selection.Insert(new Run { Text = "ARGH" });

			if (((Paragraph)box.Blocks[0]).Inlines.Count != 3)
				Fail ("We should have three inlines");
				
			foreach (var v in ((Paragraph)box.Blocks[0]).Inlines) {
				if (v == null)
					Fail ("No inline should be null");
				runs.Add (new WeakReference (v));
			}
			
			GCAndInvoke (() => {
				foreach (var r in runs)
					if (r.Target != null)
						Fail ("The run should be GC'ed");
				Succeed ();
			});
		}
 public RichTextBoxLogger(
     RichTextBox richTextBox,
     BackgroundWorker backgroundWorker)
 {
     this.richTextBox = richTextBox;
     this.backgroundWorker = backgroundWorker;
 }
        public HistoryWindow(Interlocutor interlocutor, IModelContext context)
        {
            InitializeComponent();
            _context = context;
            this.DataContext = this;
            Interlocutor = interlocutor;
            var history = new MessageRepository().LoadHistory(interlocutor) ?? new History
            {
                InterlocutorId = interlocutor.Id,
                Messages = new List<Message>()
            };
            HistoryView = new ObservableCollection<HistoryView>();

            HistoryMessages = new RichTextBox(new FlowDocument());
            HistoryMessages.VerticalScrollBarVisibility = ScrollBarVisibility.Auto;
            HistoryMessages.IsReadOnly = true;

            var monthGroups = history.Messages
                .OrderByDescending(note => note.Date)
                .GroupBy(key => key.Date.ToString("MMMM yyyy"));
            foreach (var monthGroup in monthGroups)
            {
                HistoryView.Add(new HistoryView
                {
                    Month = monthGroup.Key,
                    ActiveDates = new ObservableCollection<DayMessageView>(
                        monthGroup.GroupBy(key => key.Date.ToShortDateString())
                        .Select(dayGroup => new DayMessageView
                        {
                            Day = dayGroup.Key,
                            Messages = new ObservableCollection<Message>(dayGroup)
                        }))
                });
            }
        }
Exemple #16
0
        public Question(string myFilename, RichTextBox richMain)
        {
            Filename = Path.GetFileName(myFilename);
            string xmlText = File.ReadAllText(myFilename);
            XmlDocument xmlDoc = new XmlDocument();
            xmlDoc.LoadXml(xmlText);

            try
            {
                XmlNode xmlQD = xmlDoc.GetElementsByTagName("QuestionDesc")[0];
                XmlNode xmlQ = xmlDoc.GetElementsByTagName("QuestionText")[0];
                XmlCDataSection xmlCData = xmlQ.FirstChild as XmlCDataSection;
                XmlNode xmlAA = xmlDoc.GetElementsByTagName("AnswerA")[0];
                XmlNode xmlAB = xmlDoc.GetElementsByTagName("AnswerB")[0];
                XmlNode xmlAC = xmlDoc.GetElementsByTagName("AnswerC")[0];
                XmlNode xmlAD = xmlDoc.GetElementsByTagName("AnswerD")[0];
                XmlNode xmlT = xmlDoc.GetElementsByTagName("Time")[0];
                XmlNode xmlL = xmlDoc.GetElementsByTagName("Level")[0];
                XmlNode xmlA = xmlDoc.GetElementsByTagName("Correct")[0];

                QuestionDescripion = xmlQD.InnerText.ToString();
                QuestionText = xmlCData.InnerText;
                AnswerA = xmlAA.InnerText;
                AnswerB = xmlAB.InnerText;
                AnswerC = xmlAC.InnerText;
                AnswerD = xmlAD.InnerText;
                Correct = xmlA.InnerText;
                Time = Convert.ToInt32(xmlT.InnerText);
                Level = Convert.ToInt32(xmlL.InnerText);
            }
            catch (Exception expError)
            {
                richMain.AppendText("Problem with question file format: " + expError.Message + Environment.NewLine);
            }
        }
        private static string ConvertRtfToXaml(string rtfText)
        {
            var richTextBox = new RichTextBox();
            if (string.IsNullOrEmpty(rtfText)) return "";

            var textRange = new TextRange(richTextBox.Document.ContentStart, richTextBox.Document.ContentEnd);

            //Create a MemoryStream of the Rtf content

            using (var rtfMemoryStream = new MemoryStream())
            {
                using (var rtfStreamWriter = new StreamWriter(rtfMemoryStream))
                {
                    rtfStreamWriter.Write(rtfText);
                    rtfStreamWriter.Flush();
                    rtfMemoryStream.Seek(0, SeekOrigin.Begin);

                    //Load the MemoryStream into TextRange ranging from start to end of RichTextBox.
                    textRange.Load(rtfMemoryStream, DataFormats.Rtf);
                }
            }

            using (var rtfMemoryStream = new MemoryStream())
            {

                textRange = new TextRange(richTextBox.Document.ContentStart, richTextBox.Document.ContentEnd);
                textRange.Save(rtfMemoryStream, DataFormats.Xaml);
                rtfMemoryStream.Seek(0, SeekOrigin.Begin);
                using (var rtfStreamReader = new StreamReader(rtfMemoryStream))
                {
                    return rtfStreamReader.ReadToEnd();
                }
            }
        }
Exemple #18
0
        public UndoTextEnter(RichTextBox edit, TextRange range, string text)
        {
            UpdateOffsets(edit, range);
            __OffsetCursorPosition = edit.Document.ContentStart.GetOffsetToPosition(edit.CaretPosition);

            __TextEntered = text;
        }
Exemple #19
0
        private static void ColorizeText(RichTextBox box, string inputText)
        {
            var textRange = new TextRange(box.Document.ContentStart, box.Document.ContentEnd);
            var currentPosition = box.Document.ContentStart;
            var contentEnd = box.Document.ContentEnd;

            while(null != currentPosition && currentPosition.CompareTo(contentEnd) < 0 )
            {
                if(currentPosition.GetPointerContext(LogicalDirection.Forward) == TextPointerContext.Text)
                {
                    var text = currentPosition.GetTextInRun(LogicalDirection.Forward);

                    var p1 = currentPosition.GetPositionAtOffset(text.IndexOf(inputText));
                    var p2 = currentPosition.GetPositionAtOffset(text.IndexOf(inputText) + inputText.Length);

                    if (null != p2 && null != p1)
                    {
                        Console.WriteLine("ind:{0}, txt:{1}, p1: {2}, p2: {3}", text.IndexOf(inputText),
                                          text, p1, p2);
                        var range = new TextRange(p1, p2);

                        range.ApplyPropertyValue(TextElement.ForegroundProperty,
                                                 new SolidColorBrush(
                                                     _ltForeground[_indexColorLookup%_ltForeground.Length]));

                        range.ApplyPropertyValue(TextElement.BackgroundProperty,
                                                 new SolidColorBrush(
                                                     _ltBackground[_indexColorLookup%_ltForeground.Length]));
                    }
                }

                currentPosition = currentPosition.GetNextContextPosition(LogicalDirection.Forward);
            }
        }
 public static string GetInlineText(RichTextBox myRichTextBox)
 {
     StringBuilder stringBuilder = new StringBuilder();
       foreach (Block block in (TextElementCollection<Block>) myRichTextBox.Document.Blocks)
       {
     if (block is Paragraph)
     {
       foreach (Inline inline in (TextElementCollection<Inline>) ((Paragraph) block).Inlines)
       {
     if (inline is InlineUIContainer)
     {
       InlineUIContainer inlineUiContainer = (InlineUIContainer) inline;
       if (inlineUiContainer.Child is Button)
         stringBuilder.Append(((ContentControl) inlineUiContainer.Child).Content);
     }
     else if (inline is LineBreak)
       stringBuilder.Append(Environment.NewLine);
     else if (inline is Run)
     {
       Run run = (Run) inline;
       stringBuilder.Append(run.Text);
     }
       }
     }
       }
       return ((object) stringBuilder).ToString();
 }
Exemple #21
0
        private static void ColorizeText(RichTextBox box, Tile<GSTToken<char>> tile)
        {
            TextRange tr ;

            if("A" == box.Name)
            {
                /*
                tr = new TextRange(box.Document.ContentStart.GetPositionAtOffset(tile.IndexOnA),
                                   box.Document.ContentStart.GetPositionAtOffset(tile.IndexOnA + tile.Tokens.Count()));
                /* */
                box.Selection.Select(box.Document.ContentStart.GetPositionAtOffset(tile.IndexOnA),
                                box.Document.ContentStart.GetPositionAtOffset(tile.IndexOnA + tile.Tokens.Count()));
            }
            else
            {
                box.Selection.Select(box.Document.ContentStart.GetPositionAtOffset(tile.IndexOnB),
                                box.Document.ContentStart.GetPositionAtOffset(tile.IndexOnB + tile.Tokens.Count()));
                /*
                tr = new TextRange(box.Document.ContentStart.GetPositionAtOffset(tile.IndexOnB),
                                   box.Document.ContentStart.GetPositionAtOffset(tile.IndexOnB + tile.Tokens.Count()));
                /* */
            }

            box.Selection.ApplyPropertyValue(TextElement.ForegroundProperty,
                                                 new SolidColorBrush(
                                                     _ltForeground[_indexColorLookup % _ltForeground.Length]));

            box.Selection.ApplyPropertyValue(TextElement.BackgroundProperty,
                                                 new SolidColorBrush(
                                                     _ltBackground[_indexColorLookup % _ltForeground.Length]));
        }
 public RichTextBoxAppender(RichTextBox textbox)
 {
     _richtextBox = textbox;
     _paragraph = new Paragraph();
     Layout = CreateLogLayout();
     Document.Blocks.Add(_paragraph);
 }
Exemple #23
0
 public URLAdorner(UIElement adornedElement)
     : base(adornedElement)
 {
     if (!(adornedElement is RichTextBox))
         return;
     this.richTextBox = adornedElement as RichTextBox;
 }
 /// <summary>
 /// Get text.
 /// </summary>
 /// <param name="rich">RichTextBox.</param>
 /// <returns>Text.</returns>
 public static string GetText(RichTextBox rich)
 {
     var block = rich.Document.Blocks.FirstBlock;
     if (block == null)
     {
         return string.Empty;
     }
     StringBuilder text = new StringBuilder();
     do
     {
         Paragraph paragraph = block as Paragraph;
         if (paragraph != null)
         {
             var inline = paragraph.Inlines.FirstInline;
             do
             {
                 if (0 < text.Length)
                 {
                     text.Append(Environment.NewLine);
                 }
                 TextRange range = new TextRange(inline.ContentStart, inline.ContentEnd);
                 text.Append(range.Text);
             } while ((inline = inline.NextInline) != null);
         }
     } while ((block = block.NextBlock) != null);
     return text.ToString();
 }
 //
 public RTB_Support(RichTextBox target_rtb = null)
 {
     if (target_rtb != null)
         flowDoc = target_rtb.Document;
     else
         flowDoc = new FlowDocument();
 }
Exemple #26
0
        //-----------------------------------------------Justins code----------------------------------------------------
        public MainUI()
        {
			AppLoc.setLoc();
            this.InitializeComponent();
            this.InitGettingStarted();
            rtbDocument = redDocument.GetRTB();
            // Insert code required on object creation below this point
            OutputDrafts = new ArrayList();
            ImportDrafts = new ArrayList();
            PendingDrafts = new ArrayList();
            myPublishedOutputs = new ArrayList();
            PublishedOutputs = new ArrayList();

            
            this.addExample();
            CreateLogin();//creates the login screen
            //Splash splash = new Splash();
            //splash.Show();

            txtSRODateFrom.SelectedDateChanged += new EventHandler<SelectionChangedEventArgs>(Start_SelectedDateChanged);
            txtSRODateTo.SelectedDateChanged += new EventHandler<SelectionChangedEventArgs>(End_SelectedDateChanged);
            txtSRODateTo.SelectedDate = DateTime.Today;
            txtSRODateFrom.SelectedDate = new DateTime(2009, 06, 01);
            InitializeROGrid();
            ServerImgLocation = LocationFind.Location + @"Images\";
        }
        private void Convert()
        {
            var richTextBox = new RichTextBox();
            if (string.IsNullOrEmpty(_rtf))
            {
                _convertedRtf = string.Empty;
                return;
            }

            var textRange = new TextRange(richTextBox.Document.ContentStart, richTextBox.Document.ContentEnd);

            // Create a MemoryStream of the Rtf content
            using (var rtfMemoryStream = new MemoryStream())
            using (var rtfStreamWriter = new StreamWriter(rtfMemoryStream))
            {
                rtfStreamWriter.Write(_rtf);
                rtfStreamWriter.Flush();
                rtfMemoryStream.Seek(0, SeekOrigin.Begin);

                // Load the MemoryStream into TextRange ranging from start to end of RichTextBox.
                textRange.Load(rtfMemoryStream, DataFormats.Rtf);
            }

            using (var rtfMemoryStream = new MemoryStream())
            {
                textRange = new TextRange(richTextBox.Document.ContentStart, richTextBox.Document.ContentEnd);
                textRange.Save(rtfMemoryStream, DataFormats.Xaml);
                rtfMemoryStream.Seek(0, SeekOrigin.Begin);
                using (var rtfStreamReader = new StreamReader(rtfMemoryStream))
                    _convertedRtf = ConvertXamlToHtml(rtfStreamReader.ReadToEnd());
            }
        }
 public static string GetSelectedInlineText(RichTextBox myRichTextBox)
 {
     StringBuilder stringBuilder = new StringBuilder();
       foreach (Block block in (TextElementCollection<Block>) myRichTextBox.Document.Blocks)
       {
     if (block is Paragraph)
     {
       foreach (Inline inline in (TextElementCollection<Inline>) ((Paragraph) block).Inlines)
       {
     if (inline is InlineUIContainer)
     {
       InlineUIContainer inlineUiContainer = (InlineUIContainer) inline;
       if (inlineUiContainer.Child is Button && ((TextRange) myRichTextBox.Selection).Contains(inlineUiContainer.ElementEnd) || ((TextRange) myRichTextBox.Selection).Contains(inlineUiContainer.ElementStart))
         stringBuilder.Append(((ContentControl) inlineUiContainer.Child).Content.ToString());
     }
     else if (inline is Run)
     {
       Run run = (Run) inline;
       for (TextPointer textPointer = run.ContentStart; textPointer.CompareTo(run.ContentEnd) < 0; textPointer = textPointer.GetPositionAtOffset(1, LogicalDirection.Forward))
       {
         if (textPointer.GetPointerContext(LogicalDirection.Forward) == TextPointerContext.Text && ((TextRange) myRichTextBox.Selection).Contains(textPointer) && ((TextRange) myRichTextBox.Selection).Contains(textPointer.GetPositionAtOffset(1, LogicalDirection.Forward)))
           stringBuilder.Append(new TextRange(textPointer, textPointer.GetPositionAtOffset(1, LogicalDirection.Forward)).Text);
       }
     }
       }
     }
       }
       return ((object) stringBuilder).ToString();
 }
        private void fillRTF(RichTextBox box, int[,] dataArray, int selectMode)
        {
            FlowDocument displayedText = new FlowDocument();
            for (int i = 0; i < 16; i++)
            {
                Paragraph currentLine = new Paragraph();

                if (i <= currentRow && i >= currentRow - (selectMode-1))
                {
                    Run currentLineStart = new Run();
                    for (int column = 0; column < currentColumn; column++)
                    {
                        currentLineStart.Text += String.Format("{0,4}", dataArray[i, column]);
                    }

                    Bold currentElement = new Bold();
                    currentElement.Inlines.Add(String.Format("{0,4}", dataArray[i, currentColumn]));
                    if (i == currentRow)
                    {
                        currentElement.Background = new SolidColorBrush(Colors.DarkOrange);
                    }
                    else
                    {
                        currentElement.Background = new SolidColorBrush(Colors.DarkMagenta);
                    }

                    Run currentLineEnd = new Run();
                    for (int column = currentColumn + 1; column < 16; column++)
                    {
                        currentLineEnd.Text += String.Format("{0,4}", dataArray[i, column]);
                    }

                    /*
                                    Style smallParagraphs = new Style(typeof(Paragraph));
                                    smallParagraphs.Setters.Add(new Setter
                                    {
                                        Property = Paragraph.TextIndentProperty,
                                        Value = 30.0
                                    });

                                    currentLine.Style = smallParagraphs;
                     */
                    currentLine.Inlines.Add(currentLineStart);
                    currentLine.Inlines.Add(currentElement);
                    currentLine.Inlines.Add(currentLineEnd);
                }
                else
                {
                    Run currentLineStart = new Run();
                    for (int column = 0; column < 16; column++)
                    {
                        currentLineStart.Text += String.Format("{0,4}", dataArray[i, column]);
                    }
                    currentLine.Inlines.Add(currentLineStart);
                }
                displayedText.Blocks.Add(currentLine);
            }
            box.Document = displayedText;
        }
 public EditSomeRichTest()
 {
     Title = "Edit Some Rich Text";
     txtBox = new RichTextBox();
     txtBox.VerticalScrollBarVisibility = ScrollBarVisibility.Auto;
     Content = txtBox;
     txtBox.Focus();
 }
Exemple #31
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:

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

            #line default
            #line hidden

            #line 4 "..\..\..\MainWindow.xaml"
                ((GedcomViewCompare.MainWindow)(target)).Activated += new System.EventHandler(this.Window_Activated);

            #line default
            #line hidden
                return;

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

            case 3:
                this.rowInformation = ((System.Windows.Controls.RowDefinition)(target));
                return;

            case 4:
                this.rowData = ((System.Windows.Controls.RowDefinition)(target));
                return;

            case 5:
                this.fileButtons = ((System.Windows.Controls.RowDefinition)(target));
                return;

            case 6:
                this.GridColumn1 = ((System.Windows.Controls.ColumnDefinition)(target));
                return;

            case 7:
                this.GridColumn2 = ((System.Windows.Controls.ColumnDefinition)(target));
                return;

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

            case 9:
                this.GridColumn4 = ((System.Windows.Controls.ColumnDefinition)(target));
                return;

            case 10:
                this.menuFile = ((System.Windows.Controls.Menu)(target));
                return;

            case 11:

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

            #line default
            #line hidden
                return;

            case 12:

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

            #line default
            #line hidden
                return;

            case 13:

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

            #line default
            #line hidden
                return;

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

            #line 31 "..\..\..\MainWindow.xaml"
                this.textBoxGDI1.PreviewMouseRightButtonDown += new System.Windows.Input.MouseButtonEventHandler(this.textBoxGDI1_PreviewMouseRightButtonDown);

            #line default
            #line hidden
                return;

            case 15:
                this.textBoxGDI2 = ((System.Windows.Controls.RichTextBox)(target));
                return;

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

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

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

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

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

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

            #line default
            #line hidden
                return;

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

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

            #line default
            #line hidden
                return;

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

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

            #line default
            #line hidden
                return;

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

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

            #line default
            #line hidden
                return;

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

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

            #line default
            #line hidden
                return;

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

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

            case 27:
                this.adsFrame = ((System.Windows.Controls.Frame)(target));
                return;
            }
            this._contentLoaded = true;
        }
Exemple #32
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.nomeBox = ((System.Windows.Controls.RichTextBox)(target));
                return;

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

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

            #line 28 "..\..\..\registarInstituto.xaml"
                this.EditarButton.Click += new System.Windows.RoutedEventHandler(this.ConfirmButton_Click);

            #line default
            #line hidden
                return;

            case 4:

            #line 30 "..\..\..\registarInstituto.xaml"
                ((System.Windows.Controls.TextBlock)(target)).PreviewMouseLeftButtonDown += new System.Windows.Input.MouseButtonEventHandler(this.ConfirmButton_PreviewMouseLeftButtonDown);

            #line default
            #line hidden
                return;

            case 5:
                this.contactoBox = ((System.Windows.Controls.RichTextBox)(target));
                return;

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

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

            #line 61 "..\..\..\registarInstituto.xaml"
                this.adicionarServico.Click += new System.Windows.RoutedEventHandler(this.AddServ_Click);

            #line default
            #line hidden
                return;

            case 8:

            #line 64 "..\..\..\registarInstituto.xaml"
                ((System.Windows.Controls.TextBlock)(target)).PreviewMouseLeftButtonDown += new System.Windows.Input.MouseButtonEventHandler(this.AddServ_Click);

            #line default
            #line hidden
                return;

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

            #line 67 "..\..\..\registarInstituto.xaml"
                this.EditarButton_Copy.Click += new System.Windows.RoutedEventHandler(this.CancelarButton_Click);

            #line default
            #line hidden
                return;

            case 10:

            #line 69 "..\..\..\registarInstituto.xaml"
                ((System.Windows.Controls.TextBlock)(target)).PreviewMouseLeftButtonDown += new System.Windows.Input.MouseButtonEventHandler(this.CancelarButton_Click);

            #line default
            #line hidden
                return;

            case 11:

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

            #line default
            #line hidden
                return;

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

            case 13:
                this.institutofoto = ((System.Windows.Media.ImageBrush)(target));
                return;

            case 14:
                this.descricaoBox = ((System.Windows.Controls.RichTextBox)(target));
                return;
            }
            this._contentLoaded = true;
        }
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.SalesRoot = ((System.Windows.Controls.Grid)(target));
                return;

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

            case 3:
                this.productGroupBox = ((System.Windows.Controls.GroupBox)(target));
                return;

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

            case 5:
                this.stockfeaturesTextBox = ((System.Windows.Controls.RichTextBox)(target));
                return;

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

            case 23:
                this.productCompanyLabel_Copy2 = ((System.Windows.Controls.Label)(target));
                return;
            }
            this._contentLoaded = true;
        }
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.Title = ((System.Windows.Controls.Grid)(target));
                return;

            case 2:

            #line 82 "..\..\..\..\User Controls\Logging\Logging.xaml"
                ((System.Windows.Controls.RadioButton)(target)).Click += new System.Windows.RoutedEventHandler(this.EVTButton_Click);

            #line default
            #line hidden
                return;

            case 3:

            #line 88 "..\..\..\..\User Controls\Logging\Logging.xaml"
                ((System.Windows.Controls.RadioButton)(target)).Click += new System.Windows.RoutedEventHandler(this.Registry_Click);

            #line default
            #line hidden
                return;

            case 4:

            #line 94 "..\..\..\..\User Controls\Logging\Logging.xaml"
                ((System.Windows.Controls.RadioButton)(target)).Click += new System.Windows.RoutedEventHandler(this.GPEdit_Click);

            #line default
            #line hidden
                return;

            case 5:

            #line 100 "..\..\..\..\User Controls\Logging\Logging.xaml"
                ((System.Windows.Controls.RadioButton)(target)).Click += new System.Windows.RoutedEventHandler(this.ETLButton_Click);

            #line default
            #line hidden
                return;

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

            case 7:
                this.EVtGrid = ((System.Windows.Controls.DataGrid)(target));

            #line 117 "..\..\..\..\User Controls\Logging\Logging.xaml"
                this.EVtGrid.PreviewMouseLeftButtonDown += new System.Windows.Input.MouseButtonEventHandler(this.EVtGrid_MouseRightButtonUp);

            #line default
            #line hidden
                return;

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

            #line 131 "..\..\..\..\User Controls\Logging\Logging.xaml"
                this.ddlSource.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.ddlSource_SelectionChanged);

            #line default
            #line hidden
                return;

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

            #line 148 "..\..\..\..\User Controls\Logging\Logging.xaml"
                this.ddlLevel.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.ddlLevel_SelectionChanged);

            #line default
            #line hidden
                return;

            case 12:
                this.tbSearch = ((System.Windows.Controls.RichTextBox)(target));
                return;

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

            #line 166 "..\..\..\..\User Controls\Logging\Logging.xaml"
                this.btnSearch.Click += new System.Windows.RoutedEventHandler(this.btnSearch_click);

            #line default
            #line hidden
                return;

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

            #line 182 "..\..\..\..\User Controls\Logging\Logging.xaml"
                this.btnExportLogs.Click += new System.Windows.RoutedEventHandler(this.btnExportLogs_Click);

            #line default
            #line hidden
                return;

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

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

            case 17:
                this.txtEVTDetail = ((System.Windows.Controls.RichTextBox)(target));
                return;

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

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

            case 20:
                this.RegItem = ((System.Windows.Controls.ListView)(target));

            #line 204 "..\..\..\..\User Controls\Logging\Logging.xaml"
                this.RegItem.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.RegItem_SelectionChanged);

            #line default
            #line hidden
                return;

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

            case 22:
                this.Regvalue = ((System.Windows.Controls.DataGrid)(target));
                return;

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

            case 24:
                this.GPDataGrid = ((System.Windows.Controls.DataGrid)(target));
                return;

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

            #line 306 "..\..\..\..\User Controls\Logging\Logging.xaml"
                this.btnGPEdit.Click += new System.Windows.RoutedEventHandler(this.btnGPEdit_click);

            #line default
            #line hidden
                return;

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

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

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

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

            #line 337 "..\..\..\..\User Controls\Logging\Logging.xaml"
                this.btnEnableTracing.Click += new System.Windows.RoutedEventHandler(this.btnEnableTracing_click);

            #line default
            #line hidden
                return;

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

            #line 346 "..\..\..\..\User Controls\Logging\Logging.xaml"
                this.btnDisableTracing.Click += new System.Windows.RoutedEventHandler(this.btnDisableTracing_click);

            #line default
            #line hidden
                return;

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

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

            #line 359 "..\..\..\..\User Controls\Logging\Logging.xaml"
                this.btnDiagTool.Click += new System.Windows.RoutedEventHandler(this.btnDiagTool_click);

            #line default
            #line hidden
                return;

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

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

            #line 373 "..\..\..\..\User Controls\Logging\Logging.xaml"
                this.btnKBPatch.Click += new System.Windows.RoutedEventHandler(this.btnKBPatch_click);

            #line default
            #line hidden
                return;

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

            #line 382 "..\..\..\..\User Controls\Logging\Logging.xaml"
                this.btnAffectedKB.Click += new System.Windows.RoutedEventHandler(this.btnAffectedKB_Click);

            #line default
            #line hidden
                return;

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

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

            #line 391 "..\..\..\..\User Controls\Logging\Logging.xaml"
                this.btnRepairDotNet.Click += new System.Windows.RoutedEventHandler(this.btnRepairDotNet_click);

            #line default
            #line hidden
                return;

            case 38:
                this.txtETLTips = ((System.Windows.Controls.RichTextBox)(target));
                return;

            case 39:
                this.KBGrid = ((System.Windows.Controls.DataGrid)(target));
                return;
            }
            this._contentLoaded = true;
        }
Exemple #35
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.datagrid = ((System.Windows.Controls.DataGrid)(target));
                return;

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

            case 3:
                this.name = ((System.Windows.Controls.DataGridTextColumn)(target));
                return;

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

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

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

            #line 41 "..\..\addRecipe.xaml"
                this.AddOrEdit.Click += new System.Windows.RoutedEventHandler(this.AddI_Click);

            #line default
            #line hidden
                return;

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

            #line 42 "..\..\addRecipe.xaml"
                this.search.TextChanged += new System.Windows.Controls.TextChangedEventHandler(this.search_textchanged);

            #line default
            #line hidden
                return;

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

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

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

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

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

            case 16:

            #line 54 "..\..\addRecipe.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.AddRecipes);

            #line default
            #line hidden
                return;

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

            #line 6 "..\..\..\WindowWpf\NhanVienThemPresentation.xaml"
                ((Presentation.WindowWpf.NhanVienThemPresentation)(target)).Loaded += new System.Windows.RoutedEventHandler(this.Window_Loaded);

            #line default
            #line hidden
                return;

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

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

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

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

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

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

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

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

            #line 61 "..\..\..\WindowWpf\NhanVienThemPresentation.xaml"
                this.btnAnh.Click += new System.Windows.RoutedEventHandler(this.btnAnh_Click);

            #line default
            #line hidden
                return;

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

            case 11:
                this.txtPass = ((System.Windows.Controls.PasswordBox)(target));
                return;

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

            case 13:
                this.ckDangDung = ((System.Windows.Controls.CheckBox)(target));
                return;

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

            #line 92 "..\..\..\WindowWpf\NhanVienThemPresentation.xaml"
                this.btnLuu.Click += new System.Windows.RoutedEventHandler(this.btnLuu_Click);

            #line default
            #line hidden
                return;

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

            #line 98 "..\..\..\WindowWpf\NhanVienThemPresentation.xaml"
                this.btnHuy.Click += new System.Windows.RoutedEventHandler(this.btnHuy_Click);

            #line default
            #line hidden
                return;

            case 16:
                this.lbWarning = ((System.Windows.Controls.Label)(target));
                return;
            }
            this._contentLoaded = true;
        }
Exemple #37
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:

            #line 45 "..\..\..\UserControls\ucStep.xaml"
                ((System.Windows.Controls.TabControl)(target)).SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.TabControl_SelectionChanged);

            #line default
            #line hidden
                return;

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

            case 3:
                this.rtbFirmware = ((System.Windows.Controls.RichTextBox)(target));
                return;

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

            #line 75 "..\..\..\UserControls\ucStep.xaml"
                this.btnCheckFW.Click += new System.Windows.RoutedEventHandler(this.btnCheckFW_Click);

            #line default
            #line hidden
                return;

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

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

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

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

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

            #line 165 "..\..\..\UserControls\ucStep.xaml"
                this.btnCheckMAC.Click += new System.Windows.RoutedEventHandler(this.btnCheckMAC_Click);

            #line default
            #line hidden
                return;

            case 10:
                this.tbMACResult = ((System.Windows.Controls.TextBlock)(target));
                return;

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

            case 12:
                this.rtbLAN = ((System.Windows.Controls.RichTextBox)(target));
                return;

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

            #line 250 "..\..\..\UserControls\ucStep.xaml"
                this.btnCheckLAN.Click += new System.Windows.RoutedEventHandler(this.btnCheckLAN_Click);

            #line default
            #line hidden
                return;

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

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

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

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

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

            case 19:
                this.rtbUSB = ((System.Windows.Controls.RichTextBox)(target));
                return;

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

            #line 427 "..\..\..\UserControls\ucStep.xaml"
                this.btnCheckUSB.Click += new System.Windows.RoutedEventHandler(this.btnCheckUSB_Click);

            #line default
            #line hidden
                return;

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

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

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

            case 24:
                this.rtbSYN = ((System.Windows.Controls.RichTextBox)(target));
                return;

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

            #line 558 "..\..\..\UserControls\ucStep.xaml"
                this.btnCheckSYN.Click += new System.Windows.RoutedEventHandler(this.btnCheckSYN_Click);

            #line default
            #line hidden
                return;

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

            #line 587 "..\..\..\UserControls\ucStep.xaml"
                this.btnReadOLT.Click += new System.Windows.RoutedEventHandler(this.btnReadOLT_Click);

            #line default
            #line hidden
                return;

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

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

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

            case 30:
                this.rtbPowerOptical = ((System.Windows.Controls.RichTextBox)(target));
                return;

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

            #line 653 "..\..\..\UserControls\ucStep.xaml"
                this.btnCheckPowerOptical.Click += new System.Windows.RoutedEventHandler(this.btnCheckPowerOptical_Click);

            #line default
            #line hidden
                return;

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

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

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

            case 35:
                this.rtbLED = ((System.Windows.Controls.RichTextBox)(target));
                return;

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

            #line 778 "..\..\..\UserControls\ucStep.xaml"
                this.btnLedPON.Click += new System.Windows.RoutedEventHandler(this.btnLed_Click);

            #line default
            #line hidden
                return;

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

            #line 807 "..\..\..\UserControls\ucStep.xaml"
                this.btnLedINETX.Click += new System.Windows.RoutedEventHandler(this.btnLed_Click);

            #line default
            #line hidden
                return;

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

            #line 836 "..\..\..\UserControls\ucStep.xaml"
                this.btnLedINETD.Click += new System.Windows.RoutedEventHandler(this.btnLed_Click);

            #line default
            #line hidden
                return;

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

            #line 865 "..\..\..\UserControls\ucStep.xaml"
                this.btnLedWLAN.Click += new System.Windows.RoutedEventHandler(this.btnLed_Click);

            #line default
            #line hidden
                return;

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

            #line 894 "..\..\..\UserControls\ucStep.xaml"
                this.btnLedWPS.Click += new System.Windows.RoutedEventHandler(this.btnLed_Click);

            #line default
            #line hidden
                return;

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

            #line 923 "..\..\..\UserControls\ucStep.xaml"
                this.btnLedLOS.Click += new System.Windows.RoutedEventHandler(this.btnLed_Click);

            #line default
            #line hidden
                return;

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

            case 43:
                this.rtbButton = ((System.Windows.Controls.RichTextBox)(target));
                return;

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

            #line 981 "..\..\..\UserControls\ucStep.xaml"
                this.btnCheckButton.Click += new System.Windows.RoutedEventHandler(this.btnCheckButton_Click);

            #line default
            #line hidden
                return;

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

            case 46:
                this.lblResetResult = ((System.Windows.Controls.Label)(target));
                return;

            case 47:
                this.tbButtonResult = ((System.Windows.Controls.TextBlock)(target));
                return;
            }
            this._contentLoaded = true;
        }
Exemple #38
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.LogoClub = ((System.Windows.Controls.Image)(target));
                return;

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

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

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

            case 5:
                this.txtDetails = ((System.Windows.Controls.RichTextBox)(target));
                return;

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

            #line 29 "..\..\Edit Club.xaml"
                this.btnSave.Click += new System.Windows.RoutedEventHandler(this.btnSave_Click);

            #line default
            #line hidden
                return;

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

            #line 38 "..\..\Edit Club.xaml"
                this.btnAddImage.Click += new System.Windows.RoutedEventHandler(this.btnAddImage_Click);

            #line default
            #line hidden
                return;

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

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

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

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

            case 12:

            #line 44 "..\..\Edit Club.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.ButtonBack_Click);

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

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

            case 3:
                this.picRect = ((System.Windows.Shapes.Rectangle)(target));
                return;

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

            case 5:
                this.bar1 = ((System.Windows.Shapes.Rectangle)(target));
                return;

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

            #line 42 "..\..\DashForm.xaml"
                this.logsBtn.Click += new System.Windows.RoutedEventHandler(this.logsBtn1_Click);

            #line default
            #line hidden
                return;

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

            #line 76 "..\..\DashForm.xaml"
                this.memberBtn.Click += new System.Windows.RoutedEventHandler(this.logsBtn1_Copy_Click);

            #line default
            #line hidden
                return;

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

            #line 110 "..\..\DashForm.xaml"
                this.classBtn.Click += new System.Windows.RoutedEventHandler(this.logsBtn1_Copy1_Click);

            #line default
            #line hidden
                return;

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

            #line 144 "..\..\DashForm.xaml"
                this.coachBtn.Click += new System.Windows.RoutedEventHandler(this.logsBtn1_Copy2_Click);

            #line default
            #line hidden
                return;

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

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

            #line 212 "..\..\DashForm.xaml"
                this.calcBtn.Click += new System.Windows.RoutedEventHandler(this.logsBtn1_Copy4_Click);

            #line default
            #line hidden
                return;

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

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

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

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

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

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

            #line 421 "..\..\DashForm.xaml"
                this.settingBtn.Click += new System.Windows.RoutedEventHandler(this.button_Copy3_Click);

            #line default
            #line hidden
                return;

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

            case 19:
                this.notesBox = ((System.Windows.Controls.RichTextBox)(target));
                return;

            case 20:
                this.todoBox = ((System.Windows.Controls.RichTextBox)(target));
                return;

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

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

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

            case 24:
                this.gridSplitter = ((System.Windows.Controls.GridSplitter)(target));
                return;

            case 25:
                this.listBox = ((System.Windows.Controls.ListBox)(target));
                return;

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

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

            case 28:
                this.slider3 = ((System.Windows.Controls.Slider)(target));
                return;

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

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

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

            case 32:
                this.slider = ((System.Windows.Controls.Slider)(target));
                return;

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

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

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

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

            case 37:
                this.menCount = ((System.Windows.Controls.ProgressBar)(target));
                return;

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

            case 39:
                this.womenCount = ((System.Windows.Controls.ProgressBar)(target));
                return;

            case 40:
                this.totalCount = ((System.Windows.Controls.ProgressBar)(target));
                return;

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

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

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

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

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

            case 46:
                this.label_Copy3 = ((System.Windows.Controls.Label)(target));
                return;
            }
            this._contentLoaded = true;
        }
Exemple #40
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.GameMessages = ((System.Windows.Controls.RichTextBox)(target));
                return;

            case 3:

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

            #line default
            #line hidden
                return;

            case 4:

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

            #line default
            #line hidden
                return;

            case 5:

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

            #line default
            #line hidden
                return;

            case 6:

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

            #line default
            #line hidden
                return;

            case 7:

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

            #line default
            #line hidden
                return;

            case 8:

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

            #line default
            #line hidden
                return;

            case 9:

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

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

            #line 8 "..\..\MainWindow.xaml"
                ((Notepad.MainWindow)(target)).MouseLeftButtonDown += new System.Windows.Input.MouseButtonEventHandler(this.Window_MouseLeftButtonDown);

            #line default
            #line hidden
                return;

            case 2:

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

            #line default
            #line hidden
                return;

            case 3:

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

            #line default
            #line hidden
                return;

            case 4:

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

            #line default
            #line hidden
                return;

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

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

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

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

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

            #line 122 "..\..\MainWindow.xaml"
                this.cmbFontFamilty.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.cmbFontFamilty_SelectionChanged);

            #line default
            #line hidden
                return;

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

            #line 129 "..\..\MainWindow.xaml"
                this.cmbFontSize.AddHandler(System.Windows.Controls.Primitives.TextBoxBase.TextChangedEvent, new System.Windows.Controls.TextChangedEventHandler(this.cmbFontSize_TextChanged));

            #line default
            #line hidden
                return;

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

            #line 139 "..\..\MainWindow.xaml"
                this.btnColor.Click += new System.Windows.RoutedEventHandler(this.btnColor_Click);

            #line default
            #line hidden
                return;

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

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

            #line default
            #line hidden
                return;

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

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

            #line default
            #line hidden
                return;

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

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

            case 16:
                this.rtbEditor = ((System.Windows.Controls.RichTextBox)(target));

            #line 178 "..\..\MainWindow.xaml"
                this.rtbEditor.KeyDown += new System.Windows.Input.KeyEventHandler(this.rtbEditor_KeyDown);

            #line default
            #line hidden

            #line 178 "..\..\MainWindow.xaml"
                this.rtbEditor.SelectionChanged += new System.Windows.RoutedEventHandler(this.rtbEditor_SelectionChanged);

            #line default
            #line hidden
                return;

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

            #line 181 "..\..\MainWindow.xaml"
                this.buttonClose.Click += new System.Windows.RoutedEventHandler(this.buttonClose_Click);

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

            #line 32 "..\..\..\UserControl\ucCETuple.xaml"
                this.btnClr.Click += new System.Windows.RoutedEventHandler(this.btnClr_Click);

            #line default
            #line hidden
                return;

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

            #line 39 "..\..\..\UserControl\ucCETuple.xaml"
                this.btnView.Click += new System.Windows.RoutedEventHandler(this.btnView_Click);

            #line default
            #line hidden
                return;

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

            case 4:
                this.chkPri = ((System.Windows.Controls.CheckBox)(target));
                return;

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

            case 6:
                this.rtbxCellContent = ((System.Windows.Controls.RichTextBox)(target));
                return;

            case 7:
                this.dtgCellContent = ((System.Windows.Controls.DataGrid)(target));
                return;

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

            #line 106 "..\..\..\UserControl\ucCETuple.xaml"
                this.btnCommitEdit.Click += new System.Windows.RoutedEventHandler(this.btnCommitEdit_Click);

            #line default
            #line hidden
                return;

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

            case 10:
                this.txtMessage = ((System.Windows.Controls.TextBlock)(target));
                return;
            }
            this._contentLoaded = true;
        }
Exemple #43
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.stackPanel1 = ((System.Windows.Controls.Grid)(target));
                return;

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

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

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

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

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

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

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

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

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

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

            case 12:
                this.rawdata_txt = ((System.Windows.Controls.RichTextBox)(target));
                return;

            case 13:
                this.richTextBox1 = ((System.Windows.Controls.RichTextBox)(target));
                return;

            case 14:
                this.chart1 = ((System.Windows.Controls.DataVisualization.Charting.Chart)(target));
                return;
            }
            this._contentLoaded = true;
        }
Exemple #44
0
        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.PeopleListView = ((System.Windows.Controls.ListView)(target));

            #line 37 "..\..\..\TreeEditor.xaml"
                this.PeopleListView.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.listView1_SelectionChanged);

            #line default
            #line hidden
                return;

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

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

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

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

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

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

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

            case 10:
                this.BornDateTextBlock = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 11:
                this.BornDateCalendar = ((System.Windows.Controls.Calendar)(target));
                return;

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

            case 13:
                this.DeathDateCalendar = ((System.Windows.Controls.Calendar)(target));
                return;

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

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

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

            case 17:
                this.NotesRichTextBox1 = ((System.Windows.Controls.RichTextBox)(target));
                return;

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

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

            case 20:
                this.SaveButton = ((System.Windows.Controls.Button)(target));
                return;
            }
            this._contentLoaded = true;
        }
Exemple #45
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.window = ((main.MainWindow)(target));

            #line 7 "..\..\MainWindow.xaml"
                this.window.MouseLeftButtonDown += new System.Windows.Input.MouseButtonEventHandler(this.window_MouseLeftButtonDown);

            #line default
            #line hidden
                return;

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

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

            #line default
            #line hidden
                return;

            case 3:

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

            #line default
            #line hidden
                return;

            case 4:

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

            #line default
            #line hidden
                return;

            case 5:

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

            #line default
            #line hidden
                return;

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

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

            #line 42 "..\..\MainWindow.xaml"
                this.listView_first.MouseDoubleClick += new System.Windows.Input.MouseButtonEventHandler(this.ListView2_MouseDoubleClick);

            #line default
            #line hidden
                return;

            case 8:

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

            #line default
            #line hidden
                return;

            case 9:

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

            #line default
            #line hidden
                return;

            case 10:

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

            #line default
            #line hidden
                return;

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

            #line 69 "..\..\MainWindow.xaml"
                this.SQXZWZ.Click += new System.Windows.RoutedEventHandler(this.Button_Click_15);

            #line default
            #line hidden
                return;

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

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

            #line default
            #line hidden
                return;

            case 13:

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

            #line default
            #line hidden
                return;

            case 14:

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

            #line default
            #line hidden
                return;

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

            #line 73 "..\..\MainWindow.xaml"
                this.DCWZ.Click += new System.Windows.RoutedEventHandler(this.Button_Click_28);

            #line default
            #line hidden
                return;

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

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

            #line default
            #line hidden
                return;

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

            #line 75 "..\..\MainWindow.xaml"
                this.BH2.Click += new System.Windows.RoutedEventHandler(this.Button_Click_17);

            #line default
            #line hidden
                return;

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

            #line 76 "..\..\MainWindow.xaml"
                this.TY2.Click += new System.Windows.RoutedEventHandler(this.Button_Click_18);

            #line default
            #line hidden
                return;

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

            #line 77 "..\..\MainWindow.xaml"
                this.GHXZWZ.Click += new System.Windows.RoutedEventHandler(this.Button_Click_21);

            #line default
            #line hidden
                return;

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

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

            #line 79 "..\..\MainWindow.xaml"
                this.XGWZ.Click += new System.Windows.RoutedEventHandler(this.Button_Click_23);

            #line default
            #line hidden
                return;

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

            #line 80 "..\..\MainWindow.xaml"
                this.SCWZ.Click += new System.Windows.RoutedEventHandler(this.Button_Click_24);

            #line default
            #line hidden
                return;

            case 23:
                this.dataGrid_Demo2 = ((System.Windows.Controls.DataGrid)(target));

            #line 89 "..\..\MainWindow.xaml"
                this.dataGrid_Demo2.PreviewMouseLeftButtonUp += new System.Windows.Input.MouseButtonEventHandler(this.dataGrid2_PreviewMouseLeftButtonUp);

            #line default
            #line hidden
                return;

            case 24:
                this.CheckBox_AllSelect2 = ((System.Windows.Controls.CheckBox)(target));

            #line 122 "..\..\MainWindow.xaml"
                this.CheckBox_AllSelect2.Click += new System.Windows.RoutedEventHandler(this.CheckBox2_All_SelectClick);

            #line default
            #line hidden
                return;

            case 26:
                this.richTextBoxMain = ((System.Windows.Controls.RichTextBox)(target));
                return;

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

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

            #line 169 "..\..\MainWindow.xaml"
                this.KQQHY.Click += new System.Windows.RoutedEventHandler(this.buttonStart2_Click);

            #line default
            #line hidden
                return;

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

            #line 170 "..\..\MainWindow.xaml"
                this.JSQHY.Click += new System.Windows.RoutedEventHandler(this.buttonEnd2_Click);

            #line default
            #line hidden
                return;

            case 30:
                this.ListBoxSend = ((System.Windows.Controls.ListBox)(target));
                return;

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

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

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

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

            #line default
            #line hidden
                return;

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

            #line 175 "..\..\MainWindow.xaml"
                this.buttonEnd3.Click += new System.Windows.RoutedEventHandler(this.buttonEnd3_Click);

            #line default
            #line hidden
                return;

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

            #line 176 "..\..\MainWindow.xaml"
                this.filesend.Click += new System.Windows.RoutedEventHandler(this.button1_file);

            #line default
            #line hidden
                return;

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

            #line 177 "..\..\MainWindow.xaml"
                this.buttonSend.Click += new System.Windows.RoutedEventHandler(this.buttonSend_Click);

            #line default
            #line hidden
                return;

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

            #line 178 "..\..\MainWindow.xaml"
                this.buttonSend2.Click += new System.Windows.RoutedEventHandler(this.buttonSend2_Click);

            #line default
            #line hidden
                return;

            case 38:
                this.SF = ((System.Windows.Controls.RadioButton)(target));
                return;

            case 39:
                this.QF = ((System.Windows.Controls.RadioButton)(target));
                return;

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

            case 41:

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

            #line default
            #line hidden
                return;

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

            #line 198 "..\..\MainWindow.xaml"
                this.CKSQ2.Click += new System.Windows.RoutedEventHandler(this.Button_Click_2);

            #line default
            #line hidden
                return;

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

            #line 199 "..\..\MainWindow.xaml"
                this.TJZJ.Click += new System.Windows.RoutedEventHandler(this.Button_Click_13);

            #line default
            #line hidden
                return;

            case 44:

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

            #line default
            #line hidden
                return;

            case 45:
                this.TIANJZJ = ((System.Windows.Controls.Button)(target));

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

            #line default
            #line hidden
                return;

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

            #line 202 "..\..\MainWindow.xaml"
                this.bh.Click += new System.Windows.RoutedEventHandler(this.Button_Click_3);

            #line default
            #line hidden
                return;

            case 47:
                this.ty = ((System.Windows.Controls.Button)(target));

            #line 203 "..\..\MainWindow.xaml"
                this.ty.Click += new System.Windows.RoutedEventHandler(this.Button_Click_4);

            #line default
            #line hidden
                return;

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

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

            #line 205 "..\..\MainWindow.xaml"
                this.sc.Click += new System.Windows.RoutedEventHandler(this.Button_Click_7);

            #line default
            #line hidden
                return;

            case 50:
                this.listView_4 = ((System.Windows.Controls.ListView)(target));

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

            #line default
            #line hidden
                return;

            case 51:
                this.senduser = ((System.Windows.Controls.TextBox)(target));
                return;

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

            case 53:

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

            #line default
            #line hidden
                return;

            case 54:

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

            #line default
            #line hidden
                return;

            case 55:
                this.dataGrid_Demo = ((System.Windows.Controls.DataGrid)(target));

            #line 244 "..\..\MainWindow.xaml"
                this.dataGrid_Demo.PreviewMouseLeftButtonUp += new System.Windows.Input.MouseButtonEventHandler(this.dataGrid_PreviewMouseLeftButtonUp);

            #line default
            #line hidden
                return;

            case 56:
                this.CheckBox_AllSelect = ((System.Windows.Controls.CheckBox)(target));

            #line 277 "..\..\MainWindow.xaml"
                this.CheckBox_AllSelect.Click += new System.Windows.RoutedEventHandler(this.CheckBox_All_SelectClick);

            #line default
            #line hidden
                return;

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

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

            #line 317 "..\..\MainWindow.xaml"
                this.B_search.Click += new System.Windows.RoutedEventHandler(this.B_search_Click);

            #line default
            #line hidden
                return;

            case 60:
                this.B_look = ((System.Windows.Controls.Button)(target));

            #line 318 "..\..\MainWindow.xaml"
                this.B_look.Click += new System.Windows.RoutedEventHandler(this.B_look_Click);

            #line default
            #line hidden
                return;

            case 61:
                this.error = ((System.Windows.Controls.TextBlock)(target));
                return;

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

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

            #line 321 "..\..\MainWindow.xaml"
                this.listView.MouseDoubleClick += new System.Windows.Input.MouseButtonEventHandler(this.ListView_MouseDoubleClick);

            #line default
            #line hidden
                return;

            case 64:
                this.GJ = ((WMControl.WMTabItem)(target));
                return;

            case 65:

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

            #line default
            #line hidden
                return;

            case 66:

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

            #line default
            #line hidden
                return;

            case 67:
                this.WPF = ((System.Windows.Documents.Hyperlink)(target));

            #line 347 "..\..\MainWindow.xaml"
                this.WPF.Click += new System.Windows.RoutedEventHandler(this.TB_refister);

            #line default
            #line hidden
                return;

            case 68:

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

            #line default
            #line hidden
                return;

            case 69:
                this.test = ((System.Windows.Controls.TextBox)(target));
                return;

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

            case 71:

            #line 358 "..\..\MainWindow.xaml"
                ((WMControl.WMButton)(target)).Click += new System.Windows.RoutedEventHandler(this.WMButton_Click_4);

            #line default
            #line hidden
                return;

            case 72:

            #line 370 "..\..\MainWindow.xaml"
                ((WMControl.WMButton)(target)).Click += new System.Windows.RoutedEventHandler(this.WMButton_Click_2);

            #line default
            #line hidden
                return;

            case 73:
                this.information = ((System.Windows.Controls.RichTextBox)(target));
                return;
            }
            this._contentLoaded = true;
        }
Exemple #46
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:

#line 11 "..\..\..\MainWindow.xaml"
                ((System.Windows.Controls.Border)(target)).MouseDown += new System.Windows.Input.MouseButtonEventHandler(this.Move_Window);

#line default
#line hidden
                return;

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

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

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

#line default
#line hidden
                return;

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

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

            case 6:

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

#line default
#line hidden
                return;

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

            case 8:

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

#line default
#line hidden
                return;

            case 9:

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

#line default
#line hidden
                return;

            case 10:

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

#line default
#line hidden
                return;

            case 11:
                this.checkBox1_Copy = ((System.Windows.Controls.CheckBox)(target));
                return;

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

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

#line 54 "..\..\..\MainWindow.xaml"
                this.comboBox_Copy.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.comboBox_Copy_SelectionChanged);

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

            #line 6 "..\..\D2ChatWindow.xaml"
                ((SChat.D2ChatWindow)(target)).Closed += new System.EventHandler(this.Window_Closed);

            #line default
            #line hidden
                return;

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

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

            case 4:
                this.lstUsers = ((System.Windows.Controls.ListBox)(target));

            #line 13 "..\..\D2ChatWindow.xaml"
                this.lstUsers.PreviewMouseLeftButtonUp += new System.Windows.Input.MouseButtonEventHandler(this.lstUsers_PreviewMouseLeftButtonUp);

            #line default
            #line hidden
                return;

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

            case 6:
                this.rtbOutput = ((System.Windows.Controls.RichTextBox)(target));
                return;

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

            #line 61 "..\..\D2ChatWindow.xaml"
                this.txtChat.TextChanged += new System.Windows.Controls.TextChangedEventHandler(this.txtChat_TextChanged);

            #line default
            #line hidden
                return;

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

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

            #line 67 "..\..\D2ChatWindow.xaml"
                this.btnSend.PreviewMouseDown += new System.Windows.Input.MouseButtonEventHandler(this.btnSend_PreviewMouseDown);

            #line default
            #line hidden

            #line 67 "..\..\D2ChatWindow.xaml"
                this.btnSend.MouseLeave += new System.Windows.Input.MouseEventHandler(this.btnSend_MouseLeave);

            #line default
            #line hidden

            #line 67 "..\..\D2ChatWindow.xaml"
                this.btnSend.MouseUp += new System.Windows.Input.MouseButtonEventHandler(this.btnSend_Click);

            #line default
            #line hidden
                return;

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

            #line 68 "..\..\D2ChatWindow.xaml"
                this.lblBtnSend.PreviewMouseDown += new System.Windows.Input.MouseButtonEventHandler(this.btnSend_PreviewMouseDown);

            #line default
            #line hidden

            #line 68 "..\..\D2ChatWindow.xaml"
                this.lblBtnSend.MouseLeave += new System.Windows.Input.MouseEventHandler(this.btnSend_MouseLeave);

            #line default
            #line hidden

            #line 68 "..\..\D2ChatWindow.xaml"
                this.lblBtnSend.MouseUp += new System.Windows.Input.MouseButtonEventHandler(this.btnSend_Click);

            #line default
            #line hidden
                return;

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

            #line 69 "..\..\D2ChatWindow.xaml"
                this.btnQuit.PreviewMouseDown += new System.Windows.Input.MouseButtonEventHandler(this.btnQuit_PreviewMouseDown);

            #line default
            #line hidden

            #line 69 "..\..\D2ChatWindow.xaml"
                this.btnQuit.MouseLeave += new System.Windows.Input.MouseEventHandler(this.btnQuit_MouseLeave);

            #line default
            #line hidden

            #line 69 "..\..\D2ChatWindow.xaml"
                this.btnQuit.MouseUp += new System.Windows.Input.MouseButtonEventHandler(this.btnQuit_Click);

            #line default
            #line hidden
                return;

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

            #line 70 "..\..\D2ChatWindow.xaml"
                this.lblBtnQuit.PreviewMouseDown += new System.Windows.Input.MouseButtonEventHandler(this.btnQuit_PreviewMouseDown);

            #line default
            #line hidden

            #line 70 "..\..\D2ChatWindow.xaml"
                this.lblBtnQuit.MouseLeave += new System.Windows.Input.MouseEventHandler(this.btnQuit_MouseLeave);

            #line default
            #line hidden

            #line 70 "..\..\D2ChatWindow.xaml"
                this.lblBtnQuit.MouseUp += new System.Windows.Input.MouseButtonEventHandler(this.btnQuit_Click);

            #line default
            #line hidden
                return;

            case 13:
                this.btnWhis = ((System.Windows.Controls.Image)(target));

            #line 71 "..\..\D2ChatWindow.xaml"
                this.btnWhis.PreviewMouseDown += new System.Windows.Input.MouseButtonEventHandler(this.btnWhis_PreviewMouseDown);

            #line default
            #line hidden

            #line 71 "..\..\D2ChatWindow.xaml"
                this.btnWhis.MouseLeave += new System.Windows.Input.MouseEventHandler(this.btnWhis_MouseLeave);

            #line default
            #line hidden

            #line 71 "..\..\D2ChatWindow.xaml"
                this.btnWhis.MouseUp += new System.Windows.Input.MouseButtonEventHandler(this.btnWhis_Click);

            #line default
            #line hidden
                return;

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

            #line 72 "..\..\D2ChatWindow.xaml"
                this.lblBtnWhis.PreviewMouseDown += new System.Windows.Input.MouseButtonEventHandler(this.btnWhis_PreviewMouseDown);

            #line default
            #line hidden

            #line 72 "..\..\D2ChatWindow.xaml"
                this.lblBtnWhis.MouseLeave += new System.Windows.Input.MouseEventHandler(this.btnWhis_MouseLeave);

            #line default
            #line hidden

            #line 72 "..\..\D2ChatWindow.xaml"
                this.lblBtnWhis.MouseUp += new System.Windows.Input.MouseButtonEventHandler(this.btnWhis_Click);

            #line default
            #line hidden
                return;

            case 15:
                this.menuPanel = ((System.Windows.Controls.ContentControl)(target));
                return;

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

            #line 74 "..\..\D2ChatWindow.xaml"
                this.btnSettings.PreviewMouseDown += new System.Windows.Input.MouseButtonEventHandler(this.btnSettings_PreviewMouseDown);

            #line default
            #line hidden

            #line 74 "..\..\D2ChatWindow.xaml"
                this.btnSettings.MouseLeave += new System.Windows.Input.MouseEventHandler(this.btnSettings_MouseLeave);

            #line default
            #line hidden

            #line 74 "..\..\D2ChatWindow.xaml"
                this.btnSettings.MouseUp += new System.Windows.Input.MouseButtonEventHandler(this.btnSettings_Click);

            #line default
            #line hidden
                return;

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

            #line 75 "..\..\D2ChatWindow.xaml"
                this.lblBtnSettings.PreviewMouseDown += new System.Windows.Input.MouseButtonEventHandler(this.btnSettings_PreviewMouseDown);

            #line default
            #line hidden

            #line 75 "..\..\D2ChatWindow.xaml"
                this.lblBtnSettings.MouseLeave += new System.Windows.Input.MouseEventHandler(this.btnSettings_MouseLeave);

            #line default
            #line hidden

            #line 75 "..\..\D2ChatWindow.xaml"
                this.lblBtnSettings.MouseUp += new System.Windows.Input.MouseButtonEventHandler(this.btnSettings_Click);

            #line default
            #line hidden
                return;

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

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

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

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

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

            #line 80 "..\..\D2ChatWindow.xaml"
                this.btnGem.PreviewMouseDown += new System.Windows.Input.MouseButtonEventHandler(this.btnGem_PreviewMouseDown);

            #line default
            #line hidden

            #line 80 "..\..\D2ChatWindow.xaml"
                this.btnGem.MouseLeave += new System.Windows.Input.MouseEventHandler(this.btnGem_MouseLeave);

            #line default
            #line hidden

            #line 80 "..\..\D2ChatWindow.xaml"
                this.btnGem.MouseUp += new System.Windows.Input.MouseButtonEventHandler(this.btnGem_Click);

            #line default
            #line hidden
                return;

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

            #line 81 "..\..\D2ChatWindow.xaml"
                this.btnChar.PreviewMouseDown += new System.Windows.Input.MouseButtonEventHandler(this.btnChar_PreviewMouseDown);

            #line default
            #line hidden

            #line 81 "..\..\D2ChatWindow.xaml"
                this.btnChar.MouseUp += new System.Windows.Input.MouseButtonEventHandler(this.btnChar_Click);

            #line default
            #line hidden

            #line 81 "..\..\D2ChatWindow.xaml"
                this.btnChar.MouseLeave += new System.Windows.Input.MouseEventHandler(this.btnChar_MouseLeave);

            #line default
            #line hidden
                return;

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

            #line 82 "..\..\D2ChatWindow.xaml"
                this.lblBtnChar.PreviewMouseDown += new System.Windows.Input.MouseButtonEventHandler(this.btnChar_PreviewMouseDown);

            #line default
            #line hidden

            #line 82 "..\..\D2ChatWindow.xaml"
                this.lblBtnChar.MouseUp += new System.Windows.Input.MouseButtonEventHandler(this.btnChar_Click);

            #line default
            #line hidden

            #line 82 "..\..\D2ChatWindow.xaml"
                this.lblBtnChar.MouseLeave += new System.Windows.Input.MouseEventHandler(this.btnChar_MouseLeave);

            #line default
            #line hidden
                return;

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

            #line 83 "..\..\D2ChatWindow.xaml"
                this.btnSquelch.PreviewMouseDown += new System.Windows.Input.MouseButtonEventHandler(this.btnSquelch_PreviewMouseDown);

            #line default
            #line hidden

            #line 83 "..\..\D2ChatWindow.xaml"
                this.btnSquelch.MouseLeave += new System.Windows.Input.MouseEventHandler(this.btnSquelch_MouseLeave);

            #line default
            #line hidden

            #line 83 "..\..\D2ChatWindow.xaml"
                this.btnSquelch.MouseUp += new System.Windows.Input.MouseButtonEventHandler(this.btnSquelch_Click);

            #line default
            #line hidden
                return;

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

            #line 84 "..\..\D2ChatWindow.xaml"
                this.lblBtnSquelch.PreviewMouseDown += new System.Windows.Input.MouseButtonEventHandler(this.btnSquelch_PreviewMouseDown);

            #line default
            #line hidden

            #line 84 "..\..\D2ChatWindow.xaml"
                this.lblBtnSquelch.MouseLeave += new System.Windows.Input.MouseEventHandler(this.btnSquelch_MouseLeave);

            #line default
            #line hidden

            #line 84 "..\..\D2ChatWindow.xaml"
                this.lblBtnSquelch.MouseUp += new System.Windows.Input.MouseButtonEventHandler(this.btnSquelch_Click);

            #line default
            #line hidden
                return;

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

            #line 85 "..\..\D2ChatWindow.xaml"
                this.btnUnsq.PreviewMouseDown += new System.Windows.Input.MouseButtonEventHandler(this.btnUnsq_PreviewMouseDown);

            #line default
            #line hidden

            #line 85 "..\..\D2ChatWindow.xaml"
                this.btnUnsq.MouseLeave += new System.Windows.Input.MouseEventHandler(this.btnUnsq_MouseLeave);

            #line default
            #line hidden

            #line 85 "..\..\D2ChatWindow.xaml"
                this.btnUnsq.MouseUp += new System.Windows.Input.MouseButtonEventHandler(this.btnUnsq_Click);

            #line default
            #line hidden
                return;

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

            #line 86 "..\..\D2ChatWindow.xaml"
                this.lblBtnUnsq.PreviewMouseDown += new System.Windows.Input.MouseButtonEventHandler(this.btnUnsq_PreviewMouseDown);

            #line default
            #line hidden

            #line 86 "..\..\D2ChatWindow.xaml"
                this.lblBtnUnsq.MouseLeave += new System.Windows.Input.MouseEventHandler(this.btnUnsq_MouseLeave);

            #line default
            #line hidden

            #line 86 "..\..\D2ChatWindow.xaml"
                this.lblBtnUnsq.MouseUp += new System.Windows.Input.MouseButtonEventHandler(this.btnUnsq_Click);

            #line default
            #line hidden
                return;

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

            #line 87 "..\..\D2ChatWindow.xaml"
                this.btnEmote.PreviewMouseDown += new System.Windows.Input.MouseButtonEventHandler(this.btnEmote_PreviewMouseDown);

            #line default
            #line hidden

            #line 87 "..\..\D2ChatWindow.xaml"
                this.btnEmote.MouseLeave += new System.Windows.Input.MouseEventHandler(this.btnEmote_MouseLeave);

            #line default
            #line hidden

            #line 87 "..\..\D2ChatWindow.xaml"
                this.btnEmote.MouseUp += new System.Windows.Input.MouseButtonEventHandler(this.btnEmote_Click);

            #line default
            #line hidden
                return;

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

            #line 88 "..\..\D2ChatWindow.xaml"
                this.lblBtnEmote.PreviewMouseDown += new System.Windows.Input.MouseButtonEventHandler(this.btnEmote_PreviewMouseDown);

            #line default
            #line hidden

            #line 88 "..\..\D2ChatWindow.xaml"
                this.lblBtnEmote.MouseLeave += new System.Windows.Input.MouseEventHandler(this.btnEmote_MouseLeave);

            #line default
            #line hidden

            #line 88 "..\..\D2ChatWindow.xaml"
                this.lblBtnEmote.MouseUp += new System.Windows.Input.MouseButtonEventHandler(this.btnEmote_Click);

            #line default
            #line hidden
                return;

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

            #line 89 "..\..\D2ChatWindow.xaml"
                this.btnSound.PreviewMouseDown += new System.Windows.Input.MouseButtonEventHandler(this.btnSound_PreviewMouseDown);

            #line default
            #line hidden

            #line 89 "..\..\D2ChatWindow.xaml"
                this.btnSound.MouseUp += new System.Windows.Input.MouseButtonEventHandler(this.btnSound_Click);

            #line default
            #line hidden

            #line 89 "..\..\D2ChatWindow.xaml"
                this.btnSound.MouseLeave += new System.Windows.Input.MouseEventHandler(this.btnSound_MouseLeave);

            #line default
            #line hidden
                return;

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

            #line 90 "..\..\D2ChatWindow.xaml"
                this.lblBtnSound.PreviewMouseDown += new System.Windows.Input.MouseButtonEventHandler(this.btnSound_PreviewMouseDown);

            #line default
            #line hidden

            #line 90 "..\..\D2ChatWindow.xaml"
                this.lblBtnSound.MouseLeave += new System.Windows.Input.MouseEventHandler(this.btnSound_MouseLeave);

            #line default
            #line hidden

            #line 90 "..\..\D2ChatWindow.xaml"
                this.lblBtnSound.MouseUp += new System.Windows.Input.MouseButtonEventHandler(this.btnSound_Click);

            #line default
            #line hidden
                return;

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

            #line 91 "..\..\D2ChatWindow.xaml"
                this.btnArrowLeft.PreviewMouseDown += new System.Windows.Input.MouseButtonEventHandler(this.arrowLeft_PreviewMouseDown);

            #line default
            #line hidden

            #line 91 "..\..\D2ChatWindow.xaml"
                this.btnArrowLeft.MouseLeave += new System.Windows.Input.MouseEventHandler(this.arrowLeft_MouseLeave);

            #line default
            #line hidden

            #line 91 "..\..\D2ChatWindow.xaml"
                this.btnArrowLeft.MouseUp += new System.Windows.Input.MouseButtonEventHandler(this.arrowLeft_Click);

            #line default
            #line hidden
                return;

            case 34:
                this.btnArrowRight = ((System.Windows.Controls.Image)(target));

            #line 92 "..\..\D2ChatWindow.xaml"
                this.btnArrowRight.PreviewMouseDown += new System.Windows.Input.MouseButtonEventHandler(this.arrowRight_PreviewMouseDown);

            #line default
            #line hidden

            #line 92 "..\..\D2ChatWindow.xaml"
                this.btnArrowRight.MouseLeave += new System.Windows.Input.MouseEventHandler(this.arrowRight_MouseLeave);

            #line default
            #line hidden

            #line 92 "..\..\D2ChatWindow.xaml"
                this.btnArrowRight.MouseUp += new System.Windows.Input.MouseButtonEventHandler(this.arrowRight_Click);

            #line default
            #line hidden
                return;

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

            #line 93 "..\..\D2ChatWindow.xaml"
                this.btnArrowLeftBig.PreviewMouseDown += new System.Windows.Input.MouseButtonEventHandler(this.arrowLeftBig_PreviewMouseDown);

            #line default
            #line hidden

            #line 93 "..\..\D2ChatWindow.xaml"
                this.btnArrowLeftBig.MouseLeave += new System.Windows.Input.MouseEventHandler(this.arrowLeftBig_MouseLeave);

            #line default
            #line hidden

            #line 93 "..\..\D2ChatWindow.xaml"
                this.btnArrowLeftBig.MouseUp += new System.Windows.Input.MouseButtonEventHandler(this.arrowLeftBig_Click);

            #line default
            #line hidden
                return;

            case 36:
                this.btnArrowRightBig = ((System.Windows.Controls.Image)(target));

            #line 94 "..\..\D2ChatWindow.xaml"
                this.btnArrowRightBig.PreviewMouseDown += new System.Windows.Input.MouseButtonEventHandler(this.arrowRightBig_PreviewMouseDown);

            #line default
            #line hidden

            #line 94 "..\..\D2ChatWindow.xaml"
                this.btnArrowRightBig.MouseLeave += new System.Windows.Input.MouseEventHandler(this.arrowRightBig_MouseLeave);

            #line default
            #line hidden

            #line 94 "..\..\D2ChatWindow.xaml"
                this.btnArrowRightBig.MouseUp += new System.Windows.Input.MouseButtonEventHandler(this.arrowRightBig_Click);

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

            #line 5 "..\..\..\..\Search\ApartmanEdariSAdvanced.xaml"
                ((NeginProject.Search.ApartmanEdariSAdvanced)(target)).KeyUp += new System.Windows.Input.KeyEventHandler(this.Window_KeyUp);

            #line default
            #line hidden
                return;

            case 2:
                this.MaskedDate = ((NeginProject.MyMaskedTextBox)(target));
                return;

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

            #line 120 "..\..\..\..\Search\ApartmanEdariSAdvanced.xaml"
                this.textBox20.TextChanged += new System.Windows.Controls.TextChangedEventHandler(this.textBox20_TextChanged);

            #line default
            #line hidden
                return;

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

            #line 122 "..\..\..\..\Search\ApartmanEdariSAdvanced.xaml"
                this.textBox21.TextChanged += new System.Windows.Controls.TextChangedEventHandler(this.textBox21_TextChanged);

            #line default
            #line hidden
                return;

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

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

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

            case 29:
                this.checkBox4 = ((System.Windows.Controls.CheckBox)(target));
                return;

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

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

            case 32:
                this.checkBox7 = ((System.Windows.Controls.CheckBox)(target));
                return;

            case 33:
                this.checkBox8 = ((System.Windows.Controls.CheckBox)(target));
                return;

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

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

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

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

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

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

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

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

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

            case 43:
                this.richTextBox1 = ((System.Windows.Controls.RichTextBox)(target));
                return;

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

            #line 192 "..\..\..\..\Search\ApartmanEdariSAdvanced.xaml"
                this.search_button.Click += new System.Windows.RoutedEventHandler(this.search_button_Click);

            #line default
            #line hidden
                return;

            case 45:
                this.back_button = ((System.Windows.Controls.Button)(target));

            #line 195 "..\..\..\..\Search\ApartmanEdariSAdvanced.xaml"
                this.back_button.Click += new System.Windows.RoutedEventHandler(this.back_button_Click);

            #line default
            #line hidden
                return;

            case 46:
                this.Show3D_checkBox = ((System.Windows.Controls.CheckBox)(target));
                return;
            }
            this._contentLoaded = true;
        }
Exemple #49
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:

            #line 11 "..\..\MainWindow.xaml"
                ((lab4_5.MainWindow)(target)).Closed += new System.EventHandler(this.Window_Closed);

            #line default
            #line hidden
                return;

            case 2:

            #line 13 "..\..\MainWindow.xaml"
                ((System.Windows.Input.CommandBinding)(target)).CanExecute += new System.Windows.Input.CanExecuteRoutedEventHandler(this.MenuItem_Click_2);

            #line default
            #line hidden
                return;

            case 3:

            #line 14 "..\..\MainWindow.xaml"
                ((System.Windows.Input.CommandBinding)(target)).CanExecute += new System.Windows.Input.CanExecuteRoutedEventHandler(this.MenuItem_Click_1);

            #line default
            #line hidden
                return;

            case 4:

            #line 15 "..\..\MainWindow.xaml"
                ((System.Windows.Input.CommandBinding)(target)).CanExecute += new System.Windows.Input.CanExecuteRoutedEventHandler(this.MenuItem_Click);

            #line default
            #line hidden
                return;

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

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

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

            #line default
            #line hidden
                return;

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

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

            #line default
            #line hidden
                return;

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

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

            #line default
            #line hidden
                return;

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

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

            #line 46 "..\..\MainWindow.xaml"
                this.font.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.font_chng);

            #line default
            #line hidden
                return;

            case 11:
                this.wid = ((System.Windows.Controls.Slider)(target));

            #line 52 "..\..\MainWindow.xaml"
                this.wid.ValueChanged += new System.Windows.RoutedPropertyChangedEventHandler <double>(this.slider1_ValueChanged);

            #line default
            #line hidden
                return;

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

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

            #line 54 "..\..\MainWindow.xaml"
                this.fontcolor.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.fontcolor_SelectionChanged);

            #line default
            #line hidden
                return;

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

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

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

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

            case 18:
                this.ital = ((System.Windows.Controls.Primitives.ToggleButton)(target));

            #line 60 "..\..\MainWindow.xaml"
                this.ital.Checked += new System.Windows.RoutedEventHandler(this.ToggleButton_Checked);

            #line default
            #line hidden

            #line 60 "..\..\MainWindow.xaml"
                this.ital.Unchecked += new System.Windows.RoutedEventHandler(this.ToggleButton_Unchecked);

            #line default
            #line hidden
                return;

            case 19:
                this.bol = ((System.Windows.Controls.Primitives.ToggleButton)(target));

            #line 61 "..\..\MainWindow.xaml"
                this.bol.Checked += new System.Windows.RoutedEventHandler(this.ToggleButton_Checked_1);

            #line default
            #line hidden

            #line 61 "..\..\MainWindow.xaml"
                this.bol.Unchecked += new System.Windows.RoutedEventHandler(this.ToggleButton_Unchecked_1);

            #line default
            #line hidden
                return;

            case 20:
                this.und = ((System.Windows.Controls.Primitives.ToggleButton)(target));

            #line 62 "..\..\MainWindow.xaml"
                this.und.Checked += new System.Windows.RoutedEventHandler(this.ToggleButton_Checked_2);

            #line default
            #line hidden

            #line 62 "..\..\MainWindow.xaml"
                this.und.Unchecked += new System.Windows.RoutedEventHandler(this.ToggleButton_Unchecked_2);

            #line default
            #line hidden
                return;

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

            #line 66 "..\..\MainWindow.xaml"
                this.sav.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.sav_SelectionChanged);

            #line default
            #line hidden
                return;

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

            #line 69 "..\..\MainWindow.xaml"
                this.tem.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.tem_changed);

            #line default
            #line hidden
                return;

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

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

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

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

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

            #line 82 "..\..\MainWindow.xaml"
                this.m_lang.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.m_lang_SelectionChanged);

            #line default
            #line hidden
                return;

            case 28:
                this.mytxt = ((System.Windows.Controls.RichTextBox)(target));

            #line 96 "..\..\MainWindow.xaml"
                this.mytxt.TextChanged += new System.Windows.Controls.TextChangedEventHandler(this.mytxt_TextChanged_1);

            #line default
            #line hidden

            #line 96 "..\..\MainWindow.xaml"
                this.mytxt.Drop += new System.Windows.DragEventHandler(this.dad);

            #line default
            #line hidden

            #line 96 "..\..\MainWindow.xaml"
                this.mytxt.SelectionChanged += new System.Windows.RoutedEventHandler(this.mytxt_SelectionChanged);

            #line default
            #line hidden
                return;

            case 29:
                this.kkk = ((System.Windows.Documents.Run)(target));
                return;
            }
            this._contentLoaded = true;
        }
Exemple #50
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:

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

            #line default
            #line hidden

            #line 8 "..\..\MainWindow.xaml"
                ((BTF.MainWindow)(target)).KeyDown += new System.Windows.Input.KeyEventHandler(this.CodeInput_KeyDown);

            #line default
            #line hidden
                return;

            case 2:

            #line 14 "..\..\MainWindow.xaml"
                ((System.Windows.Controls.DockPanel)(target)).MouseDown += new System.Windows.Input.MouseButtonEventHandler(this.rectangle2_MouseDown);

            #line default
            #line hidden
                return;

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

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

            case 5:

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

            #line default
            #line hidden
                return;

            case 6:

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

            #line default
            #line hidden
                return;

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

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

            case 9:
                this.CodeInput = ((System.Windows.Controls.RichTextBox)(target));

            #line 52 "..\..\MainWindow.xaml"
                this.CodeInput.TextChanged += new System.Windows.Controls.TextChangedEventHandler(this.textChanged);

            #line default
            #line hidden

            #line 53 "..\..\MainWindow.xaml"
                this.CodeInput.AddHandler(System.Windows.Controls.ScrollViewer.ScrollChangedEvent, new System.Windows.Controls.ScrollChangedEventHandler(this.RichTextBox_ScrollC));

            #line default
            #line hidden

            #line 53 "..\..\MainWindow.xaml"
                this.CodeInput.KeyDown += new System.Windows.Input.KeyEventHandler(this.CodeInput_KeyDown);

            #line default
            #line hidden
                return;

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

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

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

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

            #line 70 "..\..\MainWindow.xaml"
                this.번역.Click += new System.Windows.RoutedEventHandler(this.번역_Click);

            #line default
            #line hidden
                return;

            case 14:
                this.번역_Copy = ((System.Windows.Controls.Button)(target));

            #line 71 "..\..\MainWindow.xaml"
                this.번역_Copy.Click += new System.Windows.RoutedEventHandler(this.번역_Copy_Click);

            #line default
            #line hidden
                return;

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

            case 16:
                this.LineNumLabel = ((System.Windows.Controls.RichTextBox)(target));

            #line 73 "..\..\MainWindow.xaml"
                this.LineNumLabel.AddHandler(System.Windows.Controls.ScrollViewer.ScrollChangedEvent, new System.Windows.Controls.ScrollChangedEventHandler(this.RichTextBox_ScrollC));

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

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

            #line default
            #line hidden
                return;

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

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

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

            case 5:
                this.TextBox1 = ((System.Windows.Controls.RichTextBox)(target));

            #line 38 "..\..\MainWindow.xaml"
                this.TextBox1.PreviewMouseLeftButtonUp += new System.Windows.Input.MouseButtonEventHandler(this.TextBox1_PreviewMouseLeftButtonUp);

            #line default
            #line hidden

            #line 38 "..\..\MainWindow.xaml"
                this.TextBox1.PreviewKeyDown += new System.Windows.Input.KeyEventHandler(this.TextBox1_KeyDown);

            #line default
            #line hidden
                return;

            case 6:
                this.ToolBar = ((System.Windows.Controls.TabControl)(target));

            #line 55 "..\..\MainWindow.xaml"
                this.ToolBar.MouseDoubleClick += new System.Windows.Input.MouseButtonEventHandler(this.TabControl_MouseDoubleClick);

            #line default
            #line hidden

            #line 55 "..\..\MainWindow.xaml"
                this.ToolBar.MouseLeave += new System.Windows.Input.MouseEventHandler(this.ToolBar_MouseLeave);

            #line default
            #line hidden

            #line 55 "..\..\MainWindow.xaml"
                this.ToolBar.MouseEnter += new System.Windows.Input.MouseEventHandler(this.ToolBar_MouseEnter);

            #line default
            #line hidden
                return;

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

            #line 58 "..\..\MainWindow.xaml"
                this.ButtonCreateFile.Click += new System.Windows.RoutedEventHandler(this.ButtonCreateFile_Click);

            #line default
            #line hidden
                return;

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

            #line 71 "..\..\MainWindow.xaml"
                this.ButtonOpen.Click += new System.Windows.RoutedEventHandler(this.ButtonOpen_Click);

            #line default
            #line hidden
                return;

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

            #line 84 "..\..\MainWindow.xaml"
                this.ButtonSave.Click += new System.Windows.RoutedEventHandler(this.ButtonSave_Click);

            #line default
            #line hidden
                return;

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

            #line 98 "..\..\MainWindow.xaml"
                this.ButtonSaveAS.Click += new System.Windows.RoutedEventHandler(this.ButtonSaveAS_Click);

            #line default
            #line hidden
                return;

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

            #line 107 "..\..\MainWindow.xaml"
                this.TextBoxFirstLineOtherInfo.MouseDoubleClick += new System.Windows.Input.MouseButtonEventHandler(this.TabControl_MouseDoubleClick);

            #line default
            #line hidden
                return;

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

            #line 115 "..\..\MainWindow.xaml"
                this.ButtonOABackGroundColor.MouseDoubleClick += new System.Windows.Input.MouseButtonEventHandler(this.TabControl_MouseDoubleClick);

            #line default
            #line hidden

            #line 115 "..\..\MainWindow.xaml"
                this.ButtonOABackGroundColor.Click += new System.Windows.RoutedEventHandler(this.ButtonOABackGroundColor_Click);

            #line default
            #line hidden
                return;

            case 13:
                this.ButtonOAFontColor = ((System.Windows.Controls.CheckBox)(target));

            #line 116 "..\..\MainWindow.xaml"
                this.ButtonOAFontColor.MouseDoubleClick += new System.Windows.Input.MouseButtonEventHandler(this.TabControl_MouseDoubleClick);

            #line default
            #line hidden

            #line 116 "..\..\MainWindow.xaml"
                this.ButtonOAFontColor.Click += new System.Windows.RoutedEventHandler(this.ButtonOAFontColor_Click);

            #line default
            #line hidden
                return;

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

            #line 117 "..\..\MainWindow.xaml"
                this.ButtonOAFontFamily.Click += new System.Windows.RoutedEventHandler(this.ButtonOAFontFamily_Click);

            #line default
            #line hidden
                return;

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

            #line 119 "..\..\MainWindow.xaml"
                this.ComboBoxOAFontSize.LostFocus += new System.Windows.RoutedEventHandler(this.ComboBoxOAFontSize_LostFocus);

            #line default
            #line hidden

            #line 119 "..\..\MainWindow.xaml"
                this.ComboBoxOAFontSize.PreviewKeyDown += new System.Windows.Input.KeyEventHandler(this.ComboBoxOAFontSize_PreviewKeyDown);

            #line default
            #line hidden

            #line 119 "..\..\MainWindow.xaml"
                this.ComboBoxOAFontSize.DropDownClosed += new System.EventHandler(this.ComboBoxOAFontSize_DropDownClosed);

            #line default
            #line hidden
                return;

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

            #line 137 "..\..\MainWindow.xaml"
                this.ButtonFontFamily.Click += new System.Windows.RoutedEventHandler(this.ButtonFontFamily_Click);

            #line default
            #line hidden
                return;

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

            #line 139 "..\..\MainWindow.xaml"
                this.ComboBoxFontSize.DropDownClosed += new System.EventHandler(this.ComboBoxFontSize_DropDownClosed);

            #line default
            #line hidden

            #line 139 "..\..\MainWindow.xaml"
                this.ComboBoxFontSize.LostFocus += new System.Windows.RoutedEventHandler(this.ComboBoxFontSize_LostFocus);

            #line default
            #line hidden

            #line 139 "..\..\MainWindow.xaml"
                this.ComboBoxFontSize.PreviewKeyDown += new System.Windows.Input.KeyEventHandler(this.ComboBoxFontSize_PreviewKeyDown);

            #line default
            #line hidden
                return;

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

            #line 152 "..\..\MainWindow.xaml"
                this.ButtonBold.Click += new System.Windows.RoutedEventHandler(this.ButtonBold_Click);

            #line default
            #line hidden
                return;

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

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

            #line default
            #line hidden
                return;

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

            #line 170 "..\..\MainWindow.xaml"
                this.ButtonUnderline.Click += new System.Windows.RoutedEventHandler(this.ButtonUnderline_Click);

            #line default
            #line hidden
                return;

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

            #line 179 "..\..\MainWindow.xaml"
                this.ButtonStrikethrough.Click += new System.Windows.RoutedEventHandler(this.ButtonStrikethrough_Click);

            #line default
            #line hidden
                return;

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

            #line 188 "..\..\MainWindow.xaml"
                this.ButtonClearFormat.Click += new System.Windows.RoutedEventHandler(this.ButtonClearFormat_Click);

            #line default
            #line hidden
                return;

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

            #line 197 "..\..\MainWindow.xaml"
                this.ButtonAcenter.Click += new System.Windows.RoutedEventHandler(this.ButtonAcenter_Click);

            #line default
            #line hidden
                return;

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

            #line 206 "..\..\MainWindow.xaml"
                this.ButtonAjustify.Click += new System.Windows.RoutedEventHandler(this.ButtonAjustify_Click);

            #line default
            #line hidden
                return;

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

            #line 215 "..\..\MainWindow.xaml"
                this.ButtonAleft.Click += new System.Windows.RoutedEventHandler(this.ButtonAleft_Click);

            #line default
            #line hidden
                return;

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

            #line 224 "..\..\MainWindow.xaml"
                this.ButtonAright.Click += new System.Windows.RoutedEventHandler(this.ButtonAright_Click);

            #line default
            #line hidden
                return;

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

            #line 234 "..\..\MainWindow.xaml"
                this.ButtonSizebig.Click += new System.Windows.RoutedEventHandler(this.ButtonSizebig_Click);

            #line default
            #line hidden

            #line 234 "..\..\MainWindow.xaml"
                this.ButtonSizebig.MouseDoubleClick += new System.Windows.Input.MouseButtonEventHandler(this.TabControl_MouseDoubleClick);

            #line default
            #line hidden
                return;

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

            #line 243 "..\..\MainWindow.xaml"
                this.ButtonSizesmall.Click += new System.Windows.RoutedEventHandler(this.ButtonSizesmall_Click);

            #line default
            #line hidden

            #line 243 "..\..\MainWindow.xaml"
                this.ButtonSizesmall.MouseDoubleClick += new System.Windows.Input.MouseButtonEventHandler(this.TabControl_MouseDoubleClick);

            #line default
            #line hidden
                return;

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

            #line 252 "..\..\MainWindow.xaml"
                this.ButtonFontColor.Click += new System.Windows.RoutedEventHandler(this.ButtonFontColor_Click);

            #line default
            #line hidden
                return;

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

            #line 261 "..\..\MainWindow.xaml"
                this.ButtonBackColor.Click += new System.Windows.RoutedEventHandler(this.ButtonBackColor_Click);

            #line default
            #line hidden
                return;

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

            #line 270 "..\..\MainWindow.xaml"
                this.ButtonCGFontColor.Click += new System.Windows.RoutedEventHandler(this.ButtonCGFontColor_Click);

            #line default
            #line hidden
                return;

            case 32:
                this.ButtonCGBackColor = ((System.Windows.Controls.CheckBox)(target));

            #line 271 "..\..\MainWindow.xaml"
                this.ButtonCGBackColor.Click += new System.Windows.RoutedEventHandler(this.ButtonCGBackColor_Click);

            #line default
            #line hidden
                return;

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

            #line 278 "..\..\MainWindow.xaml"
                this.ButtonNewPage.Click += new System.Windows.RoutedEventHandler(this.ButtonNewPage_Click);

            #line default
            #line hidden
                return;

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

            #line 292 "..\..\MainWindow.xaml"
                this.ButtonInsertPage.Click += new System.Windows.RoutedEventHandler(this.ButtonInsertPage_Click);

            #line default
            #line hidden
                return;

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

            #line 305 "..\..\MainWindow.xaml"
                this.ButtonDeletePage.Click += new System.Windows.RoutedEventHandler(this.ButtonDeletePage_Click);

            #line default
            #line hidden
                return;

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

            #line 322 "..\..\MainWindow.xaml"
                this.ButtonStart.Click += new System.Windows.RoutedEventHandler(this.ButtonStart_Click);

            #line default
            #line hidden
                return;

            case 37:
                this.ConsoleBox = ((System.Windows.Controls.RichTextBox)(target));

            #line 378 "..\..\MainWindow.xaml"
                this.ConsoleBox.GotFocus += new System.Windows.RoutedEventHandler(this.TextBox_GotFocus);

            #line default
            #line hidden

            #line 378 "..\..\MainWindow.xaml"
                this.ConsoleBox.MouseDoubleClick += new System.Windows.Input.MouseButtonEventHandler(this.TabControl_MouseDoubleClick);

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

            #line 5 "..\..\..\GenerateControlFile.xaml"
                ((LogViewer.About)(target)).Loaded += new System.Windows.RoutedEventHandler(this.Window_Loaded);

            #line default
            #line hidden
                return;

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

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

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

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

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

            case 7:
                this.chkAuto = ((System.Windows.Controls.CheckBox)(target));

            #line 60 "..\..\..\GenerateControlFile.xaml"
                this.chkAuto.Click += new System.Windows.RoutedEventHandler(this.CheckBox_Checked);

            #line default
            #line hidden
                return;

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

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

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

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

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

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

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

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

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

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

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

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

            case 20:
                this.RichTextBox1 = ((System.Windows.Controls.RichTextBox)(target));
                return;

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

            #line 105 "..\..\..\GenerateControlFile.xaml"
                this.buttonOK.Click += new System.Windows.RoutedEventHandler(this.buttonOK_Click);

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

            #line 17 "..\..\..\..\MVVM\View\AddOrderView.xaml"
                this.searchButton.MouseLeftButtonDown += new System.Windows.Input.MouseButtonEventHandler(this.searchButton_MouseLeftButtonDown);

            #line default
            #line hidden
                return;

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

            #line 20 "..\..\..\..\MVVM\View\AddOrderView.xaml"
                this.customersDataGrid.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.customersDataGrid_SelectionChanged);

            #line default
            #line hidden
                return;

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

            case 4:
                this.descriptionBox = ((System.Windows.Controls.RichTextBox)(target));
                return;

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

            case 6:

            #line 47 "..\..\..\..\MVVM\View\AddOrderView.xaml"
                ((System.Windows.Controls.TextBlock)(target)).MouseLeftButtonDown += new System.Windows.Input.MouseButtonEventHandler(this.TextBlock_MouseLeftButtonDown);

            #line default
            #line hidden
                return;

            case 7:
                this.clearButton = ((System.Windows.Controls.Border)(target));

            #line 53 "..\..\..\..\MVVM\View\AddOrderView.xaml"
                this.clearButton.MouseLeftButtonDown += new System.Windows.Input.MouseButtonEventHandler(this.clearButton_MouseLeftButtonDown);

            #line default
            #line hidden
                return;

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

            case 9:
                this.expireDate = ((System.Windows.Controls.DatePicker)(target));
                return;
            }
            this._contentLoaded = true;
        }
Exemple #54
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:

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

            #line default
            #line hidden
                return;

            case 2:

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

            #line default
            #line hidden
                return;

            case 3:

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

            #line default
            #line hidden
                return;

            case 4:

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

            #line default
            #line hidden
                return;

            case 5:

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

            #line default
            #line hidden
                return;

            case 6:

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

            #line default
            #line hidden
                return;

            case 7:

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

            #line default
            #line hidden
                return;

            case 8:

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

            #line default
            #line hidden
                return;

            case 9:

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

            #line default
            #line hidden
                return;

            case 10:

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

            #line default
            #line hidden
                return;

            case 11:

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

            #line default
            #line hidden
                return;

            case 12:

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

            #line default
            #line hidden
                return;

            case 13:

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

            #line default
            #line hidden
                return;

            case 14:

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

            #line default
            #line hidden
                return;

            case 15:

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

            #line default
            #line hidden
                return;

            case 16:
                this.ToolBarPanel = ((System.Windows.Controls.ToolBar)(target));
                return;

            case 17:
                this.btnBold = ((System.Windows.Controls.Primitives.ToggleButton)(target));
                return;

            case 18:
                this.btnItalic = ((System.Windows.Controls.Primitives.ToggleButton)(target));
                return;

            case 19:
                this.btnUnderline = ((System.Windows.Controls.Primitives.ToggleButton)(target));
                return;

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

            #line 67 "..\..\MainWindow.xaml"
                this.cmbFontFamily.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.cmbFontFamily_SelectionChanged);

            #line default
            #line hidden
                return;

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

            #line 68 "..\..\MainWindow.xaml"
                this.cmbFontSize.ValueChanged += new System.Windows.RoutedPropertyChangedEventHandler <double>(this.cmbFontSize_ValueChanged);

            #line default
            #line hidden
                return;

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

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

            #line 71 "..\..\MainWindow.xaml"
                this.ColorPicker.Click += new System.Windows.RoutedEventHandler(this.Color_Click);

            #line default
            #line hidden
                return;

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

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

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

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

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

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

            case 30:
                this.rtbEditor = ((System.Windows.Controls.RichTextBox)(target));

            #line 96 "..\..\MainWindow.xaml"
                this.rtbEditor.PreviewTextInput += new System.Windows.Input.TextCompositionEventHandler(this.RtbEditor_PreviewTextInput);

            #line default
            #line hidden
                return;

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

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

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

            case 34:
                this.RichTextBoxSize = ((System.Windows.Controls.Slider)(target));
                return;
            }
            this._contentLoaded = true;
        }
Exemple #55
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.tabGroupManagement = ((System.Windows.Controls.TabItem)(target));
                return;

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

            #line 15 "..\..\..\ContentViews\GroupAndHomepageView.xaml"
                this.lblGroupManagement.MouseLeftButtonDown += new System.Windows.Input.MouseButtonEventHandler(this.lblGroupManagement_MouseLeftButtonDown);

            #line default
            #line hidden
                return;

            case 3:
                this.treeviewGroupManagement = ((WpfTreeView.WpfTreeView)(target));
                return;

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

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

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

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

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

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

            case 10:
                this.lblIntervalUnit = ((System.Windows.Controls.TextBlock)(target));
                return;

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

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

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

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

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

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

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

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

            case 19:
                this.cbEnglish = ((System.Windows.Controls.CheckBox)(target));
                return;

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

            case 21:
                this.tabSubscribeHomepage = ((System.Windows.Controls.TabItem)(target));
                return;

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

            #line 66 "..\..\..\ContentViews\GroupAndHomepageView.xaml"
                this.lblSubscribeHomepage.MouseLeftButtonDown += new System.Windows.Input.MouseButtonEventHandler(this.lblSubscribeHomepage_MouseLeftButtonDown);

            #line default
            #line hidden
                return;

            case 23:
                this.tvAttentionHomePage = ((WpfTreeView.WpfTreeView)(target));
                return;

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

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

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

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

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

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

            case 30:
                this.lblHomePageIntervalUnit = ((System.Windows.Controls.TextBlock)(target));
                return;

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

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

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

            #line 96 "..\..\..\ContentViews\GroupAndHomepageView.xaml"
                this.btnSubmitTask_AttentionHomePage.Click += new System.Windows.RoutedEventHandler(this.btnSubmitTask_AttentionHomePage_Click);

            #line default
            #line hidden
                return;

            case 34:
                this.tabInviteFriendsToGroup = ((System.Windows.Controls.TabItem)(target));
                return;

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

            #line 104 "..\..\..\ContentViews\GroupAndHomepageView.xaml"
                this.lblInviteFriendsToGroup.MouseLeftButtonDown += new System.Windows.Input.MouseButtonEventHandler(this.lblInviteFriendsToGroup_MouseLeftButtonDown);

            #line default
            #line hidden
                return;

            case 36:
                this.tvInviteToGroup = ((WpfTreeView.WpfTreeView)(target));
                return;

            case 37:
                this.lblOperationTimesPerPhone = ((System.Windows.Controls.TextBlock)(target));
                return;

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

            case 39:
                this.lblTimes2 = ((System.Windows.Controls.TextBlock)(target));
                return;

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

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

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

            case 43:
                this.lblIntervalUnit2 = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 44:
                this.lblGroupName = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 45:
                this.tbGroupName = ((System.Windows.Controls.TextBox)(target));
                return;

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

            #line 136 "..\..\..\ContentViews\GroupAndHomepageView.xaml"
                this.btnSubmitTask_InviteToGroup.Click += new System.Windows.RoutedEventHandler(this.btnSubmitTask_InviteToGroup_Click);

            #line default
            #line hidden
                return;

            case 47:
                this.tabInviteFriendsToLike = ((System.Windows.Controls.TabItem)(target));
                return;

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

            #line 144 "..\..\..\ContentViews\GroupAndHomepageView.xaml"
                this.lblInviteFriendsToLike.MouseLeftButtonDown += new System.Windows.Input.MouseButtonEventHandler(this.lblInviteFriendsToLike_MouseLeftButtonDown);

            #line default
            #line hidden
                return;

            case 49:
                this.tvInviteToPraise = ((WpfTreeView.WpfTreeView)(target));
                return;

            case 50:
                this.lblOperatingFrequency = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 51:
                this.txtOperationTimes = ((System.Windows.Controls.TextBox)(target));
                return;

            case 52:
                this.lblTimesThumbs = ((System.Windows.Controls.TextBlock)(target));
                return;

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

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

            case 55:
                this.txtEndingIntervaMax = ((System.Windows.Controls.TextBox)(target));
                return;

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

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

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

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

            #line 174 "..\..\..\ContentViews\GroupAndHomepageView.xaml"
                this.btnSubmitTask_FriendsSomePraise.Click += new System.Windows.RoutedEventHandler(this.btnSubmitTask_FriendsSomePraise_Click);

            #line default
            #line hidden
                return;

            case 60:
                this.tabAddGroupUser = ((System.Windows.Controls.TabItem)(target));
                return;

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

            #line 181 "..\..\..\ContentViews\GroupAndHomepageView.xaml"
                this.lblAddGroupUser.MouseLeftButtonDown += new System.Windows.Input.MouseButtonEventHandler(this.lblAddGroupUser_MouseLeftButtonDown);

            #line default
            #line hidden
                return;

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

            case 63:
                this.treeviewAddGroupUser = ((WpfTreeView.WpfTreeView)(target));
                return;

            case 64:
                this.tbAddPageFriend = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 65:
                this.rtbAddPageFriend = ((System.Windows.Controls.RichTextBox)(target));
                return;

            case 66:
                this.tbAddGroupFriend1 = ((System.Windows.Controls.TextBlock)(target));
                return;

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

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

            case 69:
                this.tbAddGroupFriend2 = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 70:
                this.lbl_GroupFriendSecoFriend = ((System.Windows.Controls.Label)(target));
                return;

            case 71:
                this.txt_GroupFriendMinFriend = ((System.Windows.Controls.TextBox)(target));
                return;

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

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

            #line 213 "..\..\..\ContentViews\GroupAndHomepageView.xaml"
                this.btnGroupFriendSubmit.Click += new System.Windows.RoutedEventHandler(this.btnGroupFriendSubmit_Click);

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

            #line 8 "..\..\MainWindow.xaml"
                this.window.Activated += new System.EventHandler(this.Window_Activated);

            #line default
            #line hidden

            #line 8 "..\..\MainWindow.xaml"
                this.window.Closing += new System.ComponentModel.CancelEventHandler(this.window_Closing);

            #line default
            #line hidden

            #line 8 "..\..\MainWindow.xaml"
                this.window.Loaded += new System.Windows.RoutedEventHandler(this.window_Loaded);

            #line default
            #line hidden
                return;

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

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

            #line 80 "..\..\MainWindow.xaml"
                this.Massage.KeyDown += new System.Windows.Input.KeyEventHandler(this.Massage_KeyDown);

            #line default
            #line hidden

            #line 80 "..\..\MainWindow.xaml"
                this.Massage.KeyUp += new System.Windows.Input.KeyEventHandler(this.Massage_KeyUp);

            #line default
            #line hidden
                return;

            case 4:
                this.Massages = ((System.Windows.Controls.RichTextBox)(target));
                return;

            case 5:
                this.usersbox = ((System.Windows.Controls.RichTextBox)(target));
                return;

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

            #line 91 "..\..\MainWindow.xaml"
                this.WindowControl.PreviewMouseMove += new System.Windows.Input.MouseEventHandler(this.WindowControl_PreviewMouseMove);

            #line default
            #line hidden

            #line 91 "..\..\MainWindow.xaml"
                this.WindowControl.PreviewMouseLeftButtonUp += new System.Windows.Input.MouseButtonEventHandler(this.CaptureOFF);

            #line default
            #line hidden

            #line 91 "..\..\MainWindow.xaml"
                this.WindowControl.PreviewMouseLeftButtonDown += new System.Windows.Input.MouseButtonEventHandler(this.WindowControl_PreviewMouseLeftButtonDown);

            #line default
            #line hidden
                return;

            case 7:
                this.SplitterUP = ((System.Windows.Shapes.Rectangle)(target));

            #line 92 "..\..\MainWindow.xaml"
                this.SplitterUP.PreviewMouseMove += new System.Windows.Input.MouseEventHandler(this.SplitterUP_PreviewMouseMove);

            #line default
            #line hidden

            #line 92 "..\..\MainWindow.xaml"
                this.SplitterUP.PreviewMouseLeftButtonUp += new System.Windows.Input.MouseButtonEventHandler(this.CaptureOFF);

            #line default
            #line hidden
                return;

            case 8:
                this.SplitterDOWN = ((System.Windows.Shapes.Rectangle)(target));

            #line 93 "..\..\MainWindow.xaml"
                this.SplitterDOWN.PreviewMouseMove += new System.Windows.Input.MouseEventHandler(this.SplitterDOWN_PreviewMouseMove);

            #line default
            #line hidden

            #line 93 "..\..\MainWindow.xaml"
                this.SplitterDOWN.PreviewMouseLeftButtonUp += new System.Windows.Input.MouseButtonEventHandler(this.CaptureOFF);

            #line default
            #line hidden
                return;

            case 9:
                this.ServerIO = ((System.Windows.Shapes.Rectangle)(target));
                return;

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

            #line 96 "..\..\MainWindow.xaml"
                this.closebutton.Click += new System.Windows.RoutedEventHandler(this.closebutton_Click);

            #line default
            #line hidden
                return;

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

            #line 118 "..\..\MainWindow.xaml"
                this.winappbutton.Click += new System.Windows.RoutedEventHandler(this.winappbutton_Click);

            #line default
            #line hidden
                return;

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

            #line 140 "..\..\MainWindow.xaml"
                this.pinbutton.Click += new System.Windows.RoutedEventHandler(this.pinbutton_Click);

            #line default
            #line hidden
                return;

            case 13:
                this.clientIO = ((System.Windows.Shapes.Rectangle)(target));
                return;

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

            case 15:

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

            #line default
            #line hidden
                return;

            case 16:

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

            #line default
            #line hidden
                return;

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

            case 18:

            #line 212 "..\..\MainWindow.xaml"
                ((System.Windows.Controls.TabItem)(target)).MouseEnter += new System.Windows.Input.MouseEventHandler(this.TabItem_MouseEnter_BG);

            #line default
            #line hidden

            #line 212 "..\..\MainWindow.xaml"
                ((System.Windows.Controls.TabItem)(target)).MouseLeave += new System.Windows.Input.MouseEventHandler(this.TabItem_MouseLeave);

            #line default
            #line hidden
                return;

            case 19:
                this.BGcolorRC = ((System.Windows.Shapes.Rectangle)(target));
                return;

            case 20:
                this.BGcolorRC_R = ((System.Windows.Controls.Slider)(target));

            #line 215 "..\..\MainWindow.xaml"
                this.BGcolorRC_R.ValueChanged += new System.Windows.RoutedPropertyChangedEventHandler <double>(this.BGcolorRC_ValueChanged);

            #line default
            #line hidden
                return;

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

            #line 216 "..\..\MainWindow.xaml"
                this.BGcolorRC_G.ValueChanged += new System.Windows.RoutedPropertyChangedEventHandler <double>(this.BGcolorRC_ValueChanged);

            #line default
            #line hidden
                return;

            case 22:
                this.BGcolorRC_B = ((System.Windows.Controls.Slider)(target));

            #line 217 "..\..\MainWindow.xaml"
                this.BGcolorRC_B.ValueChanged += new System.Windows.RoutedPropertyChangedEventHandler <double>(this.BGcolorRC_ValueChanged);

            #line default
            #line hidden
                return;

            case 23:
                this.BGcolorRC_O = ((System.Windows.Controls.Slider)(target));

            #line 218 "..\..\MainWindow.xaml"
                this.BGcolorRC_O.ValueChanged += new System.Windows.RoutedPropertyChangedEventHandler <double>(this.BGcolorRC_ValueChanged);

            #line default
            #line hidden
                return;

            case 24:

            #line 221 "..\..\MainWindow.xaml"
                ((System.Windows.Controls.TabItem)(target)).MouseEnter += new System.Windows.Input.MouseEventHandler(this.TabItem_MouseEnter_FG);

            #line default
            #line hidden

            #line 221 "..\..\MainWindow.xaml"
                ((System.Windows.Controls.TabItem)(target)).MouseLeave += new System.Windows.Input.MouseEventHandler(this.TabItem_MouseLeave_1);

            #line default
            #line hidden
                return;

            case 25:
                this.FGcolorRC = ((System.Windows.Shapes.Rectangle)(target));
                return;

            case 26:
                this.FGcolorRC_R = ((System.Windows.Controls.Slider)(target));

            #line 224 "..\..\MainWindow.xaml"
                this.FGcolorRC_R.ValueChanged += new System.Windows.RoutedPropertyChangedEventHandler <double>(this.FGcolorRC_ValueChanged);

            #line default
            #line hidden
                return;

            case 27:
                this.FGcolorRC_G = ((System.Windows.Controls.Slider)(target));

            #line 225 "..\..\MainWindow.xaml"
                this.FGcolorRC_G.ValueChanged += new System.Windows.RoutedPropertyChangedEventHandler <double>(this.FGcolorRC_ValueChanged);

            #line default
            #line hidden
                return;

            case 28:
                this.FGcolorRC_B = ((System.Windows.Controls.Slider)(target));

            #line 226 "..\..\MainWindow.xaml"
                this.FGcolorRC_B.ValueChanged += new System.Windows.RoutedPropertyChangedEventHandler <double>(this.FGcolorRC_ValueChanged);

            #line default
            #line hidden
                return;

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

            case 30:

            #line 230 "..\..\MainWindow.xaml"
                ((System.Windows.Controls.TabItem)(target)).MouseEnter += new System.Windows.Input.MouseEventHandler(this.TabItem_MouseEnter_UN);

            #line default
            #line hidden

            #line 230 "..\..\MainWindow.xaml"
                ((System.Windows.Controls.TabItem)(target)).MouseLeave += new System.Windows.Input.MouseEventHandler(this.TabItem_MouseLeave_2);

            #line default
            #line hidden
                return;

            case 31:
                this.UNcolorRC = ((System.Windows.Shapes.Rectangle)(target));
                return;

            case 32:
                this.UNcolorRC_R = ((System.Windows.Controls.Slider)(target));

            #line 233 "..\..\MainWindow.xaml"
                this.UNcolorRC_R.ValueChanged += new System.Windows.RoutedPropertyChangedEventHandler <double>(this.UNcolorRC_ValueChanged);

            #line default
            #line hidden
                return;

            case 33:
                this.UNcolorRC_G = ((System.Windows.Controls.Slider)(target));

            #line 234 "..\..\MainWindow.xaml"
                this.UNcolorRC_G.ValueChanged += new System.Windows.RoutedPropertyChangedEventHandler <double>(this.UNcolorRC_ValueChanged);

            #line default
            #line hidden
                return;

            case 34:
                this.UNcolorRC_B = ((System.Windows.Controls.Slider)(target));

            #line 235 "..\..\MainWindow.xaml"
                this.UNcolorRC_B.ValueChanged += new System.Windows.RoutedPropertyChangedEventHandler <double>(this.UNcolorRC_ValueChanged);

            #line default
            #line hidden
                return;

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

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

            #line 241 "..\..\MainWindow.xaml"
                this.Setting.Click += new System.Windows.RoutedEventHandler(this.Setting_Click);

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

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

            #line 33 "..\..\..\Screens\SignUpScreen.xaml"
                this.btnAVT.Click += new System.Windows.RoutedEventHandler(this.btnAVT_Click);

            #line default
            #line hidden
                return;

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

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

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

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

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

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

            case 9:
                this.rtxtBasicInfo = ((System.Windows.Controls.RichTextBox)(target));

            #line 138 "..\..\..\Screens\SignUpScreen.xaml"
                this.rtxtBasicInfo.TextChanged += new System.Windows.Controls.TextChangedEventHandler(this.rtxtBasicInfo_TextChanged);

            #line default
            #line hidden
                return;

            case 10:

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

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

            #line 5 "..\..\MainWindow.xaml"
                ((InkChatClient.MainWindow)(target)).Loaded += new System.Windows.RoutedEventHandler(this.WindowLoaded);

            #line default
            #line hidden

            #line 6 "..\..\MainWindow.xaml"
                ((InkChatClient.MainWindow)(target)).Closing += new System.ComponentModel.CancelEventHandler(this.WindowClosing);

            #line default
            #line hidden
                return;

            case 2:

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

            #line default
            #line hidden
                return;

            case 3:

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

            #line default
            #line hidden
                return;

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

            #line 18 "..\..\MainWindow.xaml"
                this.connectMenuItem.Click += new System.Windows.RoutedEventHandler(this.ConnectButtonClick);

            #line default
            #line hidden
                return;

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

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

            #line default
            #line hidden
                return;

            case 6:

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

            #line default
            #line hidden
                return;

            case 7:

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

            #line default
            #line hidden
                return;

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

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

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

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

            #line default
            #line hidden
                return;

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

            #line 49 "..\..\MainWindow.xaml"
                this.disconnectButton.Click += new System.Windows.RoutedEventHandler(this.DisconnectButtonClick);

            #line default
            #line hidden
                return;

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

            #line 52 "..\..\MainWindow.xaml"
                this.userListBox.MouseDoubleClick += new System.Windows.Input.MouseButtonEventHandler(this.UserListBoxMouseDoubleClick);

            #line default
            #line hidden
                return;

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

            #line 53 "..\..\MainWindow.xaml"
                this.messageTextBox.PreviewKeyDown += new System.Windows.Input.KeyEventHandler(this.MessageTextBoxPreviewKeyDown);

            #line default
            #line hidden

            #line 53 "..\..\MainWindow.xaml"
                this.messageTextBox.TextChanged += new System.Windows.Controls.TextChangedEventHandler(this.MessageTextBoxTextChanged);

            #line default
            #line hidden
                return;

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

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

            #line default
            #line hidden
                return;

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

            case 16:

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

            #line default
            #line hidden
                return;

            case 17:
                this.Ink = ((System.Windows.Controls.InkCanvas)(target));

            #line 57 "..\..\MainWindow.xaml"
                this.Ink.StrokeCollected += new System.Windows.Controls.InkCanvasStrokeCollectedEventHandler(this.Ink_StrokeCollected);

            #line default
            #line hidden
                return;

            case 18:
                this.Ink2 = ((System.Windows.Controls.InkCanvas)(target));

            #line 58 "..\..\MainWindow.xaml"
                this.Ink2.StrokeCollected += new System.Windows.Controls.InkCanvasStrokeCollectedEventHandler(this.Ink2_StrokeCollected);

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

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

            #line 17 "..\..\MainWindow.xaml"
                this.createMenuItem.Click += new System.Windows.RoutedEventHandler(this.CreateMenuItemClick);

            #line default
            #line hidden
                return;

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

            #line 18 "..\..\MainWindow.xaml"
                this.openMenuItem.Click += new System.Windows.RoutedEventHandler(this.OpenMenuItemClick);

            #line default
            #line hidden
                return;

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

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

            #line default
            #line hidden
                return;

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

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

            #line default
            #line hidden
                return;

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

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

            #line default
            #line hidden
                return;

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

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

            #line default
            #line hidden
                return;

            case 8:
                this.richTextBox = ((System.Windows.Controls.RichTextBox)(target));
                return;
            }
            this._contentLoaded = true;
        }
Exemple #60
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.rbtnAll = ((System.Windows.Controls.RadioButton)(target));

            #line 25 "..\..\..\..\Views\Panels\ChatHistoryView.xaml"
                this.rbtnAll.Checked += new System.Windows.RoutedEventHandler(this.Type_Checked);

            #line default
            #line hidden
                return;

            case 2:

            #line 26 "..\..\..\..\Views\Panels\ChatHistoryView.xaml"
                ((System.Windows.Controls.RadioButton)(target)).Checked += new System.Windows.RoutedEventHandler(this.Type_Checked);

            #line default
            #line hidden
                return;

            case 3:

            #line 27 "..\..\..\..\Views\Panels\ChatHistoryView.xaml"
                ((System.Windows.Controls.RadioButton)(target)).Checked += new System.Windows.RoutedEventHandler(this.Type_Checked);

            #line default
            #line hidden
                return;

            case 4:
                this.pbtnMore = ((IMCustomControls.PopupToggleButton)(target));
                return;

            case 5:
                this.ptbtnCalendar = ((IMCustomControls.PopupToggleButton)(target));
                return;

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

            case 7:

            #line 38 "..\..\..\..\Views\Panels\ChatHistoryView.xaml"
                ((System.Windows.Controls.MenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.MenuItem_Click);

            #line default
            #line hidden
                return;

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

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

            #line 43 "..\..\..\..\Views\Panels\ChatHistoryView.xaml"
                this.calendar.SelectedDatesChanged += new System.EventHandler <System.Windows.Controls.SelectionChangedEventArgs>(this.calendar_SelectedDatesChanged);

            #line default
            #line hidden

            #line 43 "..\..\..\..\Views\Panels\ChatHistoryView.xaml"
                this.calendar.AddHandler(System.Windows.ContentElement.PreviewMouseUpEvent, new System.Windows.Input.MouseButtonEventHandler(this.calendar_PreviewMouseUp));

            #line default
            #line hidden
                return;

            case 10:
                this.sv = ((System.Windows.Controls.ScrollViewer)(target));
                return;

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

            case 12:
                this.cmMenu = ((System.Windows.Controls.ContextMenu)(target));
                return;

            case 13:
                this.flowDoc = ((CSClient.Helper.FlowDocumentEx)(target));
                return;

            case 14:
                this.aniLoading = ((CSClient.Views.Controls.AnimationLoading)(target));
                return;
            }
            this._contentLoaded = true;
        }