Esempio n. 1
1
        private void UpdateContent()
        {
            if (panel == null)
                return;

            panel.Children.Clear();
            
            if (Value == null)
                return;
            
            var enumValues = Enum.GetValues(Value.GetType()).FilterOnBrowsableAttribute();
            var converter = new EnumToBooleanConverter { EnumType = Value.GetType() };
            var relativeSource = new RelativeSource(RelativeSourceMode.FindAncestor, typeof(RadioButtonList), 1);
            var descriptionConverter = new EnumDescriptionConverter();

            foreach (var itemValue in enumValues )
            {
                var rb = new RadioButton { Content = descriptionConverter.Convert(itemValue, typeof(string), null, CultureInfo.CurrentCulture) };
                // rb.IsChecked = Value.Equals(itemValue);

                var isCheckedBinding = new Binding("Value")
                                           {
                                               Converter = converter,
                                               ConverterParameter = itemValue,
                                               Mode = BindingMode.TwoWay,
                                               RelativeSource = relativeSource
                                           };
                rb.SetBinding(ToggleButton.IsCheckedProperty, isCheckedBinding);

                var itemMarginBinding = new Binding("ItemMargin") { RelativeSource = relativeSource };
                rb.SetBinding(MarginProperty, itemMarginBinding);

                panel.Children.Add(rb);
            }
        }
Esempio n. 2
0
        private void btnOpen_Click(object sender, RoutedEventArgs e)
        {
            //var dialog = new System.Windows.Forms.FolderBrowserDialog();

            //System.Windows.Forms.DialogResult result = dialog.ShowDialog();

            ////store the path to local storage

            //pathToMigrations = dialog.SelectedPath;
            pathToMigrations = @"d:\working\connect\scripts";
            migrator = MigratorFactory.GetMigrator(pathToMigrations);

            btnUp.DataContext = migrator.Tracker;
            btnDown.DataContext = migrator.Tracker;

            migrations = migrator.Tracker.Migrations;
            var version = migrator.Tracker.Version;
            stackPanel1.Children.Clear();
            foreach (var mig in migrations)
            {
                var rbl = new RadioButton();
                rbl.GroupName = "RBLMigration";
                rbl.Content = mig.Version;
                if (version == mig.Version)
                    rbl.IsChecked = true;
                rbl.Checked += new RoutedEventHandler(rbl_Checked);
                stackPanel1.Children.Add(rbl);
            }

            lblVersion.Content = version;
        }
Esempio n. 3
0
        void ListInterfaces()
        {
            /* Retrieve the device list */
            var devices = CaptureDeviceList.Instance;

            /*If no device exists, print error */
            if (devices.Count < 1)
            {
                //string errorInfo = "No device found on this machine";
                TextBlock errorInfo = new TextBlock();
                errorInfo.Text = "No device found on this machine";
                this.StartButton.IsEnabled = false;
                this.Layout.Children.Add(errorInfo);
                return;
            }
            this.StartButton.IsEnabled = false;
            /* Scan the list printing every entry */
            foreach (var dev in devices)
            {
                /* Description */
                string interfaceInfo = dev.Description;
                RadioButton rb = new RadioButton();
                rb.Content = interfaceInfo;
                rb.Checked += new RoutedEventHandler(rb_Checked);
                this.InterfacesPanel.Children.Add(rb);
                //Console.WriteLine("{0}) {1} {2}", i, dev.Name, dev.Description);
            }
        }
Esempio n. 4
0
        async void treeView_New()
        {
            slSecure.Web.SecureDBContext db;
            db = slSecure.DB.GetDB();
            TreeViewItem tvItem;

            var ERNameData = await db.LoadAsync<tblEngineRoomConfig>(db.GetTblEngineRoomConfigQuery());
            string sERName, sReadCardName, sControlID;
            foreach (var tempERNameData in ERNameData)
            {
                sERName = tempERNameData.ERName;
                tvItem = new TreeViewItem();
                tvItem.Header = sERName;

                foreach (var tempEntranceGuardData in tempERNameData.tblEntranceGuardConfig)
                {
                    foreach (var tempControllerConfigData in tempERNameData.tblControllerConfig)
                    {
                        if (tempControllerConfigData.EntranceCode == tempEntranceGuardData.EntranceCode && (tempControllerConfigData.ControlType == 1 || tempControllerConfigData.ControlType == 2))
                        {
                            sControlID = tempControllerConfigData.ControlID;
                            sReadCardName = tempEntranceGuardData.Memo;

                            RadioButton ck1 = new RadioButton() { Content = sReadCardName, Tag = sControlID, GroupName = "Door" };
                            tvItem.Items.Add(ck1);
                            tvItem.Tag = sControlID;
                        }
                    }
                }
                tv_TreeView_New.Items.Add(tvItem);
            }
        }
        private void setUpValues()
        {
            this.country.ItemsSource = Enum.GetNames(typeof(Interface.Countries));
            
            foreach (string e in Enum.GetNames(typeof(Interface.CorporatePerson)))
            {
                RadioButton b = new RadioButton();
                b.Content = e == "PO" ? "Podnikateľ" : e == "FOP" ? "Živnostník" : "Nepodnikateľ";
                b.Width = 130;
                b.Name = e;
                b.VerticalAlignment = VerticalAlignment.Center;
                b.Checked += this.onChangeCorpPers_Checked;
                this.corporatePersonStack.Children.Add(b);
            }
            Interface.ICompany cmp = this._temp.company;
            this.customId.Text = cmp.custom_id;
            this.name.Text = cmp.name;
            this.ico.Text = cmp.ico;
            this.dic.Text = cmp.dic;
            this.icDph.Text = cmp.icDph;
            foreach (RadioButton rb in this.corporatePersonStack.Children)
                rb.IsChecked = cmp.corporatePerson.ToString() == rb.Name ? true : false;

            customId.Text = this._temp.company.custom_id;
            titlePrefix.Text=this._temp.company.person.titlePrefix;
           firstName.Text=this._temp.company.person.firstName;
            lastName.Text=this._temp.company.person.lastName;
             titleSuffix.Text=this._temp.company.person.titleSuffix;
            street.Text=this._temp.company.address.street;
             city.Text=this._temp.company.address.city;
          zip.Text=this._temp.company.address.zip;
            country.Text=this._temp.company.address.country;
        email.Text=this._temp.company.contact.email;
          mobile.Text=this._temp.company.contact.mobile;
        }
Esempio n. 6
0
			public VariableUI(TextBlock label, TextBox value, Panel panel, RadioButton target)
			{
				Label = label;
				Value = value;
				Panel = panel;
				Target = target;
			}
Esempio n. 7
0
 private void SetScriptType(RadioButton radioButton)
 {
     if (radioButton.Name.Equals("Scheme"))
         scriptType = ScriptType.Scheme;
     else
         scriptType = ScriptType.Enumeration;
 }
Esempio n. 8
0
        /// <summary>
        /// Initialize game. Change "X" or "O". 
        /// </summary>
        private void InitializeGame()
        {
            Label label = new Label();
            label.Content = "Change:";
            label.FontSize = 20;
            label.Margin = new Thickness(0, 0, 0, 0);
            label.HorizontalAlignment = HorizontalAlignment.Left;
            label.VerticalAlignment = VerticalAlignment.Top;
            this.LayoutRoot.Children.Add(label);
            
            RadioButton[] whatYou = new RadioButton[2];
            whatYou[0] = new RadioButton();
            whatYou[1] = new RadioButton();
            whatYou[0].Content = "O";
            whatYou[1].Content = "X";
            whatYou[0].FontSize = whatYou[1].FontSize = 20;
            whatYou[0].Margin = new Thickness(10, 30, 0, 0);
            whatYou[1].Margin = new Thickness(50, 30, 0, 0);
            whatYou[0].IsChecked = true;
            whatYou[1].IsChecked = false;
            this.LayoutRoot.Children.Add(whatYou[0]);
            this.LayoutRoot.Children.Add(whatYou[1]);

            Button buttonOk = new Button();
            buttonOk.Content = "OK";
            buttonOk.Margin = new Thickness(0, 80, 0, 0);
            buttonOk.FontSize = 18;
            buttonOk.Width = 40;
            buttonOk.Height = 40;
            buttonOk.HorizontalAlignment = HorizontalAlignment.Left;
            buttonOk.VerticalAlignment = VerticalAlignment.Top;
            buttonOk.Click += new RoutedEventHandler(
                    (object sender, RoutedEventArgs e) => OnButtonOkClick((bool)whatYou[0].IsChecked));
            this.LayoutRoot.Children.Add(buttonOk);
        }
Esempio n. 9
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;
 }
 void IComponentConnector.Connect(int connectionId, object target)
 {
     switch (connectionId)
       {
     case 1:
       this.anonymousAccountRadioButton = (RadioButton) target;
       break;
     case 2:
       this.personalAccountRadioButton = (RadioButton) target;
       this.personalAccountRadioButton.Checked += new RoutedEventHandler(this.personalAccountRadioButton_Checked);
       break;
     case 3:
       ((UIElement) target).PreviewMouseDown += new MouseButtonEventHandler(this.TextBlock_MouseDown);
       break;
     case 4:
       this.usernameLabel = (Label) target;
       break;
     case 5:
       this.usernameTextBox = (TextBox) target;
       break;
     case 6:
       this.apiKeyLabel = (Label) target;
       break;
     case 7:
       this.apiKeyTextBox = (TextBox) target;
       break;
     default:
       this._contentLoaded = true;
       break;
       }
 }
Esempio n. 11
0
		static void OnEnumTypePropertyChanged(DependencyObject o, DependencyPropertyChangedEventArgs e)
		{
			Type enumType = e.NewValue as Type;
			if (enumType != null && enumType.IsEnum) {
				ComboBox comboBox = o as ComboBox;
				if (comboBox != null) {
					comboBox.SelectedValuePath = "Tag";
					comboBox.Items.Clear();
					foreach (FieldInfo field in enumType.GetFields()) {
						if (field.IsStatic) {
							ComboBoxItem item = new ComboBoxItem();
							item.Tag = field.GetValue(null);
							string description = GetDescription(field);
							item.SetValueToExtension(ComboBoxItem.ContentProperty, new StringParseExtension(description));
							comboBox.Items.Add(item);
						}
					}
				}
				RadioButtonGroup rbg = o as RadioButtonGroup;
				if (rbg != null) {
					rbg.Items.Clear();
					foreach (FieldInfo field in enumType.GetFields()) {
						if (field.IsStatic) {
							RadioButton b = new RadioButton();
							b.Tag = field.GetValue(null);
							string description = GetDescription(field);
							b.SetValueToExtension(RadioButton.ContentProperty, new StringParseExtension(description));
							rbg.Items.Add(b);
						}
					}
				}
			}
		}
Esempio n. 12
0
		public RadioButtonAutomationPeer (RadioButton owner)
			: base (owner)
		{
			isSelected = IsSelected;

			// UIA Event SelectionItemPatternIdentifiers.IsSelectedProperty
			// raised by ToggleButton.OnIsCheckedPropertyChanged().
		}
Esempio n. 13
0
 private void bind(PropertyItem propertyItem, RadioButton btnTopLeft, Anchor anchor)
 {
     BindingOperations.SetBinding(btnTopLeft, ToggleButton.IsCheckedProperty, LambdaBinding.New(
         new Binding("Value") { Source = propertyItem, Mode = propertyItem.IsReadOnly ? BindingMode.OneWay : BindingMode.TwoWay },
         (object source) => { return (Anchor) source == anchor; },
         (bool source) => { return source ? anchor : Binding.DoNothing; }
     ));
 }
 void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
     switch (connectionId)
     {
     case 1:
     this.button = ((System.Windows.Controls.RadioButton)(target));
     return;
     }
     this._contentLoaded = true;
 }
Esempio n. 15
0
 RadioButton CreateRadioButton(string strText, WindowStyle winstyle)
 {
     RadioButton radio = new RadioButton();
     radio.Content = strText;
     radio.Tag = winstyle;
     radio.Margin = new Thickness(5);
     radio.IsChecked = (winstyle == WindowStyle);
     return radio;
 }
 public void InitializeComponent() {
     if (_contentLoaded) {
         return;
     }
     _contentLoaded = true;
     System.Windows.Application.LoadComponent(this, new System.Uri("/CodeCamp.RIA.UI;component/Controls/PreferenceValueRadioButton.xaml", System.UriKind.Relative));
     this.LayoutRoot = ((System.Windows.Controls.Grid)(this.FindName("LayoutRoot")));
     this.TheButton = ((System.Windows.Controls.RadioButton)(this.FindName("TheButton")));
 }
Esempio n. 17
0
 public void InitializeComponent() {
     if (_contentLoaded) {
         return;
     }
     _contentLoaded = true;
     System.Windows.Application.LoadComponent(this, new System.Uri("/UISample;component/HighlightButton.xaml", System.UriKind.Relative));
     this.LayoutRoot = ((System.Windows.Controls.Grid)(this.FindName("LayoutRoot")));
     this.button = ((System.Windows.Controls.RadioButton)(this.FindName("button")));
 }
Esempio n. 18
0
        private void DeselectAllOtherItems(RadioButton currentRadioButton)
        {
            if (currentRadioButton.IsChecked != true) return;

            var children = this.DataControl.ChildrenOfType<RadioButton>();

            foreach (var radioButton in children.Where(rb => rb != currentRadioButton))
                radioButton.IsChecked = false;
        }
Esempio n. 19
0
		public void GroupNameNoParent()
		{
			var b1 = new RadioButton { GroupName = "AA" };
			var b2 = new RadioButton { GroupName = "AA" };

			b1.IsChecked = true;
			b2.IsChecked = true;
			Assert.IsTrue((bool)b1.IsChecked, "#2");
		}
 public void InitializeComponent() {
     if (_contentLoaded) {
         return;
     }
     _contentLoaded = true;
     System.Windows.Application.LoadComponent(this, new System.Uri("/BivoApp;component/SettingsPopup.xaml", System.UriKind.Relative));
     this.LayoutRoot = ((System.Windows.Controls.Grid)(this.FindName("LayoutRoot")));
     this.chkMetric = ((System.Windows.Controls.RadioButton)(this.FindName("chkMetric")));
     this.chkImperial = ((System.Windows.Controls.RadioButton)(this.FindName("chkImperial")));
 }
Esempio n. 21
0
 public void InitializeComponent() {
     if (_contentLoaded) {
         return;
     }
     _contentLoaded = true;
     System.Windows.Application.LoadComponent(this, new System.Uri("/Segator.Loms.Modules.Bookings.Silverlight;component/Silverlight/Views/GetQuote/C" +
                 "ityOfServiceView.xaml", System.UriKind.Relative));
     this.SelectByCityName = ((System.Windows.Controls.RadioButton)(this.FindName("SelectByCityName")));
     this.SelectByStateName = ((System.Windows.Controls.RadioButton)(this.FindName("SelectByStateName")));
 }
 public void InitializeComponent() {
     if (_contentLoaded) {
         return;
     }
     _contentLoaded = true;
     System.Windows.Application.LoadComponent(this, new System.Uri("/Microsoft.HealthMonitor;component/Views/TraceConfig.xaml", System.UriKind.Relative));
     this.LayoutRoot = ((System.Windows.Controls.Grid)(this.FindName("LayoutRoot")));
     this.Custom = ((System.Windows.Controls.RadioButton)(this.FindName("Custom")));
     this.TraceAreaList = ((System.Windows.Controls.ItemsControl)(this.FindName("TraceAreaList")));
 }
Esempio n. 23
0
        public override void OnApplyTemplate()
        {
            base.OnApplyTemplate();

            True = (RadioButton)GetTemplateChild("PART_True");
            True.SetBinding(RadioButton.IsCheckedProperty, new Binding { Source = this, Path = new PropertyPath(CurrentValueProperty), Mode = BindingMode.TwoWay });
            True.Checked += Checked;
            False = (RadioButton)GetTemplateChild("PART_False");
            False.SetBinding(RadioButton.IsCheckedProperty, new Binding { Source = this, Path = new PropertyPath(CurrentValueProperty), Mode = BindingMode.TwoWay, Converter = new BooleanReverseValueConverter() });
            False.Checked += Checked;
        }
