public override bool AttachControl(FilterPropertiesControl control)
        {
            Control = control;

            Grid grid = new Grid();
            int rowIndex = 0;

            CheckBox distinctEdgesCheckBox = new CheckBox();
            TextBlock textBlock = new TextBlock {Text = AppResources.DistinctEdges};
            distinctEdgesCheckBox.Content = textBlock;
            distinctEdgesCheckBox.IsChecked = _cartoonFilter.DistinctEdges;
            distinctEdgesCheckBox.Checked += distinctEdgesCheckBox_Checked;
            distinctEdgesCheckBox.Unchecked += distinctEdgesCheckBox_Unchecked;
            Grid.SetRow(distinctEdgesCheckBox, rowIndex++);

            for (int i = 0; i < rowIndex; ++i)
            {
                RowDefinition rd = new RowDefinition();
                grid.RowDefinitions.Add(rd);
            }

            grid.Children.Add(distinctEdgesCheckBox);

            control.ControlsContainer.Children.Add(grid);

            return true;
        }
Esempio n. 2
0
        public ListViewItemTableTile(TableTile tableTile)
        {
            TableTile = tableTile;

            StackPanel sp = new StackPanel { Orientation = Orientation.Horizontal };

            CheckBox checkBox = new CheckBox
            {
                Content = "",
                IsChecked = TableTile.IsEnabled,
                Margin = new Thickness(0, 0, 0, 0)
            };
            checkBox.Checked += (sender, args) => TableTile.IsEnabled = true;
            checkBox.Unchecked += (sender, args) => TableTile.IsEnabled = false;

            Image image = new Image
            {
                Source = new BitmapImage(new Uri(string.Format(@"pack://application:,,,/Images/Resources/Size16x16/application_cascade.png"), UriKind.Absolute)),
                Width = 16,
                Height = 16,
                Margin = new Thickness(5, 0, 0, 0)
            };

            Label label = new Label
            {
                Content = TableTile.Name,
                Padding = new Thickness(0),
                Margin = new Thickness(5, 0, 0, 0)
            };

            sp.Children.Add(checkBox);
            sp.Children.Add(image);
            sp.Children.Add(label);
            Content = sp;
        }
        public PatientMonitoringController(MainWindow window, IPatientFactory patientFactory)
        {
            _patientFactory = patientFactory;
            _mainWindow = window;
            _alarmMuter = _mainWindow._alarmMuter;

        }
Esempio n. 4
0
        private void AddCheckboxes()
        {
            try
            {
                var hour = DateTime.Now.Hour;
                for (int i = 0; i < 24; i++)
                {
                    var c = new CheckBox { ToolTip = i + " hour" };

                    if (hour == i)
                    {
                        c.IsChecked = true;
                    }

                    c.Margin = i != 0 ? new Thickness(2, 2, 2, 2) : new Thickness(0, 2, 2, 2);

                    _viewModel.Timers.Add(i, c);
                    Hours.Children.Add(c);
                }
            }
            catch (Exception)
            {
                // ignored
            }
        }
Esempio n. 5
0
        private static void AddCheckBox(int col, int row, string name, RoutedEventHandler onClickCheckBox)
        {
            var checkBox = new CheckBox();

            if (!string.IsNullOrEmpty(name))
            {
                checkBox.Name = name;
            }

            checkBox.Click += onClickCheckBox;
            checkBox.HorizontalAlignment = HorizontalAlignment.Center;
            checkBox.VerticalAlignment = VerticalAlignment.Center;
            Grid.SetRow(checkBox, row);
            Grid.SetColumn(checkBox, col);
            _grid.Children.Add(checkBox);

            try
            {
                _grid.RegisterName(checkBox.Name, checkBox);
            }
            catch (Exception)
            {
                // ignored
            }
        }
 public SelectContentForItems()
 {
     InitializeComponent();
     LabelInfo.Content = "Select content for field " + Slicer.infoAboutSelectedFields[Slicer.amount][0];
     try
     {
         MainWindow.connection.Open();
         SqlCommand command = new SqlCommand("select distinct "+ Slicer.infoAboutSelectedFields[Slicer.amount][0] + " from ["+ Slicer.nameOfTable + "]", MainWindow.connection);
         SqlDataReader reader = command.ExecuteReader();
         Slicer.contentOfFields.Clear();
         while (reader.Read())
         {
             for (int i = 0; i < reader.FieldCount; i++)
             {
                 CheckBox item = new CheckBox();
                 item.Content = reader[i].ToString();
                 ListBoxContentForField.Items.Add(item);
                 Slicer.contentOfFields.Add(item);
             }
         }
     }
     catch (SqlException se)
     {
         MessageBox.Show(se.Message);
     }
     finally
     {
         MainWindow.connection.Close();
     }
 }
        public SimpleUIBoundToCustomer()
        {
            var stack = new StackPanel();
            Content = stack;

            var textBlock = new TextBlock();
            textBlock.SetBinding(TextBlock.TextProperty, new Binding("FirstName"));
            stack.Children.Add(textBlock);

            textBlock = new TextBlock();
            textBlock.SetBinding(TextBlock.TextProperty, new Binding("LstName")); //purposefully misspelled
            stack.Children.Add(textBlock);

            textBlock = new TextBlock();
            textBlock.SetBinding(TextBlock.TextProperty, new Binding()); //context
            stack.Children.Add(textBlock);

            var checkbox = new CheckBox();
            checkbox.SetBinding(CheckBox.IsCheckedProperty, new Binding("asdfsdf")); //does not exist
            stack.Children.Add(checkbox);

            var tooltip = new ToolTip();
            tooltip.SetBinding(System.Windows.Controls.ToolTip.ContentProperty, new Binding("asdfasdasdf")); // does not exist
            stack.ToolTip = tooltip;

            var childUserControl = new SimpleUIBoundToCustomerByAttachedPorperty();
            stack.Children.Add(childUserControl);
        }
Esempio n. 8
0
 private void LoadChecbox(CheckBox chkbox, string p)
 {
     if (p == "False")
         chkbox.IsChecked = false;
     else
         chkbox.IsChecked = true;
 }
        private void Grid_Loaded(object sender, RoutedEventArgs e)
        {
            if (ctrl.CrmConnectionMgr != null && ctrl.CrmConnectionMgr.CrmSvc != null && ctrl.CrmConnectionMgr.CrmSvc.IsReady)
            {
                CrmServiceClient svcClient = ctrl.CrmConnectionMgr.CrmSvc;
                if (svcClient.IsReady)
                {
                    List<AttributeMetadata> entitiesList = svcClient.GetAllAttributesForEntity(EntityName);
                    List<string> MyAttributes = new List<string>();
                    foreach (AttributeMetadata entityinlist in entitiesList)
                    {
                        if (entityinlist.IsCustomizable.Value)
                        {
                            MyAttributes.Add(entityinlist.LogicalName);
                        }
                    }
                    MyAttributes.Sort();
                    foreach (string item in MyAttributes)
                    {
                        CheckBox chk = new CheckBox();
                        chk.Content = item;
                        LB_AttributesList.Items.Add(chk);
                    }
                }
            }

        }
        public override FrameworkElement GetGUIElement()
        {
            var group = new GroupBox();

            group.Header = WpfName;

            var stackPanel = new StackPanel { Orientation = Orientation.Horizontal };

            for (var i = 0; i < options.Length; ++i)
            {
                var checkBox = new CheckBox
                                 {
                                     Content = options[i],
                                     DataContext = i,
                                     IsChecked = chosenOptions.Contains(i)
                                 };
                checkBox.Margin = new Thickness(4, 3, 4, 3);
                checkBox.Checked += (sender, args) =>
                    { chosenOptions.Add((int)(sender as CheckBox).DataContext); };
                checkBox.Unchecked += (sender, args) =>
                    { chosenOptions.Remove((int)(sender as CheckBox).DataContext); };

                stackPanel.Children.Add(checkBox);
            }

            group.Content = stackPanel;

            return group;
        }
        private void Init()
        {
            config = new SyntaxTreeConfiguration(ConfigFilePath);
            checkBoxList = new CheckBoxPairList();

            // Create Groupboxes and CheckBoxis //

            foreach (var group in config.NodeTypeGroupList)
            {
                GroupBox gb = new GroupBox();
                gb.Header = group.Name;

                StackPanel sp = new StackPanel();

                foreach (var visibleInfo in group.NodeTypeList)
                {
                    CheckBox cb = new CheckBox();
                    cb.Content = visibleInfo.Left;
                    cb.IsChecked = visibleInfo.Right;

                    sp.Children.Add(cb);
                    checkBoxList.Add(new CheckBoxPair { Left = visibleInfo, Right = cb });
                }

                gb.Content = sp;
                MainWrapPanel.Children.Add(gb);
            }
        }
            protected override void AddOptions(Panel panel)
            {
                // add force low memory mode option
                var lowMemoryGroup = new WrapPanel();

                var cb = new CheckBox { Content = "Forced Low Memory Mode: allocate" };
                BindToOption(cb, ForceLowMemoryMode.Enabled);
                lowMemoryGroup.Children.Add(cb);

                var textBox = new TextBox { MinWidth = 60 };
                BindToOption(textBox, ForceLowMemoryMode.SizeInMegabytes);
                lowMemoryGroup.Children.Add(textBox);

                lowMemoryGroup.Children.Add(new TextBlock { Text = "megabytes of extra memory in devenv.exe" });

                panel.Children.Add(lowMemoryGroup);

                // add OOP feature options
                var oopFeatureGroup = new StackPanel();

                AddOption(oopFeatureGroup, NavigateToOptions.OutOfProcessAllowed, nameof(NavigateToOptions));
                AddOption(oopFeatureGroup, SymbolFinderOptions.OutOfProcessAllowed, nameof(SymbolFinderOptions));
                AddOption(oopFeatureGroup, SymbolSearchOptions.OutOfProcessAllowed, nameof(SymbolSearchOptions));

                panel.Children.Add(oopFeatureGroup);

                // and add the rest of the options
                base.AddOptions(panel);
            }
 private static void SetOption(CheckBox cb, ref DeleteOptions currentOption, DeleteOptions option)
 {
     if (cb.IsChecked != null && cb.IsChecked.Value)
     {
         currentOption |= option;
     }
 }
Esempio n. 14
0
        /// <summary>
        /// Creates a CheckBox for switch parameters
        /// </summary>
        /// <param name="parameterViewModel">DataContext object</param>
        /// <param name="rowNumber">Row number</param>
        /// <returns>a CheckBox for switch parameters</returns>
        private static CheckBox CreateCheckBox(ParameterViewModel parameterViewModel, int rowNumber)
        {
            CheckBox checkBox = new CheckBox();

            checkBox.SetBinding(Label.ContentProperty, new Binding("NameCheckLabel"));
            checkBox.DataContext = parameterViewModel;
            checkBox.HorizontalAlignment = System.Windows.HorizontalAlignment.Left;
            checkBox.SetValue(Grid.ColumnProperty, 0);
            checkBox.SetValue(Grid.ColumnSpanProperty, 2);
            checkBox.SetValue(Grid.RowProperty, rowNumber);
            checkBox.IsThreeState = false;
            checkBox.Margin = new Thickness(8, rowNumber == 0 ? 7 : 5, 0, 5);
            checkBox.SetBinding(CheckBox.ToolTipProperty, new Binding("ToolTip"));
            Binding valueBinding = new Binding("Value");
            checkBox.SetBinding(CheckBox.IsCheckedProperty, valueBinding);

            //// Add AutomationProperties.AutomationId for Ui Automation test.
            checkBox.SetValue(
                System.Windows.Automation.AutomationProperties.AutomationIdProperty,
                string.Format(CultureInfo.CurrentCulture, "chk{0}", parameterViewModel.Name));

            checkBox.SetValue(
                System.Windows.Automation.AutomationProperties.NameProperty,
                parameterViewModel.Name);

            return checkBox;
        }
Esempio n. 15
0
        void IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
                case 1:
                    this.syncMovies = (CheckBox) target;
                    return;

                case 2:
                    this.syncMoviesAll = (CheckBox) target;
                    return;

                case 3:
                    this.moviesListBox = (ListBox) target;
                    this.moviesListBox.PreviewKeyDown += new KeyEventHandler(this.listBox_PreviewKeyDown);
                    return;

                case 4:
                    this.drmMessage = (TextBlock) target;
                    return;

                case 5:
                    this.cancelButton = (Button) target;
                    return;

                case 6:
                    this.syncButton = (Button) target;
                    return;
            }
            this._contentLoaded = true;
        }
 public MyListViewItem(Label PCName, TextBox PasswordTextBox, TextBox PortTextBox, CheckBox SelectionCheckBox)
 {
     this.PCName = PCName;
     this.PasswordTextBox = PasswordTextBox;
     this.PortTextBox = PortTextBox;
     this.SelectionCheckBox = SelectionCheckBox;
 }
Esempio n. 17
0
        public PageCalendar()
        {
            InitializeComponent();

            this.Uid = "1000";
            this.Title = Translator.GetInstance().GetString("PageCalendar", this.Uid);

            StackPanel calendarPanel = new StackPanel();
            calendarPanel.Margin = new Thickness(10, 0, 10, 0);

            cbShowAll = new CheckBox();
            cbShowAll.Content = Translator.GetInstance().GetString("PageCalendar","200");
            cbShowAll.FlowDirection = System.Windows.FlowDirection.RightToLeft;
            cbShowAll.Checked += new RoutedEventHandler(cbShowAll_Checked);
            cbShowAll.Unchecked += new RoutedEventHandler(cbShowAll_Unchecked);
            cbShowAll.HorizontalAlignment = System.Windows.HorizontalAlignment.Left;
            cbShowAll.IsChecked = false;

            calendarPanel.Children.Add(cbShowAll);

            ScrollViewer viewer = new ScrollViewer();
            viewer.MaxHeight = GraphicsHelpers.GetContentHeight() - 50;

            ucCalendar = new ucCalendar();

            viewer.Content = ucCalendar;

            calendarPanel.Children.Add(viewer);

            base.setContent(calendarPanel);

            base.setHeaderContent(this.Title);

            showPage(this);
        }
Esempio n. 18
0
        void InitLed2dPositoin()
        {

           // int LedWidth = 15; //法鼓山
            int LedWidth = 32;  //海洋大學
            for(int i=0;i<App.Light2DInfo.GetLength(0);i++)
            {
                
                   
                    CheckBox chk = new CheckBox();
                    chk.Width = chk.Height = LedWidth;
                    chk.Style = this.FindResource("CheckBoxStyle1") as Style;
                    chk.HorizontalAlignment = System.Windows.HorizontalAlignment.Left;
                    chk.VerticalAlignment = System.Windows.VerticalAlignment.Top;
                    int x, y;
                    x=int.Parse(App.Light2DInfo[i,1]);
                    y=int.Parse(App.Light2DInfo[i,2]);
                    chk.Margin = new Thickness( x- LedWidth / 2, y - LedWidth / 2, 0, 0);
                    chk.Tag=  chk.Content = App.Light2DInfo[i,0];
                    chk.MouseRightButtonUp += chk_MouseRightButtonUp;

                   // chk.Background = new SolidColorBrush(Colors.Yellow);
                   // chk.Foreground = new SolidColorBrush(Colors.Red);
                    this.grdDeviceLayer.Children.Add(chk);
                }
            }
        private void AddExtensionModels()
        {
            string category = null;
            var installed = ExtensionInstalledChecker.Instance.GetInstalledExtensions();
            var extensions = _missingExtensions.OrderBy(e => e.Category).ThenBy(e => e.Name);

            foreach (var ext in extensions)
            {
                if (ext.Category != category)
                {
                    Label label = new Label();
                    label.Content = CultureInfo.CurrentCulture.TextInfo.ToTitleCase(ext.Category);
                    label.FontWeight = FontWeights.Bold;
                    label.HorizontalAlignment = HorizontalAlignment.Stretch;
                    panel.Children.Add(label);
                    category = ext.Category;
                }

                CheckBox box = new CheckBox();
                box.Content = ext.Name;
                box.Tag = ext;
                box.Margin = new Thickness(10, 0, 0, 5);
                box.IsChecked = true;
                box.ToolTip = ext.Description;
                box.IsEnabled = !installed.Any(i => i.Header.Identifier == ext.ProductId);

                if (!box.IsEnabled)
                {
                    box.Content = box.Content + " (already installed)";
                    ToolTipService.SetShowOnDisabled(box, true);
                }

                panel.Children.Add(box);
            }
        }
Esempio n. 20
0
        public void Reset()
        {
            firstName.Text = String.Empty;
            lastName.Text = String.Empty;

            towerNames.Items.Clear();
            foreach (string towerName in towers)
            {
                towerNames.Items.Add(towerName);
            }
            towerNames.Text = towerNames.Items[0] as string;

            methods.Items.Clear();
            CheckBox method = null;
            foreach (string methodName in ringingMethods)
            {
                method = new CheckBox();
                method.Margin = new Thickness(0, 0, 0, 10);
                method.Content = methodName;
                methods.Items.Add(method);
            }

            isCaptain.IsChecked = false;
            novice.IsChecked = true;
            memberSince.Text = DateTime.Today.ToString();
        }
