/// <summary>
 /// Constructs a new toggle button property binding for the given toggle button.
 /// </summary>
 /// <param name="tglButton">The toggle button to be bound to the property.</param>
 protected ToggleButtonPropertyBinding(ToggleButton tglButton)
     : base(tglButton)
 {
     tglButton.Checked += OnStateChanged;
     tglButton.Unchecked += OnStateChanged;
     tglButton.Indeterminate += OnStateChanged;
 }
Пример #2
0
        public override void OnApplyTemplate()
        {
            base.OnApplyTemplate();
            this.button = (ToggleButton)this.GetTemplateChild("PART_ToggleDropDown");
            this.popup = (Popup)this.GetTemplateChild("PART_Popup");
            this.content = (ContentControl)this.GetTemplateChild("PART_Content");
                        
            this.SizeChanged += this.DropDownButton_SizeChanged;

#if(SILVERLIGHT)
            UIElement root = Application.Current.RootVisual;
            if (root != null)
            {
                root.MouseLeftButtonDown += (s, ee) =>
                {
                    if (popup.IsOpen)
                        popup.IsOpen = false;
                };
            }
#endif

#if (!SILVERLIGHT)
            if (!System.ComponentModel.DesignerProperties.GetIsInDesignMode(this))
            {
                System.Windows.Window window = System.Windows.Window.GetWindow(this);
                window.LocationChanged += window_LocationChanged;
                window.SizeChanged += window_SizeChanged;
                LayoutUpdated += DropDownButton_LayoutUpdated;
            }

            popup.Opened += popup_Opened;
            popup.IsKeyboardFocusWithinChanged += popup_IsKeyboardFocusWithinChanged;
            FindTopLevelElement(popup).MouseDown += Outside_MouseDown;
#endif
        }
 public void InitializeComponent()
 {
     if (!this._contentLoaded)
     {
         this._contentLoaded = true;
         Application.LoadComponent(this, new Uri("/TWC.OVP;component/Views/Shell/SportsNetworkShellView.xaml", UriKind.Relative));
         this.LayoutRoot = (Grid) base.FindName("LayoutRoot");
         this.ControllerStates = (VisualStateGroup) base.FindName("ControllerStates");
         this.ShowController = (VisualState) base.FindName("ShowController");
         this.HideController = (VisualState) base.FindName("HideController");
         this.WindowStates = (VisualStateGroup) base.FindName("WindowStates");
         this.FullScreen = (VisualState) base.FindName("FullScreen");
         this.Embedded = (VisualState) base.FindName("Embedded");
         this.CaptionSettingsStates = (VisualStateGroup) base.FindName("CaptionSettingsStates");
         this.ShowCaptionSettings = (VisualState) base.FindName("ShowCaptionSettings");
         this.HideCaptionSettings = (VisualState) base.FindName("HideCaptionSettings");
         this.BackgroundRectangle = (Rectangle) base.FindName("BackgroundRectangle");
         this.AssetViewer = (ContentControl) base.FindName("AssetViewer");
         this.Controller = (Grid) base.FindName("Controller");
         this.volumeControl = (VolumeControl) base.FindName("volumeControl");
         this.ClosedCaptioning = (ToggleButton) base.FindName("ClosedCaptioning");
         this.FullScreenGrid = (Grid) base.FindName("FullScreenGrid");
         this.FullScreenButton = (Button) base.FindName("FullScreenButton");
         this.ExitFullScreenGrid = (Grid) base.FindName("ExitFullScreenGrid");
         this.ExitFullScreenButton = (Button) base.FindName("ExitFullScreenButton");
         this.Interaction = (ContentControl) base.FindName("Interaction");
     }
 }
Пример #4
0
 public ColorPicker(Dictionary<int, Color> colorByCode, int selectedColorIndex)
 {
     this.colorByCode = colorByCode;
     double colorPickerGridWidth = radioButtonSide * elements;
     ResourceDictionary dictionary = GetResourceDictionary();
     double autoColorRadioButtonHeight = 22;
     popupBorderBrush = GetEffectBorderBrush(colorPickerGridWidth -2,autoColorRadioButtonHeight-2, Colors.White, Colors.LightSlateGray);
     pressedBorderBrush = GetEffectBorderBrush(colorPickerGridWidth - 2, autoColorRadioButtonHeight-2, Colors.LightSlateGray, Colors.White);
     autoColorRadioButton = GetAutoColorRadioButton(dictionary["AutoColorElementTemplate"] as ControlTemplate, colorPickerGridWidth, autoColorRadioButtonHeight);
     Grid colorPickerGrid = GetColorPickerGrid(colorPickerGridWidth);
     Grid.SetRow(autoColorRadioButton, 0);
     Grid.SetColumn(autoColorRadioButton, 0);
     Grid.SetColumnSpan(autoColorRadioButton, elements);
     colorPickerGrid.Children.Add(autoColorRadioButton);
     ControlTemplate colorElementTemplate = dictionary["ColorElementTemplate"] as ControlTemplate;
     Color color;
     for (int colorIndex = 0; colorIndex <= colorByCode.Keys.Max<int>(); colorIndex++)
     {
         int rowIndex = (colorIndex / elements) + 1; // в первый ряд сетки уже добавлен элемент
         int columnIndex = colorIndex % elements;
         color = colorByCode[colorIndex];
         string tip = String.Format("{0} (#{1}{2}{3})", colorIndex, color.R.ToString("X2"), color.G.ToString("X2"), color.B.ToString("X2"));
         RadioButton radioButton = GetRadioButton(colorElementTemplate, ref color, colorIndex, tip);
         Grid.SetRow(radioButton, rowIndex);
         Grid.SetColumn(radioButton, columnIndex);
         colorPickerGrid.Children.Add(radioButton);
     }
     colorPickerGrid.Height = radioButtonSide * elements + autoColorRadioButton.Height + 2;
     gridBorder = GetGridBorder(colorPickerGrid);
     topButton = GetToggleButton(dictionary["ColorPickerTopButtonTemplate"] as ControlTemplate);
     colorPickerWindow = GetColorPickerWindow(gridBorder);
     SelectedColorIndex = selectedColorIndex;
     SetRadioButtonChecked(selectedColorIndex);
     Width = 150;
 }
Пример #5
0
 public DateTimePartHelper(DateTime dateTime, DateTimePart dateTimePart, NumericTextBox textBox, ToggleButton activeToggleButton)
 {
     _dateTime = dateTime;
     _textBox = textBox;
     _toggleButton = activeToggleButton;
     _dateTimePart = dateTimePart;
 }
        static void AttachButton(ToggleButton trigger)
        {
            // When the ToggleButton is checked, execute the folowing code
            trigger.Checked +=
                delegate
                    {
                        // Uncheck the previous button if there is one
                        //if (ActiveButtons != null) ActiveButtons.IsChecked = false;

                        // This button is now the active button
                        //ActiveButton = trigger;
                        ActiveButtons.Add(trigger);

                        // The list is changed, so envoke the ActiveButtonsChanged event
                        ActiveButtonsChanged(null, EventArgs.Empty);
                    };

            // When the ToggleButton is unchecked, execute the folowing code
            trigger.Unchecked +=
                delegate
                    {
                        // There is no active button annymore
                        //ActiveButtons = null;
                        ActiveButtons.Remove(trigger);

                        // The list is changed, so envoke the ActiveButtonsChanged event
                        ActiveButtonsChanged(null, EventArgs.Empty);
                    };
        }
 static void AddToggleEvent(ToggleButton toggle)
 {
     toggle.Checked += delegate
     {
         MessageBox.Show("");
     };
 }
        public override void OnApplyTemplate()
        {
            if (SymbolOverlay != null)
                SymbolOverlay.MouseLeftButtonUp -= SymbolOverlay_MouseLeftButtonUp;

            if (SymbolSelector != null)
                SymbolSelector.SymbolSelected -= SymbolSelector_SymbolSelected;

            base.OnApplyTemplate();

            SymbolSelector = GetTemplateChild("SymbolSelector") as SymbolSelector;
            if (SymbolSelector != null)
                SymbolSelector.SymbolSelected += SymbolSelector_SymbolSelected;

            UniqueValueTextBlock = GetTemplateChild("UniqueValueTextBlock") as TextBlock;

            ToggleButton = GetTemplateChild("ToggleButton") as ToggleButton;

            SymbolDisplay = GetTemplateChild("SymbolDisplay") as SymbolDisplay;

            SymbolOverlay = GetTemplateChild("SymbolOverlay") as Rectangle;
            if (SymbolOverlay != null)
                SymbolOverlay.MouseLeftButtonUp += SymbolOverlay_MouseLeftButtonUp;

            if (InitCompleted != null)
                InitCompleted(this, EventArgs.Empty);
        }
 private bool IsOn(ToggleButton tb)
 {
     var res = Segment7.FindChild<ToggleButton>(tb.Name);
     if (res == null) res = Segment14.FindChild<ToggleButton>(tb.Name);
     if (res == null) throw new ArgumentException("Not found");
     else return (bool)res.IsChecked;
 }
Пример #10
0
		void InitializeChildrens() {
			if (expander != null)
				return;

			ToolTip = toolTipDummy;

			expander = new ToggleButton {
				Style = (Style)FindResource("ExpandCollapseToggleStyle")
			};
			icon = new Image {
				Width = 16,
				Height = 16,
				Margin = new Thickness(0, 0, 5, 1),
				VerticalAlignment = VerticalAlignment.Center,
				Focusable = false
			};
			content = new ContentPresenter {
				Margin = new Thickness(2, 0, 6, 0),
				VerticalAlignment = VerticalAlignment.Center,
				Focusable = false
			};

			expander.Checked += (sender, e) => Node.IsExpanded = true;
			expander.Unchecked += (sender, e) => Node.IsExpanded = false;

			AddVisualChild(expander);
			AddVisualChild(icon);
			AddVisualChild(content);

			UpdateChildren(Node);
		}
 private static void SetOption(ToggleButton cb, ref List<string> currentOption, string option)
 {
     if (cb.IsChecked.HasValue && cb.IsChecked.Value)
     {
         currentOption.Add(option);
     }
 }
Пример #12
0
 public static void CheckToggleButton(ToggleButton control, bool check)
 {
     if (control != null)
     {
         control.IsChecked = new bool?(check);
     }
 }
 protected override void Attach()
 {
     _control = (ToggleButton)ControlObject;
     _control.Checked += ChangeCheck;
     _control.Unchecked += ChangeCheck;
     _control.Indeterminate += ChangeCheck;
 }
 public ToggleButtonUndoOperation(ToggleButton sender, bool? oldValue, bool? newValue)
 {
     Sender = sender;
     OldValue = oldValue;
     NewValue = newValue;
     Timestamp = DateTime.UtcNow;
 }
Пример #15
0
 public GaneralLeds(ToggleButton[] debugarray, Image[] debugtxtarray, ToggleButton[] common, Image[] commontxtarray, ToggleButton[] leds, Image[] ledstxtarray, ToggleButton[] modems, Image[] modemstxtarray)
 {
     Debug = new bool[debugarray.Length];
     Common = new bool[common.Length];
     Leds = new bool[leds.Length];
     Modems = new bool[modems.Length];
     Debugtxt = debugtxtarray;
     Debugbtn = debugarray;
     Commonbtn = common;
     Commontxt = commontxtarray;
     Ledsbtn = leds;
     Ledstxt = ledstxtarray;
     Modembtn = modems;
     Modemtxt = modemstxtarray;
     foreach (ToggleButton item in Debugbtn)
     {
         item.Click += new System.Windows.RoutedEventHandler(Clicked);
     }
     foreach (ToggleButton item in Commonbtn)
     {
         item.Click += new System.Windows.RoutedEventHandler(Clicked);
     }
     foreach (ToggleButton item in Ledsbtn)
     {
         item.Click += new System.Windows.RoutedEventHandler(Clicked);
     }
     foreach (ToggleButton item in Modembtn)
     {
         item.Click += new System.Windows.RoutedEventHandler(Clicked);
     }
 }
 private void UpdateItemCheckedState(ToggleButton button,
     DependencyProperty formattingProperty, object expectedValue)
 {
     object currentValue = rtbDocument.Selection.GetPropertyValue(formattingProperty);
     button.IsChecked = (currentValue == DependencyProperty.UnsetValue) ? 
         false : 
         currentValue != null && currentValue.Equals(expectedValue);
 }
Пример #17
0
 public void CheckButton(ToggleButton checkedBtn)
 {
     foreach (ToggleButton btn in toggleBtnList)
     {
         if (btn == null || btn != checkedBtn)
             btn.IsChecked = false;
     }
 }
Пример #18
0
		public override void OnApplyTemplate() {
			base.OnApplyTemplate();
			_mColorPicker = GetTemplateChild("PART_ColorPicker") as ColorPicker;
			_mToggleButton = GetTemplateChild("PART_ToggleButton") as ToggleButton;
			if (_mColorPicker != null) {
				_mColorPicker.SelectedColor = SelectedColor;
			}
		}
Пример #19
0
        public override void OnApplyTemplate()
        {
            if (_button != null) _button.Checked -= button_Checked;

            _button = GetTemplateChild("button") as ToggleButton;

            if (_button != null) _button.Checked += button_Checked;
        }
 private static void ColorToggle(ToggleButton button, Point p, SkeletonPoint? d)
 {
     if (p != null && p != default(Point) && d.HasValue)
         button.Background = Brushes.Green;
     else if (p != null && p != default(Point))
         button.Background = Brushes.Red;
     else
         button.Background = ToggleButton.BackgroundProperty.DefaultMetadata.DefaultValue as Brush;
 }
Пример #21
0
 /// <summary>
 /// add Style to star buttons
 /// </summary>
 private void addStarStyle(ToggleButton btnStar)
 {
     Style starStyle = this.Resources["StarToggleButton"] as Style; ;
     if (starStyle != null)
     {
         btnStar.Style = starStyle;
         starStack.Children.Add(btnStar);
     }
 }