Esempio n. 24
0
        private ContentControl CreateRadioButton(int i)
        {
            RadioButton result = new RadioButton();

            result.Checked += (sender, args) =>
            {
                ControlChannelChanged?.Invoke(this, new ControlChannelChangedEventArgs());
            };

            return result;
        }
        public void FillAnswers(QuestionnaireQuestion question)
        {
            this.AnswersStackPanel.Children.Clear();
            foreach (QuestionnaireQuestionAnswer answer in question.Answers)
            {
                RadioButton rb = new RadioButton { MinWidth = 100, Content = answer.Answer, Tag = answer.Value };
                rb.Click += new RoutedEventHandler(RadioButton_Click);

                this.AnswersStackPanel.Children.Add(rb);
            }
        }
        public override void OnApplyTemplate()
        {
            base.OnApplyTemplate();


            FillRadioButton = GetTemplateChild("FillRadioButton") as RadioButton;
            if (FillRadioButton != null)
                FillRadioButton.Checked += new RoutedEventHandler(RadioButton_Checked);

            BorderRadioButton = GetTemplateChild("BorderRadioButton") as RadioButton;
            if(BorderRadioButton != null)
                BorderRadioButton.Checked += new RoutedEventHandler(RadioButton_Checked);

            ColorPickerSection = GetTemplateChild("ColorPickerSection") as ContentControl;

            FillColorPicker = GetTemplateChild("FillColorPicker") as ColorPicker;
            if(FillColorPicker != null)
                FillColorPicker.ColorChanged += new EventHandler(FillColorPicker_ColorChanged);

            PreDefinedColorRampControl = GetTemplateChild("PreDefinedColorRampControl") as PreDefinedColorRampControl;
            if (PreDefinedColorRampControl != null)
                PreDefinedColorRampControl.GradientBrushChanged += new EventHandler<GradientBrushChangedEventArgs>(onGradientBrushChanged);

            BorderColorPicker = GetTemplateChild("BorderColorPicker") as ColorPicker;
            if(BorderColorPicker != null)
                BorderColorPicker.ColorChanged += new EventHandler(BorderColorPicker_ColorChanged);

            FillOpacityPanel = GetTemplateChild("FillOpacityPanel") as ContentControl;

            FillOpacitySlider = GetTemplateChild("FillOpacitySlider") as Slider;
            if (FillOpacitySlider != null)
                FillOpacitySlider.ValueChanged += new RoutedPropertyChangedEventHandler<double>(FillSlider_ValueChanged);                

            BorderOpacityPanel = GetTemplateChild("BorderOpacityPanel") as ContentControl;

            BorderOpacitySlider = GetTemplateChild("BorderOpacitySlider") as Slider;
            if(BorderOpacitySlider != null)
                BorderOpacitySlider.ValueChanged += new RoutedPropertyChangedEventHandler<double>(BorderSlider_ValueChanged);

            BorderWidthPanel = GetTemplateChild("BorderWidthPanel") as ContentControl;
            BorderWidthTextBox = GetTemplateChild("BorderWidthTextBox") as TextBox;
            if (BorderWidthTextBox != null)
            {
                BorderWidthTextBox.SetBinding(TextBox.TextProperty, new Binding() { 
                    Source = DataContext,
                    Mode = BindingMode.TwoWay,
                    Path = new PropertyPath("BorderThickness"),
                });
            }

            Initialize();
            if (PreDefinedColorRampControl != null)
                PreDefinedColorRampControl.Initialize();
        }        
Esempio n. 27
0
 public void InitializeComponent() {
     if (_contentLoaded) {
         return;
     }
     _contentLoaded = true;
     System.Windows.Application.LoadComponent(this, new System.Uri("/Segator.Loms.Modules.Bookings.Silverlight;component/Silverlight/Views/GetQuote/D" +
                 "ropOffAddressView.xaml", System.UriKind.Relative));
     this.LayoutRoot = ((System.Windows.Controls.Grid)(this.FindName("LayoutRoot")));
     this.SelectByAddress = ((System.Windows.Controls.RadioButton)(this.FindName("SelectByAddress")));
     this.SelectByAirport = ((System.Windows.Controls.RadioButton)(this.FindName("SelectByAirport")));
 }
Esempio n. 28
0
        public override FrameworkElement CreateCellElement(GridViewCell cell, object dataItem)
        {
            var radioButton = new RadioButton { Margin = new Thickness(3.0, 0.0, 3.0, 0.0) };

            if (DataMemberBinding != null)
                radioButton.SetBinding(ToggleButton.IsCheckedProperty, DataMemberBinding);

            radioButton.Checked += RadioButtonChecked;

            return radioButton;
        }
Esempio n. 29
0
        public MainWindow()
        {
            InitializeComponent();

            foreach (var layer in  Enum.GetValues(typeof(KnownTileServers)).Cast<KnownTileServers>())
            {
                var radioButton = new RadioButton {Content = layer.ToString(), Tag = layer};
                radioButton.Click += (sender, args) => MapControl.SetTileSource(TileSource.Create((KnownTileServers)((RadioButton)sender).Tag));
                Layers.Children.Add(radioButton);
            }
        }
        private RadioButton ToRadioButton(string name, Func<ITileSource> func)
        {
            var radioButton = new RadioButton
            {
                Content = name,
                Tag = new Func<ITileSource>(func)
            };
            radioButton.Click += (sender, args) => MapControl.SetTileSource(((Func<ITileSource>)((RadioButton)sender).Tag)());

            return radioButton;
        }
Esempio n. 31
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.grid1 = ((System.Windows.Controls.Grid)(target));
                return;

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

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

            #line 12 "..\..\MainWindow.xaml"
                this.Accept.Click += new System.Windows.RoutedEventHandler(this.Accept_Click);

            #line default
            #line hidden
                return;

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

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

            case 6:

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

            #line default
            #line hidden
                return;

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

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

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

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

            #line 21 "..\..\MainWindow.xaml"
                this.Accept_Record.Click += new System.Windows.RoutedEventHandler(this.Accept_Record_Click);

            #line default
            #line hidden
                return;

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

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

            case 13:
                this.Pres = ((System.Windows.Controls.RadioButton)(target));
                return;
            }
            this._contentLoaded = true;
        }
Esempio n. 32
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.NameUser = ((System.Windows.Controls.TextBox)(target));

            #line 12 "..\..\AddWindow.xaml"
                this.NameUser.TextChanged += new System.Windows.Controls.TextChangedEventHandler(this.NameUser_TextChanged);

            #line default
            #line hidden
                return;

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

            #line 14 "..\..\AddWindow.xaml"
                this.Country.TextChanged += new System.Windows.Controls.TextChangedEventHandler(this.Country_TextChanged);

            #line default
            #line hidden
                return;

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

            #line 16 "..\..\AddWindow.xaml"
                this.City.TextChanged += new System.Windows.Controls.TextChangedEventHandler(this.City_TextChanged);

            #line default
            #line hidden
                return;

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

            #line 19 "..\..\AddWindow.xaml"
                this.Man.Checked += new System.Windows.RoutedEventHandler(this.RadioButton_Checked);

            #line default
            #line hidden
                return;

            case 5:

            #line 20 "..\..\AddWindow.xaml"
                ((System.Windows.Controls.RadioButton)(target)).Checked += new System.Windows.RoutedEventHandler(this.RadioButton_Checked);

            #line default
            #line hidden
                return;

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

            #line 21 "..\..\AddWindow.xaml"
                this.button1.Click += new System.Windows.RoutedEventHandler(this.Button_Click);

            #line default
            #line hidden
                return;

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

            #line 22 "..\..\AddWindow.xaml"
                this.Useres.Loaded += new System.Windows.RoutedEventHandler(this.useres_Loaded);

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

            #line 11 "..\..\MainWindow.xaml"
                this.hair_1.Checked += new System.Windows.RoutedEventHandler(this.hairRadioButton_Checked);

            #line default
            #line hidden
                return;

            case 2:
                this.hair_2 = ((System.Windows.Controls.RadioButton)(target));

            #line 13 "..\..\MainWindow.xaml"
                this.hair_2.Checked += new System.Windows.RoutedEventHandler(this.hairRadioButton_Checked);

            #line default
            #line hidden
                return;

            case 3:
                this.hair_3 = ((System.Windows.Controls.RadioButton)(target));

            #line 15 "..\..\MainWindow.xaml"
                this.hair_3.Checked += new System.Windows.RoutedEventHandler(this.hairRadioButton_Checked);

            #line default
            #line hidden
                return;

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

            #line 20 "..\..\MainWindow.xaml"
                this.eyes_1.Checked += new System.Windows.RoutedEventHandler(this.eyesRadioButton_Checked);

            #line default
            #line hidden
                return;

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

            #line 22 "..\..\MainWindow.xaml"
                this.eyes_2.Checked += new System.Windows.RoutedEventHandler(this.eyesRadioButton_Checked);

            #line default
            #line hidden
                return;

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

            #line 24 "..\..\MainWindow.xaml"
                this.eyes_3.Checked += new System.Windows.RoutedEventHandler(this.eyesRadioButton_Checked);

            #line default
            #line hidden
                return;

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

            #line 29 "..\..\MainWindow.xaml"
                this.mouth_1.Checked += new System.Windows.RoutedEventHandler(this.mouthRadioButton_Checked);

            #line default
            #line hidden
                return;

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

            #line 31 "..\..\MainWindow.xaml"
                this.mouth_2.Checked += new System.Windows.RoutedEventHandler(this.mouthRadioButton_Checked);

            #line default
            #line hidden
                return;

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

            #line 33 "..\..\MainWindow.xaml"
                this.mouth_3.Checked += new System.Windows.RoutedEventHandler(this.mouthRadioButton_Checked);

            #line default
            #line hidden
                return;

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

            #line 38 "..\..\MainWindow.xaml"
                this.nose_1.Checked += new System.Windows.RoutedEventHandler(this.noseRadioButton_Checked);

            #line default
            #line hidden
                return;

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

            #line 40 "..\..\MainWindow.xaml"
                this.nose_2.Checked += new System.Windows.RoutedEventHandler(this.noseRadioButton_Checked);

            #line default
            #line hidden
                return;

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

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

            #line default
            #line hidden
                return;

            case 13:
                this.testCanvas = ((System.Windows.Controls.Canvas)(target));
                return;

            case 14:

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

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

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

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

            #line 31 "..\..\TestWindow.xaml"
                this.cbVar.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.ComboBox_Selected);

            #line default
            #line hidden
                return;

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

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

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

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

            #line 44 "..\..\TestWindow.xaml"
                this.test.Click += new System.Windows.RoutedEventHandler(this.test_Click);

            #line default
            #line hidden
                return;

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

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

            #line default
            #line hidden
                return;

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

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

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

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

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

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

            case 15:
                this.tb_answer3 = ((System.Windows.Controls.TextBox)(target));
                return;
            }
            this._contentLoaded = true;
        }
Esempio n. 35
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.name = ((System.Windows.Controls.TextBox)(target));
                return;

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

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

            #line 25 "..\..\commandWindow.xaml"
                this.send.KeyUp += new System.Windows.Input.KeyEventHandler(this.hex_KeyUp);

            #line default
            #line hidden

            #line 26 "..\..\commandWindow.xaml"
                this.send.PreviewKeyDown += new System.Windows.Input.KeyEventHandler(this.hex_PreviewKeyDown);

            #line default
            #line hidden

            #line 27 "..\..\commandWindow.xaml"
                this.send.KeyDown += new System.Windows.Input.KeyEventHandler(this.hex_KeyDown);

            #line default
            #line hidden
                return;

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

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

            #line 38 "..\..\commandWindow.xaml"
                this.receive.KeyUp += new System.Windows.Input.KeyEventHandler(this.hex_KeyUp);

            #line default
            #line hidden

            #line 39 "..\..\commandWindow.xaml"
                this.receive.PreviewKeyDown += new System.Windows.Input.KeyEventHandler(this.hex_PreviewKeyDown);

            #line default
            #line hidden

            #line 40 "..\..\commandWindow.xaml"
                this.receive.KeyDown += new System.Windows.Input.KeyEventHandler(this.hex_KeyDown);

            #line default
            #line hidden
                return;

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

            #line 43 "..\..\commandWindow.xaml"
                this.Receive_Script_Button.Click += new System.Windows.RoutedEventHandler(this.Get_Script_Click);

            #line default
            #line hidden
                return;

            case 7:
                this.receive_script_scroll = ((System.Windows.Controls.ScrollViewer)(target));
                return;

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

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

            #line 52 "..\..\commandWindow.xaml"
                this.Send_Script_Button.Click += new System.Windows.RoutedEventHandler(this.Get_Script_Click);

            #line default
            #line hidden
                return;

            case 10:
                this.send_script_scroll = ((System.Windows.Controls.ScrollViewer)(target));
                return;

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

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

            case 13:
                this.w16 = ((System.Windows.Controls.RadioButton)(target));
                return;

            case 14:
                this.w32 = ((System.Windows.Controls.RadioButton)(target));
                return;

            case 15:
                this.w64 = ((System.Windows.Controls.RadioButton)(target));
                return;

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

            #line 68 "..\..\commandWindow.xaml"
                this.algorithm.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.algorithm_SelectionChanged);

            #line default
            #line hidden
                return;

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

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

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

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

            case 21:
                this.inputReflected = ((System.Windows.Controls.CheckBox)(target));
                return;

            case 22:
                this.outputReflected = ((System.Windows.Controls.CheckBox)(target));
                return;

            case 23:
                this.lowBitFirst = ((System.Windows.Controls.CheckBox)(target));
                return;

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

            #line 91 "..\..\commandWindow.xaml"
                this.ok.Click += new System.Windows.RoutedEventHandler(this.ok_Click);

            #line default
            #line hidden
                return;

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

            #line 92 "..\..\commandWindow.xaml"
                this.cancel.Click += new System.Windows.RoutedEventHandler(this.cancel_Click);

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

            #line 28 "..\..\ViewTrainees.xaml"
                this.ViewLicenseOwners.Click += new System.Windows.RoutedEventHandler(this.ViewLicenseOwners_Click);

            #line default
            #line hidden
                return;

            case 2:
                this.ShowNoLicense = ((System.Windows.Controls.CheckBox)(target));

            #line 30 "..\..\ViewTrainees.xaml"
                this.ShowNoLicense.Click += new System.Windows.RoutedEventHandler(this.ViewLicenseOwners_Click);

            #line default
            #line hidden
                return;

            case 3:
                this.SearchID = ((System.Windows.Controls.RadioButton)(target));

            #line 47 "..\..\ViewTrainees.xaml"
                this.SearchID.Checked += new System.Windows.RoutedEventHandler(this.SearchID_Checked);

            #line default
            #line hidden

            #line 47 "..\..\ViewTrainees.xaml"
                this.SearchID.Unchecked += new System.Windows.RoutedEventHandler(this.SearchID_Unchecked);

            #line default
            #line hidden
                return;

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

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

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

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

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

            #line 65 "..\..\ViewTrainees.xaml"
                this.SearchButton.Click += new System.Windows.RoutedEventHandler(this.Search);

            #line default
            #line hidden
                return;

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

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

            #line 90 "..\..\ViewTrainees.xaml"
                this.sortByButton.Click += new System.Windows.RoutedEventHandler(this.sortByButton_Click);

            #line default
            #line hidden
                return;

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

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

            case 13:
                this.idColumn = ((System.Windows.Controls.GridViewColumn)(target));
                return;

            case 14:
                this.familyNameColumn = ((System.Windows.Controls.GridViewColumn)(target));
                return;

            case 15:
                this.firstNameColumn = ((System.Windows.Controls.GridViewColumn)(target));
                return;

            case 16:
                this.birthdayColumn = ((System.Windows.Controls.GridViewColumn)(target));
                return;

            case 17:
                this.addressColumn = ((System.Windows.Controls.GridViewColumn)(target));
                return;

            case 18:
                this.genderColumn = ((System.Windows.Controls.GridViewColumn)(target));
                return;

            case 19:
                this.lessonsNumberColumn = ((System.Windows.Controls.GridViewColumn)(target));
                return;

            case 20:
                this.phoneNumberColumn = ((System.Windows.Controls.GridViewColumn)(target));
                return;

            case 21:
                this.schoolNameColumn = ((System.Windows.Controls.GridViewColumn)(target));
                return;

            case 22:
                this.teacherNameColumn = ((System.Windows.Controls.GridViewColumn)(target));
                return;

            case 23:
                this.transmissionLearnedColumn = ((System.Windows.Controls.GridViewColumn)(target));
                return;

            case 24:
                this.typeCarLearnedColumn = ((System.Windows.Controls.GridViewColumn)(target));
                return;
            }
            this._contentLoaded = true;
        }