Esempio n. 21
0
 void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
     switch (connectionId)
     {
     case 1:
     this.txtInterval = ((System.Windows.Controls.TextBox)(target));
     return;
     case 2:
     this.cbWebPagePreview = ((System.Windows.Controls.CheckBox)(target));
     return;
     case 3:
     
     #line 63 "..\..\..\Controls\OptionsWindow.xaml"
     ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.OK_Click);
     
     #line default
     #line hidden
     return;
     case 4:
     
     #line 64 "..\..\..\Controls\OptionsWindow.xaml"
     ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Cancel_Click);
     
     #line default
     #line hidden
     return;
     }
     this._contentLoaded = true;
 }
		private void _addEvents(CheckBox cb) {
			ToolTipsBuilder.SetupNextToolTip(cb, this);
			cb.IsChecked = ((int) cb.Tag & _value) == (int) cb.Tag;

			cb.Checked += (e, a) => _update();
			cb.Unchecked += (e, a) => _update();
		}
        private void fillCheckboxList()
        {
            _skills.Clear();
            foreach (var item in SkillVM.Skills)
            {
                var cb = new CheckBox();
                cb.Content = item.Name;
                _skills.Add(cb);
                cb.IsChecked = false;
            }

            SkillsListBox.Items.Clear();
            foreach (var item in _skills)
            {
                SkillsListBox.Items.Add(item);
            }

            if (_projectModuleEditVM != null && _projectModuleEditVM.ProjectVM != null)
            {
                var selectedSkills = _projectModuleEditVM.Skills;
                foreach (var item in _skills)
                {
                    if (_savedSkills == null)
                        item.IsChecked = selectedSkills.FirstOrDefault(skill => skill == item.Content.ToString()) != null ? true : false;
                    else
                    {
                        var isExist = _savedSkills.FirstOrDefault(skill => skill.Content.ToString() == item.Content.ToString());
                        item.IsChecked = isExist == null ? false : isExist.IsChecked;
                    }
                }

                _savedSkills = null;
            }
        }
Esempio n. 24
0
        public bool FillinfCheckBox(ref CheckBox[] ChB,ref CheckBox[] ChB1,ref int[] Mapping, string sqlcom, Grid grid)
        {
            try
            {
                SqlDataAdapter sqladapter = new SqlDataAdapter(sqlcom, connection);
                SqlCommandBuilder sqlcmd = new SqlCommandBuilder(sqladapter);
                DataTable dt = new DataTable();
                sqladapter.Fill(dt);
                ChB = new CheckBox[dt.Rows.Count];
                ChB1 = new CheckBox[dt.Rows.Count];
                Mapping = new int[dt.Rows.Count];
                for (int i = 0; i < dt.Rows.Count; i++)//выставить по высоте
                {
                    ChB[i] = new CheckBox() { Content = dt.Rows[i][1].ToString() };
                    ChB[i].Margin = new Thickness(10, 15 + 20 * i, 0, 0);
                    ChB1[i] = new CheckBox() { Content = "" };
                    ChB1[i].Margin = new Thickness(220, 15 + 20 * i, 0, 0);
                    grid.Children.Add(ChB[i]);
                    grid.Children.Add(ChB1[i]);
                    Mapping[i] = Convert.ToInt32(dt.Rows[i][0].ToString());
                }
                return true;
            }
            catch
            {
                return false;
            }


        }
        public MainWindow()
        {
            InitializeComponent();
            rep = new Repository();
            List<Standard> standards = new List<Standard>();
            standards = rep.getStandards();
            foreach (Standard standard in standards)
            {
                comboStandardId.Items.Add(standard.StandardName);
            }

            CheckBox box;
            for (int i = 0; i < 10; i++)
            {
                box = new CheckBox();
               
                box.Tag = i.ToString();
                box.Text = "a";
                box.AutoSize = true;
                box.Location = new Point(10, i * 50); //vertical
                                                      //box.Location = new Point(i * 50, 10); //horizontal
                this.Controls.Add(box);
            }

        }