Пример #22
0
 //Button 就是侧边栏的按钮
 public GridnFloatingBtnCombo(Grid grid, ToggleButton btn)
 {
     Grid = grid;
     Btn = btn;
     ColumnDefinitions = new List<ColumnDefinition>();
     RowDefinitions = new List<RowDefinition>();
     ColumnLocations = new List<Layer.LayerColumnLocation>();
     MainContentLocation = 1;
 }
 void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
     switch (connectionId)
     {
     case 1:
     this.mainSwitch = ((System.Windows.Controls.Primitives.ToggleButton)(target));
     return;
     }
     this._contentLoaded = true;
 }
Пример #24
0
		public ToggleButtonAutomationPeer (ToggleButton owner)
			: base (owner)
		{
			this.owner = owner;

			// UIA Event TogglePatternIdentifiers.ToggleStateProperty
			// raised by ToggleButton.OnIsCheckedPropertyChanged().
			toggleState = ToggleState;
		}
Пример #25
0
 public void InitializeComponent() {
     if (_contentLoaded) {
         return;
     }
     _contentLoaded = true;
     System.Windows.Application.LoadComponent(this, new System.Uri("/mapme;component/Page4.xaml", System.UriKind.Relative));
     this.LayoutRoot = ((System.Windows.Controls.Grid)(this.FindName("LayoutRoot")));
     this.ContentPanel = ((System.Windows.Controls.Grid)(this.FindName("ContentPanel")));
     this.TB = ((System.Windows.Controls.Primitives.ToggleButton)(this.FindName("TB")));
 }
        public RoutineBuilder(Routine routine)
        {
            //View initialization
            InitializeComponent();
            LivePreview = false;
            //Initialize Routine
            _routine = routine;
            _routine.RoutineBuilder = this;
            tbxRoutineName.Text = _routine.Name;
            this.Title = _routine.Name;
            //Build Canvas toolbar - drawing shapes icons
            toolbarButtons = new List<ToggleButton>();
            toolbarButtons.Add(btnToolbarMove);
            toolbarButtons.Add(btnToolbarArc);
            toolbarButtons.Add(btnToolbarCircle);
            toolbarButtons.Add(btnToolbarDot);
            toolbarButtons.Add(btnToolbarLine);
            toolbarButtons.Add(btnToolbarPolyline);
            toolbarButtons.Add(btnToolbarRectangle);
            toolbarButtons.Add(btnToolbarReferencePoint);
            toolbarButtons.Add(btnToolbarAttrPoint);
            _activeTool = null;
            _drawing = false;
            _movingShape = false;
            _movingReferencePoint = false;
            _movingAttributePoint = false;
            _makingPath = false;
            _makingPathStep2 = false;
            attributePointPopup = new AttributePointPopup();
            //Build "Add Fixture" popup
            addFixturePop = new AddFixturePopup();
            addFixturePop.AddSelectedClick += new RoutedEventHandler(SubroutineBuilder_AddSelectedClick);

            //Initialize Timeline
            CollectionContainer items = new CollectionContainer();
            items.Collection = _routine.RoutineFixtures;
            CollectionContainer newFixtureLineCollection = new CollectionContainer();
            BindingList<string> newFixtureLine = new BindingList<string>();
            newFixtureLine.Add("Click here to add a fixture...");
            newFixtureLineCollection.Collection = newFixtureLine;

            CompositeCollection cmpc = new CompositeCollection();
            cmpc.Add(items);
            cmpc.Add(newFixtureLineCollection);

            lbxTimeline.ItemsSource = cmpc;
            //lbxTimeline.ItemsSource = _routine.RoutineFixtures;
            _lastSelectedFixture = null;

            //Step items list. necessary?
            lbxSteps.ItemsSource = null;

            //Reference Point list.
            lbxReferencePoints.ItemsSource = null;
        }
Пример #27
0
		public override void OnApplyTemplate()
		{
			base.OnApplyTemplate();

			this._toggleButton = this.Template.FindName("PART_ToggleButton", this) as ToggleButton;

			if (null == this._toggleButton)
			{
				throw new InvalidOperationException("Missing essential part in template");
			}
		}
Пример #28
0
 public void InitializeComponent() {
     if (_contentLoaded) {
         return;
     }
     _contentLoaded = true;
     System.Windows.Application.LoadComponent(this, new System.Uri("/Healthcare;component/MyUserControl/ItemControlHttp.xaml", System.UriKind.Relative));
     this.ItemBlock = ((System.Windows.Controls.Grid)(this.FindName("ItemBlock")));
     this.TBTitle = ((System.Windows.Controls.TextBlock)(this.FindName("TBTitle")));
     this.BTNFlip = ((System.Windows.Controls.Primitives.ToggleButton)(this.FindName("BTNFlip")));
     this.WBCon = ((Microsoft.Phone.Controls.WebBrowser)(this.FindName("WBCon")));
 }
Пример #29
0
 public override void OnApplyTemplate()
 {
     base.OnApplyTemplate();
     this.m_popup = base.GetTemplateChild("PART_Popup") as UIElement;
     this.m_colorPicker = base.GetTemplateChild("PART_ColorPicker") as ColorPicker.ColorPicker;
     this.m_toggleButton = base.GetTemplateChild("PART_ToggleButton") as ToggleButton;
     if (this.m_colorPicker != null)
     {
         this.m_colorPicker.SelectedColor = this.SelectedColor;
     }
 }
Пример #30
0
        public override void OnApplyTemplate()
        {
            base.OnApplyTemplate();

            m_popup        = GetTemplateChild("PART_Popup") as UIElement;
            m_colorPicker  = GetTemplateChild("PART_ColorPicker") as ColorPicker;
            m_toggleButton = GetTemplateChild("PART_ToggleButton") as ToggleButton;

            if (m_colorPicker != null)
                m_colorPicker.SelectedColor = SelectedColor;
        }
Пример #31
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:

            #line 21 "..\..\..\SerialBasic\SerialBasic.xaml"
                ((System.Windows.Input.CommandBinding)(target)).Executed += new System.Windows.Input.ExecutedRoutedEventHandler(this.FileOpen);

            #line default
            #line hidden
                return;

            case 2:

            #line 22 "..\..\..\SerialBasic\SerialBasic.xaml"
                ((System.Windows.Input.CommandBinding)(target)).Executed += new System.Windows.Input.ExecutedRoutedEventHandler(this.FileSave);

            #line default
            #line hidden
                return;

            case 3:

            #line 23 "..\..\..\SerialBasic\SerialBasic.xaml"
                ((System.Windows.Input.CommandBinding)(target)).Executed += new System.Windows.Input.ExecutedRoutedEventHandler(this.WindowClosed);

            #line default
            #line hidden
                return;

            case 4:

            #line 24 "..\..\..\SerialBasic\SerialBasic.xaml"
                ((System.Windows.Input.CommandBinding)(target)).Executed += new System.Windows.Input.ExecutedRoutedEventHandler(this.SendButton_Click);

            #line default
            #line hidden
                return;

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

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

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

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

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

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

            case 11:
                this.serialPortStatusEllipse = ((System.Windows.Shapes.Ellipse)(target));
                return;

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

            #line 106 "..\..\..\SerialBasic\SerialBasic.xaml"
                this.turnOnButton.Checked += new System.Windows.RoutedEventHandler(this.TurnOnButton_Checked);

            #line default
            #line hidden

            #line 106 "..\..\..\SerialBasic\SerialBasic.xaml"
                this.turnOnButton.Unchecked += new System.Windows.RoutedEventHandler(this.TurnOnButton_Unchecked);

            #line default
            #line hidden
                return;

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

            #line 122 "..\..\..\SerialBasic\SerialBasic.xaml"
                this.clearReceiveButton.Click += new System.Windows.RoutedEventHandler(this.ClearReceiveButton_Click);

            #line default
            #line hidden
                return;

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

            #line 123 "..\..\..\SerialBasic\SerialBasic.xaml"
                this.stopShowingButton.Checked += new System.Windows.RoutedEventHandler(this.StopShowingButton_Checked);

            #line default
            #line hidden

            #line 123 "..\..\..\SerialBasic\SerialBasic.xaml"
                this.stopShowingButton.Unchecked += new System.Windows.RoutedEventHandler(this.StopShowingButton_Unchecked);

            #line default
            #line hidden
                return;

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

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

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

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

            #line 147 "..\..\..\SerialBasic\SerialBasic.xaml"
                this.autoSendCheckBox.Unchecked += new System.Windows.RoutedEventHandler(this.AutoSendCheckBox_Unchecked);

            #line default
            #line hidden

            #line 147 "..\..\..\SerialBasic\SerialBasic.xaml"
                this.autoSendCheckBox.Checked += new System.Windows.RoutedEventHandler(this.AutoSendCheckBox_Checked);

            #line default
            #line hidden
                return;

            case 19:
                this.hexadecimalSendCheckBox = ((System.Windows.Controls.CheckBox)(target));
                return;

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

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

            #line 157 "..\..\..\SerialBasic\SerialBasic.xaml"
                this.clearSendButton.Click += new System.Windows.RoutedEventHandler(this.ClearSendButton_Click);

            #line default
            #line hidden
                return;

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

            #line 158 "..\..\..\SerialBasic\SerialBasic.xaml"
                this.SendButton.Click += new System.Windows.RoutedEventHandler(this.SendButton_Click);

            #line default
            #line hidden
                return;

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

            case 24:
                this.receiveScrollViewer = ((System.Windows.Controls.ScrollViewer)(target));
                return;

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

            #line 173 "..\..\..\SerialBasic\SerialBasic.xaml"
                this.receiveTextBox.TextChanged += new System.Windows.Controls.TextChangedEventHandler(this.ReceiveTextBox_TextChanged);

            #line default
            #line hidden
                return;

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

            #line 184 "..\..\..\SerialBasic\SerialBasic.xaml"
                this.sendTextBox.PreviewTextInput += new System.Windows.Input.TextCompositionEventHandler(this.SendTextBox_PreviewTextInput);

            #line default
            #line hidden
                return;

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

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

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

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

            #line 215 "..\..\..\SerialBasic\SerialBasic.xaml"
                this.countClearButton.Click += new System.Windows.RoutedEventHandler(this.countClearButton_Click);

            #line default
            #line hidden
                return;
            }
            this._contentLoaded = true;
        }
Пример #32
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.btnSpeakGetReadyQuestion = ((System.Windows.Controls.Button)(target));
                return;

            case 2:
                this.btnAutoNextGetReadyQuestion = ((System.Windows.Controls.Primitives.ToggleButton)(target));
                return;

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

            case 4:
                this.lvKeywords = ((System.Windows.Controls.ItemsControl)(target));
                return;

            case 5:
                this.lvKeyWordExList = ((System.Windows.Controls.ItemsControl)(target));
                return;

            case 6:
                this.lvSentences = ((System.Windows.Controls.ItemsControl)(target));
                return;

            case 7:
                this.lvSentenceExList = ((System.Windows.Controls.ItemsControl)(target));
                return;

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

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

            case 10:
                this.lvListeningExList = ((System.Windows.Controls.ItemsControl)(target));
                return;

            case 11:
                this.lvListenPart2QuestionList = ((System.Windows.Controls.ItemsControl)(target));
                return;

            case 12:
                this.dvGrammar = ((System.Windows.Controls.DocumentViewer)(target));
                return;

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

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

            case 15:
                this.lvGrammarExList = ((System.Windows.Controls.ItemsControl)(target));
                return;

            case 16:
                this._richTextBox = ((Xceed.Wpf.Toolkit.RichTextBox)(target));
                return;

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

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

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

            case 20:
                this.flRating = ((MahApps.Metro.Controls.Flyout)(target));
                return;

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

            case 22:
                this.rtLesson = ((SoBasicEnglish.Rating)(target));
                return;

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

            case 24:
                this.lvLessonRating = ((System.Windows.Controls.ListView)(target));
                return;

            case 25:
                this.btnCloseRating = ((MahApps.Metro.Controls.Tile)(target));
                return;
            }
            this._contentLoaded = true;
        }
Пример #33
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.Window = ((OutlookUI_HOL.Window1)(target));
                return;

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

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

            case 4:
                this.myMainGridFirstColumnSplitter = ((System.Windows.Controls.GridSplitter)(target));

            #line 35 "..\..\Window1.xaml"
                this.myMainGridFirstColumnSplitter.DragDelta += new System.Windows.Controls.Primitives.DragDeltaEventHandler(this.myMainGridFirstColumnSplitter_DragDelta);

            #line default
            #line hidden
                return;

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

            case 6:
                this.myFoldersExpandersControl = ((OutlookUI_HOL.MyFoldersExpandersControl)(target));
                return;

            case 7:
                this.dp1 = ((System.Windows.Controls.DockPanel)(target));
                return;

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

            #line 79 "..\..\Window1.xaml"
                this.myMainGridToggleButton.Checked += new System.Windows.RoutedEventHandler(this.myMainGridToggleButton_Checked);

            #line default
            #line hidden

            #line 79 "..\..\Window1.xaml"
                this.myMainGridToggleButton.Unchecked += new System.Windows.RoutedEventHandler(this.myMainGridToggleButton_Unchecked);

            #line default
            #line hidden
                return;

            case 9:
                this.mySidebarControl = ((OutlookUI_HOL.MySidebarControl)(target));
                return;

            case 10:
                this.dp2 = ((System.Windows.Controls.DockPanel)(target));
                return;

            case 11:
                this.dp3 = ((System.Windows.Controls.DockPanel)(target));
                return;
            }
            this._contentLoaded = true;
        }