Esempio n. 37
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.misGrpBox = ((System.Windows.Controls.GroupBox)(target));
                return;

            case 2:
                this.noMisvalRadio = ((System.Windows.Controls.RadioButton)(target));

            #line 8 "..\..\..\Windows\MissingValuesDialog.xaml"
                this.noMisvalRadio.Click += new System.Windows.RoutedEventHandler(this.noMisvalRadio_Click);

            #line default
            #line hidden
                return;

            case 3:
                this.discreteMisvalRadio = ((System.Windows.Controls.RadioButton)(target));

            #line 9 "..\..\..\Windows\MissingValuesDialog.xaml"
                this.discreteMisvalRadio.Click += new System.Windows.RoutedEventHandler(this.discreteMisvalRadio_Click);

            #line default
            #line hidden
                return;

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

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

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

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

            #line 13 "..\..\..\Windows\MissingValuesDialog.xaml"
                this.rangeMisvalRadio.Click += new System.Windows.RoutedEventHandler(this.rangeMisvalRadio_Click);

            #line default
            #line hidden
                return;

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

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

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

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

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

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

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

            #line 22 "..\..\..\Windows\MissingValuesDialog.xaml"
                this.misvalOkbut.Click += new System.Windows.RoutedEventHandler(this.misvalOkbut_Click);

            #line default
            #line hidden
                return;

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

            #line 23 "..\..\..\Windows\MissingValuesDialog.xaml"
                this.misvalCancelbut.Click += new System.Windows.RoutedEventHandler(this.misvalCancelbut_Click);

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

            #line 88 "..\..\..\..\View\Operations\ROOMCHANGE.xaml"
                this.ENABLE.Checked += new System.Windows.RoutedEventHandler(this.ENABLE_Checked);

            #line default
            #line hidden
                return;

            case 2:
                this.DISEBLE = ((System.Windows.Controls.RadioButton)(target));

            #line 89 "..\..\..\..\View\Operations\ROOMCHANGE.xaml"
                this.DISEBLE.Checked += new System.Windows.RoutedEventHandler(this.DISEBLE_Checked);

            #line default
            #line hidden
                return;

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

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

            #line default
            #line hidden

            #line 97 "..\..\..\..\View\Operations\ROOMCHANGE.xaml"
                this.txtmainroom.LostFocus += new System.Windows.RoutedEventHandler(this.txtmainroom_LostFocus);

            #line default
            #line hidden
                return;

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

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

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

            #line default
            #line hidden

            #line 99 "..\..\..\..\View\Operations\ROOMCHANGE.xaml"
                this.txttransferroom.LostFocus += new System.Windows.RoutedEventHandler(this.txttransferroom_LostFocus);

            #line default
            #line hidden
                return;

            case 6:
                this.swap_icon = ((MaterialDesignThemes.Wpf.PackIcon)(target));
                return;

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

            #line 101 "..\..\..\..\View\Operations\ROOMCHANGE.xaml"
                this.txtswap.LostFocus += new System.Windows.RoutedEventHandler(this.txtswap_LostFocus);

            #line default
            #line hidden

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

            #line default
            #line hidden
                return;

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

            #line 158 "..\..\..\..\View\Operations\ROOMCHANGE.xaml"
                this.CLEAR.Click += new System.Windows.RoutedEventHandler(this.CLEAR_Click);

            #line default
            #line hidden
                return;

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

            #line 159 "..\..\..\..\View\Operations\ROOMCHANGE.xaml"
                this.swap.Click += new System.Windows.RoutedEventHandler(this.Swap_Click);

            #line default
            #line hidden
                return;

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

            case 25:

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

            #line default
            #line hidden
                return;

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

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

            #line 197 "..\..\..\..\View\Operations\ROOMCHANGE.xaml"
                this.Error.Click += new System.Windows.RoutedEventHandler(this.Error_Click);

            #line default
            #line hidden
                return;

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

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

            #line 217 "..\..\..\..\View\Operations\ROOMCHANGE.xaml"
                this.Error1.Click += new System.Windows.RoutedEventHandler(this.Error1_Click);

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

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

            #line default
            #line hidden
                return;

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

            #line 6 "..\..\..\Wpfkt740.xaml"
                this.BtnClose.Click += new System.Windows.RoutedEventHandler(this.btnClose_Click);

            #line default
            #line hidden
                return;

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

            #line 7 "..\..\..\Wpfkt740.xaml"
                this.BtnOk.Click += new System.Windows.RoutedEventHandler(this.btnOk_Click);

            #line default
            #line hidden
                return;

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

            case 5:
                this.LblPos = ((Telerik.Windows.Controls.Label)(target));
                return;

            case 6:
                this.LblNgay = ((Telerik.Windows.Controls.Label)(target));
                return;

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

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

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

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

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

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

            case 13:
                this.Ration05 = ((System.Windows.Controls.RadioButton)(target));
                return;

            case 14:
                this.Ration06 = ((System.Windows.Controls.RadioButton)(target));
                return;

            case 15:
                this.Ration07 = ((System.Windows.Controls.RadioButton)(target));
                return;

            case 16:
                this.Ration08 = ((System.Windows.Controls.RadioButton)(target));
                return;

            case 17:
                this.Ration9 = ((System.Windows.Controls.RadioButton)(target));
                return;

            case 18:
                this.Ration10 = ((System.Windows.Controls.RadioButton)(target));
                return;

            case 19:
                this.Ration11 = ((System.Windows.Controls.RadioButton)(target));
                return;

            case 20:
                this.Ration12 = ((System.Windows.Controls.RadioButton)(target));
                return;

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

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

            case 23:
                this.Ration15 = ((System.Windows.Controls.RadioButton)(target));
                return;

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

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

            case 26:
                this.Ration18 = ((System.Windows.Controls.RadioButton)(target));
                return;

            case 27:
                this.Ration19 = ((System.Windows.Controls.RadioButton)(target));
                return;

            case 28:
                this.Ration20 = ((System.Windows.Controls.RadioButton)(target));
                return;

            case 29:
                this.Ration21 = ((System.Windows.Controls.RadioButton)(target));
                return;

            case 30:
                this.Ration22 = ((System.Windows.Controls.RadioButton)(target));
                return;

            case 31:
                this.Ration23 = ((System.Windows.Controls.RadioButton)(target));
                return;

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

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

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

            case 35:
                this.Ration27 = ((System.Windows.Controls.RadioButton)(target));
                return;

            case 36:
                this.Ration28 = ((System.Windows.Controls.RadioButton)(target));
                return;

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

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

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

            #line default
            #line hidden

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

            #line default
            #line hidden
                return;

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

            #line 12 "..\..\MainWindow.xaml"
                this.menu_btn_ExecuteOperation.Click += new System.Windows.RoutedEventHandler(this.Menu_btn_ExecuteOperation_Click);

            #line default
            #line hidden
                return;

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

            #line 13 "..\..\MainWindow.xaml"
                this.menu_btn_Refresh.Click += new System.Windows.RoutedEventHandler(this.Menu_btn_Refresh_Click);

            #line default
            #line hidden
                return;

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

            #line 14 "..\..\MainWindow.xaml"
                this.menu_btn_Key_Generation.Click += new System.Windows.RoutedEventHandler(this.Menu_btn_Key_Generation_Click);

            #line default
            #line hidden
                return;

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

            #line 19 "..\..\MainWindow.xaml"
                this.menu_btn_FileSelection_Source.Click += new System.Windows.RoutedEventHandler(this.Menu_btn_FileSelection_Source_Click);

            #line default
            #line hidden
                return;

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

            #line 20 "..\..\MainWindow.xaml"
                this.menu_btn_FileSelection_Key.Click += new System.Windows.RoutedEventHandler(this.Menu_btn_FileSelection_Key_Click);

            #line default
            #line hidden
                return;

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

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

            #line default
            #line hidden
                return;

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

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

            #line default
            #line hidden
                return;

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

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

            #line default
            #line hidden
                return;

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

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

            #line default
            #line hidden
                return;

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

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

            #line default
            #line hidden
                return;

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

            #line 34 "..\..\MainWindow.xaml"
                this.menu_btn_About_the_Program.Click += new System.Windows.RoutedEventHandler(this.Menu_btn_About_the_Program_Click);

            #line default
            #line hidden
                return;

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

            #line 39 "..\..\MainWindow.xaml"
                this.tb_FileName_Source.TextChanged += new System.Windows.Controls.TextChangedEventHandler(this.Tb_FileName_Source_TextChanged);

            #line default
            #line hidden
                return;

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

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

            #line default
            #line hidden
                return;

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

            #line 45 "..\..\MainWindow.xaml"
                this.tb_SourceData.TextChanged += new System.Windows.Controls.TextChangedEventHandler(this.Tb_SourceData_TextChanged);

            #line default
            #line hidden
                return;

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

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

            #line default
            #line hidden
                return;

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

            #line 51 "..\..\MainWindow.xaml"
                this.btn_Increase_Source.Click += new System.Windows.RoutedEventHandler(this.Btn_Increase_Source_Click);

            #line default
            #line hidden
                return;

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

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

            #line default
            #line hidden
                return;

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

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

            #line default
            #line hidden
                return;

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

            #line 66 "..\..\MainWindow.xaml"
                this.btn_SaveFileAs_Source.Click += new System.Windows.RoutedEventHandler(this.Btn_SaveFileAs_Source_Click);

            #line default
            #line hidden
                return;

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

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

            #line default
            #line hidden
                return;

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

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

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

            #line default
            #line hidden
                return;

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

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

            #line default
            #line hidden
                return;

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

            #line 87 "..\..\MainWindow.xaml"
                this.btn_Reduce_Encrypted.Click += new System.Windows.RoutedEventHandler(this.Btn_Reduce_Encrypted_Click);

            #line default
            #line hidden
                return;

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

            #line 92 "..\..\MainWindow.xaml"
                this.btn_SaveFileAs_Encrypted.Click += new System.Windows.RoutedEventHandler(this.Btn_SaveFileAs_Encrypted_Click);

            #line default
            #line hidden
                return;

            case 27:
                this.rb_Encryption = ((System.Windows.Controls.RadioButton)(target));

            #line 101 "..\..\MainWindow.xaml"
                this.rb_Encryption.Checked += new System.Windows.RoutedEventHandler(this.Rb_Encryption_Checked);

            #line default
            #line hidden
                return;

            case 28:
                this.rb_Decryption = ((System.Windows.Controls.RadioButton)(target));

            #line 102 "..\..\MainWindow.xaml"
                this.rb_Decryption.Checked += new System.Windows.RoutedEventHandler(this.Rb_Decryption_Checked);

            #line default
            #line hidden
                return;

            case 29:
                this.gb_algs = ((System.Windows.Controls.GroupBox)(target));
                return;

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

            case 31:
                this.cb_Algorithms = ((System.Windows.Controls.ComboBox)(target));

            #line 109 "..\..\MainWindow.xaml"
                this.cb_Algorithms.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.Cb_Algorithms_SelectionChanged);

            #line default
            #line hidden
                return;

            case 32:
                this.TranspositionCipherAlg = ((System.Windows.Controls.ComboBoxItem)(target));
                return;

            case 33:
                this.MonoalphabeticCipherAlg = ((System.Windows.Controls.ComboBoxItem)(target));
                return;

            case 34:
                this.PolyalphabeticCipherAlg = ((System.Windows.Controls.ComboBoxItem)(target));
                return;

            case 35:
                this.XORCipherAlg = ((System.Windows.Controls.ComboBoxItem)(target));
                return;

            case 36:
                this.VernamCipherAlg = ((System.Windows.Controls.ComboBoxItem)(target));
                return;

            case 37:
                this.RSACipherAlg = ((System.Windows.Controls.ComboBoxItem)(target));
                return;

            case 38:
                this.Grid_Main_Key_Menu = ((System.Windows.Controls.Grid)(target));
                return;

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

            #line 123 "..\..\MainWindow.xaml"
                this.btn_FileSelection_Key.Click += new System.Windows.RoutedEventHandler(this.Btn_FileSelection_Key_Click);

            #line default
            #line hidden
                return;

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

            #line 128 "..\..\MainWindow.xaml"
                this.tb_Key.TextChanged += new System.Windows.Controls.TextChangedEventHandler(this.Tb_Key_TextChanged);

            #line default
            #line hidden
                return;

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

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

            #line default
            #line hidden
                return;

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

            #line 134 "..\..\MainWindow.xaml"
                this.btn_Key_Generation.Click += new System.Windows.RoutedEventHandler(this.Btn_Key_Generation_Click);

            #line default
            #line hidden
                return;

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

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

            #line default
            #line hidden
                return;

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

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

            #line default
            #line hidden
                return;

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

            #line 149 "..\..\MainWindow.xaml"
                this.btn_Reduce_Key.Click += new System.Windows.RoutedEventHandler(this.Btn_Reduce_Key_Click);

            #line default
            #line hidden
                return;

            case 46:
                this.Grid_Generation_Key_Menu_1 = ((System.Windows.Controls.Grid)(target));
                return;

            case 47:
                this.tb_Key_Size = ((System.Windows.Controls.TextBox)(target));

            #line 156 "..\..\MainWindow.xaml"
                this.tb_Key_Size.PreviewMouseDown += new System.Windows.Input.MouseButtonEventHandler(this.Tb_Key_Size_PreviewMouseDown);

            #line default
            #line hidden

            #line 156 "..\..\MainWindow.xaml"
                this.tb_Key_Size.LostFocus += new System.Windows.RoutedEventHandler(this.Tb_Key_Size_LostFocus);

            #line default
            #line hidden

            #line 156 "..\..\MainWindow.xaml"
                this.tb_Key_Size.PreviewKeyDown += new System.Windows.Input.KeyEventHandler(this.Tb_Key_Size_PreviewKeyDown);

            #line default
            #line hidden

            #line 156 "..\..\MainWindow.xaml"
                this.tb_Key_Size.PreviewTextInput += new System.Windows.Input.TextCompositionEventHandler(this.Tb_Key_Size_PreviewTextInput);

            #line default
            #line hidden

            #line 156 "..\..\MainWindow.xaml"
                this.tb_Key_Size.TextChanged += new System.Windows.Controls.TextChangedEventHandler(this.Tb_Key_Size_TextChanged);

            #line default
            #line hidden
                return;

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

            #line 157 "..\..\MainWindow.xaml"
                this.tb_Key_1.PreviewMouseDown += new System.Windows.Input.MouseButtonEventHandler(this.Tb_Key_1_PreviewMouseDown);

            #line default
            #line hidden

            #line 157 "..\..\MainWindow.xaml"
                this.tb_Key_1.LostFocus += new System.Windows.RoutedEventHandler(this.Tb_Key_1_LostFocus);

            #line default
            #line hidden

            #line 157 "..\..\MainWindow.xaml"
                this.tb_Key_1.PreviewKeyDown += new System.Windows.Input.KeyEventHandler(this.Tb_Key_1_PreviewKeyDown);

            #line default
            #line hidden

            #line 157 "..\..\MainWindow.xaml"
                this.tb_Key_1.TextChanged += new System.Windows.Controls.TextChangedEventHandler(this.Tb_Key_1_TextChanged);

            #line default
            #line hidden
                return;

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

            #line 158 "..\..\MainWindow.xaml"
                this.btn_Backward.Click += new System.Windows.RoutedEventHandler(this.Btn_Backward_Click);

            #line default
            #line hidden
                return;

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

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

            #line default
            #line hidden
                return;

            case 51:
                this.btn_Key_Generation_1 = ((System.Windows.Controls.Button)(target));

            #line 168 "..\..\MainWindow.xaml"
                this.btn_Key_Generation_1.Click += new System.Windows.RoutedEventHandler(this.Btn_Key_Generation_1_Click);

            #line default
            #line hidden
                return;

            case 52:
                this.Grid_Generation_Key_Menu_2 = ((System.Windows.Controls.Grid)(target));
                return;

            case 53:
                this.tb_Key_P = ((System.Windows.Controls.TextBox)(target));

            #line 175 "..\..\MainWindow.xaml"
                this.tb_Key_P.PreviewMouseDown += new System.Windows.Input.MouseButtonEventHandler(this.Tb_Key_P_PreviewMouseDown);

            #line default
            #line hidden

            #line 175 "..\..\MainWindow.xaml"
                this.tb_Key_P.LostFocus += new System.Windows.RoutedEventHandler(this.Tb_Key_P_LostFocus);

            #line default
            #line hidden

            #line 175 "..\..\MainWindow.xaml"
                this.tb_Key_P.PreviewKeyDown += new System.Windows.Input.KeyEventHandler(this.Tb_Key_P_PreviewKeyDown);

            #line default
            #line hidden

            #line 175 "..\..\MainWindow.xaml"
                this.tb_Key_P.PreviewTextInput += new System.Windows.Input.TextCompositionEventHandler(this.Tb_Key_P_PreviewTextInput);

            #line default
            #line hidden

            #line 175 "..\..\MainWindow.xaml"
                this.tb_Key_P.TextChanged += new System.Windows.Controls.TextChangedEventHandler(this.Tb_Key_P_TextChanged);

            #line default
            #line hidden
                return;

            case 54:
                this.tb_Public_Key = ((System.Windows.Controls.TextBox)(target));

            #line 180 "..\..\MainWindow.xaml"
                this.tb_Public_Key.PreviewMouseDown += new System.Windows.Input.MouseButtonEventHandler(this.Tb_Public_Key_PreviewMouseDown);

            #line default
            #line hidden

            #line 180 "..\..\MainWindow.xaml"
                this.tb_Public_Key.LostFocus += new System.Windows.RoutedEventHandler(this.Tb_Public_Key_LostFocus);

            #line default
            #line hidden

            #line 180 "..\..\MainWindow.xaml"
                this.tb_Public_Key.PreviewKeyDown += new System.Windows.Input.KeyEventHandler(this.Tb_Public_Key_PreviewKeyDown);

            #line default
            #line hidden

            #line 180 "..\..\MainWindow.xaml"
                this.tb_Public_Key.TextChanged += new System.Windows.Controls.TextChangedEventHandler(this.Tb_Public_Key_TextChanged);

            #line default
            #line hidden
                return;

            case 55:
                this.btn_Backward_1 = ((System.Windows.Controls.Button)(target));

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

            #line default
            #line hidden
                return;

            case 56:
                this.btn_OK_1 = ((System.Windows.Controls.Button)(target));

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

            #line default
            #line hidden
                return;

            case 57:
                this.btn_Key_Generation_2 = ((System.Windows.Controls.Button)(target));

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

            #line default
            #line hidden
                return;

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

            #line 196 "..\..\MainWindow.xaml"
                this.tb_Key_Q.PreviewMouseDown += new System.Windows.Input.MouseButtonEventHandler(this.Tb_Key_Q_PreviewMouseDown);

            #line default
            #line hidden

            #line 196 "..\..\MainWindow.xaml"
                this.tb_Key_Q.LostFocus += new System.Windows.RoutedEventHandler(this.Tb_Key_Q_LostFocus);

            #line default
            #line hidden

            #line 196 "..\..\MainWindow.xaml"
                this.tb_Key_Q.PreviewKeyDown += new System.Windows.Input.KeyEventHandler(this.Tb_Key_Q_PreviewKeyDown);

            #line default
            #line hidden

            #line 196 "..\..\MainWindow.xaml"
                this.tb_Key_Q.PreviewTextInput += new System.Windows.Input.TextCompositionEventHandler(this.Tb_Key_Q_PreviewTextInput);

            #line default
            #line hidden

            #line 196 "..\..\MainWindow.xaml"
                this.tb_Key_Q.TextChanged += new System.Windows.Controls.TextChangedEventHandler(this.Tb_Key_Q_TextChanged);

            #line default
            #line hidden
                return;

            case 59:
                this.tb_Privat_Key = ((System.Windows.Controls.TextBox)(target));

            #line 201 "..\..\MainWindow.xaml"
                this.tb_Privat_Key.PreviewMouseDown += new System.Windows.Input.MouseButtonEventHandler(this.Tb_Privat_Key_PreviewMouseDown);

            #line default
            #line hidden

            #line 201 "..\..\MainWindow.xaml"
                this.tb_Privat_Key.LostFocus += new System.Windows.RoutedEventHandler(this.Tb_Privat_Key_LostFocus);

            #line default
            #line hidden

            #line 201 "..\..\MainWindow.xaml"
                this.tb_Privat_Key.PreviewKeyDown += new System.Windows.Input.KeyEventHandler(this.Tb_Privat_Key_PreviewKeyDown);

            #line default
            #line hidden

            #line 201 "..\..\MainWindow.xaml"
                this.tb_Privat_Key.TextChanged += new System.Windows.Controls.TextChangedEventHandler(this.Tb_Privat_Key_TextChanged);

            #line default
            #line hidden
                return;

            case 60:
                this.chb_SaveEncryptText = ((System.Windows.Controls.CheckBox)(target));
                return;

            case 61:
                this.chb_SaveKey = ((System.Windows.Controls.CheckBox)(target));
                return;

            case 62:
                this.chb_SaveSourceText = ((System.Windows.Controls.CheckBox)(target));
                return;

            case 63:
                this.chb_Refresh = ((System.Windows.Controls.CheckBox)(target));
                return;
            }
            this._contentLoaded = true;
        }