Esempio n. 26
0
        public void checkBox_Checked(object sender, RoutedEventArgs e)
        {
            
            CheckBox thisCheckBox = (CheckBox)sender;
            if (licznik == 0)
            {
                licznik++;
                lastCheckBox = (CheckBox)sender;
            }
            else
            {
                if (MessageBox.Show("Do you wish to keep these languages?\n" + lastCheckBox.Name + "\n" + thisCheckBox.Name, "Languages picked", MessageBoxButton.OKCancel) == MessageBoxResult.OK)
                {
                    Global.Jezyk1 = Convert.ToInt32(Global.LanguageNameToId(lastCheckBox.Name));
                    Global.Jezyk2 = Convert.ToInt32(Global.LanguageNameToId(thisCheckBox.Name));
                    NavigationService.Navigate(new Uri("/Tags.xaml", UriKind.Relative));

                }
                else
                {
                    licznik = 0;
                    lastCheckBox.IsChecked = false;
                    thisCheckBox.IsChecked = false;
                }
            }
        }
        void LoadNations()
        {
            int LanguageIndex = edtContentLang.SelectedIndex;
            spNations.Children.Clear();
            nations = MythDB.Instance.Database.Nations.ToList();
            checkBoxes = new List<CheckBox>();
            foreach (Nation n in nations)
            {
                StackPanel sp = new StackPanel();
                sp.Orientation = System.Windows.Controls.Orientation.Horizontal;
                sp.HorizontalAlignment = System.Windows.HorizontalAlignment.Stretch;
                sp.VerticalAlignment = System.Windows.VerticalAlignment.Center;

                TextBlock tb = new TextBlock();
                tb.Text = "[" + n.I18nNations[LanguageIndex].ShortName + "] " + n.I18nNations[LanguageIndex].Name;
                tb.FontSize = 20;
                tb.Width = 350;
                tb.VerticalAlignment = System.Windows.VerticalAlignment.Center;
                sp.Children.Add(tb);

                CheckBox cb = new CheckBox();
                cb.IsChecked = n.IsActive;
                cb.VerticalAlignment = System.Windows.VerticalAlignment.Center;
                sp.Children.Add(cb);
                checkBoxes.Add(cb);

                spNations.Children.Add(sp);
            }
        }
        public override UIElement GetUIElement()
        {
            var grid = new Grid();

            ColumnDefinition columnDefinition1 = new ColumnDefinition();
            ColumnDefinition columnDefinition2 = new ColumnDefinition();
            columnDefinition1.Width = new GridLength(1, GridUnitType.Auto);
            columnDefinition2.Width = new GridLength(1, GridUnitType.Star);

            grid.ColumnDefinitions.Add(columnDefinition1);
            grid.ColumnDefinitions.Add(columnDefinition2);

            foreach (var gt in ApplicationData.Instance.GeocacheContainers)
            {
                RowDefinition rowDefinition = new RowDefinition();
                rowDefinition.Height = GridLength.Auto;
                grid.RowDefinitions.Add(rowDefinition);

                var cb = new CheckBox();
                cb.IsChecked = Values.Contains(gt.Name);
                grid.Children.Add(cb);
                Grid.SetRow(cb, grid.RowDefinitions.Count - 1);
                Grid.SetColumn(cb, 0);

                var txt = new TextBlock();
                txt.Text = gt.Name;
                grid.Children.Add(txt);
                Grid.SetRow(txt, grid.RowDefinitions.Count - 1);
                Grid.SetColumn(txt, 1);
            }

            return grid;
        }
    protected override void initialize() {
      base.initialize();
      this.currentValue = this.Property.Value as Boolean?;
      this.Property.PropertyChanged += new System.ComponentModel.PropertyChangedEventHandler(this.property_PropertyChanged);
      this.Property.ValueError += new EventHandler<ExceptionEventArgs>(this.property_ValueError);

      this.cbx = new CheckBox() {
        Visibility = Visibility.Visible,
        //Margin = new Thickness(1),
        VerticalAlignment = VerticalAlignment.Center,
        HorizontalAlignment = HorizontalAlignment.Left,
        VerticalContentAlignment = VerticalAlignment.Center,
        Margin = new Thickness(1, 4, 0, 0),
        IsChecked = this.currentValue,
        IsEnabled = this.Property.CanWrite,
        Cursor = Cursors.Hand
      };
      this.Content = this.cbx;
      this.cbx.Checked += new RoutedEventHandler(this.cbx_CheckboxChanged);
      this.cbx.Unchecked += new RoutedEventHandler(this.cbx_CheckboxChanged);
      //this.dtp.CalendarClosed += new RoutedEventHandler(dtp_CalendarClosed);
      //this.dtp.LostFocus += new RoutedEventHandler(dtp_LostFocus);
      //this.pnl.Children.Add(dtp);
      this.cbx.Focus();
    }
        void FillingScrData()
        {
            List<Teacher> teacher = new List<Teacher>();
            chTeacher = new CheckBox[schedule.EStorage.Teachers.Count()];
            List<string> FIO = new List<string>();
            foreach (var item in schedule.EStorage.Teachers.ToList())
            {
                FIO.Add(item.Name);
            }
            FIO.Sort();
           
            foreach (var fio in FIO)
            {
                foreach (var item in schedule.EStorage.Teachers.ToList())
                {
                    if (item.Name == fio)
                    {
                        teacher.Remove(item);
                        teacher.Add(item);
                    }
                }
            }

            for (int indexchb = 0; indexchb < teacher.Count; indexchb++)
            {
                chTeacher[indexchb] = new CheckBox()
                {
                    Content = teacher[indexchb].Name,
                 
                };
                chTeacher[indexchb].Checked += checkBox_Checked;
                chTeacher[indexchb].Unchecked += checkBox_Unchecked;
            }
            scrData.ItemsSource = chTeacher;
        }
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:

            #line 11 "..\..\..\..\View\reports\uc_purchaseItem.xaml"
                ((POS.View.reports.uc_purchaseItem)(target)).Loaded += new System.Windows.RoutedEventHandler(this.UserControl_Loaded);

            #line default
            #line hidden

            #line 11 "..\..\..\..\View\reports\uc_purchaseItem.xaml"
                ((POS.View.reports.uc_purchaseItem)(target)).Unloaded += new System.Windows.RoutedEventHandler(this.UserControl_Unloaded);

            #line default
            #line hidden
                return;

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

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

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

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

            #line 48 "..\..\..\..\View\reports\uc_purchaseItem.xaml"
                this.btn_items.Click += new System.Windows.RoutedEventHandler(this.btn_items_Click);

            #line default
            #line hidden
                return;

            case 6:
                this.path_items = ((System.Windows.Shapes.Path)(target));
                return;

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

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

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

            #line 107 "..\..\..\..\View\reports\uc_purchaseItem.xaml"
                this.btn_collect.Click += new System.Windows.RoutedEventHandler(this.Btn_collect_Click);

            #line default
            #line hidden
                return;

            case 10:
                this.path_collect = ((System.Windows.Shapes.Path)(target));
                return;

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

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

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

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

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

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

            #line 165 "..\..\..\..\View\reports\uc_purchaseItem.xaml"
                this.chk_itemInvoice.Checked += new System.Windows.RoutedEventHandler(this.chk_selectionChanged);

            #line default
            #line hidden

            #line 165 "..\..\..\..\View\reports\uc_purchaseItem.xaml"
                this.chk_itemInvoice.Unchecked += new System.Windows.RoutedEventHandler(this.chk_selectionChanged);

            #line default
            #line hidden
                return;

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

            #line 166 "..\..\..\..\View\reports\uc_purchaseItem.xaml"
                this.chk_itemReturn.Checked += new System.Windows.RoutedEventHandler(this.chk_selectionChanged);

            #line default
            #line hidden

            #line 166 "..\..\..\..\View\reports\uc_purchaseItem.xaml"
                this.chk_itemReturn.Unchecked += new System.Windows.RoutedEventHandler(this.chk_selectionChanged);

            #line default
            #line hidden
                return;

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

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

            #line 170 "..\..\..\..\View\reports\uc_purchaseItem.xaml"
                this.cb_Items.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.cb_Items_SelectionChanged);

            #line default
            #line hidden
                return;

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

            #line 175 "..\..\..\..\View\reports\uc_purchaseItem.xaml"
                this.chk_allBranchesItem.Checked += new System.Windows.RoutedEventHandler(this.Chk_allBranchesItem_Checked);

            #line default
            #line hidden

            #line 175 "..\..\..\..\View\reports\uc_purchaseItem.xaml"
                this.chk_allBranchesItem.Unchecked += new System.Windows.RoutedEventHandler(this.Chk_allBranchesItem_Unchecked);

            #line default
            #line hidden
                return;

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

            #line 177 "..\..\..\..\View\reports\uc_purchaseItem.xaml"
                this.cb_ItemsBranches.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.cb_selectionChanged);

            #line default
            #line hidden
                return;

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

            #line 182 "..\..\..\..\View\reports\uc_purchaseItem.xaml"
                this.chk_allItems.Checked += new System.Windows.RoutedEventHandler(this.Chk_allItems_Checked);

            #line default
            #line hidden

            #line 182 "..\..\..\..\View\reports\uc_purchaseItem.xaml"
                this.chk_allItems.Unchecked += new System.Windows.RoutedEventHandler(this.Chk_allItems_Unchecked);

            #line default
            #line hidden
                return;

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

            #line 184 "..\..\..\..\View\reports\uc_purchaseItem.xaml"
                this.dp_ItemEndDate.SelectedDateChanged += new System.EventHandler <System.Windows.Controls.SelectionChangedEventArgs>(this.dt_selectionChanged);

            #line default
            #line hidden
                return;

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

            #line 187 "..\..\..\..\View\reports\uc_purchaseItem.xaml"
                this.dp_ItemStartDate.SelectedDateChanged += new System.EventHandler <System.Windows.Controls.SelectionChangedEventArgs>(this.dt_selectionChanged);

            #line default
            #line hidden
                return;

            case 25:
                this.dt_ItemEndTime = ((MaterialDesignThemes.Wpf.TimePicker)(target));

            #line 190 "..\..\..\..\View\reports\uc_purchaseItem.xaml"
                this.dt_ItemEndTime.SelectedTimeChanged += new System.Windows.RoutedPropertyChangedEventHandler <System.Nullable <System.DateTime> >(this.t_selectionChanged);

            #line default
            #line hidden
                return;

            case 26:
                this.dt_itemStartTime = ((MaterialDesignThemes.Wpf.TimePicker)(target));

            #line 193 "..\..\..\..\View\reports\uc_purchaseItem.xaml"
                this.dt_itemStartTime.SelectedTimeChanged += new System.Windows.RoutedPropertyChangedEventHandler <System.Nullable <System.DateTime> >(this.t_selectionChanged);

            #line default
            #line hidden
                return;

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

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

            #line 214 "..\..\..\..\View\reports\uc_purchaseItem.xaml"
                this.dp_collectEndDate.SelectedDateChanged += new System.EventHandler <System.Windows.Controls.SelectionChangedEventArgs>(this.dt_colselectionChanged);

            #line default
            #line hidden
                return;

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

            #line 217 "..\..\..\..\View\reports\uc_purchaseItem.xaml"
                this.dp_collectStartDate.SelectedDateChanged += new System.EventHandler <System.Windows.Controls.SelectionChangedEventArgs>(this.dt_colselectionChanged);

            #line default
            #line hidden
                return;

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

            #line 222 "..\..\..\..\View\reports\uc_purchaseItem.xaml"
                this.cb_collect.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.Cb_collect_SelectionChanged);

            #line default
            #line hidden
                return;

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

            #line 227 "..\..\..\..\View\reports\uc_purchaseItem.xaml"
                this.chk_allcollect.Checked += new System.Windows.RoutedEventHandler(this.Chk_allcollect_Checked);

            #line default
            #line hidden

            #line 227 "..\..\..\..\View\reports\uc_purchaseItem.xaml"
                this.chk_allcollect.Unchecked += new System.Windows.RoutedEventHandler(this.Chk_allcollect_Unchecked);

            #line default
            #line hidden
                return;

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

            #line 248 "..\..\..\..\View\reports\uc_purchaseItem.xaml"
                this.txt_search.TextChanged += new System.Windows.Controls.TextChangedEventHandler(this.Txt_search_TextChanged);

            #line default
            #line hidden
                return;

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

            #line 278 "..\..\..\..\View\reports\uc_purchaseItem.xaml"
                this.btn_refresh.Click += new System.Windows.RoutedEventHandler(this.Btn_refresh_Click);

            #line default
            #line hidden
                return;

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

            case 35:
                this.dgInvoice = ((System.Windows.Controls.DataGrid)(target));
                return;

            case 36:
                this.col_number = ((System.Windows.Controls.DataGridTextColumn)(target));
                return;

            case 37:
                this.col_date = ((System.Windows.Controls.DataGridTextColumn)(target));
                return;

            case 38:
                this.col_branch = ((System.Windows.Controls.DataGridTextColumn)(target));
                return;

            case 39:
                this.col_item = ((System.Windows.Controls.DataGridTextColumn)(target));
                return;

            case 40:
                this.col_unit = ((System.Windows.Controls.DataGridTextColumn)(target));
                return;

            case 41:
                this.col_itQuantity = ((System.Windows.Controls.DataGridTextColumn)(target));
                return;

            case 42:
                this.col_price = ((System.Windows.Controls.DataGridTextColumn)(target));
                return;

            case 43:
                this.col_total = ((System.Windows.Controls.DataGridTextColumn)(target));
                return;

            case 44:
                this.col_invCount = ((System.Windows.Controls.DataGridTextColumn)(target));
                return;

            case 45:
                this.col_avg = ((System.Windows.Controls.DataGridTextColumn)(target));
                return;

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

            #line 343 "..\..\..\..\View\reports\uc_purchaseItem.xaml"
                this.btn_pdf.Click += new System.Windows.RoutedEventHandler(this.Btn_pdf_Click);

            #line default
            #line hidden
                return;

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

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

            #line 358 "..\..\..\..\View\reports\uc_purchaseItem.xaml"
                this.btn_print.Click += new System.Windows.RoutedEventHandler(this.Btn_print_Click);

            #line default
            #line hidden
                return;

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

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

            #line 373 "..\..\..\..\View\reports\uc_purchaseItem.xaml"
                this.btn_exportToExcel.Click += new System.Windows.RoutedEventHandler(this.Btn_exportToExcel_Click);

            #line default
            #line hidden
                return;

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

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

            #line 389 "..\..\..\..\View\reports\uc_purchaseItem.xaml"
                this.btn_preview.Click += new System.Windows.RoutedEventHandler(this.Btn_preview_Click);

            #line default
            #line hidden
                return;

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

            case 54:
                this.btn_settings = ((System.Windows.Controls.Button)(target));
                return;

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

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

            case 57:
                this.grid_stacks = ((System.Windows.Controls.Grid)(target));
                return;

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

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

            case 60:
                this.cartesianChart = ((LiveCharts.Wpf.CartesianChart)(target));
                return;

            case 61:
                this.axcolumn = ((LiveCharts.Wpf.Axis)(target));
                return;

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

            case 63:
                this.chart1 = ((LiveCharts.Wpf.PieChart)(target));
                return;

            case 64:
                this.rowChart = ((LiveCharts.Wpf.CartesianChart)(target));
                return;

            case 65:
                this.MyAxis = ((LiveCharts.Wpf.Axis)(target));
                return;
            }
            this._contentLoaded = true;
        }
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.lblcedula = ((System.Windows.Controls.Label)(target));
                return;

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

            #line 39 "..\..\nuevareserva.xaml"
                this.txtcedula.KeyUp += new System.Windows.Input.KeyEventHandler(this.txtcedula_KeyUp);

            #line default
            #line hidden

            #line 39 "..\..\nuevareserva.xaml"
                this.txtcedula.KeyDown += new System.Windows.Input.KeyEventHandler(this.txtcedula_KeyDown);

            #line default
            #line hidden
                return;

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

            #line 66 "..\..\nuevareserva.xaml"
                this.dpFechaI.SelectedDateChanged += new System.EventHandler <System.Windows.Controls.SelectionChangedEventArgs>(this.dpFechaI_SelectedDateChanged);

            #line default
            #line hidden
                return;

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

            #line 67 "..\..\nuevareserva.xaml"
                this.dpFechaF.SelectedDateChanged += new System.EventHandler <System.Windows.Controls.SelectionChangedEventArgs>(this.dpFechaF_SelectedDateChanged);

            #line default
            #line hidden
                return;

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

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

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

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

            #line 71 "..\..\nuevareserva.xaml"
                this.lstHotel.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.lstHotel_SelectionChanged);

            #line default
            #line hidden
                return;

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

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

            #line 73 "..\..\nuevareserva.xaml"
                this.lstHabitacion.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.lstHabitacion_SelectionChanged);

            #line default
            #line hidden
                return;

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

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

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

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

            #line 77 "..\..\nuevareserva.xaml"
                this.lstPersona.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.lstPersona_SelectionChanged);

            #line default
            #line hidden
                return;

            case 31:
                this.tbContenedor = ((System.Windows.Controls.TabControl)(target));
                return;

            case 32:
                this.tbPersona = ((System.Windows.Controls.TabItem)(target));
                return;

            case 33:
                this.dtgPersona = ((System.Windows.Controls.DataGrid)(target));

            #line 91 "..\..\nuevareserva.xaml"
                this.dtgPersona.CellEditEnding += new System.EventHandler <System.Windows.Controls.DataGridCellEditEndingEventArgs>(this.dtgPersona_CellEditEnding);

            #line default
            #line hidden

            #line 91 "..\..\nuevareserva.xaml"
                this.dtgPersona.MouseDoubleClick += new System.Windows.Input.MouseButtonEventHandler(this.dtgPersona_MouseDoubleClick);

            #line default
            #line hidden
                return;

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

            #line 150 "..\..\nuevareserva.xaml"
                this.btnActualizar.Click += new System.Windows.RoutedEventHandler(this.btnActualizar_Click);

            #line default
            #line hidden
                return;

            case 35:
                this.tbPuntos = ((System.Windows.Controls.TabItem)(target));
                return;

            case 36:
                this.dtgPunto = ((System.Windows.Controls.DataGrid)(target));
                return;

            case 37:
                this.tbTodoIncluido = ((System.Windows.Controls.TabItem)(target));
                return;

            case 38:
                this.dtgTodoIncluido = ((System.Windows.Controls.DataGrid)(target));
                return;

            case 39:
                this.tbDescuento = ((System.Windows.Controls.TabItem)(target));

            #line 292 "..\..\nuevareserva.xaml"
                this.tbDescuento.GotFocus += new System.Windows.RoutedEventHandler(this.tbDescuento_GotFocus);

            #line default
            #line hidden
                return;

            case 40:
                this.dtgPersonaDes = ((System.Windows.Controls.DataGrid)(target));

            #line 295 "..\..\nuevareserva.xaml"
                this.dtgPersonaDes.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.dtgPersonaDes_SelectionChanged_1);

            #line default
            #line hidden
                return;

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

            #line 348 "..\..\nuevareserva.xaml"
                this.chkSelectAll.Checked += new System.Windows.RoutedEventHandler(this.chkSelectAll_Checked);

            #line default
            #line hidden

            #line 348 "..\..\nuevareserva.xaml"
                this.chkSelectAll.Unchecked += new System.Windows.RoutedEventHandler(this.chkSelectAll_Unchecked);

            #line default
            #line hidden
                return;

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

            #line 366 "..\..\nuevareserva.xaml"
                this.btnCancelarDes.Click += new System.Windows.RoutedEventHandler(this.btnCancelarDes_Click);

            #line default
            #line hidden
                return;

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

            #line 371 "..\..\nuevareserva.xaml"
                this.btnGuarda.Click += new System.Windows.RoutedEventHandler(this.btnGuarda_Click);

            #line default
            #line hidden
                return;

            case 45:
                this.txtdescuento = ((System.Windows.Controls.TextBox)(target));

            #line 378 "..\..\nuevareserva.xaml"
                this.txtdescuento.KeyUp += new System.Windows.Input.KeyEventHandler(this.txtdescuento_KeyUp);

            #line default
            #line hidden

            #line 378 "..\..\nuevareserva.xaml"
                this.txtdescuento.KeyDown += new System.Windows.Input.KeyEventHandler(this.txtdescuento_KeyDown);

            #line default
            #line hidden
                return;

            case 46:
                this.txtdexcuentobs = ((System.Windows.Controls.TextBox)(target));

            #line 379 "..\..\nuevareserva.xaml"
                this.txtdexcuentobs.KeyUp += new System.Windows.Input.KeyEventHandler(this.txtdexcuentobs_KeyUp);

            #line default
            #line hidden

            #line 379 "..\..\nuevareserva.xaml"
                this.txtdexcuentobs.KeyDown += new System.Windows.Input.KeyEventHandler(this.txtdexcuentobs_KeyDown);

            #line default
            #line hidden
                return;

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

            #line 385 "..\..\nuevareserva.xaml"
                this.btnAgregar.Click += new System.Windows.RoutedEventHandler(this.btnAgregar_Click);

            #line default
            #line hidden
                return;

            case 48:
                this.lblcliente_Copy2 = ((System.Windows.Controls.Label)(target));
                return;

            case 49:
                this.lblFechaI_Copy = ((System.Windows.Controls.Label)(target));
                return;

            case 50:
                this.lblFechaI_Copy1 = ((System.Windows.Controls.Label)(target));
                return;

            case 51:
                this.lblValorPuntosReserva = ((System.Windows.Controls.Label)(target));
                return;

            case 52:
                this.btnAgregarHabitacion = ((System.Windows.Controls.Button)(target));

            #line 400 "..\..\nuevareserva.xaml"
                this.btnAgregarHabitacion.Click += new System.Windows.RoutedEventHandler(this.btnAgregarHabitacion_Click);

            #line default
            #line hidden
                return;

            case 53:
                this.btnGuardaReserva = ((System.Windows.Controls.Button)(target));

            #line 405 "..\..\nuevareserva.xaml"
                this.btnGuardaReserva.Click += new System.Windows.RoutedEventHandler(this.btnGuardaReserva_Click);

            #line default
            #line hidden
                return;

            case 54:
                this.btnQuitarHabitacion = ((System.Windows.Controls.Button)(target));

            #line 410 "..\..\nuevareserva.xaml"
                this.btnQuitarHabitacion.Click += new System.Windows.RoutedEventHandler(this.btnQuitarHabitacion_Click);

            #line default
            #line hidden
                return;

            case 55:
                this.lblHabitacionA = ((System.Windows.Controls.Label)(target));
                return;

            case 56:
                this.lblHotelA = ((System.Windows.Controls.Label)(target));
                return;

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

            #line 417 "..\..\nuevareserva.xaml"
                this.btnQuitarHotel.Click += new System.Windows.RoutedEventHandler(this.btnQuitarHotel_Click);

            #line default
            #line hidden
                return;

            case 58:
                this.btnAgregarHotel = ((System.Windows.Controls.Button)(target));

            #line 422 "..\..\nuevareserva.xaml"
                this.btnAgregarHotel.Click += new System.Windows.RoutedEventHandler(this.btnAgregarHotel_Click);

            #line default
            #line hidden
                return;

            case 59:
                this.lblValorCantidadHabitaciones = ((System.Windows.Controls.Label)(target));
                return;

            case 60:
                this.txtobservacion = ((System.Windows.Controls.TextBox)(target));
                return;

            case 61:
                this.lblobservaciones = ((System.Windows.Controls.Label)(target));
                return;

            case 62:
                this.lbltotalbs = ((System.Windows.Controls.Label)(target));
                return;

            case 63:
                this.lblPuntosAcelerados = ((System.Windows.Controls.Label)(target));
                return;

            case 64:
                this.lblValorTotalTodoIncluido = ((System.Windows.Controls.Label)(target));
                return;

            case 65:
                this.tbContenedor_Copy = ((System.Windows.Controls.TabControl)(target));
                return;

            case 66:
                this.tbContratos = ((System.Windows.Controls.TabItem)(target));
                return;

            case 67:
                this.dtgrdContratos = ((System.Windows.Controls.DataGrid)(target));

            #line 440 "..\..\nuevareserva.xaml"
                this.dtgrdContratos.MouseDoubleClick += new System.Windows.Input.MouseButtonEventHandler(this.dtgrdContratos_MouseDoubleClick);

            #line default
            #line hidden
                return;

            case 68:
                this.tbPuntosAnnio = ((System.Windows.Controls.TabItem)(target));
                return;

            case 69:
                this.dtgrdPuntosPorAnio = ((System.Windows.Controls.DataGrid)(target));
                return;

            case 70:
                this.btnCancelar = ((System.Windows.Controls.Button)(target));

            #line 552 "..\..\nuevareserva.xaml"
                this.btnCancelar.Click += new System.Windows.RoutedEventHandler(this.btnCancelar_Click);

            #line default
            #line hidden
                return;

            case 71:
                this.lbltitulo = ((System.Windows.Controls.Label)(target));
                return;

            case 72:
                this.lblFechaI_Copy2 = ((System.Windows.Controls.Label)(target));
                return;

            case 73:
                this.lblValorHotelesreserva = ((System.Windows.Controls.Label)(target));
                return;

            case 74:
                this.lblFechaI_Copy3 = ((System.Windows.Controls.Label)(target));
                return;

            case 75:
                this.lblValortotalhabitaciones = ((System.Windows.Controls.Label)(target));
                return;

            case 76:
                this.lblValorPuntosacelerados = ((System.Windows.Controls.Label)(target));
                return;

            case 77:
                this.lblPuntosAcelerados_Copy = ((System.Windows.Controls.Label)(target));
                return;

            case 78:
                this.lblValorTotalacelerado = ((System.Windows.Controls.Label)(target));
                return;

            case 79:
                this.lblcedula_Copy = ((System.Windows.Controls.Label)(target));
                return;

            case 80:
                this.txtnombre = ((System.Windows.Controls.TextBox)(target));

            #line 573 "..\..\nuevareserva.xaml"
                this.txtnombre.KeyUp += new System.Windows.Input.KeyEventHandler(this.txtnombre_KeyUp);

            #line default
            #line hidden
                return;

            case 81:
                this.lblcedula_Copy1 = ((System.Windows.Controls.Label)(target));
                return;

            case 82:
                this.txtcontrato = ((System.Windows.Controls.TextBox)(target));

            #line 582 "..\..\nuevareserva.xaml"
                this.txtcontrato.KeyUp += new System.Windows.Input.KeyEventHandler(this.txtcontrato_KeyUp);

            #line default
            #line hidden

            #line 582 "..\..\nuevareserva.xaml"
                this.txtcontrato.KeyDown += new System.Windows.Input.KeyEventHandler(this.txtcontrato_KeyDown);

            #line default
            #line hidden
                return;

            case 83:
                this.btnCancelar_Copy = ((System.Windows.Controls.Button)(target));

            #line 583 "..\..\nuevareserva.xaml"
                this.btnCancelar_Copy.Click += new System.Windows.RoutedEventHandler(this.btnCancelar_Copy_Click);

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

            #line 14 "..\..\OrderPanelWindow.xaml"
                this.cbxInstrumentID.PreviewKeyUp += new System.Windows.Input.KeyEventHandler(this.cbxInstrumentID_PreviewKeyUp);

            #line default
            #line hidden
                return;

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

            #line 17 "..\..\OrderPanelWindow.xaml"
                this.rdoBuy.Checked += new System.Windows.RoutedEventHandler(this.rdoBtnBuy_Checked);

            #line default
            #line hidden
                return;

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

            #line 18 "..\..\OrderPanelWindow.xaml"
                this.rdoSell.Checked += new System.Windows.RoutedEventHandler(this.rdoBtnSell_Checked);

            #line default
            #line hidden
                return;

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

            #line 21 "..\..\OrderPanelWindow.xaml"
                this.rdoOpen.Checked += new System.Windows.RoutedEventHandler(this.rdoOpen_Checked);

            #line default
            #line hidden
                return;

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

            #line 22 "..\..\OrderPanelWindow.xaml"
                this.rdoCloseToday.Checked += new System.Windows.RoutedEventHandler(this.rdoCloseToday_Checked);

            #line default
            #line hidden
                return;

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

            #line 23 "..\..\OrderPanelWindow.xaml"
                this.rdoCloseYesterday.Checked += new System.Windows.RoutedEventHandler(this.rdoCloseYesterday_Checked);

            #line default
            #line hidden
                return;

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

            #line 27 "..\..\OrderPanelWindow.xaml"
                this.btnAskPrice1.Click += new System.Windows.RoutedEventHandler(this.btnAskPrice1_Click);

            #line default
            #line hidden
                return;

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

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

            #line 32 "..\..\OrderPanelWindow.xaml"
                this.btnBidPrice1.Click += new System.Windows.RoutedEventHandler(this.btnBidPrice1_Click);

            #line default
            #line hidden
                return;

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

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

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

            #line 39 "..\..\OrderPanelWindow.xaml"
                this.btnIncOrderPrice.Click += new System.Windows.RoutedEventHandler(this.btn_ChangeOrderPrice);

            #line default
            #line hidden
                return;

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

            #line 42 "..\..\OrderPanelWindow.xaml"
                this.btnDecOrderPrice.Click += new System.Windows.RoutedEventHandler(this.btn_ChangeOrderPrice);

            #line default
            #line hidden
                return;

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

            #line 46 "..\..\OrderPanelWindow.xaml"
                this.chbIsMarketOrder.Click += new System.Windows.RoutedEventHandler(this.chbIsMarketOrder_Click);

            #line default
            #line hidden
                return;

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

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

            #line 53 "..\..\OrderPanelWindow.xaml"
                this.btnAddOrderQty.Click += new System.Windows.RoutedEventHandler(this.btn_ChangeOrderQty);

            #line default
            #line hidden
                return;

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

            #line 56 "..\..\OrderPanelWindow.xaml"
                this.btnRemoveOrderQty.Click += new System.Windows.RoutedEventHandler(this.btn_ChangeOrderQty);

            #line default
            #line hidden
                return;

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

            #line 64 "..\..\OrderPanelWindow.xaml"
                this.btnOrderInsert.Click += new System.Windows.RoutedEventHandler(this.btnOrderInsert_Click);

            #line default
            #line hidden
                return;

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

            #line 66 "..\..\OrderPanelWindow.xaml"
                this.btnCreatePriceConditionOrder.Click += new System.Windows.RoutedEventHandler(this.btnCreatePriceConditionOrder_Click);

            #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.firstStk = ((System.Windows.Controls.StackPanel)(target));
                return;

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

            case 18:
                this.btnCancel = ((System.Windows.Controls.Button)(target));
                return;
            }
            this._contentLoaded = true;
        }