Пример #34
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.UserC = ((Gss.PopUpWindow.CustomCotrol.AutoComboBox)(target));
                return;

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

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

            #line 39 "..\..\..\CustomCotrol\AutoComboBox.xaml"
                this.Tbx.TextChanged += new System.Windows.Controls.TextChangedEventHandler(this.Tbx_TextChanged);

            #line default
            #line hidden

            #line 39 "..\..\..\CustomCotrol\AutoComboBox.xaml"
                this.Tbx.PreviewKeyDown += new System.Windows.Input.KeyEventHandler(this.Tbx_PreviewKeyDown);

            #line default
            #line hidden
                return;

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

            #line 41 "..\..\..\CustomCotrol\AutoComboBox.xaml"
                this.Btn_Search.Click += new System.Windows.RoutedEventHandler(this.Btn_Search_Click);

            #line default
            #line hidden
                return;

            case 5:
                this.Lst = ((System.Windows.Controls.ListBox)(target));

            #line 51 "..\..\..\CustomCotrol\AutoComboBox.xaml"
                this.Lst.MouseLeave += new System.Windows.Input.MouseEventHandler(this.UserC_MouseLeave);

            #line default
            #line hidden

            #line 53 "..\..\..\CustomCotrol\AutoComboBox.xaml"
                this.Lst.PreviewKeyDown += new System.Windows.Input.KeyEventHandler(this.Lst_PreviewKeyDown);

            #line default
            #line hidden

            #line 53 "..\..\..\CustomCotrol\AutoComboBox.xaml"
                this.Lst.MouseDoubleClick += new System.Windows.Input.MouseButtonEventHandler(this.Lst_MouseDoubleClick);

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

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

            #line default
            #line hidden
                return;

            case 2:

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

            #line default
            #line hidden
                return;

            case 3:

            #line 19 "..\..\Editor.xaml"
                ((System.Windows.Input.CommandBinding)(target)).Executed += new System.Windows.Input.ExecutedRoutedEventHandler(this.PrintRef_Executed);

            #line default
            #line hidden
                return;

            case 4:

            #line 20 "..\..\Editor.xaml"
                ((System.Windows.Input.CommandBinding)(target)).Executed += new System.Windows.Input.ExecutedRoutedEventHandler(this.exportPDF);

            #line default
            #line hidden
                return;

            case 5:

            #line 22 "..\..\Editor.xaml"
                ((System.Windows.Input.CommandBinding)(target)).Executed += new System.Windows.Input.ExecutedRoutedEventHandler(this.Cut_Executed);

            #line default
            #line hidden
                return;

            case 6:

            #line 23 "..\..\Editor.xaml"
                ((System.Windows.Input.CommandBinding)(target)).Executed += new System.Windows.Input.ExecutedRoutedEventHandler(this.Copy_Executed);

            #line default
            #line hidden
                return;

            case 7:

            #line 24 "..\..\Editor.xaml"
                ((System.Windows.Input.CommandBinding)(target)).Executed += new System.Windows.Input.ExecutedRoutedEventHandler(this.Paste_Executed);

            #line default
            #line hidden
                return;

            case 8:

            #line 25 "..\..\Editor.xaml"
                ((System.Windows.Input.CommandBinding)(target)).Executed += new System.Windows.Input.ExecutedRoutedEventHandler(this.Undo_Executed);

            #line default
            #line hidden
                return;

            case 9:

            #line 26 "..\..\Editor.xaml"
                ((System.Windows.Input.CommandBinding)(target)).Executed += new System.Windows.Input.ExecutedRoutedEventHandler(this.Redo_Executed);

            #line default
            #line hidden
                return;

            case 10:
                this.btnBold = ((System.Windows.Controls.Primitives.ToggleButton)(target));
                return;

            case 11:
                this.btnItalic = ((System.Windows.Controls.Primitives.ToggleButton)(target));
                return;

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

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

            #line 72 "..\..\Editor.xaml"
                this.cmbFontFamily.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.selectFontFamily);

            #line default
            #line hidden
                return;

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

            #line 73 "..\..\Editor.xaml"
                this.cmbFontSize.AddHandler(System.Windows.Controls.Primitives.TextBoxBase.TextChangedEvent, new System.Windows.Controls.TextChangedEventHandler(this.selectFontSize));

            #line default
            #line hidden
                return;

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

            #line 75 "..\..\Editor.xaml"
                this.cmbHighlight.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.highlightText);

            #line default
            #line hidden
                return;

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

            #line 76 "..\..\Editor.xaml"
                this.cmbTextColor.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.changeTextColor);

            #line default
            #line hidden
                return;

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

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

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

            case 2:
                this._dragWidget = ((System.Windows.Controls.Primitives.Thumb)(target));

            #line 371 "..\..\..\RichTextBoxFormatBar\RichTextBoxFormatBar.xaml"
                this._dragWidget.DragDelta += new System.Windows.Controls.Primitives.DragDeltaEventHandler(this.DragWidget_DragDelta);

            #line default
            #line hidden
                return;

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

            #line 378 "..\..\..\RichTextBoxFormatBar\RichTextBoxFormatBar.xaml"
                this._cmbFontFamilies.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.FontFamily_SelectionChanged);

            #line default
            #line hidden
                return;

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

            #line 384 "..\..\..\RichTextBoxFormatBar\RichTextBoxFormatBar.xaml"
                this._cmbFontSizes.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.FontSize_SelectionChanged);

            #line default
            #line hidden
                return;

            case 5:
                this._btnBullets = ((System.Windows.Controls.Primitives.ToggleButton)(target));

            #line 393 "..\..\..\RichTextBoxFormatBar\RichTextBoxFormatBar.xaml"
                this._btnBullets.Click += new System.Windows.RoutedEventHandler(this.Bullets_Clicked);

            #line default
            #line hidden
                return;

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

            #line 402 "..\..\..\RichTextBoxFormatBar\RichTextBoxFormatBar.xaml"
                this._btnNumbers.Click += new System.Windows.RoutedEventHandler(this.Numbers_Clicked);

            #line default
            #line hidden
                return;

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

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

            case 9:
                this._btnUnderline = ((System.Windows.Controls.Primitives.ToggleButton)(target));
                return;

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

            case 11:
                this._btnAlignCenter = ((System.Windows.Controls.RadioButton)(target));
                return;

            case 12:
                this._btnAlignRight = ((System.Windows.Controls.RadioButton)(target));
                return;

            case 13:
                this._cmbFontBackgroundColor = ((Xceed.Wpf.Toolkit.ColorPicker)(target));
                return;

            case 14:
                this._cmbFontColor = ((Xceed.Wpf.Toolkit.ColorPicker)(target));
                return;
            }
            this._contentLoaded = true;
        }
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.ConfigViev = ((TwitchAssistant.UserInterface.Views.ConfigControlView)(target));
                return;

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

            case 3:
                this.DualModeCheckBox = ((System.Windows.Controls.Primitives.ToggleButton)(target));
                return;

            case 4:
                this.DefaultBotConfig = ((System.Windows.Controls.StackPanel)(target));
                return;

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

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

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

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

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

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

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

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

            case 13:
                this.AsistantConnectIcon = ((MaterialDesignThemes.Wpf.PackIcon)(target));
                return;

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

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

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

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

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

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

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

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

            case 22:
                this.GetStreamLinkBtn = ((System.Windows.Controls.Button)(target));
                return;
            }
            this._contentLoaded = true;
        }
Пример #38
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.mainWindow = ((Styx.MainWindow)(target));

            #line 5 "..\..\..\MainWindow.xaml"
                this.mainWindow.Closed += new System.EventHandler(this.mainWindow_Closed);

            #line default
            #line hidden

            #line 5 "..\..\..\MainWindow.xaml"
                this.mainWindow.Closing += new System.ComponentModel.CancelEventHandler(this.mainWindow_Closing);

            #line default
            #line hidden
                return;

            case 2:

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

            #line default
            #line hidden

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

            #line default
            #line hidden
                return;

            case 3:

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

            #line default
            #line hidden

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

            #line default
            #line hidden
                return;

            case 4:

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

            #line default
            #line hidden

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

            #line default
            #line hidden
                return;

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

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

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

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

            case 9:
                this.menu1 = ((System.Windows.Controls.Menu)(target));
                return;

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

            #line 35 "..\..\..\MainWindow.xaml"
                this.optionsMenuItem.Click += new System.Windows.RoutedEventHandler(this.optionsMenuItem_Click);

            #line default
            #line hidden
                return;

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

            #line 50 "..\..\..\MainWindow.xaml"
                this.printButton.Click += new System.Windows.RoutedEventHandler(this.printButton_Click);

            #line default
            #line hidden
                return;

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

            #line 57 "..\..\..\MainWindow.xaml"
                this.singleSelection.Checked += new System.Windows.RoutedEventHandler(this.singleSelection_Checked);

            #line default
            #line hidden
                return;

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

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

            #line default
            #line hidden
                return;

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

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

            #line default
            #line hidden
                return;

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

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

            #line default
            #line hidden
                return;

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

            #line 85 "..\..\..\MainWindow.xaml"
                this.zoomOutButton.Click += new System.Windows.RoutedEventHandler(this.zoomOutButton_Click_1);

            #line default
            #line hidden
                return;

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

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

            #line 94 "..\..\..\MainWindow.xaml"
                this.layer0.SizeChanged += new System.Windows.SizeChangedEventHandler(this.layer0_SizeChanged);

            #line default
            #line hidden
                return;

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

            #line 100 "..\..\..\MainWindow.xaml"
                this.canvasGrid.SizeChanged += new System.Windows.SizeChangedEventHandler(this.canvasGrid_SizeChanged);

            #line default
            #line hidden
                return;

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

            case 21:
                this.scrollViewerCanvas1 = ((System.Windows.Controls.ScrollViewer)(target));
                return;

            case 22:
                this.canvas1 = ((System.Windows.Controls.Canvas)(target));

            #line 103 "..\..\..\MainWindow.xaml"
                this.canvas1.MouseLeftButtonDown += new System.Windows.Input.MouseButtonEventHandler(this.canvas1_MouseLeftButtonDown);

            #line default
            #line hidden

            #line 103 "..\..\..\MainWindow.xaml"
                this.canvas1.MouseWheel += new System.Windows.Input.MouseWheelEventHandler(this.canvas1_MouseWheel);

            #line default
            #line hidden

            #line 103 "..\..\..\MainWindow.xaml"
                this.canvas1.MouseMove += new System.Windows.Input.MouseEventHandler(this.canvas1_MouseMove);

            #line default
            #line hidden

            #line 103 "..\..\..\MainWindow.xaml"
                this.canvas1.MouseLeftButtonUp += new System.Windows.Input.MouseButtonEventHandler(this.canvas1_MouseLeftButtonUp);

            #line default
            #line hidden

            #line 103 "..\..\..\MainWindow.xaml"
                this.canvas1.MouseRightButtonDown += new System.Windows.Input.MouseButtonEventHandler(this.canvas1_MouseRightButtonDown);

            #line default
            #line hidden

            #line 103 "..\..\..\MainWindow.xaml"
                this.canvas1.ContextMenuOpening += new System.Windows.Controls.ContextMenuEventHandler(this.canvas1_ContextMenuOpening);

            #line default
            #line hidden
                return;

            case 23:
                this.canvas1ContextMenu = ((System.Windows.Controls.ContextMenu)(target));
                return;

            case 24:
                this.showPathsContextMenu = ((System.Windows.Controls.MenuItem)(target));

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

            #line default
            #line hidden
                return;

            case 25:
                this.selectPathsNodesContextMenu = ((System.Windows.Controls.MenuItem)(target));

            #line 118 "..\..\..\MainWindow.xaml"
                this.selectPathsNodesContextMenu.Click += new System.Windows.RoutedEventHandler(this.selectPathsNodesContextMenu_Click);

            #line default
            #line hidden
                return;

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

            #line 120 "..\..\..\MainWindow.xaml"
                this.selectItemComboBox.Loaded += new System.Windows.RoutedEventHandler(this.selectItemComboBox_Loaded);

            #line default
            #line hidden

            #line 120 "..\..\..\MainWindow.xaml"
                this.selectItemComboBox.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.selectItemComboBox_SelectionChanged);

            #line default
            #line hidden
                return;

            case 27:
                this.selectAllNodesContextMenu = ((System.Windows.Controls.MenuItem)(target));

            #line 124 "..\..\..\MainWindow.xaml"
                this.selectAllNodesContextMenu.Click += new System.Windows.RoutedEventHandler(this.selectAllNodesContextMenu_Click);

            #line default
            #line hidden
                return;

            case 28:
                this.unselectAllContextMenu = ((System.Windows.Controls.MenuItem)(target));

            #line 125 "..\..\..\MainWindow.xaml"
                this.unselectAllContextMenu.Click += new System.Windows.RoutedEventHandler(this.unselectAllContextMenu_Click);

            #line default
            #line hidden
                return;

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

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

            #line 143 "..\..\..\MainWindow.xaml"
                this.button_LoggerLocTool.Click += new System.Windows.RoutedEventHandler(this.button3_LoggerLocToolClick);

            #line default
            #line hidden
                return;

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

            #line 146 "..\..\..\MainWindow.xaml"
                this.nodesLabelsVisibility.Checked += new System.Windows.RoutedEventHandler(this.nodesLabelsVisibility_Checked);

            #line default
            #line hidden

            #line 146 "..\..\..\MainWindow.xaml"
                this.nodesLabelsVisibility.Unchecked += new System.Windows.RoutedEventHandler(this.nodesLabelsVisibility_Unchecked);

            #line default
            #line hidden
                return;

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

            #line 147 "..\..\..\MainWindow.xaml"
                this.linksLabelsVisibility.Checked += new System.Windows.RoutedEventHandler(this.linksLabelsVisibility_Checked);

            #line default
            #line hidden

            #line 147 "..\..\..\MainWindow.xaml"
                this.linksLabelsVisibility.Unchecked += new System.Windows.RoutedEventHandler(this.linksLabelsVisibility_Unchecked);

            #line default
            #line hidden
                return;

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

            #line 148 "..\..\..\MainWindow.xaml"
                this.mainNetworkVisibility.Unchecked += new System.Windows.RoutedEventHandler(this.mainNetworkVisibility_Unchecked);

            #line default
            #line hidden

            #line 148 "..\..\..\MainWindow.xaml"
                this.mainNetworkVisibility.Checked += new System.Windows.RoutedEventHandler(this.mainNetworkVisibility_Checked);

            #line default
            #line hidden
                return;

            case 34:
                this.propertyGridForElement = ((Xceed.Wpf.Toolkit.PropertyGrid.PropertyGrid)(target));
                return;

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

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

            #line default
            #line hidden
                return;

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

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

            #line default
            #line hidden
                return;

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

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

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

            #line 183 "..\..\..\MainWindow.xaml"
                this.button_LocalizeBurst.Click += new System.Windows.RoutedEventHandler(this.button_LocalizeBurst_Click);

            #line default
            #line hidden
                return;

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

            #line 184 "..\..\..\MainWindow.xaml"
                this.checkbox_loggerNetworkVisibility.Checked += new System.Windows.RoutedEventHandler(this.loggerNetworkVisibility_Checked);

            #line default
            #line hidden

            #line 184 "..\..\..\MainWindow.xaml"
                this.checkbox_loggerNetworkVisibility.Unchecked += new System.Windows.RoutedEventHandler(this.loggerNetworkVisibility_Unchecked);

            #line default
            #line hidden
                return;

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

            #line 190 "..\..\..\MainWindow.xaml"
                this.inletSetSelectionComboBox.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.inletSetSelectionComboBox_SelectionChanged);

            #line default
            #line hidden
                return;

            case 42:
                this.burstFlowEstimationGrid = ((System.Windows.Controls.Grid)(target));
                return;

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

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

            #line default
            #line hidden
                return;

            case 44:

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

            #line default
            #line hidden
                return;
            }
            this._contentLoaded = true;
        }