Esempio n. 41
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:

            #line 10 "..\..\MainWindow.xaml"
                ((System.Windows.Controls.DockPanel)(target)).Loaded += new System.Windows.RoutedEventHandler(this.DockPanel_Loaded);

            #line default
            #line hidden
                return;

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

            #line 13 "..\..\MainWindow.xaml"
                this.btnReset.Click += new System.Windows.RoutedEventHandler(this.btnReset_Click);

            #line default
            #line hidden
                return;

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

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

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

            #line default
            #line hidden
                return;

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

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

            #line default
            #line hidden
                return;

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

            #line 36 "..\..\MainWindow.xaml"
                this.btnPolygon.Click += new System.Windows.RoutedEventHandler(this.btnPolygon_Click);

            #line default
            #line hidden
                return;

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

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

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

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

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

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

            case 13:
                this.btnDraw = ((System.Windows.Controls.RadioButton)(target));

            #line 88 "..\..\MainWindow.xaml"
                this.btnDraw.Checked += new System.Windows.RoutedEventHandler(this.btnDraw_Click);

            #line default
            #line hidden
                return;

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

            #line 89 "..\..\MainWindow.xaml"
                this.btnEdit.Checked += new System.Windows.RoutedEventHandler(this.btnEdit_Click);

            #line default
            #line hidden
                return;

            case 15:
                this.btnDelete = ((System.Windows.Controls.RadioButton)(target));

            #line 90 "..\..\MainWindow.xaml"
                this.btnDelete.Checked += new System.Windows.RoutedEventHandler(this.btnDelete_Click);

            #line default
            #line hidden
                return;

            case 16:
                this.btnMove = ((System.Windows.Controls.RadioButton)(target));
                return;

            case 17:
                this.btnRadius = ((System.Windows.Controls.RadioButton)(target));
                return;

            case 18:
                this.btnSaveShape = ((System.Windows.Controls.RadioButton)(target));
                return;

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

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

            #line 106 "..\..\MainWindow.xaml"
                this.mainImage.MouseDown += new System.Windows.Input.MouseButtonEventHandler(this.mainImage_MouseDown);

            #line default
            #line hidden

            #line 106 "..\..\MainWindow.xaml"
                this.mainImage.MouseUp += new System.Windows.Input.MouseButtonEventHandler(this.mainImage_MouseUp);

            #line default
            #line hidden

            #line 106 "..\..\MainWindow.xaml"
                this.mainImage.MouseMove += new System.Windows.Input.MouseEventHandler(this.mainImage_MouseMove);

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

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

            case 3:
                this.chkSogou = ((System.Windows.Controls.CheckBox)(target));
                return;

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

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

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

            case 7:

            #line 41 "..\..\RankStat.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.getRank);

            #line default
            #line hidden
                return;

            case 8:

            #line 42 "..\..\RankStat.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.btExport);

            #line default
            #line hidden
                return;

            case 9:
                this.wtKey = ((Xceed.Wpf.Toolkit.WatermarkTextBox)(target));
                return;

            case 10:
                this.wtDomain = ((Xceed.Wpf.Toolkit.WatermarkTextBox)(target));
                return;

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

            case 12:
                this.gvc = ((System.Windows.Controls.GridViewColumn)(target));
                return;

            case 13:
                this.pbQuery = ((System.Windows.Controls.ProgressBar)(target));
                return;
            }
            this._contentLoaded = true;
        }
Esempio n. 43
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.textBox = ((System.Windows.Controls.TextBox)(target));
                return;

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

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

            #line 19 "..\..\MainWindow.xaml"
                this.buttonDone.Click += new System.Windows.RoutedEventHandler(this.ClickDone);

            #line default
            #line hidden
                return;

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

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

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

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

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

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

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

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

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

            case 13:
                this.radioButton3B = ((System.Windows.Controls.RadioButton)(target));
                return;

            case 14:
                this.radioButton4B = ((System.Windows.Controls.RadioButton)(target));
                return;

            case 15:
                this.radioButton5B = ((System.Windows.Controls.RadioButton)(target));
                return;
            }
            this._contentLoaded = true;
        }
Esempio n. 44
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:

            #line 9 "..\..\..\RefundQuery.xaml"
                ((UBPayApp.RefundQuery)(target)).Loaded += new System.Windows.RoutedEventHandler(this.Page_Loaded);

            #line default
            #line hidden
                return;

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

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

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

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

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

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

            case 9:
                this.rectangle1 = ((System.Windows.Shapes.Rectangle)(target));
                return;

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

            #line 405 "..\..\..\RefundQuery.xaml"
                this.today.Click += new System.Windows.RoutedEventHandler(this.today_Click);

            #line default
            #line hidden
                return;

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

            #line 408 "..\..\..\RefundQuery.xaml"
                this.yesterday.Click += new System.Windows.RoutedEventHandler(this.yesterday_Click);

            #line default
            #line hidden
                return;

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

            #line 411 "..\..\..\RefundQuery.xaml"
                this.Nearly7days.Click += new System.Windows.RoutedEventHandler(this.Nearly7days_Click);

            #line default
            #line hidden
                return;

            case 13:
                this.Nearly30days = ((System.Windows.Controls.RadioButton)(target));

            #line 414 "..\..\..\RefundQuery.xaml"
                this.Nearly30days.Click += new System.Windows.RoutedEventHandler(this.Nearly30days_Click);

            #line default
            #line hidden
                return;

            case 14:
                this.datePicker1 = ((Loya.Dameer.Dameer)(target));
                return;

            case 15:
                this.datePicker2 = ((Loya.Dameer.Dameer)(target));
                return;

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

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

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

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

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

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

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

            #line 435 "..\..\..\RefundQuery.xaml"
                this.bt_refund.Click += new System.Windows.RoutedEventHandler(this.bt_refund_Click);

            #line default
            #line hidden
                return;

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

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

            #line 438 "..\..\..\RefundQuery.xaml"
                this.cmb_Payment_Mode.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.cmb_Payment_Mode_SelectionChanged);

            #line default
            #line hidden
                return;

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

            #line 439 "..\..\..\RefundQuery.xaml"
                this.bt__RefundQuery.Click += new System.Windows.RoutedEventHandler(this.bt__RefundQuery_Click);

            #line default
            #line hidden
                return;

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

            #line 440 "..\..\..\RefundQuery.xaml"
                this.bt__exPortExcel.Click += new System.Windows.RoutedEventHandler(this.bt__exPortExcel_Click);

            #line default
            #line hidden
                return;

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

            #line 441 "..\..\..\RefundQuery.xaml"
                this.tBoxInputID.TextChanged += new System.Windows.Controls.TextChangedEventHandler(this.tBoxInputID_TextChanged);

            #line default
            #line hidden
                return;

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

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

            #line 443 "..\..\..\RefundQuery.xaml"
                this.tBoxRefundOrder.TextChanged += new System.Windows.Controls.TextChangedEventHandler(this.tBoxRefundOrder_TextChanged);

            #line default
            #line hidden
                return;

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

            case 31:
                this.cmbPaymentType = ((System.Windows.Controls.ComboBox)(target));

            #line 445 "..\..\..\RefundQuery.xaml"
                this.cmbPaymentType.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.cmbPaymentType_SelectionChanged);

            #line default
            #line hidden
                return;

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

            case 33:
                this.cmb_Order_Status = ((System.Windows.Controls.ComboBox)(target));

            #line 447 "..\..\..\RefundQuery.xaml"
                this.cmb_Order_Status.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.cmb_Order_Status_SelectionChanged);

            #line default
            #line hidden
                return;

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

            #line 453 "..\..\..\RefundQuery.xaml"
                this.btPreviousPage.Click += new System.Windows.RoutedEventHandler(this.btPreviousPage_Click);

            #line default
            #line hidden
                return;

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

            #line 454 "..\..\..\RefundQuery.xaml"
                this.btNextPage.Click += new System.Windows.RoutedEventHandler(this.btNextPage_Click);

            #line default
            #line hidden
                return;

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

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

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

            #line 457 "..\..\..\RefundQuery.xaml"
                this.btTargetPage.Click += new System.Windows.RoutedEventHandler(this.btTargetPage_Click);

            #line default
            #line hidden
                return;

            case 39:
                this.DisplayRefundPage = ((System.Windows.Controls.Grid)(target));
                return;
            }
            this._contentLoaded = true;
        }
Esempio n. 45
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.button = ((System.Windows.Controls.Button)(target));
                return;

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

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

            #line 402 "..\..\..\Returnable\BacKToSellPercent.xaml"
                this.button2.Click += new System.Windows.RoutedEventHandler(this.button2_Click);

            #line default
            #line hidden
                return;

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

            case 5:

            #line 427 "..\..\..\Returnable\BacKToSellPercent.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Button_Click10);

            #line default
            #line hidden
                return;

            case 6:

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

            #line default
            #line hidden
                return;

            case 7:

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

            #line default
            #line hidden
                return;

            case 8:

            #line 430 "..\..\..\Returnable\BacKToSellPercent.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Button_Click_30);

            #line default
            #line hidden
                return;

            case 9:

            #line 431 "..\..\..\Returnable\BacKToSellPercent.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Button_Click_40);

            #line default
            #line hidden
                return;

            case 10:

            #line 432 "..\..\..\Returnable\BacKToSellPercent.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Button_Click_50);

            #line default
            #line hidden
                return;

            case 11:

            #line 433 "..\..\..\Returnable\BacKToSellPercent.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Button_Click_60);

            #line default
            #line hidden
                return;

            case 12:

            #line 434 "..\..\..\Returnable\BacKToSellPercent.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Button_Click_70);

            #line default
            #line hidden
                return;

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

            #line 442 "..\..\..\Returnable\BacKToSellPercent.xaml"
                this.CategoreCombo.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.CategoreCombo_SelectionChanged);

            #line default
            #line hidden
                return;

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

            #line 443 "..\..\..\Returnable\BacKToSellPercent.xaml"
                this.All1.Checked += new System.Windows.RoutedEventHandler(this.All1_Checked);

            #line default
            #line hidden
                return;

            case 15:
                this.Category1 = ((System.Windows.Controls.RadioButton)(target));

            #line 444 "..\..\..\Returnable\BacKToSellPercent.xaml"
                this.Category1.Checked += new System.Windows.RoutedEventHandler(this.Category1_Checked);

            #line default
            #line hidden
                return;

            case 16:
                this.Item1 = ((System.Windows.Controls.RadioButton)(target));

            #line 445 "..\..\..\Returnable\BacKToSellPercent.xaml"
                this.Item1.Checked += new System.Windows.RoutedEventHandler(this.Item1_Checked);

            #line default
            #line hidden
                return;

            case 17:
                this.ByDate1 = ((System.Windows.Controls.RadioButton)(target));

            #line 446 "..\..\..\Returnable\BacKToSellPercent.xaml"
                this.ByDate1.Checked += new System.Windows.RoutedEventHandler(this.ByDate1_Checked);

            #line default
            #line hidden
                return;

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

            #line 447 "..\..\..\Returnable\BacKToSellPercent.xaml"
                this.ItemCombo1.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.ItemCombo1_SelectionChanged);

            #line default
            #line hidden
                return;

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

            #line 448 "..\..\..\Returnable\BacKToSellPercent.xaml"
                this.DatePicker.SelectedDateChanged += new System.EventHandler <System.Windows.Controls.SelectionChangedEventArgs>(this.DatePicker_SelectedDateChanged);

            #line default
            #line hidden
                return;

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

            #line 449 "..\..\..\Returnable\BacKToSellPercent.xaml"
                this.ListView.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.ListView_SelectionChanged);

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

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

            #line default
            #line hidden
                return;

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

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

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

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

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

            #line 10 "..\..\..\WpfPhanTichSL.xaml"
                this.btnclose.Click += new System.Windows.RoutedEventHandler(this.btnclose_Click);

            #line default
            #line hidden
                return;

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

            #line 11 "..\..\..\WpfPhanTichSL.xaml"
                this.btnOk.Click += new System.Windows.RoutedEventHandler(this.btnOk_Click);

            #line default
            #line hidden
                return;

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

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

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

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

            case 12:
                this.GrpNguon = ((System.Windows.Controls.GroupBox)(target));
                return;

            case 13:
                this.Ration4 = ((System.Windows.Controls.RadioButton)(target));
                return;

            case 14:
                this.Ration5 = ((System.Windows.Controls.RadioButton)(target));
                return;

            case 15:
                this.Ration6 = ((System.Windows.Controls.RadioButton)(target));
                return;
            }
            this._contentLoaded = true;
        }