Esempio n. 35
0
 public void InitializeComponent()
 {
     if (_contentLoaded)
     {
         return;
     }
     _contentLoaded = true;
     System.Windows.Application.LoadComponent(this, new System.Uri("/RepRap%20Phone%20Host;component/MainPage.xaml", System.UriKind.Relative));
     this.LayoutRoot                 = ((System.Windows.Controls.Grid)(this.FindName("LayoutRoot")));
     this.XnaMediaElement            = ((System.Windows.Controls.MediaElement)(this.FindName("XnaMediaElement")));
     this.MainPivot                  = ((Microsoft.Phone.Controls.Pivot)(this.FindName("MainPivot")));
     this.StlPivot                   = ((Microsoft.Phone.Controls.PivotItem)(this.FindName("StlPivot")));
     this.stlpivot_Scroller          = ((System.Windows.Controls.ScrollViewer)(this.FindName("stlpivot_Scroller")));
     this.stl_Filelist               = ((Microsoft.Phone.Controls.ListPicker)(this.FindName("stl_Filelist")));
     this.StlSurface                 = ((System.Windows.Controls.DrawingSurface)(this.FindName("StlSurface")));
     this.zoomButtonStl              = ((System.Windows.Controls.Button)(this.FindName("zoomButtonStl")));
     this.unZoomButtonStl            = ((System.Windows.Controls.Button)(this.FindName("unZoomButtonStl")));
     this.moveUpButtonStl            = ((System.Windows.Controls.Button)(this.FindName("moveUpButtonStl")));
     this.moveLeftButtonStl          = ((System.Windows.Controls.Button)(this.FindName("moveLeftButtonStl")));
     this.moveRightButtonStl         = ((System.Windows.Controls.Button)(this.FindName("moveRightButtonStl")));
     this.moveDownButtonStl          = ((System.Windows.Controls.Button)(this.FindName("moveDownButtonStl")));
     this.rotateUpButtonStl          = ((System.Windows.Controls.Button)(this.FindName("rotateUpButtonStl")));
     this.rotateLeftButtonStl        = ((System.Windows.Controls.Button)(this.FindName("rotateLeftButtonStl")));
     this.rotateRightButtonStl       = ((System.Windows.Controls.Button)(this.FindName("rotateRightButtonStl")));
     this.rotateDownButtonStl        = ((System.Windows.Controls.Button)(this.FindName("rotateDownButtonStl")));
     this.xRotation_TextBlock        = ((System.Windows.Controls.TextBlock)(this.FindName("xRotation_TextBlock")));
     this.xRotation_TextBox          = ((System.Windows.Controls.TextBox)(this.FindName("xRotation_TextBox")));
     this.xRotation_Slider           = ((System.Windows.Controls.Slider)(this.FindName("xRotation_Slider")));
     this.yRotation_TextBlock        = ((System.Windows.Controls.TextBlock)(this.FindName("yRotation_TextBlock")));
     this.yRotation_TextBox          = ((System.Windows.Controls.TextBox)(this.FindName("yRotation_TextBox")));
     this.yRotation_Slider           = ((System.Windows.Controls.Slider)(this.FindName("yRotation_Slider")));
     this.zRotation_TextBlock        = ((System.Windows.Controls.TextBlock)(this.FindName("zRotation_TextBlock")));
     this.zRotation_TextBox          = ((System.Windows.Controls.TextBox)(this.FindName("zRotation_TextBox")));
     this.zRotation_Slider           = ((System.Windows.Controls.Slider)(this.FindName("zRotation_Slider")));
     this.scale_Textbox              = ((System.Windows.Controls.TextBox)(this.FindName("scale_Textbox")));
     this.xOffset_Textbox            = ((System.Windows.Controls.TextBox)(this.FindName("xOffset_Textbox")));
     this.yOffset_Textbox            = ((System.Windows.Controls.TextBox)(this.FindName("yOffset_Textbox")));
     this.saveButtonStl              = ((System.Windows.Controls.Button)(this.FindName("saveButtonStl")));
     this.SlicerPivot                = ((Microsoft.Phone.Controls.PivotItem)(this.FindName("SlicerPivot")));
     this.slicer_Filelist            = ((Microsoft.Phone.Controls.ListPicker)(this.FindName("slicer_Filelist")));
     this.Slice_Button               = ((System.Windows.Controls.Button)(this.FindName("Slice_Button")));
     this.CancelButton               = ((System.Windows.Controls.Button)(this.FindName("CancelButton")));
     this.outputStackPanel           = ((System.Windows.Controls.StackPanel)(this.FindName("outputStackPanel")));
     this.GCodePivot                 = ((Microsoft.Phone.Controls.PivotItem)(this.FindName("GCodePivot")));
     this.gcode_Filelist             = ((Microsoft.Phone.Controls.ListPicker)(this.FindName("gcode_Filelist")));
     this.GCodeSurface               = ((System.Windows.Controls.DrawingSurface)(this.FindName("GCodeSurface")));
     this.zoomButtonGCode            = ((System.Windows.Controls.Button)(this.FindName("zoomButtonGCode")));
     this.unZoomButtonGCode          = ((System.Windows.Controls.Button)(this.FindName("unZoomButtonGCode")));
     this.moveUpButtonGCode          = ((System.Windows.Controls.Button)(this.FindName("moveUpButtonGCode")));
     this.moveLeftButtonGCode        = ((System.Windows.Controls.Button)(this.FindName("moveLeftButtonGCode")));
     this.moveRightButtonGCode       = ((System.Windows.Controls.Button)(this.FindName("moveRightButtonGCode")));
     this.moveDownButtonGCode        = ((System.Windows.Controls.Button)(this.FindName("moveDownButtonGCode")));
     this.rotateUpButtonGCode        = ((System.Windows.Controls.Button)(this.FindName("rotateUpButtonGCode")));
     this.rotateLeftButtonGCode      = ((System.Windows.Controls.Button)(this.FindName("rotateLeftButtonGCode")));
     this.rotateRightButtonGCode     = ((System.Windows.Controls.Button)(this.FindName("rotateRightButtonGCode")));
     this.rotateDownButtonGCode      = ((System.Windows.Controls.Button)(this.FindName("rotateDownButtonGCode")));
     this.bottomLayer_TextBlock      = ((System.Windows.Controls.TextBlock)(this.FindName("bottomLayer_TextBlock")));
     this.min_Slider                 = ((System.Windows.Controls.Slider)(this.FindName("min_Slider")));
     this.topLayer_TextBlock         = ((System.Windows.Controls.TextBlock)(this.FindName("topLayer_TextBlock")));
     this.max_Slider                 = ((System.Windows.Controls.Slider)(this.FindName("max_Slider")));
     this.GCode_TextPivot            = ((Microsoft.Phone.Controls.PivotItem)(this.FindName("GCode_TextPivot")));
     this.gcodetext_Filelist         = ((Microsoft.Phone.Controls.ListPicker)(this.FindName("gcodetext_Filelist")));
     this.gcodeScroller              = ((System.Windows.Controls.ScrollViewer)(this.FindName("gcodeScroller")));
     this.gcodePanel                 = ((System.Windows.Controls.StackPanel)(this.FindName("gcodePanel")));
     this.ControlPivot               = ((Microsoft.Phone.Controls.PivotItem)(this.FindName("ControlPivot")));
     this.gcodeprint_Filelist        = ((Microsoft.Phone.Controls.ListPicker)(this.FindName("gcodeprint_Filelist")));
     this.eta_TextBlock              = ((System.Windows.Controls.TextBlock)(this.FindName("eta_TextBlock")));
     this.print_Button               = ((System.Windows.Controls.Button)(this.FindName("print_Button")));
     this.printing_TextBlock         = ((System.Windows.Controls.TextBlock)(this.FindName("printing_TextBlock")));
     this.printing_ProgressBar       = ((System.Windows.Controls.ProgressBar)(this.FindName("printing_ProgressBar")));
     this.x_Radiobutton              = ((System.Windows.Controls.RadioButton)(this.FindName("x_Radiobutton")));
     this.y_Radiobutton              = ((System.Windows.Controls.RadioButton)(this.FindName("y_Radiobutton")));
     this.z_Radiobutton              = ((System.Windows.Controls.RadioButton)(this.FindName("z_Radiobutton")));
     this.e_Radiobutton              = ((System.Windows.Controls.RadioButton)(this.FindName("e_Radiobutton")));
     this.distance_Textblock         = ((System.Windows.Controls.TextBlock)(this.FindName("distance_Textblock")));
     this.distance_Textbox           = ((System.Windows.Controls.TextBox)(this.FindName("distance_Textbox")));
     this.speed_Textblock            = ((System.Windows.Controls.TextBlock)(this.FindName("speed_Textblock")));
     this.speed_Textbox              = ((System.Windows.Controls.TextBox)(this.FindName("speed_Textbox")));
     this.up_Button                  = ((System.Windows.Controls.Button)(this.FindName("up_Button")));
     this.down_Button                = ((System.Windows.Controls.Button)(this.FindName("down_Button")));
     this.home_Textblock             = ((System.Windows.Controls.TextBlock)(this.FindName("home_Textblock")));
     this.xhome_Button               = ((System.Windows.Controls.Button)(this.FindName("xhome_Button")));
     this.yhome_Button               = ((System.Windows.Controls.Button)(this.FindName("yhome_Button")));
     this.zhome_Button               = ((System.Windows.Controls.Button)(this.FindName("zhome_Button")));
     this.allhome_Button             = ((System.Windows.Controls.Button)(this.FindName("allhome_Button")));
     this.temperatureTitle_Textblock = ((System.Windows.Controls.TextBlock)(this.FindName("temperatureTitle_Textblock")));
     this.temperature_Textblock      = ((System.Windows.Controls.TextBlock)(this.FindName("temperature_Textblock")));
     this.heat_Checkbox              = ((System.Windows.Controls.CheckBox)(this.FindName("heat_Checkbox")));
     this.temperature_Textbox        = ((System.Windows.Controls.TextBox)(this.FindName("temperature_Textbox")));
     this.gcode_Textblock            = ((System.Windows.Controls.TextBlock)(this.FindName("gcode_Textblock")));
     this.gcode_Textbox              = ((System.Windows.Controls.TextBox)(this.FindName("gcode_Textbox")));
     this.emergencystop_Button       = ((System.Windows.Controls.Button)(this.FindName("emergencystop_Button")));
     this.ConnectionPivot            = ((Microsoft.Phone.Controls.PivotItem)(this.FindName("ConnectionPivot")));
     this.device_Listpicker          = ((Microsoft.Phone.Controls.ListPicker)(this.FindName("device_Listpicker")));
     this.connect_Button             = ((System.Windows.Controls.Button)(this.FindName("connect_Button")));
     this.repetier_CheckBox          = ((System.Windows.Controls.CheckBox)(this.FindName("repetier_CheckBox")));
     this.comlog_Stackpanel          = ((System.Windows.Controls.StackPanel)(this.FindName("comlog_Stackpanel")));
     this.SettingsPivot              = ((Microsoft.Phone.Controls.PivotItem)(this.FindName("SettingsPivot")));
     this.SettingStackPanel          = ((System.Windows.Controls.StackPanel)(this.FindName("SettingStackPanel")));
     this.FilesPivot                 = ((Microsoft.Phone.Controls.PivotItem)(this.FindName("FilesPivot")));
     this.FilesScroller              = ((System.Windows.Controls.ScrollViewer)(this.FindName("FilesScroller")));
     this.stlFiles_StackPanel        = ((System.Windows.Controls.StackPanel)(this.FindName("stlFiles_StackPanel")));
     this.gcodeFiles_StackPanel      = ((System.Windows.Controls.StackPanel)(this.FindName("gcodeFiles_StackPanel")));
 }
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:

            #line 10 "..\..\..\Mouse\ComboBoxWithCheckControl.xaml"
                ((System.Windows.Controls.ComboBox)(target)).LostFocus += new System.Windows.RoutedEventHandler(this.ComboBox_LostFocus);

            #line default
            #line hidden
                return;

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

            #line 18 "..\..\..\Mouse\ComboBoxWithCheckControl.xaml"
                this.cbAlt.Checked += new System.Windows.RoutedEventHandler(this.Alt_Checked);

            #line default
            #line hidden

            #line 18 "..\..\..\Mouse\ComboBoxWithCheckControl.xaml"
                this.cbAlt.Unchecked += new System.Windows.RoutedEventHandler(this.Alt_Checked);

            #line default
            #line hidden
                return;

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

            #line 19 "..\..\..\Mouse\ComboBoxWithCheckControl.xaml"
                this.cbCtrl.Checked += new System.Windows.RoutedEventHandler(this.Ctrl_Checked);

            #line default
            #line hidden

            #line 19 "..\..\..\Mouse\ComboBoxWithCheckControl.xaml"
                this.cbCtrl.Unchecked += new System.Windows.RoutedEventHandler(this.Ctrl_Checked);

            #line default
            #line hidden
                return;

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

            #line 20 "..\..\..\Mouse\ComboBoxWithCheckControl.xaml"
                this.cbShift.Checked += new System.Windows.RoutedEventHandler(this.Shift_Checked);

            #line default
            #line hidden

            #line 20 "..\..\..\Mouse\ComboBoxWithCheckControl.xaml"
                this.cbShift.Unchecked += new System.Windows.RoutedEventHandler(this.Shift_Checked);

            #line default
            #line hidden
                return;

            case 5:
                this.cbWin = ((System.Windows.Controls.CheckBox)(target));

            #line 21 "..\..\..\Mouse\ComboBoxWithCheckControl.xaml"
                this.cbWin.Checked += new System.Windows.RoutedEventHandler(this.Win_Checked);

            #line default
            #line hidden

            #line 21 "..\..\..\Mouse\ComboBoxWithCheckControl.xaml"
                this.cbWin.Unchecked += new System.Windows.RoutedEventHandler(this.Win_Checked);

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

            #line 10 "..\..\MainWindow.xaml"
                this.AddFiles.Click += new System.Windows.RoutedEventHandler(this.AddFiles_Click);

            #line default
            #line hidden
                return;

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

            #line 11 "..\..\MainWindow.xaml"
                this.Convert.Click += new System.Windows.RoutedEventHandler(this.Convert_Click);

            #line default
            #line hidden
                return;

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

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

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

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

            case 7:
                this.PBar = ((System.Windows.Controls.ProgressBar)(target));
                return;

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

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

            #line default
            #line hidden
                return;

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

            case 10:

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

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

            #line 42 "..\..\event.xaml"
                this.checkBox.Checked += new System.Windows.RoutedEventHandler(this.checkBox_Checked);

            #line default
            #line hidden

            #line 42 "..\..\event.xaml"
                this.checkBox.Unchecked += new System.Windows.RoutedEventHandler(this.checkBox_Unchecked);

            #line default
            #line hidden
                return;

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

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

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

            #line 46 "..\..\event.xaml"
                this.comboBox.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.comboBox_SelectionChanged);

            #line default
            #line hidden
                return;

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

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

            #line 54 "..\..\event.xaml"
                this.textBox.TextChanged += new System.Windows.Controls.TextChangedEventHandler(this.textBox_TextChanged);

            #line default
            #line hidden
                return;

            case 8:
                this.materialButton1 = ((Xceed.Wpf.Toolkit.MaterialButton)(target));

            #line 60 "..\..\event.xaml"
                this.materialButton1.Click += new System.Windows.RoutedEventHandler(this.add_Click);

            #line default
            #line hidden
                return;

            case 9:
                this.materialButton2 = ((Xceed.Wpf.Toolkit.MaterialButton)(target));

            #line 65 "..\..\event.xaml"
                this.materialButton2.Click += new System.Windows.RoutedEventHandler(this.mul_del);

            #line default
            #line hidden
                return;

            case 10:
                this.materialButton3 = ((Xceed.Wpf.Toolkit.MaterialButton)(target));

            #line 70 "..\..\event.xaml"
                this.materialButton3.Click += new System.Windows.RoutedEventHandler(this.research_Click);

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

            #line 13 "..\..\seite6.xaml"
                this.ja1.Checked += new System.Windows.RoutedEventHandler(this.CheckBox_Checked);

            #line default
            #line hidden
                return;

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

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

            #line 15 "..\..\seite6.xaml"
                this.neinText1.TextChanged += new System.Windows.Controls.TextChangedEventHandler(this.TextBox_TextChanged);

            #line default
            #line hidden
                return;

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

            #line 16 "..\..\seite6.xaml"
                this.ja2.Checked += new System.Windows.RoutedEventHandler(this.CheckBox_Checked);

            #line default
            #line hidden
                return;

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

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

            #line 18 "..\..\seite6.xaml"
                this.neinText2.TextChanged += new System.Windows.Controls.TextChangedEventHandler(this.TextBox_TextChanged);

            #line default
            #line hidden
                return;

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

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

            #line 23 "..\..\seite6.xaml"
                this.ja3.Checked += new System.Windows.RoutedEventHandler(this.CheckBox_Checked);

            #line default
            #line hidden
                return;

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

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

            #line 25 "..\..\seite6.xaml"
                this.neinText3.TextChanged += new System.Windows.Controls.TextChangedEventHandler(this.TextBox_TextChanged);

            #line default
            #line hidden
                return;

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

            #line 26 "..\..\seite6.xaml"
                this.ja4.Checked += new System.Windows.RoutedEventHandler(this.CheckBox_Checked);

            #line default
            #line hidden
                return;

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

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

            #line 28 "..\..\seite6.xaml"
                this.neinText4.TextChanged += new System.Windows.Controls.TextChangedEventHandler(this.TextBox_TextChanged);

            #line default
            #line hidden
                return;

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

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

            #line 33 "..\..\seite6.xaml"
                this.ja5.Checked += new System.Windows.RoutedEventHandler(this.CheckBox_Checked);

            #line default
            #line hidden
                return;

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

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

            #line 35 "..\..\seite6.xaml"
                this.neinText5.TextChanged += new System.Windows.Controls.TextChangedEventHandler(this.TextBox_TextChanged);

            #line default
            #line hidden
                return;

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

            #line 36 "..\..\seite6.xaml"
                this.ja6.Checked += new System.Windows.RoutedEventHandler(this.CheckBox_Checked);

            #line default
            #line hidden
                return;

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

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

            #line 38 "..\..\seite6.xaml"
                this.neinText6.TextChanged += new System.Windows.Controls.TextChangedEventHandler(this.TextBox_TextChanged);

            #line default
            #line hidden
                return;

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

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

            #line 40 "..\..\seite6.xaml"
                this.Beenden.Click += new System.Windows.RoutedEventHandler(this.weiter_Click);

            #line default
            #line hidden
                return;

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

            #line 41 "..\..\seite6.xaml"
                this.speichern.Click += new System.Windows.RoutedEventHandler(this.Button_Click);

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

            #line 6 "..\..\toolsWindow.xaml"
                ((BoardCast.ToolsWindow)(target)).Loaded += new System.Windows.RoutedEventHandler(this.Window_Loaded);

            #line default
            #line hidden

            #line 6 "..\..\toolsWindow.xaml"
                ((BoardCast.ToolsWindow)(target)).MouseDown += new System.Windows.Input.MouseButtonEventHandler(this.ToolsWindow_OnMouseDown);

            #line default
            #line hidden
                return;

            case 2:

            #line 251 "..\..\toolsWindow.xaml"
                ((System.Windows.Controls.Border)(target)).MouseLeftButtonDown += new System.Windows.Input.MouseButtonEventHandler(this.MouseLeftButtonDown);

            #line default
            #line hidden
                return;

            case 3:

            #line 255 "..\..\toolsWindow.xaml"
                ((System.Windows.Controls.Grid)(target)).MouseLeftButtonDown += new System.Windows.Input.MouseButtonEventHandler(this.Grid_MouseLeftButtonDown);

            #line default
            #line hidden
                return;

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

            #line 275 "..\..\toolsWindow.xaml"
                this.hideInkCheckBox.Checked += new System.Windows.RoutedEventHandler(this.clickThroughCheckBox_Checked);

            #line default
            #line hidden

            #line 275 "..\..\toolsWindow.xaml"
                this.hideInkCheckBox.Unchecked += new System.Windows.RoutedEventHandler(this.clickThroughCheckBox_Checked);

            #line default
            #line hidden
                return;

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

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

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

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

            #line 287 "..\..\toolsWindow.xaml"
                this.backPPTBtn.Click += new System.Windows.RoutedEventHandler(this.OnBackClicked);

            #line default
            #line hidden
                return;

            case 9:

            #line 288 "..\..\toolsWindow.xaml"
                ((System.Windows.Controls.Image)(target)).MouseDown += new System.Windows.Input.MouseButtonEventHandler(this.OnBackClicked);

            #line default
            #line hidden
                return;

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

            #line 291 "..\..\toolsWindow.xaml"
                this.forwardPPTBtn_Copy.Click += new System.Windows.RoutedEventHandler(this.OnNextClicked);

            #line default
            #line hidden
                return;

            case 11:

            #line 292 "..\..\toolsWindow.xaml"
                ((System.Windows.Controls.Image)(target)).MouseDown += new System.Windows.Input.MouseButtonEventHandler(this.OnNextClicked);

            #line default
            #line hidden
                return;

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

            #line 295 "..\..\toolsWindow.xaml"
                this.exitPPTBtn_Copy1.Click += new System.Windows.RoutedEventHandler(this.OnExitPowerPoint);

            #line default
            #line hidden
                return;

            case 13:

            #line 296 "..\..\toolsWindow.xaml"
                ((System.Windows.Controls.Image)(target)).MouseDown += new System.Windows.Input.MouseButtonEventHandler(this.OnExitPowerPoint);

            #line default
            #line hidden
                return;

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

            case 15:

            #line 301 "..\..\toolsWindow.xaml"
                ((System.Windows.Controls.Border)(target)).MouseDown += new System.Windows.Input.MouseButtonEventHandler(this.Border_MouseDown);

            #line default
            #line hidden
                return;

            case 16:

            #line 302 "..\..\toolsWindow.xaml"
                ((System.Windows.Controls.Border)(target)).MouseDown += new System.Windows.Input.MouseButtonEventHandler(this.Border_MouseDown);

            #line default
            #line hidden
                return;

            case 17:

            #line 303 "..\..\toolsWindow.xaml"
                ((System.Windows.Controls.Border)(target)).MouseDown += new System.Windows.Input.MouseButtonEventHandler(this.Border_MouseDown);

            #line default
            #line hidden
                return;

            case 18:

            #line 304 "..\..\toolsWindow.xaml"
                ((System.Windows.Controls.Border)(target)).MouseDown += new System.Windows.Input.MouseButtonEventHandler(this.Border_MouseDown);

            #line default
            #line hidden
                return;

            case 19:

            #line 305 "..\..\toolsWindow.xaml"
                ((System.Windows.Controls.Border)(target)).MouseDown += new System.Windows.Input.MouseButtonEventHandler(this.Border_MouseDown);

            #line default
            #line hidden
                return;

            case 20:

            #line 306 "..\..\toolsWindow.xaml"
                ((System.Windows.Controls.Border)(target)).MouseDown += new System.Windows.Input.MouseButtonEventHandler(this.Border_MouseDown);

            #line default
            #line hidden
                return;

            case 21:

            #line 307 "..\..\toolsWindow.xaml"
                ((System.Windows.Controls.Border)(target)).MouseDown += new System.Windows.Input.MouseButtonEventHandler(this.Border_MouseDown);

            #line default
            #line hidden
                return;

            case 22:

            #line 308 "..\..\toolsWindow.xaml"
                ((System.Windows.Controls.Border)(target)).MouseDown += new System.Windows.Input.MouseButtonEventHandler(this.Border_MouseDown);

            #line default
            #line hidden
                return;

            case 23:

            #line 309 "..\..\toolsWindow.xaml"
                ((System.Windows.Controls.Border)(target)).MouseDown += new System.Windows.Input.MouseButtonEventHandler(this.Border_MouseDown);

            #line default
            #line hidden
                return;

            case 24:

            #line 310 "..\..\toolsWindow.xaml"
                ((System.Windows.Controls.Border)(target)).MouseDown += new System.Windows.Input.MouseButtonEventHandler(this.Border_MouseDown);

            #line default
            #line hidden
                return;

            case 25:

            #line 311 "..\..\toolsWindow.xaml"
                ((System.Windows.Controls.Border)(target)).MouseDown += new System.Windows.Input.MouseButtonEventHandler(this.Border_MouseDown);

            #line default
            #line hidden
                return;

            case 26:

            #line 312 "..\..\toolsWindow.xaml"
                ((System.Windows.Controls.Border)(target)).MouseDown += new System.Windows.Input.MouseButtonEventHandler(this.Border_MouseDown);

            #line default
            #line hidden
                return;

            case 27:

            #line 313 "..\..\toolsWindow.xaml"
                ((System.Windows.Controls.Border)(target)).MouseDown += new System.Windows.Input.MouseButtonEventHandler(this.Border_MouseDown);

            #line default
            #line hidden
                return;

            case 28:

            #line 314 "..\..\toolsWindow.xaml"
                ((System.Windows.Controls.Border)(target)).MouseDown += new System.Windows.Input.MouseButtonEventHandler(this.Border_MouseDown);

            #line default
            #line hidden
                return;

            case 29:

            #line 315 "..\..\toolsWindow.xaml"
                ((System.Windows.Controls.Border)(target)).MouseDown += new System.Windows.Input.MouseButtonEventHandler(this.Border_MouseDown);

            #line default
            #line hidden
                return;

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

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

            #line 319 "..\..\toolsWindow.xaml"
                this.smallestSize.Click += new System.Windows.RoutedEventHandler(this.penSizeButton_MouseDown);

            #line default
            #line hidden
                return;

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

            #line 322 "..\..\toolsWindow.xaml"
                this.smallSize.Click += new System.Windows.RoutedEventHandler(this.penSizeButton_MouseDown);

            #line default
            #line hidden
                return;

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

            #line 326 "..\..\toolsWindow.xaml"
                this.mediumSize.Click += new System.Windows.RoutedEventHandler(this.penSizeButton_MouseDown);

            #line default
            #line hidden
                return;

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

            #line 330 "..\..\toolsWindow.xaml"
                this.largeSize.Click += new System.Windows.RoutedEventHandler(this.penSizeButton_MouseDown);

            #line default
            #line hidden
                return;

            case 35:
                this.LastShotsScrollViewer = ((System.Windows.Controls.ScrollViewer)(target));
                return;

            case 36:
                this.itemsControl = ((System.Windows.Controls.ItemsControl)(target));
                return;

            case 37:
                this.WinApplicationsLeft = ((System.Windows.Controls.ListBox)(target));
                return;

            case 38:
                this.BrowserOpen = ((System.Windows.Controls.ListBoxItem)(target));

            #line 346 "..\..\toolsWindow.xaml"
                this.BrowserOpen.MouseDoubleClick += new System.Windows.Input.MouseButtonEventHandler(this.OpenBrowser);

            #line default
            #line hidden
                return;

            case 39:
                this.FileOpen = ((System.Windows.Controls.ListBoxItem)(target));

            #line 352 "..\..\toolsWindow.xaml"
                this.FileOpen.MouseDoubleClick += new System.Windows.Input.MouseButtonEventHandler(this.OnOpenFileClicked);

            #line default
            #line hidden
                return;

            case 40:
                this.OpenImge = ((System.Windows.Controls.ListBoxItem)(target));

            #line 358 "..\..\toolsWindow.xaml"
                this.OpenImge.MouseDoubleClick += new System.Windows.Input.MouseButtonEventHandler(this.OnOpenImageClicked);

            #line default
            #line hidden
                return;

            case 41:
                this.PowerPointOpen = ((System.Windows.Controls.ListBoxItem)(target));

            #line 364 "..\..\toolsWindow.xaml"
                this.PowerPointOpen.MouseDoubleClick += new System.Windows.Input.MouseButtonEventHandler(this.OpenPPT);

            #line default
            #line hidden
                return;

            case 42:
                this.WinApplicationsRight = ((System.Windows.Controls.ListBox)(target));
                return;

            case 43:
                this.BrowserOpen1 = ((System.Windows.Controls.ListBoxItem)(target));

            #line 372 "..\..\toolsWindow.xaml"
                this.BrowserOpen1.MouseDoubleClick += new System.Windows.Input.MouseButtonEventHandler(this.OpenBrowser);

            #line default
            #line hidden
                return;

            case 44:
                this.FileOpen1 = ((System.Windows.Controls.ListBoxItem)(target));

            #line 378 "..\..\toolsWindow.xaml"
                this.FileOpen1.MouseDoubleClick += new System.Windows.Input.MouseButtonEventHandler(this.OnOpenFileClicked);

            #line default
            #line hidden
                return;

            case 45:
                this.OpenImge1 = ((System.Windows.Controls.ListBoxItem)(target));

            #line 384 "..\..\toolsWindow.xaml"
                this.OpenImge1.MouseDoubleClick += new System.Windows.Input.MouseButtonEventHandler(this.OnOpenImageClicked);

            #line default
            #line hidden
                return;

            case 46:
                this.PowerPointOpen1 = ((System.Windows.Controls.ListBoxItem)(target));

            #line 390 "..\..\toolsWindow.xaml"
                this.PowerPointOpen1.MouseDoubleClick += new System.Windows.Input.MouseButtonEventHandler(this.OpenPPT);

            #line default
            #line hidden
                return;

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

            case 48:
                this.Circle = ((System.Windows.Controls.Button)(target));

            #line 398 "..\..\toolsWindow.xaml"
                this.Circle.Click += new System.Windows.RoutedEventHandler(this.onShapeSelected);

            #line default
            #line hidden
                return;

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

            #line 401 "..\..\toolsWindow.xaml"
                this.smallSize1.Click += new System.Windows.RoutedEventHandler(this.penSizeButton_MouseDown);

            #line default
            #line hidden
                return;

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

            #line 404 "..\..\toolsWindow.xaml"
                this.mediumSize1.Click += new System.Windows.RoutedEventHandler(this.penSizeButton_MouseDown);

            #line default
            #line hidden
                return;

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

            #line 407 "..\..\toolsWindow.xaml"
                this.largeSize1.Click += new System.Windows.RoutedEventHandler(this.penSizeButton_MouseDown);

            #line default
            #line hidden
                return;

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

            case 53:
                this.openFiles = ((System.Windows.Controls.Button)(target));

            #line 415 "..\..\toolsWindow.xaml"
                this.openFiles.Click += new System.Windows.RoutedEventHandler(this.openFilesLeft_Click);

            #line default
            #line hidden
                return;

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

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

            #line 422 "..\..\toolsWindow.xaml"
                this.cursorButton.Click += new System.Windows.RoutedEventHandler(this.cursorButton_Click);

            #line default
            #line hidden
                return;

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

            #line 425 "..\..\toolsWindow.xaml"
                this.penButton.Click += new System.Windows.RoutedEventHandler(this.penButton_Click);

            #line default
            #line hidden
                return;

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

            #line 429 "..\..\toolsWindow.xaml"
                this.highlighterButton.Click += new System.Windows.RoutedEventHandler(this.highlighterButton_Click);

            #line default
            #line hidden
                return;

            case 58:
                this.eraserButton = ((System.Windows.Controls.Button)(target));

            #line 433 "..\..\toolsWindow.xaml"
                this.eraserButton.Click += new System.Windows.RoutedEventHandler(this.eraserButton_Click);

            #line default
            #line hidden
                return;

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

            #line 437 "..\..\toolsWindow.xaml"
                this.brushSize.Click += new System.Windows.RoutedEventHandler(this.BrushSize_OnClick);

            #line default
            #line hidden
                return;

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

            #line 442 "..\..\toolsWindow.xaml"
                this.penColor.Click += new System.Windows.RoutedEventHandler(this.onColorClick);

            #line default
            #line hidden
                return;

            case 61:
                this.SelectedColorRect = ((System.Windows.Shapes.Rectangle)(target));
                return;

            case 62:
                this.createBlankBackground = ((System.Windows.Controls.Button)(target));

            #line 446 "..\..\toolsWindow.xaml"
                this.createBlankBackground.Click += new System.Windows.RoutedEventHandler(this.onCreateBlankCanvasClicked);

            #line default
            #line hidden
                return;

            case 63:
                this.drawShape = ((System.Windows.Controls.Button)(target));

            #line 450 "..\..\toolsWindow.xaml"
                this.drawShape.Click += new System.Windows.RoutedEventHandler(this.onShapeDraw);

            #line default
            #line hidden
                return;

            case 64:
                this.CaptureButton = ((System.Windows.Controls.Button)(target));

            #line 453 "..\..\toolsWindow.xaml"
                this.CaptureButton.Click += new System.Windows.RoutedEventHandler(this.onCaptureClick);

            #line default
            #line hidden
                return;

            case 65:
                this.LoadLastShotsButton = ((System.Windows.Controls.Button)(target));

            #line 457 "..\..\toolsWindow.xaml"
                this.LoadLastShotsButton.Click += new System.Windows.RoutedEventHandler(this.OnLoadLastShotsClicked);

            #line default
            #line hidden
                return;

            case 66:
                this.eraseAllButton = ((System.Windows.Controls.Button)(target));

            #line 480 "..\..\toolsWindow.xaml"
                this.eraseAllButton.Click += new System.Windows.RoutedEventHandler(this.eraseAllButton_Click);

            #line default
            #line hidden
                return;

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

            case 68:
                this.openFiles1 = ((System.Windows.Controls.Button)(target));

            #line 486 "..\..\toolsWindow.xaml"
                this.openFiles1.Click += new System.Windows.RoutedEventHandler(this.openFilesRight_Click);

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

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

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

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

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

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

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

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

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

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

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

            case 12:

            #line 85 "..\..\DodajSpomenik.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Ucitaj_Click);

            #line default
            #line hidden
                return;

            case 13:
                this.etiketeList = ((System.Windows.Controls.ListBox)(target));
                return;

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

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

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

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

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

            #line 120 "..\..\DodajSpomenik.xaml"
                this.Dodaj.Click += new System.Windows.RoutedEventHandler(this.Dodaj_Click);

            #line default
            #line hidden
                return;

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

            #line 121 "..\..\DodajSpomenik.xaml"
                this.Odustani.Click += new System.Windows.RoutedEventHandler(this.Odustani_Click);

            #line default
            #line hidden
                return;

            case 20:
                this.Sp = ((System.Windows.Controls.Frame)(target));
                return;
            }
            this._contentLoaded = true;
        }