Пример #39
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.MainForm = ((MegaPaint.MainWindow)(target));

            #line 15 "..\..\MainWindow.xaml"
                this.MainForm.Loaded += new System.Windows.RoutedEventHandler(this.MainForm_Loaded);

            #line default
            #line hidden
                return;

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

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

            #line 47 "..\..\MainWindow.xaml"
                this.menuNew.Click += new System.Windows.RoutedEventHandler(this.menuNew_Click);

            #line default
            #line hidden
                return;

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

            #line 48 "..\..\MainWindow.xaml"
                this.menuOpen.Click += new System.Windows.RoutedEventHandler(this.menuOpen_Click);

            #line default
            #line hidden
                return;

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

            #line 49 "..\..\MainWindow.xaml"
                this.menuSave.Click += new System.Windows.RoutedEventHandler(this.menuSave_Click);

            #line default
            #line hidden
                return;

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

            #line 50 "..\..\MainWindow.xaml"
                this.menuSaveAs.Click += new System.Windows.RoutedEventHandler(this.menuSaveAs_Click);

            #line default
            #line hidden
                return;

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

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

            #line 52 "..\..\MainWindow.xaml"
                this.menuExit.Click += new System.Windows.RoutedEventHandler(this.menuExit_Click);

            #line default
            #line hidden
                return;

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

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

            #line 55 "..\..\MainWindow.xaml"
                this.menuSelectAll.Click += new System.Windows.RoutedEventHandler(this.menuSelectAll_Click);

            #line default
            #line hidden
                return;

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

            #line 56 "..\..\MainWindow.xaml"
                this.menuDeleteAll.Click += new System.Windows.RoutedEventHandler(this.menuDeleteAll_Click);

            #line default
            #line hidden
                return;

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

            #line 57 "..\..\MainWindow.xaml"
                this.menuResetRotate.Click += new System.Windows.RoutedEventHandler(this.menuResetRotate_Click);

            #line default
            #line hidden
                return;

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

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

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

            #line default
            #line hidden
                return;

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

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

            #line default
            #line hidden

            #line 70 "..\..\MainWindow.xaml"
                this.btnCopy.IsEnabledChanged += new System.Windows.DependencyPropertyChangedEventHandler(this.btnCopy_IsEnabledChanged);

            #line default
            #line hidden
                return;

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

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

            #line default
            #line hidden

            #line 71 "..\..\MainWindow.xaml"
                this.btnPaste.IsEnabledChanged += new System.Windows.DependencyPropertyChangedEventHandler(this.btnPaste_IsEnabledChanged);

            #line default
            #line hidden
                return;

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

            #line 72 "..\..\MainWindow.xaml"
                this.btnUndo.Click += new System.Windows.RoutedEventHandler(this.btnUndo_Click);

            #line default
            #line hidden

            #line 72 "..\..\MainWindow.xaml"
                this.btnUndo.IsEnabledChanged += new System.Windows.DependencyPropertyChangedEventHandler(this.btnUndo_IsEnabledChanged);

            #line default
            #line hidden
                return;

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

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

            #line default
            #line hidden

            #line 73 "..\..\MainWindow.xaml"
                this.btnRedo.IsEnabledChanged += new System.Windows.DependencyPropertyChangedEventHandler(this.btnRedo_IsEnabledChanged);

            #line default
            #line hidden
                return;

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

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

            #line default
            #line hidden
                return;

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

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

            #line default
            #line hidden
                return;

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

            #line 81 "..\..\MainWindow.xaml"
                this.btnFilledRectangle.Click += new System.Windows.RoutedEventHandler(this.btnFilledRectangle_Click);

            #line default
            #line hidden

            #line 81 "..\..\MainWindow.xaml"
                this.btnFilledRectangle.MouseDown += new System.Windows.Input.MouseButtonEventHandler(this.btnFilledRectangle_MouseDown);

            #line default
            #line hidden
                return;

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

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

            #line default
            #line hidden
                return;

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

            #line 83 "..\..\MainWindow.xaml"
                this.btnFilledEllipse.Click += new System.Windows.RoutedEventHandler(this.btnFilledEllipse_Click);

            #line default
            #line hidden

            #line 83 "..\..\MainWindow.xaml"
                this.btnFilledEllipse.MouseDown += new System.Windows.Input.MouseButtonEventHandler(this.btnFilledEllipse_MouseDown);

            #line default
            #line hidden
                return;

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

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

            case 26:
                this.lsbForeground = ((Xceed.Wpf.Toolkit.ColorPicker)(target));

            #line 99 "..\..\MainWindow.xaml"
                this.lsbForeground.SelectedColorChanged += new System.Windows.RoutedPropertyChangedEventHandler <System.Nullable <System.Windows.Media.Color> >(this.lsbForeground_SelectedColorChanged);

            #line default
            #line hidden
                return;

            case 27:
                this.lsbBackground = ((Xceed.Wpf.Toolkit.ColorPicker)(target));

            #line 100 "..\..\MainWindow.xaml"
                this.lsbBackground.SelectedColorChanged += new System.Windows.RoutedPropertyChangedEventHandler <System.Nullable <System.Windows.Media.Color> >(this.lsbBackground_SelectedColorChanged);

            #line default
            #line hidden
                return;

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

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

            #line 125 "..\..\MainWindow.xaml"
                this.btnSelect.Click += new System.Windows.RoutedEventHandler(this.btnSelect_Click);

            #line default
            #line hidden
                return;

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

            #line 126 "..\..\MainWindow.xaml"
                this.btnPencil.Click += new System.Windows.RoutedEventHandler(this.btnPencil_Click);

            #line default
            #line hidden
                return;

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

            #line 127 "..\..\MainWindow.xaml"
                this.btnText.Click += new System.Windows.RoutedEventHandler(this.btnText_Click);

            #line default
            #line hidden
                return;

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

            #line 128 "..\..\MainWindow.xaml"
                this.btnImage.Click += new System.Windows.RoutedEventHandler(this.btnImage_Click);

            #line default
            #line hidden
                return;

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

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

            #line default
            #line hidden

            #line 138 "..\..\MainWindow.xaml"
                this.btnRotateLeft.IsEnabledChanged += new System.Windows.DependencyPropertyChangedEventHandler(this.btnRotateLeft_IsEnabledChanged);

            #line default
            #line hidden
                return;

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

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

            #line default
            #line hidden

            #line 139 "..\..\MainWindow.xaml"
                this.btnRotateRight.IsEnabledChanged += new System.Windows.DependencyPropertyChangedEventHandler(this.btnRotateRight_IsEnabledChanged);

            #line default
            #line hidden
                return;

            case 35:
                this.txtRotate = ((Xceed.Wpf.Toolkit.MaskedTextBox)(target));
                return;

            case 36:
                this.sliderSize = ((System.Windows.Controls.Slider)(target));

            #line 153 "..\..\MainWindow.xaml"
                this.sliderSize.ValueChanged += new System.Windows.RoutedPropertyChangedEventHandler <double>(this.sliderSize_ValueChanged);

            #line default
            #line hidden
                return;

            case 37:
                this.cbxNormal = ((System.Windows.Controls.RadioButton)(target));

            #line 163 "..\..\MainWindow.xaml"
                this.cbxNormal.Checked += new System.Windows.RoutedEventHandler(this.cbxNormal_Checked);

            #line default
            #line hidden
                return;

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

            #line 164 "..\..\MainWindow.xaml"
                this.cbxDot.Checked += new System.Windows.RoutedEventHandler(this.cbxDot_Checked);

            #line default
            #line hidden
                return;

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

            #line 165 "..\..\MainWindow.xaml"
                this.cbxDash.Checked += new System.Windows.RoutedEventHandler(this.cbxDash_Checked);

            #line default
            #line hidden
                return;

            case 40:
                this.cbxDoubleLine = ((System.Windows.Controls.RadioButton)(target));

            #line 166 "..\..\MainWindow.xaml"
                this.cbxDoubleLine.Checked += new System.Windows.RoutedEventHandler(this.cbxDoubleLine_Checked);

            #line default
            #line hidden
                return;

            case 41:
                this.cbxDashArrow = ((System.Windows.Controls.RadioButton)(target));

            #line 167 "..\..\MainWindow.xaml"
                this.cbxDashArrow.Checked += new System.Windows.RoutedEventHandler(this.cbxDashArrow_Checked);

            #line default
            #line hidden
                return;

            case 42:
                this.ExpFilledCustom = ((System.Windows.Controls.Expander)(target));
                return;

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

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

            #line default
            #line hidden
                return;

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

            #line 180 "..\..\MainWindow.xaml"
                this.btnFilledGradient.Click += new System.Windows.RoutedEventHandler(this.btnFilledGradient_Click);

            #line default
            #line hidden
                return;

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

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

            #line default
            #line hidden
                return;

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

            #line 191 "..\..\MainWindow.xaml"
                this.btnFilledTexture.Click += new System.Windows.RoutedEventHandler(this.btnFilledTexture_Click);

            #line default
            #line hidden
                return;

            case 47:
                this.btnTheme = ((System.Windows.Controls.Primitives.ToggleButton)(target));

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

            #line default
            #line hidden
                return;

            case 48:
                this.DrawArea = ((MegaPaint.DrawArea)(target));
                return;
            }
            this._contentLoaded = true;
        }
Пример #40
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.form1 = ((WpfApp1.MainWindow)(target));
                return;

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

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

            #line default
            #line hidden
                return;

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

            #line 17 "..\..\MainWindow.xaml"
                this.textb1.TextChanged += new System.Windows.Controls.TextChangedEventHandler(this.TextBox_TextChanged);

            #line default
            #line hidden
                return;

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

            #line 27 "..\..\MainWindow.xaml"
                this.folder.TextChanged += new System.Windows.Controls.TextChangedEventHandler(this.TextBox_TextChanged_1);

            #line default
            #line hidden
                return;

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

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

            #line default
            #line hidden
                return;

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

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

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

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

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

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

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

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

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

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

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

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

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

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

            #line 95 "..\..\MainWindow.xaml"
                this.textb2.TextChanged += new System.Windows.Controls.TextChangedEventHandler(this.TextBox_TextChanged);

            #line default
            #line hidden
                return;

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

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

            #line default
            #line hidden
                return;

            case 21:
                this.radio1 = ((System.Windows.Controls.RadioButton)(target));
                return;

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

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

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

            #line default
            #line hidden
                return;

            case 24:
                this.buttonPause = ((System.Windows.Controls.Primitives.ToggleButton)(target));
                return;

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

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

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

            #line default
            #line hidden
                return;

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

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

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

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

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

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

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

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

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

            case 36:
                this.fileList = ((System.Windows.Controls.ListView)(target));

            #line 145 "..\..\MainWindow.xaml"
                this.fileList.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.FileList_SelectionChanged);

            #line default
            #line hidden
                return;
            }
            this._contentLoaded = true;
        }
Пример #41
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.MetroWindowMain = ((Personal_App.MainWindow)(target));

            #line 13 "..\..\MainWindow.xaml"
                this.MetroWindowMain.Closing += new System.ComponentModel.CancelEventHandler(this.MainWindow_Closing);

            #line default
            #line hidden

            #line 14 "..\..\MainWindow.xaml"
                this.MetroWindowMain.MouseDown += new System.Windows.Input.MouseButtonEventHandler(this.MainLogin_OnMouseDown);

            #line default
            #line hidden

            #line 15 "..\..\MainWindow.xaml"
                this.MetroWindowMain.Activated += new System.EventHandler(this.MainWindow_OnActivated);

            #line default
            #line hidden

            #line 15 "..\..\MainWindow.xaml"
                this.MetroWindowMain.Loaded += new System.Windows.RoutedEventHandler(this.MainWindow_OnLoaded);

            #line default
            #line hidden
                return;

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

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

            case 4:

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

            #line default
            #line hidden
                return;

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

            case 6:

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

            #line default
            #line hidden
                return;

            case 7:
                this.MainContentPanel = ((System.Windows.Controls.WrapPanel)(target));
                return;

            case 8:
                this.loadMask = ((Personal_App.LoadingOperationPromptPage)(target));
                return;
            }
            this._contentLoaded = true;
        }