Esempio n. 47
0
 void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
     switch (connectionId)
     {
     case 1:
     
     #line 64 "..\..\..\..\Views\PurchaseDocument\NewShopingchart.xaml"
     ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.notes_Click);
     
     #line default
     #line hidden
     return;
     case 2:
     
     #line 71 "..\..\..\..\Views\PurchaseDocument\NewShopingchart.xaml"
     ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.saveasdraft_Click);
     
     #line default
     #line hidden
     return;
     case 3:
     
     #line 78 "..\..\..\..\Views\PurchaseDocument\NewShopingchart.xaml"
     ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.saveaspdf_Click);
     
     #line default
     #line hidden
     return;
     case 4:
     
     #line 85 "..\..\..\..\Views\PurchaseDocument\NewShopingchart.xaml"
     ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.duplicate_Click);
     
     #line default
     #line hidden
     return;
     case 5:
     
     #line 92 "..\..\..\..\Views\PurchaseDocument\NewShopingchart.xaml"
     ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.playtutorial_Click);
     
     #line default
     #line hidden
     return;
     case 6:
     
     #line 101 "..\..\..\..\Views\PurchaseDocument\NewShopingchart.xaml"
     ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Manager_Click);
     
     #line default
     #line hidden
     return;
     case 7:
     
     #line 107 "..\..\..\..\Views\PurchaseDocument\NewShopingchart.xaml"
     ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Document_Click);
     
     #line default
     #line hidden
     return;
     case 8:
     
     #line 125 "..\..\..\..\Views\PurchaseDocument\NewShopingchart.xaml"
     ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Saveshopingchart_Click);
     
     #line default
     #line hidden
     return;
     case 9:
     
     #line 133 "..\..\..\..\Views\PurchaseDocument\NewShopingchart.xaml"
     ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.StockList_Click);
     
     #line default
     #line hidden
     return;
     case 10:
     
     #line 141 "..\..\..\..\Views\PurchaseDocument\NewShopingchart.xaml"
     ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Print_Click);
     
     #line default
     #line hidden
     return;
     case 11:
     
     #line 149 "..\..\..\..\Views\PurchaseDocument\NewShopingchart.xaml"
     ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Cancel_Click);
     
     #line default
     #line hidden
     return;
     case 12:
     this.chkannual = ((System.Windows.Controls.CheckBox)(target));
     return;
     case 13:
     this.rbdeprtmen = ((System.Windows.Controls.RadioButton)(target));
     
     #line 170 "..\..\..\..\Views\PurchaseDocument\NewShopingchart.xaml"
     this.rbdeprtmen.Checked += new System.Windows.RoutedEventHandler(this.rbdeprtmen_Checked);
     
     #line default
     #line hidden
     return;
     case 14:
     this.rbprojec = ((System.Windows.Controls.RadioButton)(target));
     
     #line 171 "..\..\..\..\Views\PurchaseDocument\NewShopingchart.xaml"
     this.rbprojec.Checked += new System.Windows.RoutedEventHandler(this.rbprojec_Checked);
     
     #line default
     #line hidden
     return;
     case 15:
     this.chkcomplete = ((System.Windows.Controls.CheckBox)(target));
     return;
     case 16:
     this.btnproduk = ((System.Windows.Controls.Button)(target));
     
     #line 180 "..\..\..\..\Views\PurchaseDocument\NewShopingchart.xaml"
     this.btnproduk.Click += new System.Windows.RoutedEventHandler(this.produk_Click);
     
     #line default
     #line hidden
     return;
     case 17:
     
     #line 187 "..\..\..\..\Views\PurchaseDocument\NewShopingchart.xaml"
     ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.service_Click);
     
     #line default
     #line hidden
     return;
     case 18:
     
     #line 194 "..\..\..\..\Views\PurchaseDocument\NewShopingchart.xaml"
     ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.custom_Click);
     
     #line default
     #line hidden
     return;
     case 19:
     this.txttota = ((System.Windows.Controls.TextBlock)(target));
     return;
     case 20:
     this.txttax1 = ((System.Windows.Controls.TextBox)(target));
     
     #line 201 "..\..\..\..\Views\PurchaseDocument\NewShopingchart.xaml"
     this.txttax1.TextChanged += new System.Windows.Controls.TextChangedEventHandler(this.txttax_TextChanged);
     
     #line default
     #line hidden
     return;
     case 21:
     this.txtprice = ((System.Windows.Controls.TextBlock)(target));
     return;
     case 22:
     this.txtdiskon = ((System.Windows.Controls.TextBlock)(target));
     return;
     case 23:
     this.txttax = ((System.Windows.Controls.TextBlock)(target));
     return;
     case 24:
     this.txttotaltax = ((System.Windows.Controls.TextBlock)(target));
     return;
     case 25:
     this.txttotal1 = ((System.Windows.Controls.TextBlock)(target));
     return;
     case 26:
     this.txtdiskon1 = ((System.Windows.Controls.TextBlock)(target));
     return;
     case 27:
     this.DGSKUShopingCharta = ((System.Windows.Controls.DataGrid)(target));
     
     #line 227 "..\..\..\..\Views\PurchaseDocument\NewShopingchart.xaml"
     this.DGSKUShopingCharta.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.DGSKUShopingChart_SelectionChanged);
     
     #line default
     #line hidden
     return;
     case 28:
     this.DGSKUShopingChart = ((System.Windows.Controls.DataGrid)(target));
     
     #line 347 "..\..\..\..\Views\PurchaseDocument\NewShopingchart.xaml"
     this.DGSKUShopingChart.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.DGSKUShopingChart_SelectionChanged);
     
     #line default
     #line hidden
     return;
     case 29:
     this.sremployee = ((System.Windows.Controls.AutoCompleteBox)(target));
     
     #line 425 "..\..\..\..\Views\PurchaseDocument\NewShopingchart.xaml"
     this.sremployee.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.employee_selectedchange);
     
     #line default
     #line hidden
     return;
     case 30:
     this.txtemail = ((System.Windows.Controls.TextBlock)(target));
     return;
     case 31:
     this.txthp = ((System.Windows.Controls.TextBlock)(target));
     return;
     case 32:
     this.dtIssued = ((System.Windows.Controls.DatePicker)(target));
     return;
     case 33:
     this.cbCurrency = ((System.Windows.Controls.ComboBox)(target));
     
     #line 454 "..\..\..\..\Views\PurchaseDocument\NewShopingchart.xaml"
     this.cbCurrency.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.currency_selectedchange);
     
     #line default
     #line hidden
     return;
     case 34:
     this.srnodokumen = ((System.Windows.Controls.AutoCompleteBox)(target));
     
     #line 461 "..\..\..\..\Views\PurchaseDocument\NewShopingchart.xaml"
     this.srnodokumen.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.dokumen_selectedchange);
     
     #line default
     #line hidden
     return;
     case 35:
     this.txtRequestNo = ((System.Windows.Controls.TextBox)(target));
     
     #line 473 "..\..\..\..\Views\PurchaseDocument\NewShopingchart.xaml"
     this.txtRequestNo.TextChanged += new System.Windows.Controls.TextChangedEventHandler(this.TxtRequestNo_TextChanged);
     
     #line default
     #line hidden
     return;
     case 36:
     this.txttotalbeforetax = ((System.Windows.Controls.TextBlock)(target));
     return;
     case 37:
     this.txtNote = ((System.Windows.Controls.TextBox)(target));
     return;
     case 38:
     this.cbLocation = ((System.Windows.Controls.ComboBox)(target));
     
     #line 476 "..\..\..\..\Views\PurchaseDocument\NewShopingchart.xaml"
     this.cbLocation.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.lokasi_selectedchange);
     
     #line default
     #line hidden
     return;
     case 39:
     this.cbDepartment = ((System.Windows.Controls.ComboBox)(target));
     
     #line 477 "..\..\..\..\Views\PurchaseDocument\NewShopingchart.xaml"
     this.cbDepartment.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.department_selectionchange);
     
     #line default
     #line hidden
     return;
     case 40:
     this.cbProyek = ((System.Windows.Controls.ComboBox)(target));
     
     #line 478 "..\..\..\..\Views\PurchaseDocument\NewShopingchart.xaml"
     this.cbProyek.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.proyek_selectionchange);
     
     #line default
     #line hidden
     return;
     case 41:
     this.dtRequired = ((System.Windows.Controls.DatePicker)(target));
     return;
     case 42:
     this.cbAnnual = ((System.Windows.Controls.ComboBox)(target));
     
     #line 480 "..\..\..\..\Views\PurchaseDocument\NewShopingchart.xaml"
     this.cbAnnual.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.annual_selectedchange);
     
     #line default
     #line hidden
     return;
     case 43:
     this.srstaff = ((System.Windows.Controls.AutoCompleteBox)(target));
     
     #line 487 "..\..\..\..\Views\PurchaseDocument\NewShopingchart.xaml"
     this.srstaff.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.staff_selectedchange);
     
     #line default
     #line hidden
     return;
     case 44:
     this.txtAnnualFrequency = ((System.Windows.Controls.TextBox)(target));
     
     #line 499 "..\..\..\..\Views\PurchaseDocument\NewShopingchart.xaml"
     this.txtAnnualFrequency.TextChanged += new System.Windows.Controls.TextChangedEventHandler(this.TxtAnnualFrequency_TextChanged);
     
     #line default
     #line hidden
     return;
     case 45:
     this.dtAnnual = ((System.Windows.Controls.DatePicker)(target));
     return;
     case 46:
     this.gg = ((System.Windows.Controls.Border)(target));
     return;
     case 47:
     this.srsku = ((System.Windows.Controls.AutoCompleteBox)(target));
     
     #line 506 "..\..\..\..\Views\PurchaseDocument\NewShopingchart.xaml"
     this.srsku.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.produk_selectedchange);
     
     #line default
     #line hidden
     return;
     case 48:
     this.txtnama = ((System.Windows.Controls.TextBox)(target));
     return;
     case 49:
     this.txttotalcustom = ((System.Windows.Controls.TextBox)(target));
     return;
     case 50:
     this.txttotal = ((System.Windows.Controls.TextBox)(target));
     
     #line 519 "..\..\..\..\Views\PurchaseDocument\NewShopingchart.xaml"
     this.txttotal.TextChanged += new System.Windows.Controls.TextChangedEventHandler(this.txttotal_TextChanged);
     
     #line default
     #line hidden
     
     #line 519 "..\..\..\..\Views\PurchaseDocument\NewShopingchart.xaml"
     this.txttotal.KeyDown += new System.Windows.Input.KeyEventHandler(this.TextBox_KeyUp);
     
     #line default
     #line hidden
     return;
     case 51:
     this.txttotalservice = ((System.Windows.Controls.TextBox)(target));
     
     #line 520 "..\..\..\..\Views\PurchaseDocument\NewShopingchart.xaml"
     this.txttotalservice.TextChanged += new System.Windows.Controls.TextChangedEventHandler(this.txttotalservice_TextChanged);
     
     #line default
     #line hidden
     
     #line 520 "..\..\..\..\Views\PurchaseDocument\NewShopingchart.xaml"
     this.txttotalservice.KeyDown += new System.Windows.Input.KeyEventHandler(this.TextBoxservice_KeyUp);
     
     #line default
     #line hidden
     return;
     case 52:
     this.txtharga = ((System.Windows.Controls.TextBox)(target));
     
     #line 521 "..\..\..\..\Views\PurchaseDocument\NewShopingchart.xaml"
     this.txtharga.TextChanged += new System.Windows.Controls.TextChangedEventHandler(this.txtharga_TextChanged);
     
     #line default
     #line hidden
     
     #line 521 "..\..\..\..\Views\PurchaseDocument\NewShopingchart.xaml"
     this.txtharga.KeyDown += new System.Windows.Input.KeyEventHandler(this.TextBoxharga_KeyUp);
     
     #line default
     #line hidden
     return;
     case 53:
     this.txtunit = ((System.Windows.Controls.TextBox)(target));
     return;
     case 54:
     this.txtbudget = ((System.Windows.Controls.TextBox)(target));
     return;
     }
     this._contentLoaded = true;
 }
Esempio n. 48
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:

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

            #line default
            #line hidden
                return;

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

            #line 6 "..\..\..\WpfKH_CBTD_MOI.xaml"
                this.lblMessa.MouseDown += new System.Windows.Input.MouseButtonEventHandler(this.lblMess_OnMouseDown);

            #line default
            #line hidden
                return;

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

            #line 30 "..\..\..\WpfKH_CBTD_MOI.xaml"
                this.btnClose.Click += new System.Windows.RoutedEventHandler(this.btnClose_OnClick);

            #line default
            #line hidden
                return;

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

            #line 51 "..\..\..\WpfKH_CBTD_MOI.xaml"
                this.btnOk.Click += new System.Windows.RoutedEventHandler(this.BtnOk_OnClick);

            #line default
            #line hidden
                return;

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

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

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

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

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

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

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

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

            case 13:
                this.RadioButton4 = ((System.Windows.Controls.RadioButton)(target));
                return;
            }
            this._contentLoaded = true;
        }