Esempio n. 42
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.SotrudnikiWindow = ((INGWPF.Sotrudniki)(target));

            #line 9 "..\..\Sotrudniki.xaml"
                this.SotrudnikiWindow.Loaded += new System.Windows.RoutedEventHandler(this.Sotrudniki_Loaded);

            #line default
            #line hidden
                return;

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

            case 3:
                this.dgSotrudnik = ((System.Windows.Controls.DataGrid)(target));

            #line 31 "..\..\Sotrudniki.xaml"
                this.dgSotrudnik.AutoGeneratingColumn += new System.EventHandler <System.Windows.Controls.DataGridAutoGeneratingColumnEventArgs>(this.DgSotrudnik_AutoGeneratingColumn);

            #line default
            #line hidden

            #line 31 "..\..\Sotrudniki.xaml"
                this.dgSotrudnik.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.DgSotrudnik_SelectionChanged);

            #line default
            #line hidden
                return;

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

            case 23:
                this.cbDolgnost = ((System.Windows.Controls.ComboBox)(target));
                return;

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

            #line 130 "..\..\Sotrudniki.xaml"
                this.btSotrudnikInsertType.Click += new System.Windows.RoutedEventHandler(this.BtSotrudnikInsertType_Click);

            #line default
            #line hidden
                return;

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

            #line 131 "..\..\Sotrudniki.xaml"
                this.btSotrudnikUpdateType.Click += new System.Windows.RoutedEventHandler(this.BtSotrudnikUpdateType_Click);

            #line default
            #line hidden
                return;

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

            #line 132 "..\..\Sotrudniki.xaml"
                this.btSotrudnikDeleteType.Click += new System.Windows.RoutedEventHandler(this.BtSotrudnikDeleteType_Click);

            #line default
            #line hidden
                return;

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

            #line 135 "..\..\Sotrudniki.xaml"
                this.btClose.Click += new System.Windows.RoutedEventHandler(this.BtClose_Click);

            #line default
            #line hidden
                return;

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

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

            #line 139 "..\..\Sotrudniki.xaml"
                this.btSearch.Click += new System.Windows.RoutedEventHandler(this.BtSearch_Click);

            #line default
            #line hidden
                return;

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

            #line 140 "..\..\Sotrudniki.xaml"
                this.chbFilter.Click += new System.Windows.RoutedEventHandler(this.ChbFilter_Click);

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

            #line 12 "..\..\..\Services provided to the client.xaml"
                ((DB_Hotel_prototip_.Services_provided_to_the_client)(target)).KeyDown += new System.Windows.Input.KeyEventHandler(this.Window_KeyDown);

            #line default
            #line hidden
                return;

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

            case 3:

            #line 23 "..\..\..\Services provided to the client.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Button_Click_5);

            #line default
            #line hidden
                return;

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

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

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

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

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

            case 9:

            #line 33 "..\..\..\Services provided to the client.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Button_Click_1);

            #line default
            #line hidden
                return;

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

            #line 34 "..\..\..\Services provided to the client.xaml"
                this.return_1.MouseLeftButtonUp += new System.Windows.Input.MouseButtonEventHandler(this.return_1_MouseLeftButtonUp);

            #line default
            #line hidden
                return;

            case 11:
                this.Data_output = ((System.Windows.Controls.TabItem)(target));
                return;

            case 12:

            #line 42 "..\..\..\Services provided to the client.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Button_Click_6);

            #line default
            #line hidden
                return;

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

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

            case 15:

            #line 49 "..\..\..\Services provided to the client.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Button_Click_4);

            #line default
            #line hidden
                return;

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

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

            #line 51 "..\..\..\Services provided to the client.xaml"
                this.Delet_Button.Click += new System.Windows.RoutedEventHandler(this.Button_Click_8);

            #line default
            #line hidden
                return;

            case 18:
                this.table = ((System.Windows.Controls.DataGrid)(target));
                return;

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

            case 20:
                this.Check_Cli = ((System.Windows.Controls.CheckBox)(target));
                return;

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

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

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

            #line 58 "..\..\..\Services provided to the client.xaml"
                this.button.Click += new System.Windows.RoutedEventHandler(this.button_Click_10);

            #line default
            #line hidden
                return;

            case 24:

            #line 59 "..\..\..\Services provided to the client.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Button_Click_9);

            #line default
            #line hidden
                return;

            case 25:

            #line 60 "..\..\..\Services provided to the client.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Button_Click);

            #line default
            #line hidden
                return;

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

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

            case 28:
                this.return_2 = ((System.Windows.Controls.Image)(target));

            #line 66 "..\..\..\Services provided to the client.xaml"
                this.return_2.MouseLeftButtonUp += new System.Windows.Input.MouseButtonEventHandler(this.return_2_MouseLeftButtonUp);

            #line default
            #line hidden
                return;

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

            case 30:
                this.Data_editing = ((System.Windows.Controls.TabItem)(target));
                return;

            case 31:
                this.Change = ((System.Windows.Controls.Grid)(target));
                return;

            case 32:

            #line 74 "..\..\..\Services provided to the client.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Button_Click_7);

            #line default
            #line hidden
                return;

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

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

            case 35:
                this.login_object_сhange = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 36:
                this.login_role_change = ((System.Windows.Controls.TextBlock)(target));
                return;

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

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

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

            case 40:

            #line 86 "..\..\..\Services provided to the client.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Button_Click_3);

            #line default
            #line hidden
                return;

            case 41:

            #line 87 "..\..\..\Services provided to the client.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Button_Click_2);

            #line default
            #line hidden
                return;

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

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

            case 44:
                this.return_3 = ((System.Windows.Controls.Image)(target));

            #line 92 "..\..\..\Services provided to the client.xaml"
                this.return_3.MouseLeftButtonUp += new System.Windows.Input.MouseButtonEventHandler(this.return_3_MouseLeftButtonUp);

            #line default
            #line hidden
                return;

            case 45:
                this.Grid_Change = ((System.Windows.Controls.Grid)(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 "..\..\..\Pages\Admin.xaml"
                ((Parking.Pages.Admin)(target)).Loaded += new System.Windows.RoutedEventHandler(this.Page_Loaded);

            #line default
            #line hidden
                return;

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

            case 3:
                this.CalendarControl = ((System.Windows.Controls.Calendar)(target));

            #line 88 "..\..\..\Pages\Admin.xaml"
                this.CalendarControl.SelectedDatesChanged += new System.EventHandler <System.Windows.Controls.SelectionChangedEventArgs>(this.CalendarControl_SelectedDatesChanged);

            #line default
            #line hidden
                return;

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

            #line 116 "..\..\..\Pages\Admin.xaml"
                this.btnAddReservationGuest.Click += new System.Windows.RoutedEventHandler(this.btnAddReservationGuest_Click);

            #line default
            #line hidden
                return;

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

            #line 125 "..\..\..\Pages\Admin.xaml"
                this.btnRemoveGuest.Click += new System.Windows.RoutedEventHandler(this.btnRemoveGuest_Click);

            #line default
            #line hidden
                return;

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

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

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

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

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

            case 11:
                this.freeGuestSpacesNumber = ((System.Windows.Controls.ListBox)(target));

            #line 193 "..\..\..\Pages\Admin.xaml"
                this.freeGuestSpacesNumber.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.freeGuestSpacesNumber_SelectionChanged);

            #line default
            #line hidden
                return;

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

            #line 230 "..\..\..\Pages\Admin.xaml"
                this.tbxGuestName.SelectionChanged += new System.Windows.RoutedEventHandler(this.TbxGuestName_SelectionChanged);

            #line default
            #line hidden
                return;

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

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

            case 15:
                this.tabManage = ((System.Windows.Controls.TabItem)(target));
                return;

            case 16:
                this.tabReports = ((System.Windows.Controls.TabItem)(target));
                return;

            case 17:
                this.tabGuestManage = ((System.Windows.Controls.TabItem)(target));
                return;
            }
            this._contentLoaded = true;
        }