Пример #42
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:

            #line 6 "..\..\..\DocumentEditor.xaml"
                ((VirtualClassroom.StudentClient.DocumentEditor)(target)).Loaded += new System.Windows.RoutedEventHandler(this.UserControl_Loaded);

            #line default
            #line hidden
                return;

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

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

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

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

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

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

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

            case 9:
                this.btnBold = ((System.Windows.Controls.Primitives.ToggleButton)(target));
                return;

            case 10:
                this.btnItalic = ((System.Windows.Controls.Primitives.ToggleButton)(target));
                return;

            case 11:
                this.btnUnderline = ((System.Windows.Controls.Primitives.ToggleButton)(target));
                return;

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

            #line 62 "..\..\..\DocumentEditor.xaml"
                this.comboFontFamily.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.comboFontFamily_SelectionChanged);

            #line default
            #line hidden
                return;

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

            #line 64 "..\..\..\DocumentEditor.xaml"
                this.comboFontSize.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.comboFontSize_SelectionChanged);

            #line default
            #line hidden
                return;

            case 14:
                this.colorPicker = ((Xceed.Wpf.Toolkit.ColorPicker)(target));

            #line 66 "..\..\..\DocumentEditor.xaml"
                this.colorPicker.SelectedColorChanged += new System.Windows.RoutedPropertyChangedEventHandler <System.Windows.Media.Color>(this.colorPicker_SelectedColorChanged);

            #line default
            #line hidden
                return;

            case 15:
                this.btnLeftAlign = ((System.Windows.Controls.Primitives.ToggleButton)(target));
                return;

            case 16:
                this.btnCenterAlign = ((System.Windows.Controls.Primitives.ToggleButton)(target));
                return;

            case 17:
                this.btnRightAlign = ((System.Windows.Controls.Primitives.ToggleButton)(target));
                return;

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

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

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

            case 21:
                this.btnSuperscript = ((System.Windows.Controls.Primitives.ToggleButton)(target));

            #line 98 "..\..\..\DocumentEditor.xaml"
                this.btnSuperscript.Click += new System.Windows.RoutedEventHandler(this.btnSuperscript_Click);

            #line default
            #line hidden
                return;

            case 22:
                this.btnSubscript = ((System.Windows.Controls.Primitives.ToggleButton)(target));

            #line 102 "..\..\..\DocumentEditor.xaml"
                this.btnSubscript.Click += new System.Windows.RoutedEventHandler(this.btnSubscript_Click);

            #line default
            #line hidden
                return;

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

            #line 106 "..\..\..\DocumentEditor.xaml"
                this.btnIncreaseIndent.Click += new System.Windows.RoutedEventHandler(this.btnIncreaseIndent_Click);

            #line default
            #line hidden
                return;

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

            #line 110 "..\..\..\DocumentEditor.xaml"
                this.btnDecreaseIndent.Click += new System.Windows.RoutedEventHandler(this.btnDecreaseIndent_Click);

            #line default
            #line hidden
                return;

            case 25:
                this.rtbDocument = ((System.Windows.Controls.RichTextBox)(target));

            #line 120 "..\..\..\DocumentEditor.xaml"
                this.rtbDocument.SelectionChanged += new System.Windows.RoutedEventHandler(this.rtbDocument_SelectionChanged);

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

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

            #line default
            #line hidden
                return;

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

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

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

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

            #line default
            #line hidden
                return;

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

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

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

            #line default
            #line hidden
                return;

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

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

            #line default
            #line hidden
                return;

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

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

            #line default
            #line hidden
                return;

            case 9:
                this.togglebutton_simulation = ((System.Windows.Controls.Primitives.ToggleButton)(target));

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

            #line default
            #line hidden
                return;

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

            #line 30 "..\..\MainWindow.xaml"
                this.canvas.MouseDown += new System.Windows.Input.MouseButtonEventHandler(this.canvas_MouseDown);

            #line default
            #line hidden

            #line 30 "..\..\MainWindow.xaml"
                this.canvas.MouseMove += new System.Windows.Input.MouseEventHandler(this.canvas_MouseMove);

            #line default
            #line hidden

            #line 30 "..\..\MainWindow.xaml"
                this.canvas.MouseUp += new System.Windows.Input.MouseButtonEventHandler(this.canvas_MouseUp);

            #line default
            #line hidden
                return;
            }
            this._contentLoaded = true;
        }
Пример #44
0
 public void InitializeComponent()
 {
     if (_contentLoaded)
     {
         return;
     }
     _contentLoaded = true;
     System.Windows.Application.LoadComponent(this, new System.Uri("/Zires%20Explorer;component/MainPage.xaml", System.UriKind.Relative));
     this.Zires = ((Microsoft.Phone.Controls.PhoneApplicationPage)(this.FindName("Zires")));
     this.Open_OpenWithAnimation  = ((System.Windows.Media.Animation.Storyboard)(this.FindName("Open_OpenWithAnimation")));
     this.Close_OpenWithAnimation = ((System.Windows.Media.Animation.Storyboard)(this.FindName("Close_OpenWithAnimation")));
     this.Open_MainMenu           = ((System.Windows.Media.Animation.Storyboard)(this.FindName("Open_MainMenu")));
     this.easingDoubleKeyFrame_1  = ((System.Windows.Media.Animation.EasingDoubleKeyFrame)(this.FindName("easingDoubleKeyFrame_1")));
     this.Close_MainMenu          = ((System.Windows.Media.Animation.Storyboard)(this.FindName("Close_MainMenu")));
     this.easingDoubleKeyFrame_2  = ((System.Windows.Media.Animation.EasingDoubleKeyFrame)(this.FindName("easingDoubleKeyFrame_2")));
     this.Open_HoldMenu           = ((System.Windows.Media.Animation.Storyboard)(this.FindName("Open_HoldMenu")));
     this.Close_HoldMenu          = ((System.Windows.Media.Animation.Storyboard)(this.FindName("Close_HoldMenu")));
     this.Open_Start           = ((System.Windows.Media.Animation.Storyboard)(this.FindName("Open_Start")));
     this.longListSelectorItem = ((System.Windows.Style)(this.FindName("longListSelectorItem")));
     this.LayoutRoot           = ((System.Windows.Controls.Grid)(this.FindName("LayoutRoot")));
     this.ContentPanel         = ((System.Windows.Controls.Grid)(this.FindName("ContentPanel")));
     this.seperator            = ((System.Windows.Controls.RowDefinition)(this.FindName("seperator")));
     this.explorer_1           = ((System.Windows.Controls.Grid)(this.FindName("explorer_1")));
     this.list                              = ((Microsoft.Phone.Controls.LongListSelector)(this.FindName("list")));
     this.selectionList                     = ((Microsoft.Phone.Controls.LongListMultiSelector)(this.FindName("selectionList")));
     this.home_2                            = ((Coding4Fun.Phone.Controls.RoundButton)(this.FindName("home_2")));
     this.pathPanel_2                       = ((System.Windows.Controls.TextBox)(this.FindName("pathPanel_2")));
     this.explorer_2                        = ((System.Windows.Controls.Grid)(this.FindName("explorer_2")));
     this.list_2                            = ((Microsoft.Phone.Controls.LongListSelector)(this.FindName("list_2")));
     this.selectionList_2                   = ((Microsoft.Phone.Controls.LongListMultiSelector)(this.FindName("selectionList_2")));
     this.seperatorControler                = ((System.Windows.Controls.Primitives.ToggleButton)(this.FindName("seperatorControler")));
     this.home                              = ((Coding4Fun.Phone.Controls.RoundButton)(this.FindName("home")));
     this.pathPanel                         = ((System.Windows.Controls.TextBox)(this.FindName("pathPanel")));
     this.statusBar                         = ((System.Windows.Controls.Grid)(this.FindName("statusBar")));
     this.numbersOfItem                     = ((System.Windows.Controls.TextBlock)(this.FindName("numbersOfItem")));
     this.selectedItem                      = ((System.Windows.Controls.TextBlock)(this.FindName("selectedItem")));
     this.MainMenu                          = ((System.Windows.Controls.Grid)(this.FindName("MainMenu")));
     this.planeProjectionMainMenu           = ((System.Windows.Media.PlaneProjection)(this.FindName("planeProjectionMainMenu")));
     this.menuScrooll                       = ((System.Windows.Controls.ScrollViewer)(this.FindName("menuScrooll")));
     this.menuScroollContentPlaneProjection = ((System.Windows.Media.PlaneProjection)(this.FindName("menuScroollContentPlaneProjection")));
     this.Thumbnails_view                   = ((System.Windows.Controls.Button)(this.FindName("Thumbnails_view")));
     this.Details_view                      = ((System.Windows.Controls.Button)(this.FindName("Details_view")));
     this.search                            = ((System.Windows.Controls.Button)(this.FindName("search")));
     this.new_folder                        = ((System.Windows.Controls.Button)(this.FindName("new_folder")));
     this.cut                     = ((System.Windows.Controls.Button)(this.FindName("cut")));
     this.copy                    = ((System.Windows.Controls.Button)(this.FindName("copy")));
     this.paste                   = ((System.Windows.Controls.Button)(this.FindName("paste")));
     this.delete                  = ((System.Windows.Controls.Button)(this.FindName("delete")));
     this.rename                  = ((System.Windows.Controls.Button)(this.FindName("rename")));
     this.selectall               = ((System.Windows.Controls.Button)(this.FindName("selectall")));
     this.selectnone              = ((System.Windows.Controls.Button)(this.FindName("selectnone")));
     this.properties              = ((System.Windows.Controls.Button)(this.FindName("properties")));
     this.pintostart              = ((System.Windows.Controls.Button)(this.FindName("pintostart")));
     this.refresh                 = ((System.Windows.Controls.Button)(this.FindName("refresh")));
     this.exit                    = ((System.Windows.Controls.Button)(this.FindName("exit")));
     this.settings                = ((System.Windows.Controls.Button)(this.FindName("settings")));
     this.asd                     = ((System.Windows.Controls.TextBlock)(this.FindName("asd")));
     this.openWithList            = ((System.Windows.Controls.Grid)(this.FindName("openWithList")));
     this.OpenWithForAnimation    = ((System.Windows.Media.PlaneProjection)(this.FindName("OpenWithForAnimation")));
     this.ziresPlayerButton       = ((System.Windows.Controls.Button)(this.FindName("ziresPlayerButton")));
     this.phonePlayerButton       = ((System.Windows.Controls.Button)(this.FindName("phonePlayerButton")));
     this.playInBackground        = ((System.Windows.Controls.Button)(this.FindName("playInBackground")));
     this.openWithClose           = ((Coding4Fun.Phone.Controls.RoundButton)(this.FindName("openWithClose")));
     this.menuControl             = ((System.Windows.Controls.Grid)(this.FindName("menuControl")));
     this.planeprojectionHoldMenu = ((System.Windows.Media.PlaneProjection)(this.FindName("planeprojectionHoldMenu")));
     this.Menu                    = ((Microsoft.Phone.Controls.LongListSelector)(this.FindName("Menu")));
     this.startControl            = ((System.Windows.Controls.Grid)(this.FindName("startControl")));
     this.Start                   = ((System.Windows.Controls.Grid)(this.FindName("Start")));
     this.startPlaneProjection    = ((System.Windows.Media.PlaneProjection)(this.FindName("startPlaneProjection")));
     this.start                   = ((Microsoft.Phone.Controls.LongListMultiSelector)(this.FindName("start")));
     this.recentPlaces            = ((Microsoft.Phone.Controls.LongListMultiSelector)(this.FindName("recentPlaces")));
 }
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.BG = ((System.Windows.Controls.Grid)(target));

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

            #line default
            #line hidden
                return;

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

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

            #line 177 "..\..\Item.xaml"
                this.textBoxName.PreviewTextInput += new System.Windows.Input.TextCompositionEventHandler(this.textBoxName_PreviewTextInput);

            #line default
            #line hidden
                return;

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

            #line 189 "..\..\Item.xaml"
                this.comboBoxSupplierId.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.comboBoxSupplierId_SelectionChanged_1);

            #line default
            #line hidden
                return;

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

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

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

            #line 222 "..\..\Item.xaml"
                this.btn_input.Click += new System.Windows.RoutedEventHandler(this.ButtonInputClick);

            #line default
            #line hidden
                return;

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

            #line 224 "..\..\Item.xaml"
                this.btn_update.Click += new System.Windows.RoutedEventHandler(this.ButtonUpdateClick);

            #line default
            #line hidden
                return;

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

            #line 231 "..\..\Item.xaml"
                this.btn_delete.Click += new System.Windows.RoutedEventHandler(this.ButtonDeleteClick);

            #line default
            #line hidden
                return;

            case 10:
                this.TableItem = ((System.Windows.Controls.DataGrid)(target));

            #line 237 "..\..\Item.xaml"
                this.TableItem.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.TableItem_SelectionChanged);

            #line default
            #line hidden
                return;

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

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

            #line default
            #line hidden
                return;

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

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

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

            #line 321 "..\..\Item.xaml"
                this.Tg_btn.Unchecked += new System.Windows.RoutedEventHandler(this.Tg_Btn_Unchecked);

            #line default
            #line hidden

            #line 322 "..\..\Item.xaml"
                this.Tg_btn.Checked += new System.Windows.RoutedEventHandler(this.Tg_Btn_Checked);

            #line default
            #line hidden
                return;

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

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

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

            case 18:

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

            #line default
            #line hidden

            #line 369 "..\..\Item.xaml"
                ((System.Windows.Controls.ListViewItem)(target)).Selected += new System.Windows.RoutedEventHandler(this.Supplier_Selected);

            #line default
            #line hidden
                return;

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

            case 20:

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

            #line default
            #line hidden

            #line 398 "..\..\Item.xaml"
                ((System.Windows.Controls.ListViewItem)(target)).Selected += new System.Windows.RoutedEventHandler(this.Item_Selected);

            #line default
            #line hidden
                return;

            case 21:
                this.tt_contacts = ((System.Windows.Controls.ToolTip)(target));
                return;
            }
            this._contentLoaded = true;
        }