Esempio n. 49
0
 public void InitializeComponent()
 {
     if (_contentLoaded)
     {
         return;
     }
     _contentLoaded = true;
     System.Windows.Application.LoadComponent(this, new System.Uri("/Galatee.Silverlight;component/Devis/UcProcesVerbal.xaml", System.UriKind.Relative));
     this.LayoutRoot                  = ((System.Windows.Controls.Grid)(this.FindName("LayoutRoot")));
     this.groupBox2_Copy              = ((SilverlightContrib.Controls.GroupBox)(this.FindName("groupBox2_Copy")));
     this.tabC_Onglet                 = ((System.Windows.Controls.TabControl)(this.FindName("tabC_Onglet")));
     this.tabItemDevis                = ((System.Windows.Controls.TabItem)(this.FindName("tabItemDevis")));
     this.Gbo_InformationDevis        = ((SilverlightContrib.Controls.GroupBox)(this.FindName("Gbo_InformationDevis")));
     this.Txt_Ordre                   = ((System.Windows.Controls.TextBox)(this.FindName("Txt_Ordre")));
     this.Txt_CodeSite                = ((System.Windows.Controls.TextBox)(this.FindName("Txt_CodeSite")));
     this.lbl_Site                    = ((System.Windows.Controls.Label)(this.FindName("lbl_Site")));
     this.Txt_LibelleSite             = ((System.Windows.Controls.TextBox)(this.FindName("Txt_LibelleSite")));
     this.Txt_CodeCentre              = ((System.Windows.Controls.TextBox)(this.FindName("Txt_CodeCentre")));
     this.lbl_Centre                  = ((System.Windows.Controls.Label)(this.FindName("lbl_Centre")));
     this.Txt_LibelleCentre           = ((System.Windows.Controls.TextBox)(this.FindName("Txt_LibelleCentre")));
     this.Txt_LibelleProduit          = ((System.Windows.Controls.TextBox)(this.FindName("Txt_LibelleProduit")));
     this.lbl_Produit                 = ((System.Windows.Controls.Label)(this.FindName("lbl_Produit")));
     this.Txt_CodeProduit             = ((System.Windows.Controls.TextBox)(this.FindName("Txt_CodeProduit")));
     this.Txt_LibelleTypeDevis        = ((System.Windows.Controls.TextBox)(this.FindName("Txt_LibelleTypeDevis")));
     this.Txt_EtapeCourante           = ((System.Windows.Controls.TextBox)(this.FindName("Txt_EtapeCourante")));
     this.Txt_EtapeSuivante           = ((System.Windows.Controls.TextBox)(this.FindName("Txt_EtapeSuivante")));
     this.lbl_TypeDevis               = ((System.Windows.Controls.Label)(this.FindName("lbl_TypeDevis")));
     this.lbl_EtapeEnCours            = ((System.Windows.Controls.Label)(this.FindName("lbl_EtapeEnCours")));
     this.lbl_EtapeSuivante           = ((System.Windows.Controls.Label)(this.FindName("lbl_EtapeSuivante")));
     this.Txt_Client                  = ((System.Windows.Controls.TextBox)(this.FindName("Txt_Client")));
     this.lbl_Centre_Copy             = ((System.Windows.Controls.Label)(this.FindName("lbl_Centre_Copy")));
     this.lbl_Produit_Copy            = ((System.Windows.Controls.Label)(this.FindName("lbl_Produit_Copy")));
     this.tabItemDemandeur            = ((System.Windows.Controls.TabItem)(this.FindName("tabItemDemandeur")));
     this.Gbo_InformationDemandeDevis = ((SilverlightContrib.Controls.GroupBox)(this.FindName("Gbo_InformationDemandeDevis")));
     this.lbl_Nom               = ((System.Windows.Controls.Label)(this.FindName("lbl_Nom")));
     this.Txt_NomClient         = ((System.Windows.Controls.TextBox)(this.FindName("Txt_NomClient")));
     this.lab_Tournee           = ((System.Windows.Controls.Label)(this.FindName("lab_Tournee")));
     this.lbl_CategorieClient   = ((System.Windows.Controls.Label)(this.FindName("lbl_CategorieClient")));
     this.lbl_Telephone         = ((System.Windows.Controls.Label)(this.FindName("lbl_Telephone")));
     this.txt_Telephone         = ((System.Windows.Controls.TextBox)(this.FindName("txt_Telephone")));
     this.lbl_NumLot            = ((System.Windows.Controls.Label)(this.FindName("lbl_NumLot")));
     this.txt_NumLot            = ((System.Windows.Controls.TextBox)(this.FindName("txt_NumLot")));
     this.lbl_Piece             = ((System.Windows.Controls.Label)(this.FindName("lbl_Piece")));
     this.lbl_Commune           = ((System.Windows.Controls.Label)(this.FindName("lbl_Commune")));
     this.txt_Commune           = ((System.Windows.Controls.TextBox)(this.FindName("txt_Commune")));
     this.lbl_Quartier          = ((System.Windows.Controls.Label)(this.FindName("lbl_Quartier")));
     this.txt_Quartier          = ((System.Windows.Controls.TextBox)(this.FindName("txt_Quartier")));
     this.lbl_Rue               = ((System.Windows.Controls.Label)(this.FindName("lbl_Rue")));
     this.txt_NumRue            = ((System.Windows.Controls.TextBox)(this.FindName("txt_NumRue")));
     this.lbl_Poteau            = ((System.Windows.Controls.Label)(this.FindName("lbl_Poteau")));
     this.txtPoteau             = ((System.Windows.Controls.TextBox)(this.FindName("txtPoteau")));
     this.lbl_NumPiece          = ((System.Windows.Controls.Label)(this.FindName("lbl_NumPiece")));
     this.txtPropriete          = ((System.Windows.Controls.TextBox)(this.FindName("txtPropriete")));
     this.lbl_Adresse           = ((System.Windows.Controls.Label)(this.FindName("lbl_Adresse")));
     this.txtAdresse            = ((System.Windows.Controls.TextBox)(this.FindName("txtAdresse")));
     this.lbl_Proprio           = ((System.Windows.Controls.Label)(this.FindName("lbl_Proprio")));
     this.lbl_Calibre           = ((System.Windows.Controls.Label)(this.FindName("lbl_Calibre")));
     this.txtNumeroPiece        = ((System.Windows.Controls.TextBox)(this.FindName("txtNumeroPiece")));
     this.Txt_LibelleCommune    = ((System.Windows.Controls.TextBox)(this.FindName("Txt_LibelleCommune")));
     this.Txt_LibelleQuartier   = ((System.Windows.Controls.TextBox)(this.FindName("Txt_LibelleQuartier")));
     this.Txt_LibelleRue        = ((System.Windows.Controls.TextBox)(this.FindName("Txt_LibelleRue")));
     this.Txt_LibelleDiametre   = ((System.Windows.Controls.TextBox)(this.FindName("Txt_LibelleDiametre")));
     this.Txt_LibelleCategorie  = ((System.Windows.Controls.TextBox)(this.FindName("Txt_LibelleCategorie")));
     this.Txt_TypePiece         = ((System.Windows.Controls.TextBox)(this.FindName("Txt_TypePiece")));
     this.Txt_LibelleTournee    = ((System.Windows.Controls.TextBox)(this.FindName("Txt_LibelleTournee")));
     this.lbl_Longitude         = ((System.Windows.Controls.Label)(this.FindName("lbl_Longitude")));
     this.TxtLongitude          = ((System.Windows.Controls.TextBox)(this.FindName("TxtLongitude")));
     this.lbl_latitude          = ((System.Windows.Controls.Label)(this.FindName("lbl_latitude")));
     this.TxtLatitude           = ((System.Windows.Controls.TextBox)(this.FindName("TxtLatitude")));
     this.tabItemAppareils      = ((System.Windows.Controls.TabItem)(this.FindName("tabItemAppareils")));
     this.dtgAppareils          = ((System.Windows.Controls.DataGrid)(this.FindName("dtgAppareils")));
     this.tabItemFournitures    = ((System.Windows.Controls.TabItem)(this.FindName("tabItemFournitures")));
     this.dataGridForniture     = ((System.Windows.Controls.DataGrid)(this.FindName("dataGridForniture")));
     this.lbl_TotalHT           = ((System.Windows.Controls.Label)(this.FindName("lbl_TotalHT")));
     this.Txt_TotalHt           = ((System.Windows.Controls.TextBox)(this.FindName("Txt_TotalHt")));
     this.lbl_TotalTTC          = ((System.Windows.Controls.Label)(this.FindName("lbl_TotalTTC")));
     this.Txt_TotalTtc          = ((System.Windows.Controls.TextBox)(this.FindName("Txt_TotalTtc")));
     this.lbl_TotalTVA          = ((System.Windows.Controls.Label)(this.FindName("lbl_TotalTVA")));
     this.Txt_TotalTva          = ((System.Windows.Controls.TextBox)(this.FindName("Txt_TotalTva")));
     this.tabSaisieDepose       = ((System.Windows.Controls.TabItem)(this.FindName("tabSaisieDepose")));
     this.groupBox2_Copy5       = ((SilverlightContrib.Controls.GroupBox)(this.FindName("groupBox2_Copy5")));
     this.Chk_ConsoSeul         = ((System.Windows.Controls.CheckBox)(this.FindName("Chk_ConsoSeul")));
     this.label78               = ((System.Windows.Controls.Label)(this.FindName("label78")));
     this.dtpDepose             = ((System.Windows.Controls.DatePicker)(this.FindName("dtpDepose")));
     this.dg_AncienCompteur     = ((System.Windows.Controls.DataGrid)(this.FindName("dg_AncienCompteur")));
     this.label114_Copy1        = ((System.Windows.Controls.Label)(this.FindName("label114_Copy1")));
     this.label14_Copy          = ((System.Windows.Controls.Label)(this.FindName("label14_Copy")));
     this.TxtperiodeDepose      = ((System.Windows.Controls.TextBox)(this.FindName("TxtperiodeDepose")));
     this.tabPoseCompteur       = ((System.Windows.Controls.TabItem)(this.FindName("tabPoseCompteur")));
     this.label114_Copy         = ((System.Windows.Controls.Label)(this.FindName("label114_Copy")));
     this.label14_Copy13        = ((System.Windows.Controls.Label)(this.FindName("label14_Copy13")));
     this.dg_compteur           = ((System.Windows.Controls.DataGrid)(this.FindName("dg_compteur")));
     this.TxtperiodePose        = ((System.Windows.Controls.TextBox)(this.FindName("TxtperiodePose")));
     this.label78_Copy          = ((System.Windows.Controls.Label)(this.FindName("label78_Copy")));
     this.dtpPose               = ((System.Windows.Controls.DatePicker)(this.FindName("dtpPose")));
     this.tabitemScelle         = ((System.Windows.Controls.TabItem)(this.FindName("tabitemScelle")));
     this.LayoutRoot1           = ((System.Windows.Controls.Grid)(this.FindName("LayoutRoot1")));
     this.groupBox2_Copy3       = ((SilverlightContrib.Controls.GroupBox)(this.FindName("groupBox2_Copy3")));
     this.groupBox2_Copy2       = ((SilverlightContrib.Controls.GroupBox)(this.FindName("groupBox2_Copy2")));
     this.dg_composantScellable = ((System.Windows.Controls.DataGrid)(this.FindName("dg_composantScellable")));
     this.lnkLetter             = ((System.Windows.Controls.HyperlinkButton)(this.FindName("lnkLetter")));
     this.rbt_AuneAction        = ((System.Windows.Controls.RadioButton)(this.FindName("rbt_AuneAction")));
     this.rbt_RuptureSimple     = ((System.Windows.Controls.RadioButton)(this.FindName("rbt_RuptureSimple")));
     this.rbt_NouveauScelle     = ((System.Windows.Controls.RadioButton)(this.FindName("rbt_NouveauScelle")));
     this.btn_ListScelle        = ((System.Windows.Controls.Button)(this.FindName("btn_ListScelle")));
     this.txt_NumScelleRompu    = ((System.Windows.Controls.TextBox)(this.FindName("txt_NumScelleRompu")));
     this.txt_NumNouveauScelle  = ((System.Windows.Controls.TextBox)(this.FindName("txt_NumNouveauScelle")));
     this.btn_Ajout             = ((System.Windows.Controls.Button)(this.FindName("btn_Ajout")));
     this.txt_NombreScelle      = ((System.Windows.Controls.TextBox)(this.FindName("txt_NombreScelle")));
     this.dg_Scellage           = ((System.Windows.Controls.DataGrid)(this.FindName("dg_Scellage")));
     this.btn_Supprimer         = ((System.Windows.Controls.Button)(this.FindName("btn_Supprimer")));
     this.tabPieceJointe_Copy   = ((System.Windows.Controls.TabItem)(this.FindName("tabPieceJointe_Copy")));
     this.Vwb             = ((System.Windows.Controls.Viewbox)(this.FindName("Vwb")));
     this.CancelButton    = ((System.Windows.Controls.Button)(this.FindName("CancelButton")));
     this.label1          = ((System.Windows.Controls.Label)(this.FindName("label1")));
     this.Txt_NumeroDevis = ((System.Windows.Controls.TextBox)(this.FindName("Txt_NumeroDevis")));
     this.DtpDebutTravaux = ((System.Windows.Controls.DatePicker)(this.FindName("DtpDebutTravaux")));
     this.label2          = ((System.Windows.Controls.Label)(this.FindName("label2")));
     this.DtpFinTravaux   = ((System.Windows.Controls.DatePicker)(this.FindName("DtpFinTravaux")));
     this.label3          = ((System.Windows.Controls.Label)(this.FindName("label3")));
     this.label15         = ((System.Windows.Controls.Label)(this.FindName("label15")));
     this.TxtNumeroGps    = ((Galatee.Silverlight.Library.NumericTextBox)(this.FindName("TxtNumeroGps")));
     this.btn_Transmetre  = ((System.Windows.Controls.Button)(this.FindName("btn_Transmetre")));
     this.btn_Rejeter     = ((System.Windows.Controls.Button)(this.FindName("btn_Rejeter")));
     this.prgBar          = ((System.Windows.Controls.ProgressBar)(this.FindName("prgBar")));
 }
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.Department = ((System.Windows.Controls.TextBox)(target));
                return;

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

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

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

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

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

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

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

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

            #line 28 "..\..\Add_Employee.xaml"
                this.back.Click += new System.Windows.RoutedEventHandler(this.back_Click);

            #line default
            #line hidden
                return;

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

            #line 33 "..\..\Add_Employee.xaml"
                this.ADD.Click += new System.Windows.RoutedEventHandler(this.ADD_Click);

            #line default
            #line hidden
                return;

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

            case 28:
                this.Date = ((System.Windows.Controls.DatePicker)(target));
                return;

            case 29:
                this.Emplyedate = ((System.Windows.Controls.DatePicker)(target));
                return;

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

            case 31:
                this.label2_Copy11 = ((System.Windows.Controls.Label)(target));
                return;
            }
            this._contentLoaded = true;
        }