Esempio n. 45
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.window = ((Plugin_Manager.MainWindow)(target));
                return;

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

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

            #line default
            #line hidden
                return;

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

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

            #line default
            #line hidden
                return;

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

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

            #line default
            #line hidden
                return;

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

            #line 30 "..\..\MainWindow.xaml"
                this.commandButtonOpenMenu.Click += new System.Windows.RoutedEventHandler(this.CommandButton_Click);

            #line default
            #line hidden
                return;

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

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

            #line default
            #line hidden
                return;

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

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

            #line default
            #line hidden
                return;

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

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

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

            case 11:
                this.scrollViewer = ((System.Windows.Controls.ScrollViewer)(target));
                return;

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

            case 13:
                this.listbox = ((System.Windows.Controls.ListBox)(target));

            #line 45 "..\..\MainWindow.xaml"
                this.listbox.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.listArray_SelectionChanged);

            #line default
            #line hidden

            #line 45 "..\..\MainWindow.xaml"
                this.listbox.MouseDoubleClick += new System.Windows.Input.MouseButtonEventHandler(this.item_MouseDoubleClick);

            #line default
            #line hidden
                return;

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

            #line 46 "..\..\MainWindow.xaml"
                this.Search.TextChanged += new System.Windows.Controls.TextChangedEventHandler(this.Search_TextChanged);

            #line default
            #line hidden
                return;

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

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

            #line default
            #line hidden
                return;

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

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

            #line default
            #line hidden
                return;

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

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

            #line default
            #line hidden
                return;

            case 18:
                this.treeview = ((System.Windows.Controls.TreeView)(target));

            #line 51 "..\..\MainWindow.xaml"
                this.treeview.DragOver += new System.Windows.DragEventHandler(this.treeViewl_DragOver);

            #line default
            #line hidden

            #line 51 "..\..\MainWindow.xaml"
                this.treeview.Drop += new System.Windows.DragEventHandler(this.treeViewl_Drop);

            #line default
            #line hidden

            #line 51 "..\..\MainWindow.xaml"
                this.treeview.MouseMove += new System.Windows.Input.MouseEventHandler(this.treeViewl_MouseMove);

            #line default
            #line hidden
                return;

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

            #line 53 "..\..\MainWindow.xaml"
                this.commandButtonCreateFolder.Click += new System.Windows.RoutedEventHandler(this.CommandButton_Click);

            #line default
            #line hidden
                return;

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

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

            #line default
            #line hidden
                return;

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

            #line 59 "..\..\MainWindow.xaml"
                this.commandButtonNewMenu.Click += new System.Windows.RoutedEventHandler(this.CommandButton_Click);

            #line default
            #line hidden
                return;

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

            #line 63 "..\..\MainWindow.xaml"
                this.commandButtonMenuSettings.Click += new System.Windows.RoutedEventHandler(this.CommandButton_Click);

            #line default
            #line hidden
                return;

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

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

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

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

            #line default
            #line hidden
                return;

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

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

            #line default
            #line hidden
                return;

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

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

            #line default
            #line hidden
                return;

            case 28:
                this.TypePluginLabel = ((System.Windows.Controls.Label)(target));
                return;
            }
            this._contentLoaded = true;
        }
Esempio n. 46
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.fromGroupBox = ((System.Windows.Controls.GroupBox)(target));
                return;

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

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

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

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

            case 6:
                this.passwordBox = ((System.Windows.Controls.PasswordBox)(target));
                return;

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

            #line default
            #line hidden
                return;

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

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

            case 26:
                this.button3 = ((System.Windows.Controls.Button)(target));
                return;
            }
            this._contentLoaded = true;
        }
Esempio n. 47
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.MainWindow = ((KyoeiSystem.Application.Windows.Views.NNG08010)(target));

            #line 10 "..\..\..\..\Views\NNG\NNG08010.xaml"
                this.MainWindow.Loaded += new System.Windows.RoutedEventHandler(this.MainWindow_Loaded);

            #line default
            #line hidden

            #line 10 "..\..\..\..\Views\NNG\NNG08010.xaml"
                this.MainWindow.Closed += new System.EventHandler(this.MainWindow_Closed);

            #line default
            #line hidden
                return;

            case 2:

            #line 44 "..\..\..\..\Views\NNG\NNG08010.xaml"
                ((System.Windows.Controls.Ribbon.RibbonButton)(target)).Click += new System.Windows.RoutedEventHandler(this.RibbonButton_Click);

            #line default
            #line hidden
                return;

            case 3:

            #line 47 "..\..\..\..\Views\NNG\NNG08010.xaml"
                ((System.Windows.Controls.Ribbon.RibbonButton)(target)).Click += new System.Windows.RoutedEventHandler(this.RibbonButton_Click);

            #line default
            #line hidden
                return;

            case 4:

            #line 57 "..\..\..\..\Views\NNG\NNG08010.xaml"
                ((System.Windows.Controls.Ribbon.RibbonButton)(target)).Click += new System.Windows.RoutedEventHandler(this.RibbonButton_Click);

            #line default
            #line hidden
                return;

            case 5:

            #line 66 "..\..\..\..\Views\NNG\NNG08010.xaml"
                ((System.Windows.Controls.Ribbon.RibbonButton)(target)).Click += new System.Windows.RoutedEventHandler(this.RibbonButton_Click);

            #line default
            #line hidden
                return;

            case 6:

            #line 70 "..\..\..\..\Views\NNG\NNG08010.xaml"
                ((System.Windows.Controls.Ribbon.RibbonButton)(target)).Click += new System.Windows.RoutedEventHandler(this.RibbonButton_Click);

            #line default
            #line hidden
                return;

            case 7:

            #line 74 "..\..\..\..\Views\NNG\NNG08010.xaml"
                ((System.Windows.Controls.Ribbon.RibbonButton)(target)).Click += new System.Windows.RoutedEventHandler(this.RibbonButton_Click);

            #line default
            #line hidden
                return;

            case 8:

            #line 78 "..\..\..\..\Views\NNG\NNG08010.xaml"
                ((System.Windows.Controls.Ribbon.RibbonButton)(target)).Click += new System.Windows.RoutedEventHandler(this.RibbonButton_Click);

            #line default
            #line hidden
                return;

            case 9:

            #line 82 "..\..\..\..\Views\NNG\NNG08010.xaml"
                ((System.Windows.Controls.Ribbon.RibbonButton)(target)).Click += new System.Windows.RoutedEventHandler(this.RibbonButton_Click);

            #line default
            #line hidden
                return;

            case 10:

            #line 89 "..\..\..\..\Views\NNG\NNG08010.xaml"
                ((System.Windows.Controls.Ribbon.RibbonButton)(target)).Click += new System.Windows.RoutedEventHandler(this.RibbonButton_Click);

            #line default
            #line hidden
                return;

            case 11:

            #line 91 "..\..\..\..\Views\NNG\NNG08010.xaml"
                ((System.Windows.Controls.Ribbon.RibbonButton)(target)).Click += new System.Windows.RoutedEventHandler(this.RibbonButton_Click);

            #line default
            #line hidden
                return;

            case 12:

            #line 93 "..\..\..\..\Views\NNG\NNG08010.xaml"
                ((System.Windows.Controls.Ribbon.RibbonButton)(target)).Click += new System.Windows.RoutedEventHandler(this.RibbonButton_Click);

            #line default
            #line hidden
                return;

            case 13:

            #line 95 "..\..\..\..\Views\NNG\NNG08010.xaml"
                ((System.Windows.Controls.Ribbon.RibbonButton)(target)).Click += new System.Windows.RoutedEventHandler(this.RibbonButton_Click);

            #line default
            #line hidden
                return;

            case 14:
                this.SakuseiNen = ((KyoeiSystem.Framework.Windows.Controls.UcLabelTextBox)(target));

            #line 165 "..\..\..\..\Views\NNG\NNG08010.xaml"
                this.SakuseiNen.LostFocus += new System.Windows.RoutedEventHandler(this.SakuseiNengetsu);

            #line default
            #line hidden
                return;

            case 15:
                this.表示区分_Combo1 = ((KyoeiSystem.Framework.Windows.Controls.UcLabelComboBox)(target));
                return;

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

            case 17:
                this.表示順序_Combo = ((KyoeiSystem.Framework.Windows.Controls.UcLabelComboBox)(target));

            #line 194 "..\..\..\..\Views\NNG\NNG08010.xaml"
                this.表示順序_Combo.PreviewKeyDown += new System.Windows.Input.KeyEventHandler(this.UcLabelTextBox_PreviewKeyDown);

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

            #line 5 "..\..\addFault.xaml"
                ((PLfrom.Fault)(target)).Loaded += new System.Windows.RoutedEventHandler(this.Window_Loaded_1);

            #line default
            #line hidden
                return;

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

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

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

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

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

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

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

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

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

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

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

            case 13:
                this.dateOfFaultDatePicker = ((System.Windows.Controls.DatePicker)(target));
                return;

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

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

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

            case 17:
                this.addTypeFault = ((System.Windows.Controls.Button)(target));
                return;
            }
            this._contentLoaded = true;
        }
Esempio n. 49
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.b1 = ((System.Windows.Controls.Button)(target));

            #line 56 "..\..\Window1.xaml"
                this.b1.Click += new System.Windows.RoutedEventHandler(this.Button_Click_All);

            #line default
            #line hidden
                return;

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

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

            #line 66 "..\..\Window1.xaml"
                this.ListView_GR.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.ListView_GR_SelectionChanged);

            #line default
            #line hidden
                return;

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

            #line 120 "..\..\Window1.xaml"
                this.b2_Copy.Click += new System.Windows.RoutedEventHandler(this.Choise_Click);

            #line default
            #line hidden
                return;

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

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

            #line 130 "..\..\Window1.xaml"
                this.b3_Copy.Click += new System.Windows.RoutedEventHandler(this.Choise_Click);

            #line default
            #line hidden
                return;

            case 7:
                this.poolcb = ((System.Windows.Controls.CheckBox)(target));
                return;

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

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

            case 10:
                this.AttractionCB = ((System.Windows.Controls.CheckBox)(target));
                return;

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

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

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

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

            #line 142 "..\..\Window1.xaml"
                this.AreaCB.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.AreaCB_SelectionChanged);

            #line default
            #line hidden
                return;

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

            #line 143 "..\..\Window1.xaml"
                this.SubAreaCB.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.SubAreaCB_SelectionChanged);

            #line default
            #line hidden
                return;

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

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

            #line 151 "..\..\Window1.xaml"
                this.NameHu.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.NameHuCB_SelectionChanged);

            #line default
            #line hidden
                return;

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

            #line 256 "..\..\Window1.xaml"
                this.Add_btn.Click += new System.Windows.RoutedEventHandler(this.Add_btn_Click);

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

            #line 60 "..\..\MapEditor.xaml"
                this.btnApply.Click += new System.Windows.RoutedEventHandler(this.btnApply_Click);

            #line default
            #line hidden
                return;

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

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

            #line default
            #line hidden
                return;

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

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

            #line 63 "..\..\MapEditor.xaml"
                this.btnSaveAndExit.Click += new System.Windows.RoutedEventHandler(this.btnSaveAndExit_Click);

            #line default
            #line hidden
                return;

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

            #line 64 "..\..\MapEditor.xaml"
                this.btnExit.Click += new System.Windows.RoutedEventHandler(this.btnExit_Click);

            #line default
            #line hidden
                return;

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

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

            #line 68 "..\..\MapEditor.xaml"
                this.cmbOwner.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.cmbOwner_SelectionChanged_1);

            #line default
            #line hidden
                return;

            case 23:
                this.checkArmy = ((System.Windows.Controls.CheckBox)(target));
                return;
            }
            this._contentLoaded = true;
        }