Пример #46
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.MainGrid = ((System.Windows.Controls.Grid)(target));
                return;

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

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

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

            #line default
            #line hidden
                return;

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

            case 5:

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

            #line default
            #line hidden
                return;

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

            case 7:

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

            #line default
            #line hidden
                return;

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

            #line 86 "..\..\MainWindow.xaml"
                this.Close.Click += new System.Windows.RoutedEventHandler(this.BottonClose);

            #line default
            #line hidden
                return;

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

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

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

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

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

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

            #line 96 "..\..\MainWindow.xaml"
                this.LangRus.Click += new System.Windows.RoutedEventHandler(this.LangButtonRus);

            #line default
            #line hidden
                return;

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

            #line 97 "..\..\MainWindow.xaml"
                this.LangEng.Click += new System.Windows.RoutedEventHandler(this.LangButtonEng);

            #line default
            #line hidden
                return;

            case 16:

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

            #line default
            #line hidden
                return;

            case 17:

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

            #line default
            #line hidden
                return;

            case 18:

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

            #line default
            #line hidden
                return;

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

            #line 115 "..\..\MainWindow.xaml"
                this.FontSt.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.ComboBox_SelectionChanged_1);

            #line default
            #line hidden
                return;

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

            #line 118 "..\..\MainWindow.xaml"
                this.sizeBut.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.ComboBox_SelectionChanged);

            #line default
            #line hidden
                return;

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

            case 22:
                this.Italic = ((System.Windows.Controls.Primitives.ToggleButton)(target));
                return;

            case 23:
                this.Underline = ((System.Windows.Controls.Primitives.ToggleButton)(target));
                return;

            case 24:
                this.Tab = ((System.Windows.Controls.TabControl)(target));
                return;

            case 25:
                this.RichText = ((System.Windows.Controls.RichTextBox)(target));

            #line 136 "..\..\MainWindow.xaml"
                this.RichText.TextChanged += new System.Windows.Controls.TextChangedEventHandler(this.RichText_TextChanged);

            #line default
            #line hidden

            #line 137 "..\..\MainWindow.xaml"
                this.RichText.Drop += new System.Windows.DragEventHandler(this.txtTarget_Drop);

            #line default
            #line hidden
                return;

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

            case 27:
                this.SliderScale = ((System.Windows.Controls.Slider)(target));

            #line 148 "..\..\MainWindow.xaml"
                this.SliderScale.ValueChanged += new System.Windows.RoutedPropertyChangedEventHandler <double>(this.Slider_ValueChanged);

            #line default
            #line hidden
                return;
            }
            this._contentLoaded = true;
        }
Пример #47
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.MenuBar = ((System.Windows.Controls.DockPanel)(target));
                return;

            case 2:
                this.MediaPlayerElement = ((System.Windows.Controls.MediaElement)(target));

            #line 100 "..\..\MainWindow.xaml"
                this.MediaPlayerElement.MediaOpened += new System.Windows.RoutedEventHandler(this.MediaPlayerElement_OnMediaOpened);

            #line default
            #line hidden

            #line 100 "..\..\MainWindow.xaml"
                this.MediaPlayerElement.MediaEnded += new System.Windows.RoutedEventHandler(this.MediaPlayerElement_OnMediaEnded);

            #line default
            #line hidden
                return;

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

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

            case 5:
                this.MoviePositionSlider = ((System.Windows.Controls.Slider)(target));

            #line 131 "..\..\MainWindow.xaml"
                this.MoviePositionSlider.AddHandler(System.Windows.Controls.Primitives.Thumb.DragCompletedEvent, new System.Windows.Controls.Primitives.DragCompletedEventHandler(this.MoviePositionSlider_OnValueChanged));

            #line default
            #line hidden
                return;

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

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

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

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

            case 10:
                this.VolumeSlider = ((System.Windows.Controls.Slider)(target));
                return;

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

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

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

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

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

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

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

            case 18:
                this.Albums = ((System.Windows.Controls.Button)(target));
                return;
            }
            this._contentLoaded = true;
        }
Пример #48
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.tabControl1 = ((System.Windows.Controls.TabControl)(target));

            #line 33 "..\..\MainWindow.xaml"
                this.tabControl1.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.tabControl1_SelectionChanged_1);

            #line default
            #line hidden
                return;

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

            case 3:

            #line 64 "..\..\MainWindow.xaml"
                ((System.Windows.Controls.Label)(target)).MouseLeftButtonDown += new System.Windows.Input.MouseButtonEventHandler(this.CategoriestabItem1_Clicked);

            #line default
            #line hidden
                return;

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

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

            case 6:

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

            #line default
            #line hidden
                return;

            case 7:
                this.ConnctTab = ((System.Windows.Controls.TabItem)(target));
                return;

            case 8:
                this.Flipper1 = ((MaterialDesignThemes.Wpf.Flipper)(target));
                return;

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

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

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

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

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

            #line 160 "..\..\MainWindow.xaml"
                this.toglebutton.Checked += new System.Windows.RoutedEventHandler(this.SetConnection);

            #line default
            #line hidden
                return;

            case 14:

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

            #line default
            #line hidden
                return;
            }
            this._contentLoaded = true;
        }
Пример #49
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.btn_TaskSolved = ((System.Windows.Controls.Primitives.ToggleButton)(target));

            #line 18 "..\..\..\userControl\Film.xaml"
                this.btn_TaskSolved.Click += new System.Windows.RoutedEventHandler(this.Btn_TaskSolved_Click);

            #line default
            #line hidden
                return;

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

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

            #line 22 "..\..\..\userControl\Film.xaml"
                this.btn_EditTask.Click += new System.Windows.RoutedEventHandler(this.Btn_EditTask_Click);

            #line default
            #line hidden
                return;

            case 4:
                this.md_EditTask = ((MaterialDesignThemes.Wpf.PackIcon)(target));
                return;

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

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

            #line 27 "..\..\..\userControl\Film.xaml"
                this.dp_Deadline.SelectedDateChanged += new System.EventHandler <System.Windows.Controls.SelectionChangedEventArgs>(this.Dp_Deadline_SelectedDateChanged);

            #line default
            #line hidden
                return;

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

            case 8:
                this.BasicRatingBar = ((MaterialDesignThemes.Wpf.RatingBar)(target));

            #line 32 "..\..\..\userControl\Film.xaml"
                this.BasicRatingBar.ValueChanged += new System.Windows.RoutedPropertyChangedEventHandler <int>(this.BasicRatingBar_ValueChanged);

            #line default
            #line hidden
                return;

            case 9:

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

            #line default
            #line hidden
                return;

            case 10:

            #line 40 "..\..\..\userControl\Film.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Btn_Delete_Click);

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

            #line 7 "..\..\..\..\..\View\settings\emailGeneral\uc_emailsSetting.xaml"
                ((AdministratorApp.View.settings.emailGeneral.uc_emailsSetting)(target)).Loaded += new System.Windows.RoutedEventHandler(this.UserControl_Loaded);

            #line default
            #line hidden

            #line 9 "..\..\..\..\..\View\settings\emailGeneral\uc_emailsSetting.xaml"
                ((AdministratorApp.View.settings.emailGeneral.uc_emailsSetting)(target)).Unloaded += new System.Windows.RoutedEventHandler(this.UserControl_Unloaded);

            #line default
            #line hidden
                return;

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

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

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

            #line default
            #line hidden
                return;

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

            case 5:
                this.tgl_isActive = ((System.Windows.Controls.Primitives.ToggleButton)(target));

            #line 60 "..\..\..\..\..\View\settings\emailGeneral\uc_emailsSetting.xaml"
                this.tgl_isActive.Checked += new System.Windows.RoutedEventHandler(this.Tgl_isActive_Checked);

            #line default
            #line hidden

            #line 60 "..\..\..\..\..\View\settings\emailGeneral\uc_emailsSetting.xaml"
                this.tgl_isActive.Unchecked += new System.Windows.RoutedEventHandler(this.Tgl_isActive_Unchecked);

            #line default
            #line hidden
                return;

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

            #line 64 "..\..\..\..\..\View\settings\emailGeneral\uc_emailsSetting.xaml"
                this.btn_refresh.Click += new System.Windows.RoutedEventHandler(this.Btn_refresh_Click);

            #line default
            #line hidden
                return;

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

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

            case 9:
                this.dg_sysEmail = ((System.Windows.Controls.DataGrid)(target));

            #line 102 "..\..\..\..\..\View\settings\emailGeneral\uc_emailsSetting.xaml"
                this.dg_sysEmail.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.Dg_sysEmail_SelectionChanged);

            #line default
            #line hidden
                return;

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

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

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

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

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

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

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

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

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

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

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

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

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

            #line 258 "..\..\..\..\..\View\settings\emailGeneral\uc_emailsSetting.xaml"
                this.btn_clear.Click += new System.Windows.RoutedEventHandler(this.Btn_clear_Click);

            #line default
            #line hidden
                return;

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

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

            #line 277 "..\..\..\..\..\View\settings\emailGeneral\uc_emailsSetting.xaml"
                this.tb_name.LostFocus += new System.Windows.RoutedEventHandler(this.validateEmpty_LostFocus);

            #line default
            #line hidden

            #line 277 "..\..\..\..\..\View\settings\emailGeneral\uc_emailsSetting.xaml"
                this.tb_name.TextChanged += new System.Windows.Controls.TextChangedEventHandler(this.ValidateEmpty_TextChange);

            #line default
            #line hidden
                return;

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

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

            #line 294 "..\..\..\..\..\View\settings\emailGeneral\uc_emailsSetting.xaml"
                this.tb_email.LostFocus += new System.Windows.RoutedEventHandler(this.validateEmpty_LostFocus);

            #line default
            #line hidden

            #line 294 "..\..\..\..\..\View\settings\emailGeneral\uc_emailsSetting.xaml"
                this.tb_email.TextChanged += new System.Windows.Controls.TextChangedEventHandler(this.ValidateEmpty_TextChange);

            #line default
            #line hidden
                return;

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

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

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

            #line 318 "..\..\..\..\..\View\settings\emailGeneral\uc_emailsSetting.xaml"
                this.pb_password.LostFocus += new System.Windows.RoutedEventHandler(this.validateEmpty_LostFocus);

            #line default
            #line hidden

            #line 318 "..\..\..\..\..\View\settings\emailGeneral\uc_emailsSetting.xaml"
                this.pb_password.PasswordChanged += new System.Windows.RoutedEventHandler(this.ValidateEmpty_PasswordChanged);

            #line default
            #line hidden
                return;

            case 30:
                this.p_error_password = ((System.Windows.Shapes.Path)(target));
                return;

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

            #line 329 "..\..\..\..\..\View\settings\emailGeneral\uc_emailsSetting.xaml"
                this.p_showPassword.MouseEnter += new System.Windows.Input.MouseEventHandler(this.P_showPassword_MouseEnter);

            #line default
            #line hidden

            #line 330 "..\..\..\..\..\View\settings\emailGeneral\uc_emailsSetting.xaml"
                this.p_showPassword.MouseLeave += new System.Windows.Input.MouseEventHandler(this.P_showPassword_MouseLeave);

            #line default
            #line hidden
                return;

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

            #line 342 "..\..\..\..\..\View\settings\emailGeneral\uc_emailsSetting.xaml"
                this.tb_port.PreviewTextInput += new System.Windows.Input.TextCompositionEventHandler(this.Number_PreviewTextInput);

            #line default
            #line hidden

            #line 344 "..\..\..\..\..\View\settings\emailGeneral\uc_emailsSetting.xaml"
                this.tb_port.PreviewKeyDown += new System.Windows.Input.KeyEventHandler(this.Spaces_PreviewKeyDown);

            #line default
            #line hidden
                return;

            case 33:
                this.p_error_port = ((System.Windows.Shapes.Path)(target));
                return;

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

            case 35:
                this.tgl_isSSL = ((System.Windows.Controls.Primitives.ToggleButton)(target));
                return;

            case 36:
                this.tb_smtpClient = ((System.Windows.Controls.TextBox)(target));

            #line 371 "..\..\..\..\..\View\settings\emailGeneral\uc_emailsSetting.xaml"
                this.tb_smtpClient.LostFocus += new System.Windows.RoutedEventHandler(this.validateEmpty_LostFocus);

            #line default
            #line hidden

            #line 371 "..\..\..\..\..\View\settings\emailGeneral\uc_emailsSetting.xaml"
                this.tb_smtpClient.TextChanged += new System.Windows.Controls.TextChangedEventHandler(this.ValidateEmpty_TextChange);

            #line default
            #line hidden
                return;

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

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

            case 39:
                this.p_error_side = ((System.Windows.Shapes.Path)(target));
                return;

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

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

            #line 429 "..\..\..\..\..\View\settings\emailGeneral\uc_emailsSetting.xaml"
                this.btn_add.Click += new System.Windows.RoutedEventHandler(this.Btn_add_Click);

            #line default
            #line hidden
                return;

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

            #line 432 "..\..\..\..\..\View\settings\emailGeneral\uc_emailsSetting.xaml"
                this.btn_update.Click += new System.Windows.RoutedEventHandler(this.Btn_update_Click);

            #line default
            #line hidden
                return;

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

            #line 435 "..\..\..\..\..\View\settings\emailGeneral\uc_emailsSetting.xaml"
                this.btn_delete.Click += new System.Windows.RoutedEventHandler(this.Btn_delete_Click);

            #line default
            #line hidden
                return;
            }
            this._contentLoaded = true;
        }