Esempio n. 51
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:

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

            #line default
            #line hidden
                return;

            case 2:
                this.rbtn本地图片 = ((System.Windows.Controls.RadioButton)(target));

            #line 31 "..\..\..\MainWindow.xaml"
                this.rbtn本地图片.Checked += new System.Windows.RoutedEventHandler(this.rbtn本地图片_Checked);

            #line default
            #line hidden
                return;

            case 3:
                this.txt本地图片 = ((System.Windows.Controls.TextBox)(target));
                return;

            case 4:
                this.btn浏览 = ((System.Windows.Controls.Button)(target));

            #line 33 "..\..\..\MainWindow.xaml"
                this.btn浏览.Click += new System.Windows.RoutedEventHandler(this.btn浏览_Click);

            #line default
            #line hidden
                return;

            case 5:
                this.rbtn网络图片 = ((System.Windows.Controls.RadioButton)(target));

            #line 37 "..\..\..\MainWindow.xaml"
                this.rbtn网络图片.Checked += new System.Windows.RoutedEventHandler(this.rbtn网络图片_Checked);

            #line default
            #line hidden
                return;

            case 6:
                this.txt网络图片 = ((System.Windows.Controls.TextBox)(target));

            #line 38 "..\..\..\MainWindow.xaml"
                this.txt网络图片.TextChanged += new System.Windows.Controls.TextChangedEventHandler(this.txt网络图片_TextChanged);

            #line default
            #line hidden
                return;

            case 7:
                this.lab长度 = ((System.Windows.Controls.Label)(target));
                return;

            case 8:
                this.sl长度 = ((System.Windows.Controls.Slider)(target));
                return;

            case 9:
                this.lab宽度 = ((System.Windows.Controls.Label)(target));
                return;

            case 10:
                this.sl宽度 = ((System.Windows.Controls.Slider)(target));
                return;

            case 11:
                this.lab透明度 = ((System.Windows.Controls.Label)(target));
                return;

            case 12:
                this.sl透明度 = ((System.Windows.Controls.Slider)(target));
                return;

            case 13:
                this.lab拉伸方式 = ((System.Windows.Controls.Label)(target));
                return;

            case 14:
                this.txt拉伸方式 = ((System.Windows.Controls.ComboBox)(target));
                return;

            case 15:
                this.img图片 = ((System.Windows.Controls.Image)(target));
                return;

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

            case 17:
                this.btn清空 = ((System.Windows.Controls.Button)(target));

            #line 68 "..\..\..\MainWindow.xaml"
                this.btn清空.Click += new System.Windows.RoutedEventHandler(this.btn清空_Click);

            #line default
            #line hidden
                return;

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

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

            #line default
            #line hidden
                return;

            case 19:
                this.lab输出目录 = ((System.Windows.Controls.Label)(target));
                return;

            case 20:
                this.txt输出目录 = ((System.Windows.Controls.TextBox)(target));
                return;

            case 21:
                this.btn输出浏览 = ((System.Windows.Controls.Button)(target));

            #line 76 "..\..\..\MainWindow.xaml"
                this.btn输出浏览.Click += new System.Windows.RoutedEventHandler(this.btn输出浏览_Click);

            #line default
            #line hidden
                return;

            case 22:
                this.txtOCRed = ((System.Windows.Controls.TextBlock)(target));
                return;
            }
            this._contentLoaded = true;
        }
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.CpuTypeComboBox = ((System.Windows.Controls.ComboBox)(target));

            #line 28 "..\..\MainWindow.xaml"
                this.CpuTypeComboBox.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.CpuTypeComboBox_SelectionChanged);

            #line default
            #line hidden
                return;

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

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

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

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

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

            #line 44 "..\..\MainWindow.xaml"
                this.saveConfigurationButtom.Click += new System.Windows.RoutedEventHandler(this.saveConfigurationButtom_Click);

            #line default
            #line hidden
                return;

            case 7:

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

            #line default
            #line hidden
                return;

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

            #line 56 "..\..\MainWindow.xaml"
                this.VariableNameTextBox.GotFocus += new System.Windows.RoutedEventHandler(this.TextBox_GotFocus);

            #line default
            #line hidden

            #line 56 "..\..\MainWindow.xaml"
                this.VariableNameTextBox.KeyDown += new System.Windows.Input.KeyEventHandler(this.VariableNameTextBox_KeyDown);

            #line default
            #line hidden
                return;

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

            #line 58 "..\..\MainWindow.xaml"
                this.readDataGrid.PreviewKeyDown += new System.Windows.Input.KeyEventHandler(this.readDataGrid_KeyDown);

            #line default
            #line hidden
                return;

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

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

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

            #line 64 "..\..\MainWindow.xaml"
                this.button.Click += new System.Windows.RoutedEventHandler(this.button_Click);

            #line default
            #line hidden
                return;

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

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

            #line 79 "..\..\MainWindow.xaml"
                this.WValue.KeyDown += new System.Windows.Input.KeyEventHandler(this.WValue_KeyDown);

            #line default
            #line hidden
                return;

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

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

            #line default
            #line hidden
                return;

            case 16:
                this.NoStorageButton = ((System.Windows.Controls.RadioButton)(target));

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

            #line default
            #line hidden
                return;

            case 17:
                this.DBRadioButton = ((System.Windows.Controls.RadioButton)(target));

            #line 87 "..\..\MainWindow.xaml"
                this.DBRadioButton.Click += new System.Windows.RoutedEventHandler(this.DBRadioButton_Click);

            #line default
            #line hidden
                return;

            case 18:
                this.FileRadioButton = ((System.Windows.Controls.RadioButton)(target));

            #line 88 "..\..\MainWindow.xaml"
                this.FileRadioButton.Click += new System.Windows.RoutedEventHandler(this.FileRadioButton_Click);

            #line default
            #line hidden
                return;

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

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

            #line 91 "..\..\MainWindow.xaml"
                this.ShowButton.Click += new System.Windows.RoutedEventHandler(this.ShowButton_Click);

            #line default
            #line hidden
                return;

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

            #line 92 "..\..\MainWindow.xaml"
                this.PickFileLocationButton.Click += new System.Windows.RoutedEventHandler(this.PickFileLocationButton_Click);

            #line default
            #line hidden
                return;

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

            #line 104 "..\..\MainWindow.xaml"
                this.interpreterTextBox.GotFocus += new System.Windows.RoutedEventHandler(this.interpreterTextBox_GotFocus);

            #line default
            #line hidden
                return;

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

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

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

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

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

            #line default
            #line hidden
                return;

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

            #line 120 "..\..\MainWindow.xaml"
                this.startTimeButton.Click += new System.Windows.RoutedEventHandler(this.startTimeButton_Click);

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

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

            #line default
            #line hidden
                return;

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

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

            #line 19 "..\..\MainWindow.xaml"
                this.OutputDataFileButton.Click += new System.Windows.RoutedEventHandler(this.OutputDataFileButton_Click);

            #line default
            #line hidden
                return;

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

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

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

            #line default
            #line hidden
                return;

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

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

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

            #line 29 "..\..\MainWindow.xaml"
                this.NNZHUANJIA.Checked += new System.Windows.RoutedEventHandler(this.NNZHUANJIA_Checked);

            #line default
            #line hidden
                return;

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

            #line 30 "..\..\MainWindow.xaml"
                this.NNJIANDAN.Checked += new System.Windows.RoutedEventHandler(this.NNJIANDAN_Checked);

            #line default
            #line hidden
                return;

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

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

            #line default
            #line hidden
                return;

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

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

            #line default
            #line hidden
                return;

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

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

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

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

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

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

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

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

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

            #line default
            #line hidden
                return;

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

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

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

            #line 68 "..\..\MainWindow.xaml"
                this.inputAlldataButton.Click += new System.Windows.RoutedEventHandler(this.inputAlldataButton_Click);

            #line default
            #line hidden
                return;

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

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

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

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

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

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

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

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

            case 31:

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

            #line default
            #line hidden
                return;

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

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

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

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

            case 3:
                this.btnNonLife = ((System.Windows.Controls.RadioButton)(target));
                return;

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

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

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

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

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

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

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

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

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

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

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

            case 15:
                this.btnSmoker = ((System.Windows.Controls.RadioButton)(target));
                return;

            case 16:
                this.btnNonSmoker = ((System.Windows.Controls.RadioButton)(target));
                return;

            case 17:

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

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

            #line 10 "..\..\Page3.xaml"
                this.Page.MouseEnter += new System.Windows.Input.MouseEventHandler(this.Page_MouseEnter);

            #line default
            #line hidden
                return;

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

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

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

            #line 22 "..\..\Page3.xaml"
                this.dt1_1.Click += new System.Windows.RoutedEventHandler(this.dt1_Click);

            #line default
            #line hidden
                return;

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

            #line 23 "..\..\Page3.xaml"
                this.dt1_2.Click += new System.Windows.RoutedEventHandler(this.dt1_Click);

            #line default
            #line hidden
                return;

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

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

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

            #line 28 "..\..\Page3.xaml"
                this.dt2_1.Click += new System.Windows.RoutedEventHandler(this.dt2_Click);

            #line default
            #line hidden
                return;

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

            #line 29 "..\..\Page3.xaml"
                this.dt2_2.Click += new System.Windows.RoutedEventHandler(this.dt2_Click);

            #line default
            #line hidden
                return;

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

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

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

            #line 38 "..\..\Page3.xaml"
                this.dt3_1.Click += new System.Windows.RoutedEventHandler(this.dt3_Click);

            #line default
            #line hidden
                return;

            case 13:
                this.dt3_2 = ((System.Windows.Controls.RadioButton)(target));

            #line 39 "..\..\Page3.xaml"
                this.dt3_2.Click += new System.Windows.RoutedEventHandler(this.dt3_Click);

            #line default
            #line hidden
                return;

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

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

            case 16:
                this.dt4_1 = ((System.Windows.Controls.RadioButton)(target));

            #line 44 "..\..\Page3.xaml"
                this.dt4_1.Click += new System.Windows.RoutedEventHandler(this.dt4_Click);

            #line default
            #line hidden
                return;

            case 17:
                this.dt4_2 = ((System.Windows.Controls.RadioButton)(target));

            #line 45 "..\..\Page3.xaml"
                this.dt4_2.Click += new System.Windows.RoutedEventHandler(this.dt4_Click);

            #line default
            #line hidden
                return;

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

            case 19:
                this.tb1 = ((System.Windows.Controls.TextBlock)(target));
                return;
            }
            this._contentLoaded = true;
        }
Esempio n. 56
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.flyoutModuleInformation = ((MahApps.Metro.Controls.Flyout)(target));
                return;

            case 2:

            #line 127 "..\..\..\Views\LimestoneBedWindow.xaml"
                ((System.Windows.Controls.TextBox)(target)).KeyUp += new System.Windows.Input.KeyEventHandler(this.TextBox_KeyEnterUpdate);

            #line default
            #line hidden
                return;

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

            case 4:
                this.flyoutErrorInformation = ((MahApps.Metro.Controls.Flyout)(target));
                return;

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

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

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

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

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

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

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

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

            case 13:
                this.radioButtonNoLiner = ((System.Windows.Controls.RadioButton)(target));
                return;

            case 14:
                this.radioButtonClayLiner = ((System.Windows.Controls.RadioButton)(target));
                return;

            case 15:
                this.radioButtonSyntheticLiner = ((System.Windows.Controls.RadioButton)(target));
                return;

            case 16:
                this.radioButtonGeosyntheticClayLiner = ((System.Windows.Controls.RadioButton)(target));
                return;

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

            case 18:
                this.radioButtonAnnualCostMultiplier = ((System.Windows.Controls.RadioButton)(target));
                return;

            case 19:
                this.radioButtonAnnualCostFlatFee = ((System.Windows.Controls.RadioButton)(target));
                return;
            }
            this._contentLoaded = true;
        }