Esempio n. 51
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.GridBackgroundPage = ((System.Windows.Controls.Grid)(target));
                return;

            case 2:
                this.wrapPanelButtons = ((System.Windows.Controls.WrapPanel)(target));
                return;

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

            #line 34 "..\..\UcUnitSelection.xaml"
                this.btnAllRowsWhite.Click += new System.Windows.RoutedEventHandler(this.btnAllRowsWhite_Click);

            #line default
            #line hidden
                return;

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

            #line 35 "..\..\UcUnitSelection.xaml"
                this.btnAllRowsRed.Click += new System.Windows.RoutedEventHandler(this.btnAllRowsRed_Click);

            #line default
            #line hidden
                return;

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

            #line 36 "..\..\UcUnitSelection.xaml"
                this.btnMustBeTake.Click += new System.Windows.RoutedEventHandler(this.btnMustBeTake_Click);

            #line default
            #line hidden
                return;

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

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

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

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

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

            #line 61 "..\..\UcUnitSelection.xaml"
                this.btnRunAlgorithm.Click += new System.Windows.RoutedEventHandler(this.btnRunAlgorithm_Click);

            #line default
            #line hidden
                return;

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

            #line 62 "..\..\UcUnitSelection.xaml"
                this.btnShowLastAlgorithmOutputs.Click += new System.Windows.RoutedEventHandler(this.btnShowLastAlgorithmOutputs_Click);

            #line default
            #line hidden
                return;

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

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

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

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

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

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

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

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

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

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

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

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

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

            #line 100 "..\..\UcUnitSelection.xaml"
                this.btnTimeFilter.Click += new System.Windows.RoutedEventHandler(this.btnTimeFilter_Click);

            #line default
            #line hidden
                return;

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

            #line 113 "..\..\UcUnitSelection.xaml"
                this.btnSave.Click += new System.Windows.RoutedEventHandler(this.btnSave_Click);

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

            #line 13 "..\..\UC0102-SS02.xaml"
                this.hometxt.MouseLeftButtonDown += new System.Windows.Input.MouseButtonEventHandler(this.gotoHome);

            #line default
            #line hidden
                return;

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

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

            #line 15 "..\..\UC0102-SS02.xaml"
                this.seatxt.MouseLeftButtonDown += new System.Windows.Input.MouseButtonEventHandler(this.gotoSea);

            #line default
            #line hidden
                return;

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

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

            #line 18 "..\..\UC0102-SS02.xaml"
                this.homeim.MouseLeftButtonDown += new System.Windows.Input.MouseButtonEventHandler(this.gotoHome);

            #line default
            #line hidden
                return;

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

            case 7:
                this.logoutim = ((System.Windows.Controls.Image)(target));
                return;

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

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

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

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

            #line 33 "..\..\UC0102-SS02.xaml"
                this.search.Click += new System.Windows.RoutedEventHandler(this.Search_click);

            #line default
            #line hidden
                return;

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

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

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

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

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

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

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

            #line 40 "..\..\UC0102-SS02.xaml"
                this.latit.MouseEnter += new System.Windows.Input.MouseEventHandler(this.Lati_enter);

            #line default
            #line hidden

            #line 40 "..\..\UC0102-SS02.xaml"
                this.latit.MouseLeave += new System.Windows.Input.MouseEventHandler(this.Lati_leave);

            #line default
            #line hidden

            #line 40 "..\..\UC0102-SS02.xaml"
                this.latit.PreviewMouseLeftButtonDown += new System.Windows.Input.MouseButtonEventHandler(this.Lati_down);

            #line default
            #line hidden

            #line 40 "..\..\UC0102-SS02.xaml"
                this.latit.PreviewTextInput += new System.Windows.Input.TextCompositionEventHandler(this.Lati_down);

            #line default
            #line hidden
                return;

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

            #line 41 "..\..\UC0102-SS02.xaml"
                this.longtit.MouseEnter += new System.Windows.Input.MouseEventHandler(this.Long_enter);

            #line default
            #line hidden

            #line 41 "..\..\UC0102-SS02.xaml"
                this.longtit.MouseLeave += new System.Windows.Input.MouseEventHandler(this.Long_leave);

            #line default
            #line hidden

            #line 41 "..\..\UC0102-SS02.xaml"
                this.longtit.PreviewMouseLeftButtonDown += new System.Windows.Input.MouseButtonEventHandler(this.Long_down);

            #line default
            #line hidden

            #line 41 "..\..\UC0102-SS02.xaml"
                this.longtit.PreviewTextInput += new System.Windows.Input.TextCompositionEventHandler(this.Long_down);

            #line default
            #line hidden
                return;

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

            case 21:
                this.@long = ((System.Windows.Controls.ComboBox)(target));
                return;

            case 22:
                this.UC0102_2 = ((System.Windows.Controls.Frame)(target));
                return;
            }
            this._contentLoaded = true;
        }