Пример #51
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.main = ((_3DPrinter.MainWindow)(target));

            #line 13 "..\..\MainWindow.xaml"
                this.main.Loaded += new System.Windows.RoutedEventHandler(this.Window_Loaded);

            #line default
            #line hidden
                return;

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

            case 8:
                this.threedview1 = ((_3DPrinter.view.ThreeD.ThreeDControl)(target));
                return;

            case 9:
                this.topList = ((_3DPrinter.view.menu.MenuApp)(target));
                return;

            case 10:
                this.expander2 = ((System.Windows.Controls.Expander)(target));
                return;

            case 11:

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

            #line default
            #line hidden
                return;

            case 12:

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

            #line default
            #line hidden
                return;

            case 13:

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

            #line default
            #line hidden
                return;

            case 14:

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

            #line default
            #line hidden
                return;

            case 15:

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

            #line default
            #line hidden
                return;

            case 16:

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

            #line default
            #line hidden
                return;

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

            #line 1241 "..\..\MainWindow.xaml"
                this.modelListView1.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.Selector_OnSelected);

            #line default
            #line hidden

            #line 1241 "..\..\MainWindow.xaml"
                this.modelListView1.Initialized += new System.EventHandler(this.ModelListView1_OnInitialized);

            #line default
            #line hidden

            #line 1241 "..\..\MainWindow.xaml"
                this.modelListView1.IsVisibleChanged += new System.Windows.DependencyPropertyChangedEventHandler(this.ModelListView1_OnIsVisibleChanged);

            #line default
            #line hidden
                return;

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

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

            #line 1286 "..\..\MainWindow.xaml"
                this.LandButton.Click += new System.Windows.RoutedEventHandler(this.Land_OnClick);

            #line default
            #line hidden
                return;

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

            #line 1287 "..\..\MainWindow.xaml"
                this.FitButton.Click += new System.Windows.RoutedEventHandler(this.Fit_OnClick);

            #line default
            #line hidden
                return;

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

            #line 1288 "..\..\MainWindow.xaml"
                this.CentrerButton.Click += new System.Windows.RoutedEventHandler(this.CentrerButton_OnClick);

            #line default
            #line hidden
                return;

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

            #line 1289 "..\..\MainWindow.xaml"
                this.AutoPositionButton.Click += new System.Windows.RoutedEventHandler(this.AutoPositionButton_OnClick);

            #line default
            #line hidden
                return;

            case 24:

            #line 1294 "..\..\MainWindow.xaml"
                ((System.Windows.Controls.Primitives.ToggleButton)(target)).Click += new System.Windows.RoutedEventHandler(this.Visible_OnClick);

            #line default
            #line hidden
                return;

            case 25:
                this.moveToggle = ((System.Windows.Controls.Primitives.ToggleButton)(target));

            #line 1295 "..\..\MainWindow.xaml"
                this.moveToggle.Click += new System.Windows.RoutedEventHandler(this.MoveToggleButton_OnChecked);

            #line default
            #line hidden
                return;

            case 26:
                this.scaleToggle = ((System.Windows.Controls.Primitives.ToggleButton)(target));

            #line 1296 "..\..\MainWindow.xaml"
                this.scaleToggle.Click += new System.Windows.RoutedEventHandler(this.ScaleToggleButton_OnChecked);

            #line default
            #line hidden
                return;

            case 27:
                this.rotateToggle = ((System.Windows.Controls.Primitives.ToggleButton)(target));

            #line 1297 "..\..\MainWindow.xaml"
                this.rotateToggle.Click += new System.Windows.RoutedEventHandler(this.RotateToggleButton_OnChecked);

            #line default
            #line hidden
                return;

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

            case 29:

            #line 1315 "..\..\MainWindow.xaml"
                ((System.Windows.Controls.TextBox)(target)).TextChanged += new System.Windows.Controls.TextChangedEventHandler(this.TextBoxBase_OnTextChanged);

            #line default
            #line hidden
                return;

            case 30:

            #line 1316 "..\..\MainWindow.xaml"
                ((System.Windows.Controls.TextBox)(target)).TextChanged += new System.Windows.Controls.TextChangedEventHandler(this.TextBoxBase_OnTextChanged);

            #line default
            #line hidden
                return;

            case 31:

            #line 1317 "..\..\MainWindow.xaml"
                ((System.Windows.Controls.TextBox)(target)).TextChanged += new System.Windows.Controls.TextChangedEventHandler(this.TextBoxBase_OnTextChanged);

            #line default
            #line hidden
                return;

            case 32:
                this.rotatePanel = ((System.Windows.Controls.Grid)(target));
                return;

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

            #line 1337 "..\..\MainWindow.xaml"
                this.rotateX.TextChanged += new System.Windows.Controls.TextChangedEventHandler(this.TextBoxBase_OnTextChanged);

            #line default
            #line hidden
                return;

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

            #line 1338 "..\..\MainWindow.xaml"
                this.rotateY.TextChanged += new System.Windows.Controls.TextChangedEventHandler(this.TextBoxBase_OnTextChanged);

            #line default
            #line hidden
                return;

            case 35:
                this.rotateZ = ((System.Windows.Controls.TextBox)(target));

            #line 1339 "..\..\MainWindow.xaml"
                this.rotateZ.TextChanged += new System.Windows.Controls.TextChangedEventHandler(this.TextBoxBase_OnTextChanged);

            #line default
            #line hidden
                return;

            case 36:

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

            #line default
            #line hidden
                return;

            case 37:

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

            #line default
            #line hidden
                return;

            case 38:

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

            #line default
            #line hidden
                return;

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

            case 40:

            #line 1364 "..\..\MainWindow.xaml"
                ((System.Windows.Controls.TextBox)(target)).TextChanged += new System.Windows.Controls.TextChangedEventHandler(this.TextBoxBaseScale_OnTextChanged);

            #line default
            #line hidden
                return;

            case 41:

            #line 1365 "..\..\MainWindow.xaml"
                ((System.Windows.Controls.TextBox)(target)).TextChanged += new System.Windows.Controls.TextChangedEventHandler(this.TextBoxBaseScale_OnTextChanged);

            #line default
            #line hidden
                return;

            case 42:

            #line 1366 "..\..\MainWindow.xaml"
                ((System.Windows.Controls.TextBox)(target)).TextChanged += new System.Windows.Controls.TextChangedEventHandler(this.TextBoxBaseScale_OnTextChanged);

            #line default
            #line hidden
                return;

            case 43:
                this.scaleLock = ((System.Windows.Controls.Primitives.ToggleButton)(target));
                return;

            case 44:
                this.expander3 = ((System.Windows.Controls.Expander)(target));
                return;

            case 45:

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

            #line default
            #line hidden
                return;

            case 46:
                this.rangeSlider1 = ((_3DPrinter.view.controls.RangeSlider)(target));
                return;

            case 47:
                this.codeEditor = ((_3DPrinter.view.editor.CodeEditor)(target));
                return;

            case 48:
                this.expander1 = ((System.Windows.Controls.Expander)(target));
                return;

            case 49:
                this.newProject = ((_3DPrinter.view.menu.ButtonExt)(target));
                return;

            case 50:
                this.openProject = ((_3DPrinter.view.menu.ButtonExt)(target));
                return;

            case 51:
                this.addModel = ((_3DPrinter.view.menu.ButtonExt)(target));
                return;

            case 52:
                this.loadCode = ((_3DPrinter.view.menu.ButtonExt)(target));
                return;

            case 53:
                this.saveProject = ((_3DPrinter.view.menu.ButtonExt)(target));
                return;

            case 54:
                this.exit = ((_3DPrinter.view.menu.ButtonExt)(target));
                return;

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

            case 56:
                this.recentList = ((System.Windows.Controls.ListView)(target));
                return;

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

            case 58:
                this.settings = ((_3DPrinter.view.menu.ButtonExt)(target));
                return;

            case 59:
                this.about = ((_3DPrinter.view.menu.ButtonExt)(target));
                return;

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

            case 61:
                this.toaster = ((_3DPrinter.view.notification.ToasterControl)(target));
                return;
            }
            this._contentLoaded = true;
        }
Пример #52
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.Toolbar = ((System.Windows.Controls.Grid)(target));

            #line 174 "..\..\..\View\MainWindow.xaml"
                this.Toolbar.MouseDown += new System.Windows.Input.MouseButtonEventHandler(this.Toolbar_MouseDown);

            #line default
            #line hidden
                return;

            case 2:

            #line 202 "..\..\..\View\MainWindow.xaml"
                ((System.Windows.Controls.Label)(target)).MouseDown += new System.Windows.Input.MouseButtonEventHandler(this.Label_MouseDown_1);

            #line default
            #line hidden
                return;

            case 3:

            #line 222 "..\..\..\View\MainWindow.xaml"
                ((System.Windows.Controls.Label)(target)).MouseDown += new System.Windows.Input.MouseButtonEventHandler(this.Label_MouseDown);

            #line default
            #line hidden
                return;

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

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

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

            case 7:

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

            #line default
            #line hidden
                return;

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

            case 9:

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

            #line default
            #line hidden
                return;

            case 10:

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

            #line default
            #line hidden
                return;

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

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

            case 13:

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

            #line default
            #line hidden
                return;

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

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

            case 16:
                this.EncodeUID = ((System.Windows.Controls.Primitives.ToggleButton)(target));
                return;

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

            case 18:
                this.PlayButton = ((System.Windows.Controls.Border)(target));
                return;
            }
            this._contentLoaded = true;
        }
 void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
     switch (connectionId)
     {
     case 1:
     this.bg = ((System.Windows.Controls.Grid)(target));
     
     #line 164 "..\..\reconcile_payment.xaml"
     this.bg.PreviewMouseLeftButtonDown += new System.Windows.Input.MouseButtonEventHandler(this.bg_PreviewMouseLeftButtonDown);
     
     #line default
     #line hidden
     return;
     case 2:
     this.img_bg = ((System.Windows.Media.ImageBrush)(target));
     return;
     case 3:
     
     #line 189 "..\..\reconcile_payment.xaml"
     ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Button_Click);
     
     #line default
     #line hidden
     return;
     case 4:
     
     #line 190 "..\..\reconcile_payment.xaml"
     ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Button_Click);
     
     #line default
     #line hidden
     return;
     case 5:
     
     #line 191 "..\..\reconcile_payment.xaml"
     ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Button_Click);
     
     #line default
     #line hidden
     return;
     case 6:
     this.register_client = ((Community_Help_App.Register_client)(target));
     return;
     case 7:
     this.CloseBtn = ((System.Windows.Controls.Button)(target));
     
     #line 233 "..\..\reconcile_payment.xaml"
     this.CloseBtn.Click += new System.Windows.RoutedEventHandler(this.CloseBtn_Click);
     
     #line default
     #line hidden
     return;
     case 8:
     this.nav_panel = ((System.Windows.Controls.Grid)(target));
     return;
     case 9:
     this.Stack_Panel = ((System.Windows.Controls.StackPanel)(target));
     return;
     case 10:
     this.Toggle_btn = ((System.Windows.Controls.Primitives.ToggleButton)(target));
     
     #line 294 "..\..\reconcile_payment.xaml"
     this.Toggle_btn.Unchecked += new System.Windows.RoutedEventHandler(this.Toggle_tn_Unchecked);
     
     #line default
     #line hidden
     
     #line 294 "..\..\reconcile_payment.xaml"
     this.Toggle_btn.Checked += new System.Windows.RoutedEventHandler(this.Toggle_button_Checked);
     
     #line default
     #line hidden
     return;
     case 11:
     this.HideStackPanel = ((System.Windows.Media.Animation.Storyboard)(target));
     return;
     case 12:
     this.ShowstackPanel = ((System.Windows.Media.Animation.Storyboard)(target));
     return;
     case 13:
     
     #line 378 "..\..\reconcile_payment.xaml"
     ((System.Windows.Controls.ListViewItem)(target)).MouseEnter += new System.Windows.Input.MouseEventHandler(this.ListViewItem_MouseEnter);
     
     #line default
     #line hidden
     return;
     case 14:
     this.tt_home = ((System.Windows.Controls.ToolTip)(target));
     return;
     case 15:
     
     #line 411 "..\..\reconcile_payment.xaml"
     ((System.Windows.Controls.ListViewItem)(target)).MouseEnter += new System.Windows.Input.MouseEventHandler(this.ListViewItem_MouseEnter);
     
     #line default
     #line hidden
     return;
     case 16:
     this.tt_contact = ((System.Windows.Controls.ToolTip)(target));
     return;
     case 17:
     
     #line 445 "..\..\reconcile_payment.xaml"
     ((System.Windows.Controls.ListViewItem)(target)).MouseEnter += new System.Windows.Input.MouseEventHandler(this.ListViewItem_MouseEnter);
     
     #line default
     #line hidden
     return;
     case 18:
     this.tt_message = ((System.Windows.Controls.ToolTip)(target));
     return;
     case 19:
     
     #line 478 "..\..\reconcile_payment.xaml"
     ((System.Windows.Controls.ListViewItem)(target)).MouseEnter += new System.Windows.Input.MouseEventHandler(this.ListViewItem_MouseEnter);
     
     #line default
     #line hidden
     return;
     case 20:
     this.tt_map = ((System.Windows.Controls.ToolTip)(target));
     return;
     case 21:
     
     #line 510 "..\..\reconcile_payment.xaml"
     ((System.Windows.Controls.ListViewItem)(target)).MouseEnter += new System.Windows.Input.MouseEventHandler(this.ListViewItem_MouseEnter);
     
     #line default
     #line hidden
     return;
     case 22:
     this.tt_setting = ((System.Windows.Controls.ToolTip)(target));
     return;
     case 23:
     
     #line 542 "..\..\reconcile_payment.xaml"
     ((System.Windows.Controls.ListViewItem)(target)).MouseEnter += new System.Windows.Input.MouseEventHandler(this.ListViewItem_MouseEnter);
     
     #line default
     #line hidden
     return;
     case 24:
     this.tt_signout = ((System.Windows.Controls.ToolTip)(target));
     return;
     }
     this._contentLoaded = true;
 }