Esempio n. 57
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.LayoutRoot = ((System.Windows.Controls.Grid)(target));
                return;

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

            case 3:
                this.SitesTabItem = ((System.Windows.Controls.TabItem)(target));
                return;

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

            #line 14 "..\..\..\Settings\SettingsForm.xaml"
                this.SitesListBox.MouseDoubleClick += new System.Windows.Input.MouseButtonEventHandler(this.SitesListBox_MouseDoubleClick);

            #line default
            #line hidden
                return;

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

            #line 15 "..\..\..\Settings\SettingsForm.xaml"
                this.NewButton.Click += new System.Windows.RoutedEventHandler(this.NewButton_Click);

            #line default
            #line hidden
                return;

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

            #line 16 "..\..\..\Settings\SettingsForm.xaml"
                this.DeleteButton.Click += new System.Windows.RoutedEventHandler(this.DeleteButton_Click);

            #line default
            #line hidden
                return;

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

            #line 17 "..\..\..\Settings\SettingsForm.xaml"
                this.LogsButton.Click += new System.Windows.RoutedEventHandler(this.ShowLogsButton_Click);

            #line default
            #line hidden
                return;

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

            #line 18 "..\..\..\Settings\SettingsForm.xaml"
                this.DetailedLogCheckBox.Checked += new System.Windows.RoutedEventHandler(this.DetailedLogCheckBox_Checked);

            #line default
            #line hidden

            #line 18 "..\..\..\Settings\SettingsForm.xaml"
                this.DetailedLogCheckBox.Unchecked += new System.Windows.RoutedEventHandler(this.DetailedLogCheckBox_Unchecked);

            #line default
            #line hidden
                return;

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

            #line 19 "..\..\..\Settings\SettingsForm.xaml"
                this.ConfigurationImportButton.Click += new System.Windows.RoutedEventHandler(this.ConfigurationImportButton_Click);

            #line default
            #line hidden
                return;

            case 10:
                this.ExplorerTabItem = ((System.Windows.Controls.TabItem)(target));
                return;

            case 11:
                this.ExplorerLocationListBox = ((System.Windows.Controls.ListBox)(target));

            #line 24 "..\..\..\Settings\SettingsForm.xaml"
                this.ExplorerLocationListBox.MouseDoubleClick += new System.Windows.Input.MouseButtonEventHandler(this.ExplorerLocationListBox_MouseDoubleClick);

            #line default
            #line hidden
                return;

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

            #line 25 "..\..\..\Settings\SettingsForm.xaml"
                this.AddExplorerLocationButton.Click += new System.Windows.RoutedEventHandler(this.AddExplorerLocationButton_Click);

            #line default
            #line hidden
                return;

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

            #line 26 "..\..\..\Settings\SettingsForm.xaml"
                this.DeleteExplorerLocationButton.Click += new System.Windows.RoutedEventHandler(this.DeleteExplorerLocationButton_Click);

            #line default
            #line hidden
                return;

            case 14:
                this.TemplatesTabItem = ((System.Windows.Controls.TabItem)(target));
                return;

            case 15:
                this.TemplatesListBox = ((System.Windows.Controls.ListBox)(target));

            #line 31 "..\..\..\Settings\SettingsForm.xaml"
                this.TemplatesListBox.MouseDoubleClick += new System.Windows.Input.MouseButtonEventHandler(this.TemplatesListBox_MouseDoubleClick);

            #line default
            #line hidden
                return;

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

            #line 32 "..\..\..\Settings\SettingsForm.xaml"
                this.NewTemplateButton.Click += new System.Windows.RoutedEventHandler(this.NewTemplateButton_Click);

            #line default
            #line hidden
                return;

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

            #line 33 "..\..\..\Settings\SettingsForm.xaml"
                this.DeleteTemplateButton.Click += new System.Windows.RoutedEventHandler(this.DeleteTemplateButton_Click);

            #line default
            #line hidden
                return;

            case 18:
                this.TemplateMappingsListBox = ((System.Windows.Controls.ListBox)(target));

            #line 34 "..\..\..\Settings\SettingsForm.xaml"
                this.TemplateMappingsListBox.MouseDoubleClick += new System.Windows.Input.MouseButtonEventHandler(this.TemplateMappingsListBox_MouseDoubleClick);

            #line default
            #line hidden
                return;

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

            #line 35 "..\..\..\Settings\SettingsForm.xaml"
                this.NewTemplateMappingButton.Click += new System.Windows.RoutedEventHandler(this.NewTemplateMappingButton_Click);

            #line default
            #line hidden
                return;

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

            #line 36 "..\..\..\Settings\SettingsForm.xaml"
                this.DeleteTemplateMappingButton.Click += new System.Windows.RoutedEventHandler(this.DeleteTemplateMappingButton_Click);

            #line default
            #line hidden
                return;

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

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

            case 23:
                this.WorkflowTabItem = ((System.Windows.Controls.TabItem)(target));
                return;

            case 24:
                this.TaskListLocationListBox = ((System.Windows.Controls.ListBox)(target));

            #line 43 "..\..\..\Settings\SettingsForm.xaml"
                this.TaskListLocationListBox.MouseDoubleClick += new System.Windows.Input.MouseButtonEventHandler(this.TaskListLocationListBox_MouseDoubleClick);

            #line default
            #line hidden
                return;

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

            #line 44 "..\..\..\Settings\SettingsForm.xaml"
                this.AddTaskListLocationButton.Click += new System.Windows.RoutedEventHandler(this.AddTaskListLocationButton_Click);

            #line default
            #line hidden
                return;

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

            #line 45 "..\..\..\Settings\SettingsForm.xaml"
                this.DeleteTaskListLocationButton.Click += new System.Windows.RoutedEventHandler(this.DeleteTaskListLocationButton_Click);

            #line default
            #line hidden
                return;

            case 27:
                this.OutlookTabItem = ((System.Windows.Controls.TabItem)(target));
                return;

            case 28:
                this.EmailRadioButton = ((System.Windows.Controls.RadioButton)(target));

            #line 50 "..\..\..\Settings\SettingsForm.xaml"
                this.EmailRadioButton.Checked += new System.Windows.RoutedEventHandler(this.EmailRadioButton_Checked);

            #line default
            #line hidden
                return;

            case 29:
                this.WordPlusAttachmentsRadioButton = ((System.Windows.Controls.RadioButton)(target));

            #line 51 "..\..\..\Settings\SettingsForm.xaml"
                this.WordPlusAttachmentsRadioButton.Checked += new System.Windows.RoutedEventHandler(this.WordPlusAttachmentsRadioButton_Checked);

            #line default
            #line hidden
                return;

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

            #line 52 "..\..\..\Settings\SettingsForm.xaml"
                this.UploadAutomaticallyCheckBox.Checked += new System.Windows.RoutedEventHandler(this.UploadAutomaticallyCheckBox_Checked);

            #line default
            #line hidden

            #line 52 "..\..\..\Settings\SettingsForm.xaml"
                this.UploadAutomaticallyCheckBox.Unchecked += new System.Windows.RoutedEventHandler(this.UploadAutomaticallyCheckBox_Unchecked);

            #line default
            #line hidden
                return;

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

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

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

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

            #line 56 "..\..\..\Settings\SettingsForm.xaml"
                this.SelectLocationButton.Click += new System.Windows.RoutedEventHandler(this.SelectLocationButton_Click);

            #line default
            #line hidden
                return;

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

            #line 57 "..\..\..\Settings\SettingsForm.xaml"
                this.DontAskSaveAttachmentLocationCheckBox.Checked += new System.Windows.RoutedEventHandler(this.DontAskSaveAttachmentLocationCheckBox_Checked);

            #line default
            #line hidden

            #line 57 "..\..\..\Settings\SettingsForm.xaml"
                this.DontAskSaveAttachmentLocationCheckBox.Unchecked += new System.Windows.RoutedEventHandler(this.DontAskSaveAttachmentLocationCheckBox_Unchecked);

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

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

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

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

            #line 64 "..\..\..\Views\DieRollView.xaml"
                this.RaioButtonCore.Checked += new System.Windows.RoutedEventHandler(this.RaioButtonCore_Checked);

            #line default
            #line hidden
                return;

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

            #line 71 "..\..\..\Views\DieRollView.xaml"
                this.RaioButtonStandard.Checked += new System.Windows.RoutedEventHandler(this.RaioButtonStandard_Checked);

            #line default
            #line hidden
                return;

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

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

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

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

            #line 100 "..\..\..\Views\DieRollView.xaml"
                this.RaioButtonPointBuy.Checked += new System.Windows.RoutedEventHandler(this.RaioButtonPointBuy_Checked);

            #line default
            #line hidden
                return;

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

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

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

            #line 116 "..\..\..\Views\DieRollView.xaml"
                this.IsGodMode.GotFocus += new System.Windows.RoutedEventHandler(this.IsGodMode_GotFocus);

            #line default
            #line hidden
                return;

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

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

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

            #line 140 "..\..\..\Views\DieRollView.xaml"
                this.ComboBoxAssign1.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.AbilityScoreNameChanged);

            #line default
            #line hidden
                return;

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

            #line 147 "..\..\..\Views\DieRollView.xaml"
                this.ComboBoxAssign2.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.AbilityScoreNameChanged);

            #line default
            #line hidden
                return;

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

            #line 153 "..\..\..\Views\DieRollView.xaml"
                this.ComboBoxAssign3.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.AbilityScoreNameChanged);

            #line default
            #line hidden
                return;

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

            #line 159 "..\..\..\Views\DieRollView.xaml"
                this.ComboBoxAssign4.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.AbilityScoreNameChanged);

            #line default
            #line hidden
                return;

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

            #line 165 "..\..\..\Views\DieRollView.xaml"
                this.ComboBoxAssign5.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.AbilityScoreNameChanged);

            #line default
            #line hidden
                return;

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

            #line 171 "..\..\..\Views\DieRollView.xaml"
                this.ComboBoxAssign6.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.AbilityScoreNameChanged);

            #line default
            #line hidden
                return;

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

            case 22:
                this.GroupBoxPointBuy = ((System.Windows.Controls.GroupBox)(target));
                return;

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

            case 24:
                this.IntUpDown1 = ((Xceed.Wpf.Toolkit.IntegerUpDown)(target));

            #line 246 "..\..\..\Views\DieRollView.xaml"
                this.IntUpDown1.ValueChanged += new System.Windows.RoutedPropertyChangedEventHandler <object>(this.IntUpDown1_ValueChanged);

            #line default
            #line hidden
                return;

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

            case 26:
                this.IntUpDown2 = ((Xceed.Wpf.Toolkit.IntegerUpDown)(target));

            #line 268 "..\..\..\Views\DieRollView.xaml"
                this.IntUpDown2.ValueChanged += new System.Windows.RoutedPropertyChangedEventHandler <object>(this.IntUpDown2_ValueChanged);

            #line default
            #line hidden
                return;

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

            case 28:
                this.IntUpDown3 = ((Xceed.Wpf.Toolkit.IntegerUpDown)(target));

            #line 290 "..\..\..\Views\DieRollView.xaml"
                this.IntUpDown3.ValueChanged += new System.Windows.RoutedPropertyChangedEventHandler <object>(this.IntUpDown3_ValueChanged);

            #line default
            #line hidden
                return;

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

            case 30:
                this.IntUpDown4 = ((Xceed.Wpf.Toolkit.IntegerUpDown)(target));

            #line 312 "..\..\..\Views\DieRollView.xaml"
                this.IntUpDown4.ValueChanged += new System.Windows.RoutedPropertyChangedEventHandler <object>(this.IntUpDown4_ValueChanged);

            #line default
            #line hidden
                return;

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

            case 32:
                this.IntUpDown5 = ((Xceed.Wpf.Toolkit.IntegerUpDown)(target));

            #line 333 "..\..\..\Views\DieRollView.xaml"
                this.IntUpDown5.ValueChanged += new System.Windows.RoutedPropertyChangedEventHandler <object>(this.IntUpDown5_ValueChanged);

            #line default
            #line hidden
                return;

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

            case 34:
                this.IntUpDown6 = ((Xceed.Wpf.Toolkit.IntegerUpDown)(target));

            #line 352 "..\..\..\Views\DieRollView.xaml"
                this.IntUpDown6.ValueChanged += new System.Windows.RoutedPropertyChangedEventHandler <object>(this.IntUpDown6_ValueChanged);

            #line default
            #line hidden
                return;

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

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

            case 37:
                this.TextBoxPointBuyCost = ((System.Windows.Controls.TextBox)(target));
                return;

            case 38:
                this.GroupBoxRowIndcator = ((System.Windows.Controls.GroupBox)(target));
                return;

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

            case 40:
                this.GroupBoxDiePool = ((System.Windows.Controls.GroupBox)(target));
                return;

            case 41:
                this.GroupBoxExtraDice = ((System.Windows.Controls.GroupBox)(target));
                return;

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

            case 43:
                this.GroupBoxFinalScores = ((System.Windows.Controls.GroupBox)(target));
                return;

            case 44:
                this.GridFinalScores = ((System.Windows.Controls.Grid)(target));
                return;

            case 45:
                this.TextBoxFinalScoreStr = ((System.Windows.Controls.TextBox)(target));
                return;

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

            case 47:
                this.TextBoxFinalScoreDex = ((System.Windows.Controls.TextBox)(target));
                return;

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

            case 49:
                this.TextBoxFinalScoreCon = ((System.Windows.Controls.TextBox)(target));
                return;

            case 50:
                this.TextBoxFinalModCon = ((System.Windows.Controls.TextBox)(target));
                return;

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

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

            case 53:
                this.TextBoxFinalScoreWis = ((System.Windows.Controls.TextBox)(target));
                return;

            case 54:
                this.TextBoxFinalModWis = ((System.Windows.Controls.TextBox)(target));
                return;

            case 55:
                this.TextBoxFinalScoreCha = ((System.Windows.Controls.TextBox)(target));
                return;

            case 56:
                this.TextBoxFinalModCha = ((System.Windows.Controls.TextBox)(target));
                return;

            case 57:
                this.FinalCommit = ((System.Windows.Controls.Button)(target));
                return;

            case 58:
                this.InfoPannel = ((System.Windows.Controls.Grid)(target));
                return;

            case 59:
                this.GroupBoxInformation1 = ((System.Windows.Controls.GroupBox)(target));
                return;

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

            case 61:
                this.TextBoxInfo1 = ((System.Windows.Controls.TextBox)(target));
                return;
            }
            this._contentLoaded = true;
        }
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this._Proveedor = ((System.Windows.Controls.MenuItem)(target));
                return;

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

            #line 19 "..\..\Registro_Cliente.xaml"
                this._RegistroProveedor.Click += new System.Windows.RoutedEventHandler(this._RegistroProveedores_Click);

            #line default
            #line hidden
                return;

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

            #line 20 "..\..\Registro_Cliente.xaml"
                this._ListarProveedores.Click += new System.Windows.RoutedEventHandler(this._ListarProveedores_Click);

            #line default
            #line hidden
                return;

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

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

            #line 23 "..\..\Registro_Cliente.xaml"
                this._RegistroClientes.Click += new System.Windows.RoutedEventHandler(this._RegistroClientes_Click);

            #line default
            #line hidden
                return;

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

            #line 24 "..\..\Registro_Cliente.xaml"
                this._ListarClientes.Click += new System.Windows.RoutedEventHandler(this._ListarClientes_Click);

            #line default
            #line hidden
                return;

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

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

            #line 27 "..\..\Registro_Cliente.xaml"
                this._RegistroServicios.Click += new System.Windows.RoutedEventHandler(this._RegistroServicios_Click);

            #line default
            #line hidden
                return;

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

            #line 28 "..\..\Registro_Cliente.xaml"
                this._ListarServicios.Click += new System.Windows.RoutedEventHandler(this._ListarServicios_Click);

            #line default
            #line hidden
                return;

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

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

            #line 31 "..\..\Registro_Cliente.xaml"
                this._RegistroEmpleados.Click += new System.Windows.RoutedEventHandler(this._RegistroEmpleados_Click);

            #line default
            #line hidden
                return;

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

            #line 32 "..\..\Registro_Cliente.xaml"
                this._ListarEmpleados.Click += new System.Windows.RoutedEventHandler(this._ListarEmpleados_Click);

            #line default
            #line hidden
                return;

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

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

            #line 35 "..\..\Registro_Cliente.xaml"
                this._RegistroProductos.Click += new System.Windows.RoutedEventHandler(this._RegistroProductos_Click);

            #line default
            #line hidden
                return;

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

            #line 36 "..\..\Registro_Cliente.xaml"
                this._ListarProductos.Click += new System.Windows.RoutedEventHandler(this._ListarProductos_Click);

            #line default
            #line hidden
                return;

            case 16:
                this.About = ((System.Windows.Controls.MenuItem)(target));
                return;

            case 17:

            #line 44 "..\..\Registro_Cliente.xaml"
                ((System.Windows.Controls.MenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this._Estadisticas_Click);

            #line default
            #line hidden
                return;

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

            #line 47 "..\..\Registro_Cliente.xaml"
                this.btn_salir.Click += new System.Windows.RoutedEventHandler(this.btn_salir_Click);

            #line default
            #line hidden
                return;

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

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

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

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

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

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

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

            #line 57 "..\..\Registro_Cliente.xaml"
                this.txtRutPasaporte.PreviewTextInput += new System.Windows.Input.TextCompositionEventHandler(this.txtRutPasaporte_PreviewTextInput);

            #line default
            #line hidden
                return;

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

            #line 59 "..\..\Registro_Cliente.xaml"
                this.btnAgregar.Click += new System.Windows.RoutedEventHandler(this.btnAgregar_Click);

            #line default
            #line hidden
                return;

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

            #line 60 "..\..\Registro_Cliente.xaml"
                this.btnModificar.Click += new System.Windows.RoutedEventHandler(this.btnModificar_Click);

            #line default
            #line hidden
                return;

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

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

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

            case 31:
                this.rbRut = ((System.Windows.Controls.RadioButton)(target));
                return;

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

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

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

            #line 73 "..\..\Registro_Cliente.xaml"
                this.cbCiudad.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.cbCiudad_SelectionChanged);

            #line default
            #line hidden
                return;

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

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

            case 37:
                this.txtUsuario = ((System.Windows.Controls.TextBox)(target));
                return;

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

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

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

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

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

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

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

            case 45:
                this.DV = ((System.Windows.Controls.TextBox)(target));
                return;

            case 46:
                this.label = ((System.Windows.Controls.Label)(target));
                return;
            }
            this._contentLoaded = true;
        }
Esempio n. 60
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.PrimaDomada = ((System.Windows.Controls.Grid)(target));
                return;

            case 2:
                this.cbSceltaUno = ((System.Windows.Controls.CheckBox)(target));

            #line 10 "..\..\SecondaPagina.xaml"
                this.cbSceltaUno.Checked += new System.Windows.RoutedEventHandler(this.cbSceltaUno_Checked);

            #line default
            #line hidden
                return;

            case 3:
                this.cbSceltaDue = ((System.Windows.Controls.CheckBox)(target));

            #line 12 "..\..\SecondaPagina.xaml"
                this.cbSceltaDue.Checked += new System.Windows.RoutedEventHandler(this.cbSceltaDue_Checked);

            #line default
            #line hidden
                return;

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

            #line 13 "..\..\SecondaPagina.xaml"
                this.cbSceltaTre.Checked += new System.Windows.RoutedEventHandler(this.cbSceltaTre_Checked);

            #line default
            #line hidden
                return;

            case 5:
                this.cbSceltaQuattro = ((System.Windows.Controls.CheckBox)(target));

            #line 14 "..\..\SecondaPagina.xaml"
                this.cbSceltaQuattro.Checked += new System.Windows.RoutedEventHandler(this.cbSceltaQuattro_Checked);

            #line default
            #line hidden
                return;

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

            #line 16 "..\..\SecondaPagina.xaml"
                this.rbVero.Checked += new System.Windows.RoutedEventHandler(this.rbVero_Checked);

            #line default
            #line hidden
                return;

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

            #line 17 "..\..\SecondaPagina.xaml"
                this.rbFalso.Checked += new System.Windows.RoutedEventHandler(this.rbFalso_Checked);

            #line default
            #line hidden
                return;

            case 8:

            #line 28 "..\..\SecondaPagina.xaml"
                ((System.Windows.Controls.CheckBox)(target)).Checked += new System.Windows.RoutedEventHandler(this.CheckBox_Checked);

            #line default
            #line hidden
                return;

            case 9:

            #line 29 "..\..\SecondaPagina.xaml"
                ((System.Windows.Controls.CheckBox)(target)).Checked += new System.Windows.RoutedEventHandler(this.CheckBox_Checked);

            #line default
            #line hidden
                return;

            case 10:

            #line 30 "..\..\SecondaPagina.xaml"
                ((System.Windows.Controls.CheckBox)(target)).Checked += new System.Windows.RoutedEventHandler(this.CheckBox_Checked);

            #line default
            #line hidden
                return;

            case 11:

            #line 31 "..\..\SecondaPagina.xaml"
                ((System.Windows.Controls.CheckBox)(target)).Checked += new System.Windows.RoutedEventHandler(this.CheckBox_Checked);

            #line default
            #line hidden
                return;

            case 12:

            #line 32 "..\..\SecondaPagina.xaml"
                ((System.Windows.Controls.CheckBox)(target)).Checked += new System.Windows.RoutedEventHandler(this.CheckBox_Checked);

            #line default
            #line hidden
                return;

            case 13:

            #line 33 "..\..\SecondaPagina.xaml"
                ((System.Windows.Controls.CheckBox)(target)).Checked += new System.Windows.RoutedEventHandler(this.CheckBox_Checked);

            #line default
            #line hidden
                return;

            case 14:

            #line 34 "..\..\SecondaPagina.xaml"
                ((System.Windows.Controls.CheckBox)(target)).Checked += new System.Windows.RoutedEventHandler(this.CheckBox_Checked);

            #line default
            #line hidden
                return;

            case 15:

            #line 35 "..\..\SecondaPagina.xaml"
                ((System.Windows.Controls.CheckBox)(target)).Checked += new System.Windows.RoutedEventHandler(this.CheckBox_Checked);

            #line default
            #line hidden
                return;

            case 16:

            #line 36 "..\..\SecondaPagina.xaml"
                ((System.Windows.Controls.CheckBox)(target)).Checked += new System.Windows.RoutedEventHandler(this.CheckBox_Checked);

            #line default
            #line hidden
                return;

            case 17:

            #line 37 "..\..\SecondaPagina.xaml"
                ((System.Windows.Controls.CheckBox)(target)).Checked += new System.Windows.RoutedEventHandler(this.CheckBox_Checked);

            #line default
            #line hidden
                return;

            case 18:

            #line 38 "..\..\SecondaPagina.xaml"
                ((System.Windows.Controls.CheckBox)(target)).Checked += new System.Windows.RoutedEventHandler(this.CheckBox_Checked);

            #line default
            #line hidden
                return;

            case 19:

            #line 39 "..\..\SecondaPagina.xaml"
                ((System.Windows.Controls.CheckBox)(target)).Checked += new System.Windows.RoutedEventHandler(this.CheckBox_Checked);

            #line default
            #line hidden
                return;

            case 20:

            #line 40 "..\..\SecondaPagina.xaml"
                ((System.Windows.Controls.CheckBox)(target)).Checked += new System.Windows.RoutedEventHandler(this.CheckBox_Checked);

            #line default
            #line hidden
                return;

            case 21:

            #line 41 "..\..\SecondaPagina.xaml"
                ((System.Windows.Controls.CheckBox)(target)).Checked += new System.Windows.RoutedEventHandler(this.CheckBox_Checked);

            #line default
            #line hidden
                return;
            }
            this._contentLoaded = true;
        }