Esempio n. 53
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.groupBoxGrund = ((System.Windows.Controls.GroupBox)(target));
                return;

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

            case 22:
                this.textBlock_Copy7 = ((System.Windows.Controls.TextBlock)(target));
                return;

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

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

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

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

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

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

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

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

            case 31:
                this.textBlock_Copy12 = ((System.Windows.Controls.TextBlock)(target));
                return;

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

            #line 43 "..\..\GrundWindow.xaml"
                this.btnTilbage.Click += new System.Windows.RoutedEventHandler(this.btnTilbage_Click);

            #line default
            #line hidden
                return;

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

            #line 44 "..\..\GrundWindow.xaml"
                this.btnFrem.Click += new System.Windows.RoutedEventHandler(this.btnFrem_Click);

            #line default
            #line hidden
                return;

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

            #line 47 "..\..\GrundWindow.xaml"
                this.chkRediger.Checked += new System.Windows.RoutedEventHandler(this.chkRediger_Checked);

            #line default
            #line hidden
                return;

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

            #line 48 "..\..\GrundWindow.xaml"
                this.chkOpret.Checked += new System.Windows.RoutedEventHandler(this.chkOpret_Checked);

            #line default
            #line hidden
                return;

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

            #line 49 "..\..\GrundWindow.xaml"
                this.btnSubmit.Click += new System.Windows.RoutedEventHandler(this.btnSubmit_Click);

            #line default
            #line hidden
                return;

            case 37:
                this.dataGrid = ((System.Windows.Controls.DataGrid)(target));

            #line 50 "..\..\GrundWindow.xaml"
                this.dataGrid.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.dataGrid_SelectionChanged);

            #line default
            #line hidden
                return;

            case 38:
                this.chkSletGrund = ((System.Windows.Controls.CheckBox)(target));
                return;
            }
            this._contentLoaded = true;
        }
 void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
     switch (connectionId)
     {
     case 1:
     this.window_main = ((ChipseaUartHelper.MainWindow)(target));
     
     #line 9 "..\..\MainWindow.xaml"
     this.window_main.Loaded += new System.Windows.RoutedEventHandler(this.Window_Loaded);
     
     #line default
     #line hidden
     
     #line 9 "..\..\MainWindow.xaml"
     this.window_main.Closing += new System.ComponentModel.CancelEventHandler(this.window_main_Closing);
     
     #line default
     #line hidden
     return;
     case 2:
     this.box_portName = ((System.Windows.Controls.ComboBox)(target));
     
     #line 44 "..\..\MainWindow.xaml"
     this.box_portName.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.box_portName_SelectionChanged);
     
     #line default
     #line hidden
     return;
     case 3:
     this.box_baudRate = ((System.Windows.Controls.ComboBox)(target));
     return;
     case 4:
     this.box_dataBits = ((System.Windows.Controls.ComboBox)(target));
     return;
     case 5:
     this.box_parityBits = ((System.Windows.Controls.ComboBox)(target));
     return;
     case 6:
     this.box_stopBits = ((System.Windows.Controls.ComboBox)(target));
     return;
     case 7:
     this.label_Copy = ((System.Windows.Controls.Label)(target));
     return;
     case 8:
     this.label_Copy1 = ((System.Windows.Controls.Label)(target));
     return;
     case 9:
     this.label_Copy3 = ((System.Windows.Controls.Label)(target));
     return;
     case 10:
     this.label_Copy4 = ((System.Windows.Controls.Label)(target));
     return;
     case 11:
     this.label_Copy2 = ((System.Windows.Controls.Label)(target));
     return;
     case 12:
     this.scroll_log = ((System.Windows.Controls.ScrollViewer)(target));
     return;
     case 13:
     this.box_log = ((System.Windows.Controls.RichTextBox)(target));
     return;
     case 14:
     this.scroll_recieve = ((System.Windows.Controls.ScrollViewer)(target));
     return;
     case 15:
     this.box_recieve = ((System.Windows.Controls.RichTextBox)(target));
     return;
     case 16:
     this.textBox_time = ((System.Windows.Controls.TextBox)(target));
     
     #line 71 "..\..\MainWindow.xaml"
     this.textBox_time.TextChanged += new System.Windows.Controls.TextChangedEventHandler(this.textBox_time_TextChanged);
     
     #line default
     #line hidden
     return;
     case 17:
     this.textBox_send = ((System.Windows.Controls.TextBox)(target));
     
     #line 81 "..\..\MainWindow.xaml"
     this.textBox_send.TextChanged += new System.Windows.Controls.TextChangedEventHandler(this.textBox_send_TextChanged);
     
     #line default
     #line hidden
     return;
     case 18:
     this.checkBox_decode = ((System.Windows.Controls.CheckBox)(target));
     
     #line 83 "..\..\MainWindow.xaml"
     this.checkBox_decode.Checked += new System.Windows.RoutedEventHandler(this.checkBox_decode_Checked);
     
     #line default
     #line hidden
     
     #line 83 "..\..\MainWindow.xaml"
     this.checkBox_decode.Unchecked += new System.Windows.RoutedEventHandler(this.checkBox_decode_Unchecked);
     
     #line default
     #line hidden
     return;
     case 19:
     this.checkBox_timed = ((System.Windows.Controls.CheckBox)(target));
     
     #line 84 "..\..\MainWindow.xaml"
     this.checkBox_timed.Checked += new System.Windows.RoutedEventHandler(this.checkBox_timed_Checked);
     
     #line default
     #line hidden
     
     #line 84 "..\..\MainWindow.xaml"
     this.checkBox_timed.Unchecked += new System.Windows.RoutedEventHandler(this.checkBox_timed_Unchecked);
     
     #line default
     #line hidden
     return;
     case 20:
     this.btn_open = ((System.Windows.Controls.Button)(target));
     
     #line 87 "..\..\MainWindow.xaml"
     this.btn_open.Click += new System.Windows.RoutedEventHandler(this.btn_open_Click);
     
     #line default
     #line hidden
     return;
     case 21:
     this.btn_clear = ((System.Windows.Controls.Button)(target));
     
     #line 88 "..\..\MainWindow.xaml"
     this.btn_clear.Click += new System.Windows.RoutedEventHandler(this.btn_clear_Click);
     
     #line default
     #line hidden
     return;
     case 22:
     this.btn_close = ((System.Windows.Controls.Button)(target));
     
     #line 89 "..\..\MainWindow.xaml"
     this.btn_close.Click += new System.Windows.RoutedEventHandler(this.btn_close_Click);
     
     #line default
     #line hidden
     return;
     case 23:
     this.btn_chart = ((System.Windows.Controls.Button)(target));
     
     #line 90 "..\..\MainWindow.xaml"
     this.btn_chart.Click += new System.Windows.RoutedEventHandler(this.btn_chart_Click);
     
     #line default
     #line hidden
     return;
     case 24:
     this.btn_send = ((System.Windows.Controls.Button)(target));
     
     #line 91 "..\..\MainWindow.xaml"
     this.btn_send.Click += new System.Windows.RoutedEventHandler(this.btn_send_Click);
     
     #line default
     #line hidden
     return;
     case 25:
     this.btn_save = ((System.Windows.Controls.Button)(target));
     
     #line 92 "..\..\MainWindow.xaml"
     this.btn_save.Click += new System.Windows.RoutedEventHandler(this.btn_save_Click);
     
     #line default
     #line hidden
     return;
     case 26:
     this.radioButton_ascii = ((System.Windows.Controls.RadioButton)(target));
     
     #line 100 "..\..\MainWindow.xaml"
     this.radioButton_ascii.Checked += new System.Windows.RoutedEventHandler(this.radioButton_ascii_Checked);
     
     #line default
     #line hidden
     return;
     case 27:
     this.radioButton_hex = ((System.Windows.Controls.RadioButton)(target));
     
     #line 101 "..\..\MainWindow.xaml"
     this.radioButton_hex.Checked += new System.Windows.RoutedEventHandler(this.radioButton_hex_Checked);
     
     #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.tabVeicoliParcheggiati = ((System.Windows.Controls.DataGrid)(target));

            #line 7 "..\..\MainWindow.xaml"
                this.tabVeicoliParcheggiati.CellEditEnding += new System.EventHandler <System.Windows.Controls.DataGridCellEditEndingEventArgs>(this.tabVeicoliParcheggiati_CellEditEnding);

            #line default
            #line hidden
                return;

            case 2:
                this.tabVeicoli = ((System.Windows.Controls.DataGrid)(target));

            #line 12 "..\..\MainWindow.xaml"
                this.tabVeicoli.KeyUp += new System.Windows.Input.KeyEventHandler(this.tabVeicoli_KeyUp);

            #line default
            #line hidden

            #line 12 "..\..\MainWindow.xaml"
                this.tabVeicoli.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.tabVeicoli_SelectionChanged);

            #line default
            #line hidden
                return;

            case 3:
                this.tabPosti = ((System.Windows.Controls.DataGrid)(target));

            #line 13 "..\..\MainWindow.xaml"
                this.tabPosti.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.tabPosti_SelectionChanged);

            #line default
            #line hidden
                return;

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

            #line 14 "..\..\MainWindow.xaml"
                this.txtTarga.TextChanged += new System.Windows.Controls.TextChangedEventHandler(this.FormVeicoli_Changed);

            #line default
            #line hidden
                return;

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

            #line 15 "..\..\MainWindow.xaml"
                this.txtProprietario.TextChanged += new System.Windows.Controls.TextChangedEventHandler(this.FormVeicoli_Changed);

            #line default
            #line hidden
                return;

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

            #line 18 "..\..\MainWindow.xaml"
                this.btnAggiungiVeicolo.Click += new System.Windows.RoutedEventHandler(this.btnAggiungiVeicolo_Click);

            #line default
            #line hidden
                return;

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

            #line 19 "..\..\MainWindow.xaml"
                this.cbxTipoVeicolo.DropDownClosed += new System.EventHandler(this.FormVeicoli_Changed);

            #line default
            #line hidden
                return;

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

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

            #line default
            #line hidden

            #line 22 "..\..\MainWindow.xaml"
                this.ckbParcheggiati.Unchecked += new System.Windows.RoutedEventHandler(this.FormVeicoli_Changed);

            #line default
            #line hidden
                return;

            case 9:
                this.ckbNonParcheggiati = ((System.Windows.Controls.CheckBox)(target));

            #line 23 "..\..\MainWindow.xaml"
                this.ckbNonParcheggiati.Unchecked += new System.Windows.RoutedEventHandler(this.FormVeicoli_Changed);

            #line default
            #line hidden

            #line 23 "..\..\MainWindow.xaml"
                this.ckbNonParcheggiati.Checked += new System.Windows.RoutedEventHandler(this.FormVeicoli_Changed);

            #line default
            #line hidden
                return;

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

            #line 25 "..\..\MainWindow.xaml"
                this.cbxTipoPosto.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.cbxTipoPosto_SelectionChanged);

            #line default
            #line hidden
                return;

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

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

            #line default
            #line hidden
                return;

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

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

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

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

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

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

            #line default
            #line hidden
                return;

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

            #line 37 "..\..\MainWindow.xaml"
                this.ckbMostraOccupati.Unchecked += new System.Windows.RoutedEventHandler(this.CheckboxPosti_Changed);

            #line default
            #line hidden

            #line 37 "..\..\MainWindow.xaml"
                this.ckbMostraOccupati.Checked += new System.Windows.RoutedEventHandler(this.CheckboxPosti_Changed);

            #line default
            #line hidden
                return;

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

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

            #line default
            #line hidden

            #line 38 "..\..\MainWindow.xaml"
                this.ckbMostraLiberi.Unchecked += new System.Windows.RoutedEventHandler(this.CheckboxPosti_Changed);

            #line default
            #line hidden
                return;
            }
            this._contentLoaded = true;
        }
 public void InitializeComponent()
 {
     if (_contentLoaded)
     {
         return;
     }
     _contentLoaded = true;
     System.Windows.Application.LoadComponent(this, new System.Uri("/Galatee.Silverlight;component/Accueil/FrmLiaisonCompteurMigration.xaml", System.UriKind.Relative));
     this.LayoutRoot = ((System.Windows.Controls.Grid)(this.FindName("LayoutRoot")));
     this.Gbo_InformationDemandeDevis = ((SilverlightContrib.Controls.GroupBox)(this.FindName("Gbo_InformationDemandeDevis")));
     this.CancelButton         = ((System.Windows.Controls.Button)(this.FindName("CancelButton")));
     this.OKButton             = ((System.Windows.Controls.Button)(this.FindName("OKButton")));
     this.tabItemDevis         = ((System.Windows.Controls.TabItem)(this.FindName("tabItemDevis")));
     this.Gbo_InformationDevis = ((SilverlightContrib.Controls.GroupBox)(this.FindName("Gbo_InformationDevis")));
     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_Compteur         = ((System.Windows.Controls.TextBox)(this.FindName("Txt_Compteur")));
     this.lbl_TypeDevis        = ((System.Windows.Controls.Label)(this.FindName("lbl_TypeDevis")));
     this.lbl_EtapeEnCours     = ((System.Windows.Controls.Label)(this.FindName("lbl_EtapeEnCours")));
     this.btn_Attribuer        = ((System.Windows.Controls.Button)(this.FindName("btn_Attribuer")));
     this.tabItemClient        = ((System.Windows.Controls.TabItem)(this.FindName("tabItemClient")));
     this.label17                         = ((System.Windows.Controls.Label)(this.FindName("label17")));
     this.Txt_NomClient                   = ((System.Windows.Controls.TextBox)(this.FindName("Txt_NomClient")));
     this.lbl_CodeConsomateur             = ((System.Windows.Controls.Label)(this.FindName("lbl_CodeConsomateur")));
     this.lbl_CodeRelance                 = ((System.Windows.Controls.Label)(this.FindName("lbl_CodeRelance")));
     this.lbl_categoie                    = ((System.Windows.Controls.Label)(this.FindName("lbl_categoie")));
     this.label22                         = ((System.Windows.Controls.Label)(this.FindName("label22")));
     this.tab12_Txt_LibelleCodeConso      = ((System.Windows.Controls.TextBox)(this.FindName("tab12_Txt_LibelleCodeConso")));
     this.tab12_Txt_LibelleEtatClient     = ((System.Windows.Controls.TextBox)(this.FindName("tab12_Txt_LibelleEtatClient")));
     this.tab12_Txt_LibelleCategorie      = ((System.Windows.Controls.TextBox)(this.FindName("tab12_Txt_LibelleCategorie")));
     this.tab12_Txt_LibelleTypeClient     = ((System.Windows.Controls.TextBox)(this.FindName("tab12_Txt_LibelleTypeClient")));
     this.lbl_CodeRegroupement            = ((System.Windows.Controls.Label)(this.FindName("lbl_CodeRegroupement")));
     this.lbl_Nationnalite                = ((System.Windows.Controls.Label)(this.FindName("lbl_Nationnalite")));
     this.tab12_Txt_LibelleGroupeCode     = ((System.Windows.Controls.TextBox)(this.FindName("tab12_Txt_LibelleGroupeCode")));
     this.tab12_Txt_Nationnalite          = ((System.Windows.Controls.TextBox)(this.FindName("tab12_Txt_Nationnalite")));
     this.lbl_RegroupementCompteur_Copy12 = ((System.Windows.Controls.Label)(this.FindName("lbl_RegroupementCompteur_Copy12")));
     this.tab12_Txt_Datecreate            = ((System.Windows.Controls.TextBox)(this.FindName("tab12_Txt_Datecreate")));
     this.label17_Copy                    = ((System.Windows.Controls.Label)(this.FindName("label17_Copy")));
     this.Txt_Telephone                   = ((System.Windows.Controls.TextBox)(this.FindName("Txt_Telephone")));
     this.tabItemAbon                     = ((System.Windows.Controls.TabItem)(this.FindName("tabItemAbon")));
     this.lbl_Tarif                       = ((System.Windows.Controls.Label)(this.FindName("lbl_Tarif")));
     this.Txt_CodePussanceSoucrite        = ((System.Windows.Controls.TextBox)(this.FindName("Txt_CodePussanceSoucrite")));
     this.lbl_PuissanceSouscrite          = ((System.Windows.Controls.Label)(this.FindName("lbl_PuissanceSouscrite")));
     this.lbl_PuissanceUtilise            = ((System.Windows.Controls.Label)(this.FindName("lbl_PuissanceUtilise")));
     this.Txt_CodeForfait                 = ((System.Windows.Controls.TextBox)(this.FindName("Txt_CodeForfait")));
     this.lbl_Forfait                     = ((System.Windows.Controls.Label)(this.FindName("lbl_Forfait")));
     this.textBox23                       = ((System.Windows.Controls.TextBox)(this.FindName("textBox23")));
     this.lbl_ForfaitPersonaliseAnnuel    = ((System.Windows.Controls.Label)(this.FindName("lbl_ForfaitPersonaliseAnnuel")));
     this.Txt_CodeFrequence               = ((System.Windows.Controls.TextBox)(this.FindName("Txt_CodeFrequence")));
     this.lbl_Periodicite                 = ((System.Windows.Controls.Label)(this.FindName("lbl_Periodicite")));
     this.Txt_CodeMoisFacturation         = ((System.Windows.Controls.TextBox)(this.FindName("Txt_CodeMoisFacturation")));
     this.lbl_MoisFact                    = ((System.Windows.Controls.Label)(this.FindName("lbl_MoisFact")));
     this.Txt_LibelleForfait              = ((System.Windows.Controls.TextBox)(this.FindName("Txt_LibelleForfait")));
     this.Txt_LibelleFrequence            = ((System.Windows.Controls.TextBox)(this.FindName("Txt_LibelleFrequence")));
     this.Txt_LibMoisFact                 = ((System.Windows.Controls.TextBox)(this.FindName("Txt_LibMoisFact")));
     this.Txt_CodeMoisIndex               = ((System.Windows.Controls.TextBox)(this.FindName("Txt_CodeMoisIndex")));
     this.Txt_LibelleMoisIndex            = ((System.Windows.Controls.TextBox)(this.FindName("Txt_LibelleMoisIndex")));
     this.Txt_CodeTarif                   = ((System.Windows.Controls.TextBox)(this.FindName("Txt_CodeTarif")));
     this.Txt_LibelleTarif                = ((System.Windows.Controls.TextBox)(this.FindName("Txt_LibelleTarif")));
     this.lbl_DateAbonnement              = ((System.Windows.Controls.Label)(this.FindName("lbl_DateAbonnement")));
     this.Txt_DateAbonnement              = ((System.Windows.Controls.TextBox)(this.FindName("Txt_DateAbonnement")));
     this.Txt_CodePuissanceUtilise        = ((System.Windows.Controls.TextBox)(this.FindName("Txt_CodePuissanceUtilise")));
     this.Chk_IsExonneration              = ((System.Windows.Controls.CheckBox)(this.FindName("Chk_IsExonneration")));
     this.textBox7_Copy                   = ((System.Windows.Controls.TextBox)(this.FindName("textBox7_Copy")));
     this.textBox7_Copy1                  = ((System.Windows.Controls.TextBox)(this.FindName("textBox7_Copy1")));
     this.lbl_MoisFact_Copy               = ((System.Windows.Controls.Label)(this.FindName("lbl_MoisFact_Copy")));
     this.prgBar = ((System.Windows.Controls.ProgressBar)(this.FindName("prgBar")));
     this.btn_RechercheClient_Copy = ((System.Windows.Controls.Button)(this.FindName("btn_RechercheClient_Copy")));
     this.lbl_NumerodeDemande      = ((System.Windows.Controls.Label)(this.FindName("lbl_NumerodeDemande")));
     this.Txt_ReferenceClient      = ((System.Windows.Controls.TextBox)(this.FindName("Txt_ReferenceClient")));
     this.lbl_Ordre = ((System.Windows.Controls.Label)(this.FindName("lbl_Ordre")));
     this.Txt_Ordre = ((System.Windows.Controls.TextBox)(this.FindName("Txt_Ordre")));
 }
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:

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

            #line default
            #line hidden
                return;

            case 2:

            #line 10 "..\..\..\MainWindow.xaml"
                ((System.Windows.Controls.Grid)(target)).KeyDown += new System.Windows.Input.KeyEventHandler(this.txtMouseSensitivity_KeyDown);

            #line default
            #line hidden
                return;

            case 3:
                this.MouseSensitivity = ((System.Windows.Controls.Slider)(target));

            #line 11 "..\..\..\MainWindow.xaml"
                this.MouseSensitivity.ValueChanged += new System.Windows.RoutedPropertyChangedEventHandler <double>(this.MouseSensitivity_ValueChanged);

            #line default
            #line hidden
                return;

            case 4:
                this.PauseToClickTime = ((System.Windows.Controls.Slider)(target));

            #line 13 "..\..\..\MainWindow.xaml"
                this.PauseToClickTime.ValueChanged += new System.Windows.RoutedPropertyChangedEventHandler <double>(this.PauseToClickTime_ValueChanged);

            #line default
            #line hidden
                return;

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

            #line 15 "..\..\..\MainWindow.xaml"
                this.txtTimeRequired.KeyDown += new System.Windows.Input.KeyEventHandler(this.txtTimeRequired_KeyDown);

            #line default
            #line hidden
                return;

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

            case 7:
                this.PauseThresold = ((System.Windows.Controls.Slider)(target));

            #line 17 "..\..\..\MainWindow.xaml"
                this.PauseThresold.ValueChanged += new System.Windows.RoutedPropertyChangedEventHandler <double>(this.PauseThresold_ValueChanged);

            #line default
            #line hidden
                return;

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

            #line 19 "..\..\..\MainWindow.xaml"
                this.txtPauseThresold.KeyDown += new System.Windows.Input.KeyEventHandler(this.txtPauseThresold_KeyDown);

            #line default
            #line hidden
                return;

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

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

            #line default
            #line hidden
                return;

            case 10:
                this.chkNoClick = ((System.Windows.Controls.CheckBox)(target));

            #line 21 "..\..\..\MainWindow.xaml"
                this.chkNoClick.Checked += new System.Windows.RoutedEventHandler(this.chkNoClick_Checked);

            #line default
            #line hidden

            #line 21 "..\..\..\MainWindow.xaml"
                this.chkNoClick.Unchecked += new System.Windows.RoutedEventHandler(this.chkNoClick_Unchecked);

            #line default
            #line hidden
                return;

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

            #line 24 "..\..\..\MainWindow.xaml"
                this.CursorSmoothing.ValueChanged += new System.Windows.RoutedPropertyChangedEventHandler <double>(this.CursorSmoothing_ValueChanged);

            #line default
            #line hidden
                return;

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

            #line 26 "..\..\..\MainWindow.xaml"
                this.txtCursorSmoothing.KeyDown += new System.Windows.Input.KeyEventHandler(this.txtPauseThresold_KeyDown);

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

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

            #line 11 "..\..\..\Eleitor\Eleitor.xaml"
                this.voltar.Click += new System.Windows.RoutedEventHandler(this.voltar_Click_1);

            #line default
            #line hidden
                return;

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

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

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

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

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

            #line 16 "..\..\..\Eleitor\Eleitor.xaml"
                this.confirma.Click += new System.Windows.RoutedEventHandler(this.confirma_Click);

            #line default
            #line hidden
                return;

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

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

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

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

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

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

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

            #line 23 "..\..\..\Eleitor\Eleitor.xaml"
                this.chkBrancoN.Checked += new System.Windows.RoutedEventHandler(this.chkBrancoN_Checked);

            #line default
            #line hidden

            #line 23 "..\..\..\Eleitor\Eleitor.xaml"
                this.chkBrancoN.Unchecked += new System.Windows.RoutedEventHandler(this.chkBrancoN_Checked);

            #line default
            #line hidden
                return;

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

            #line 24 "..\..\..\Eleitor\Eleitor.xaml"
                this.chkBrancoR.Checked += new System.Windows.RoutedEventHandler(this.chkBrancoR_Checked);

            #line default
            #line hidden

            #line 24 "..\..\..\Eleitor\Eleitor.xaml"
                this.chkBrancoR.Unchecked += new System.Windows.RoutedEventHandler(this.chkBrancoR_Checked);

            #line default
            #line hidden
                return;

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

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

            case 18:
                this.lblVotoRegValidacao = ((System.Windows.Controls.Label)(target));
                return;
            }
            this._contentLoaded = true;
        }
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.txtAd = ((System.Windows.Controls.TextBox)(target));
                return;

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

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

            #line 49 "..\..\winKitapEkle.xaml"
                this.txtYas.PreviewTextInput += new System.Windows.Input.TextCompositionEventHandler(this.TxtYas_PreviewTextInput);

            #line default
            #line hidden
                return;

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

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

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

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

            #line 53 "..\..\winKitapEkle.xaml"
                this.txtTecrube.PreviewTextInput += new System.Windows.Input.TextCompositionEventHandler(this.TxtTecrube_PreviewTextInput);

            #line default
            #line hidden
                return;

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

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

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

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

            case 12:
                this.txtSifreTekrar = ((System.Windows.Controls.PasswordBox)(target));
                return;

            case 13:

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

            #line default
            #line hidden
                return;

            case 14:

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

            #line default
            #line hidden
                return;

            case 15:
                this.cbxAdmin = ((System.Windows.Controls.CheckBox)(target));
                return;
            }
            this._contentLoaded = true;
        }
 void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
     switch (connectionId)
     {
     case 1:
     this.form = ((NewPaint.MainWindow)(target));
     
     #line 9 "..\..\MainWindow.xaml"
     this.form.Closing += new System.ComponentModel.CancelEventHandler(this.Form_Closing);
     
     #line default
     #line hidden
     
     #line 9 "..\..\MainWindow.xaml"
     this.form.KeyUp += new System.Windows.Input.KeyEventHandler(this.Form_KeyUp);
     
     #line default
     #line hidden
     return;
     case 2:
     this.Palette = ((System.Windows.Controls.Grid)(target));
     return;
     case 3:
     this.Color1 = ((System.Windows.Controls.Button)(target));
     
     #line 43 "..\..\MainWindow.xaml"
     this.Color1.Click += new System.Windows.RoutedEventHandler(this.ChosenColor_Click);
     
     #line default
     #line hidden
     return;
     case 4:
     this.Color2 = ((System.Windows.Controls.Button)(target));
     
     #line 44 "..\..\MainWindow.xaml"
     this.Color2.Click += new System.Windows.RoutedEventHandler(this.ChosenColor_Click);
     
     #line default
     #line hidden
     return;
     case 5:
     
     #line 49 "..\..\MainWindow.xaml"
     ((System.Windows.Controls.MenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.Export_Click);
     
     #line default
     #line hidden
     return;
     case 6:
     
     #line 50 "..\..\MainWindow.xaml"
     ((System.Windows.Controls.MenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.Load_Click);
     
     #line default
     #line hidden
     return;
     case 7:
     
     #line 51 "..\..\MainWindow.xaml"
     ((System.Windows.Controls.MenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.Export_Click);
     
     #line default
     #line hidden
     return;
     case 8:
     this.MainGrid = ((System.Windows.Controls.Grid)(target));
     return;
     case 9:
     this.canvas = ((System.Windows.Controls.Canvas)(target));
     
     #line 80 "..\..\MainWindow.xaml"
     this.canvas.MouseLeave += new System.Windows.Input.MouseEventHandler(this.Canvas_MouseLeave);
     
     #line default
     #line hidden
     
     #line 80 "..\..\MainWindow.xaml"
     this.canvas.MouseMove += new System.Windows.Input.MouseEventHandler(this.Canvas_MouseMove);
     
     #line default
     #line hidden
     
     #line 80 "..\..\MainWindow.xaml"
     this.canvas.MouseUp += new System.Windows.Input.MouseButtonEventHandler(this.Canvas_MouseUp);
     
     #line default
     #line hidden
     
     #line 80 "..\..\MainWindow.xaml"
     this.canvas.MouseDown += new System.Windows.Input.MouseButtonEventHandler(this.Canvas_MouseDown);
     
     #line default
     #line hidden
     
     #line 80 "..\..\MainWindow.xaml"
     this.canvas.PreviewMouseWheel += new System.Windows.Input.MouseWheelEventHandler(this.Canvas_PreviewMouseWheel);
     
     #line default
     #line hidden
     return;
     case 10:
     this.ScrollBarX = ((System.Windows.Controls.Primitives.ScrollBar)(target));
     
     #line 81 "..\..\MainWindow.xaml"
     this.ScrollBarX.Scroll += new System.Windows.Controls.Primitives.ScrollEventHandler(this.ScrollBarX_Scroll);
     
     #line default
     #line hidden
     return;
     case 11:
     this.ScrollBarY = ((System.Windows.Controls.Primitives.ScrollBar)(target));
     
     #line 82 "..\..\MainWindow.xaml"
     this.ScrollBarY.Scroll += new System.Windows.Controls.Primitives.ScrollEventHandler(this.ScrollBarY_Scroll);
     
     #line default
     #line hidden
     return;
     case 12:
     this.ToolBarPanel_Property = ((System.Windows.Controls.Primitives.ToolBarPanel)(target));
     return;
     case 13:
     this.Panel_Property = ((System.Windows.Controls.StackPanel)(target));
     return;
     case 14:
     this.standartProps = ((System.Windows.Controls.Grid)(target));
     return;
     case 15:
     this.thicknessSelector = ((System.Windows.Controls.TextBox)(target));
     
     #line 101 "..\..\MainWindow.xaml"
     this.thicknessSelector.PreviewTextInput += new System.Windows.Input.TextCompositionEventHandler(this.TextBox_PreviewTextInput);
     
     #line default
     #line hidden
     return;
     case 16:
     this.dashSelector = ((System.Windows.Controls.ComboBox)(target));
     return;
     case 17:
     this.zSelector = ((System.Windows.Controls.TextBox)(target));
     
     #line 120 "..\..\MainWindow.xaml"
     this.zSelector.PreviewTextInput += new System.Windows.Input.TextCompositionEventHandler(this.TextBox_PreviewTextInput);
     
     #line default
     #line hidden
     return;
     case 18:
     this.fillProp = ((System.Windows.Controls.Grid)(target));
     return;
     case 19:
     this.fillSelector = ((System.Windows.Controls.CheckBox)(target));
     return;
     case 20:
     
     #line 137 "..\..\MainWindow.xaml"
     ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.FillColor_Click);
     
     #line default
     #line hidden
     return;
     case 21:
     this.roundsProp = ((System.Windows.Controls.Grid)(target));
     return;
     case 22:
     this.roundsSelectorX = ((System.Windows.Controls.TextBox)(target));
     
     #line 151 "..\..\MainWindow.xaml"
     this.roundsSelectorX.PreviewTextInput += new System.Windows.Input.TextCompositionEventHandler(this.TextBox_PreviewTextInput);
     
     #line default
     #line hidden
     return;
     case 23:
     this.roundsSelectorY = ((System.Windows.Controls.TextBox)(target));
     
     #line 154 "..\..\MainWindow.xaml"
     this.roundsSelectorY.PreviewTextInput += new System.Windows.Input.TextCompositionEventHandler(this.TextBox_PreviewTextInput);
     
     #line default
     #line hidden
     return;
     case 24:
     this.applyProp = ((System.Windows.Controls.Button)(target));
     
     #line 157 "..\..\MainWindow.xaml"
     this.applyProp.Click += new System.Windows.RoutedEventHandler(this.Apply_Click);
     
     #line default
     #line hidden
     return;
     }
     this._contentLoaded = true;
 }