Пример #54
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:

            #line 6 "..\..\..\..\RDLCPrinter\MrDSoft.RDLC\RDLCPrinterDialog.xaml"
                ((DSoft.RDLC.RDLCPrinterDialog)(target)).Loaded += new System.Windows.RoutedEventHandler(this.Window_Loaded);

            #line default
            #line hidden
                return;

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

            #line 24 "..\..\..\..\RDLCPrinter\MrDSoft.RDLC\RDLCPrinterDialog.xaml"
                this.cmdOK.Click += new System.Windows.RoutedEventHandler(this.OK_Click);

            #line default
            #line hidden
                return;

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

            #line 31 "..\..\..\..\RDLCPrinter\MrDSoft.RDLC\RDLCPrinterDialog.xaml"
                this.cmdAnnuler.Click += new System.Windows.RoutedEventHandler(this.Annuler_Click);

            #line default
            #line hidden
                return;

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

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

            #line 40 "..\..\..\..\RDLCPrinter\MrDSoft.RDLC\RDLCPrinterDialog.xaml"
                this.cboImprimanteNom.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.cboImprimanetNom_SelectionChanged);

            #line default
            #line hidden
                return;

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

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

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

            case 9:
                this.NumberOfCopySpinner = ((DSoft.RDLCReport.LightIntergerSpinner)(target));
                return;

            case 10:
                this.PageChoiceStackPanel = ((System.Windows.Controls.StackPanel)(target));
                return;

            case 11:
                this.FirstPageSpinner = ((DSoft.RDLCReport.LightIntergerSpinner)(target));
                return;

            case 12:
                this.LastPageSpinner = ((DSoft.RDLCReport.LightIntergerSpinner)(target));
                return;

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

            #line 63 "..\..\..\..\RDLCPrinter\MrDSoft.RDLC\RDLCPrinterDialog.xaml"
                this.cmdAllPageButton.Click += new System.Windows.RoutedEventHandler(this.cmdAllPageButton_Click);

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

            #line 12 "..\..\MainWindow.xaml"
                ((Calendar.MainWindow)(target)).Activated += new System.EventHandler(this.MainWindow_OnActivated);

            #line default
            #line hidden
                return;

            case 2:
                this.ControlBar = ((MaterialDesignThemes.Wpf.ColorZone)(target));

            #line 36 "..\..\MainWindow.xaml"
                this.ControlBar.MouseLeftButtonDown += new System.Windows.Input.MouseButtonEventHandler(this.ControlBar_OnMouseLeftButtonDown);

            #line default
            #line hidden
                return;

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

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

            #line default
            #line hidden
                return;

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

            #line 52 "..\..\MainWindow.xaml"
                this.CloseWindowButton.Click += new System.Windows.RoutedEventHandler(this.CloseWindowButton_OnClick);

            #line default
            #line hidden
                return;

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

            #line 61 "..\..\MainWindow.xaml"
                this.HomeButton.Click += new System.Windows.RoutedEventHandler(this.ReturnToday);

            #line default
            #line hidden
                return;

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

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

            #line default
            #line hidden
                return;

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

            #line 119 "..\..\MainWindow.xaml"
                this.CurrYearButton.Click += new System.Windows.RoutedEventHandler(this.CurrYear_Click);

            #line default
            #line hidden
                return;

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

            #line 140 "..\..\MainWindow.xaml"
                this.PrevButton.Click += new System.Windows.RoutedEventHandler(this.PrevButton_Click);

            #line default
            #line hidden
                return;

            case 9:
                this.CalendarTable = ((Calendar.CalendarTable)(target));
                return;

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

            #line 163 "..\..\MainWindow.xaml"
                this.NextButton.Click += new System.Windows.RoutedEventHandler(this.NextButton_Click);

            #line default
            #line hidden
                return;

            case 11:

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

            #line default
            #line hidden
                return;

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

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

            case 14:

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

            #line default
            #line hidden
                return;
            }
            this._contentLoaded = true;
        }
Пример #56
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.Choice_Display = ((EasySaveG5Graphic.MainWindow)(target));
                return;

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

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

            #line default
            #line hidden
                return;

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

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

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

            #line default
            #line hidden
                return;

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

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

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

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

            #line default
            #line hidden

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

            #line default
            #line hidden
                return;

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

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

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

            case 11:

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

            #line default
            #line hidden
                return;

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

            case 13:

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

            #line default
            #line hidden
                return;

            case 14:

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

            #line default
            #line hidden
                return;

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

            case 16:

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

            #line default
            #line hidden
                return;

            case 17:

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

            #line default
            #line hidden
                return;

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

            case 19:

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

            #line default
            #line hidden
                return;

            case 20:

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

            #line default
            #line hidden
                return;

            case 21:
                this.tt_Parameters = ((System.Windows.Controls.ToolTip)(target));
                return;
            }
            this._contentLoaded = true;
        }
Пример #57
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.bg = ((System.Windows.Controls.Grid)(target));

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

            #line default
            #line hidden
                return;

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

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

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

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

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

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

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

            #line default
            #line hidden
                return;

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

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

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

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

            #line default
            #line hidden

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

            #line default
            #line hidden
                return;

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

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

            case 13:

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

            #line default
            #line hidden
                return;

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

            case 15:

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

            #line default
            #line hidden
                return;

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

            case 17:

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

            #line default
            #line hidden
                return;

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

            case 19:

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

            #line default
            #line hidden
                return;

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

            case 21:

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

            #line default
            #line hidden
                return;

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

            case 23:

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

            #line default
            #line hidden
                return;

            case 24:
                this.tt_signout = ((System.Windows.Controls.ToolTip)(target));
                return;
            }
            this._contentLoaded = true;
        }
Пример #58
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:

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

            #line default
            #line hidden
                return;

            case 2:

            #line 15 "..\..\MainWindow.xaml"
                ((System.Windows.Controls.Grid)(target)).MouseLeftButtonDown += new System.Windows.Input.MouseButtonEventHandler(this.Grid_MouseLeftButtonDown);

            #line default
            #line hidden
                return;

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

            #line 36 "..\..\MainWindow.xaml"
                this.button1.Click += new System.Windows.RoutedEventHandler(this.button1_Click_1);

            #line default
            #line hidden
                return;

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

            #line 46 "..\..\MainWindow.xaml"
                this.pusk.Click += new System.Windows.RoutedEventHandler(this.pusk_Click_1);

            #line default
            #line hidden
                return;

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

            #line 56 "..\..\MainWindow.xaml"
                this.text1.MouseDoubleClick += new System.Windows.Input.MouseButtonEventHandler(this.text1_MouseDoubleClick);

            #line default
            #line hidden
                return;

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

            #line 57 "..\..\MainWindow.xaml"
                this.text2.MouseDoubleClick += new System.Windows.Input.MouseButtonEventHandler(this.text2_MouseDoubleClick);

            #line default
            #line hidden
                return;

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

            #line 58 "..\..\MainWindow.xaml"
                this.comboBox1.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.comboBox1_SelectionChanged);

            #line default
            #line hidden
                return;

            case 8:
                this.Шифр_Цезаря = ((System.Windows.Controls.ComboBoxItem)(target));
                return;

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

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

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

            #line 65 "..\..\MainWindow.xaml"
                this.label1.MouseDown += new System.Windows.Input.MouseButtonEventHandler(this.label1_MouseDown);

            #line default
            #line hidden
                return;

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

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

            #line 67 "..\..\MainWindow.xaml"
                this.label3.MouseDown += new System.Windows.Input.MouseButtonEventHandler(this.label3_MouseDown);

            #line default
            #line hidden
                return;

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

            #line 68 "..\..\MainWindow.xaml"
                this.richTextBox.TextChanged += new System.Windows.Controls.TextChangedEventHandler(this.richTextBox_TextChanged);

            #line default
            #line hidden
                return;

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

            #line 71 "..\..\MainWindow.xaml"
                this.textBox.KeyDown += new System.Windows.Input.KeyEventHandler(this.textBox_KeyDown);

            #line default
            #line hidden
                return;

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

            #line 72 "..\..\MainWindow.xaml"
                this.button.Click += new System.Windows.RoutedEventHandler(this.button_Click);

            #line default
            #line hidden
                return;

            case 17:
                this.ChatEnable = ((System.Windows.Controls.Primitives.ToggleButton)(target));

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

            #line default
            #line hidden
                return;

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

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

            #line 82 "..\..\MainWindow.xaml"
                this.local.MouseDown += new System.Windows.Input.MouseButtonEventHandler(this.local_MouseDown);

            #line default
            #line hidden
                return;

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

            case 21:
                this.ListOfUsers = ((System.Windows.Controls.ListBox)(target));

            #line 84 "..\..\MainWindow.xaml"
                this.ListOfUsers.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.ListOfUsers_SelectionChanged);

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

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

            case 3:

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

            #line default
            #line hidden
                return;

            case 4:

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

            #line default
            #line hidden
                return;

            case 5:

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

            #line default
            #line hidden
                return;

            case 6:

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

            #line default
            #line hidden
                return;

            case 7:

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

            #line default
            #line hidden
                return;

            case 8:

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

            #line default
            #line hidden
                return;

            case 9:

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

            #line default
            #line hidden
                return;

            case 10:
                this.btnBold = ((System.Windows.Controls.Primitives.ToggleButton)(target));
                return;

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

            #line 39 "..\..\..\Was\WasMainWindow.xaml"
                this.cbFontSize.AddHandler(System.Windows.Controls.Primitives.TextBoxBase.TextChangedEvent, new System.Windows.Controls.TextChangedEventHandler(this.cbFontSize_TextChanged));

            #line default
            #line hidden
                return;

            case 12:
                this.udFontSize = ((AutoCoder.Controls.NumericUpDown)(target));

            #line 41 "..\..\..\Was\WasMainWindow.xaml"
                this.udFontSize.ValueChanged += new System.Action <int>(this.udFontSize_ValueChanged);

            #line default
            #line hidden
                return;

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

            case 14:
                this.lbLog = ((AutoCoder.Controls.EnhancedListBox)(target));
                return;

            case 15:
                this.Canvas1 = ((System.Windows.Controls.Canvas)(target));

            #line 62 "..\..\..\Was\WasMainWindow.xaml"
                this.Canvas1.MouseDown += new System.Windows.Input.MouseButtonEventHandler(this.Canvas1_MouseDown);

            #line default
            #line hidden
                return;

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

            case 17:
                this.menu2 = ((System.Windows.Controls.Menu)(target));
                return;

            case 18:

            #line 82 "..\..\..\Was\WasMainWindow.xaml"
                ((System.Windows.Controls.MenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.MenuItem2_Click);

            #line default
            #line hidden
                return;

            case 19:

            #line 83 "..\..\..\Was\WasMainWindow.xaml"
                ((System.Windows.Controls.MenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.MenuItem2_Click);

            #line default
            #line hidden
                return;

            case 20:
                this.DataStreamControl1 = ((AutoCoder.Telnet.UserControls.DataStreamControl)(target));
                return;
            }
            this._contentLoaded = true;
        }
Пример #60
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:

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

            #line default
            #line hidden

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

            #line default
            #line hidden
                return;

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

            #line 19 "..\..\ClientWindow.xaml"
                this.bttClear.Click += new System.Windows.RoutedEventHandler(this.bttClear_Click);

            #line default
            #line hidden
                return;

            case 3:
                this.btnAllMassDenied = ((System.Windows.Controls.Primitives.ToggleButton)(target));

            #line 25 "..\..\ClientWindow.xaml"
                this.btnAllMassDenied.Click += new System.Windows.RoutedEventHandler(this.btnAllMassDenied_Click);

            #line default
            #line hidden
                return;

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

            #line 30 "..\..\ClientWindow.xaml"
                this.btnAllDenied.Click += new System.Windows.RoutedEventHandler(this.btnAllDenied_Click);

            #line default
            #line hidden
                return;

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

            #line 36 "..\..\ClientWindow.xaml"
                this.btnPrivateDenied.Click += new System.Windows.RoutedEventHandler(this.btnPrivateDenied_Click);

            #line default
            #line hidden
                return;

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

            #line 41 "..\..\ClientWindow.xaml"
                this.btnCancelPrivateDenied.Click += new System.Windows.RoutedEventHandler(this.btnCancelPrivateDenied_Click);

            #line default
            #line hidden
                return;

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

            #line 47 "..\..\ClientWindow.xaml"
                this.btnSmile.Click += new System.Windows.RoutedEventHandler(this.btnSmile_Click);

            #line default
            #line hidden
                return;

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

            #line 53 "..\..\ClientWindow.xaml"
                this.btnExit.Click += new System.Windows.RoutedEventHandler(this.btnExit_Click);

            #line default
            #line hidden
                return;

            case 9:
                this.lstClients = ((System.Windows.Controls.ListBox)(target));
                return;

            case 10:
                this.tbResult = ((System.Windows.Controls.RichTextBox)(target));
                return;

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

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

            #line 95 "..\..\ClientWindow.xaml"
                this.btnSendPrivate.Click += new System.Windows.RoutedEventHandler(this.btnSendPrivate_Click);

            #line default
            #line hidden
                return;

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

            #line 96 "..\..\ClientWindow.xaml"
                this.btnSendAll.Click += new System.Windows.RoutedEventHandler(this.btnSendAll_Click);

            #line default
            #line hidden
                return;

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

            case 15:
                this.tbSmiles = ((System.Windows.Controls.TextBlock)(target));
                return;
            }
            this._contentLoaded = true;
        }