Inheritance: System.Windows.Controls.Primitives.Selector
Esempio n. 1
0
        private StackPanel build_combo(string label_name, string prop_names, string selected_prop)
        {
            TextBlock tb_materials = new TextBlock();
            tb_materials.Text = label_name;
            tb_materials.TextAlignment = TextAlignment.Right;
            tb_materials.Width = 80;
            tb_materials.Height = 20;

            ComboBox cb_materials = new ComboBox();
            cb_materials.Width = 190;
            cb_materials.Height = 20;
            cb_materials.Foreground = Brushes.White;
            Binding bind = new Binding(prop_names);
            cb_materials.SetBinding(ComboBox.ItemsSourceProperty, bind);

            Binding bind2 = new Binding(selected_prop);
            cb_materials.SetBinding(ComboBox.SelectedItemProperty, bind2);

            StackPanel sp_materials = new StackPanel();
            sp_materials.Orientation = Orientation.Horizontal;
            sp_materials.Height = 25;
            sp_materials.Children.Add(tb_materials);
            sp_materials.Children.Add(cb_materials);
            return sp_materials;
        }
 void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
     switch (connectionId)
     {
     case 1:
     this.StatesCombobox = ((System.Windows.Controls.ComboBox)(target));
     return;
     case 2:
     
     #line 187 "..\..\..\View\EditOrAddPersonView.xaml"
     ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Button_Click);
     
     #line default
     #line hidden
     return;
     case 3:
     
     #line 188 "..\..\..\View\EditOrAddPersonView.xaml"
     ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Button_Click);
     
     #line default
     #line hidden
     return;
     }
     this._contentLoaded = true;
 }
Esempio n. 3
0
 void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
     switch (connectionId)
     {
     case 1:
     this.comport = ((System.Windows.Controls.ComboBox)(target));
     return;
     case 2:
     
     #line 28 "..\..\EVOTestForm.xaml"
     ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Button_Click_1);
     
     #line default
     #line hidden
     return;
     case 3:
     
     #line 29 "..\..\EVOTestForm.xaml"
     ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Button_Click);
     
     #line default
     #line hidden
     return;
     }
     this._contentLoaded = true;
 }
        public GeneralRequestVisualizer()
        {
            title = NameValuePanel.Create("Title", new TextBox());

            var url = NameValuePanel.Create("URL", new TextBox());
            var method = new ComboBox
            {
                VerticalAlignment = VerticalAlignment.Bottom,
                Margin = new Thickness(0, 0, 5, 0),
                SelectedIndex = 0
            };

            var urlAndMethod = new Grid();
            urlAndMethod.AddColumn(1, GridUnitType.Star);
            urlAndMethod.AddColumn(100, GridUnitType.Pixel);
            urlAndMethod.AddRow(GridLength.Auto);
            urlAndMethod.Add(url, 0, 0);
            urlAndMethod.Add(method, 0, 1);

            var apiGeneralStackPanel = new StackPanel
            {
                Margin = new Thickness(0, 0, 0, 10)
            };
            apiGeneralStackPanel.Children.Add(title);
            apiGeneralStackPanel.Children.Add(urlAndMethod);
            Children.Add(apiGeneralStackPanel);

            this.Bind(x => x.Model.Title).Mate(title.Value);
            this.Bind(x => x.Model.Url).Mate(url.Value);
            this.Bind(x => x.Model.Method).Mate(method, x => x.MainWindow.Methods);
        }
        /// <summary>
        /// Wire up the Password and PasswordConfirmation accessors as the fields get generated.
        /// Also bind the Question field to a ComboBox full of security questions, and handle the LostFocus event for the UserName TextBox.
        /// </summary>
        private void RegisterForm_AutoGeneratingField(object dataForm, DataFormAutoGeneratingFieldEventArgs e)
        {
            // Put all the fields in adding mode
            e.Field.Mode = DataFieldMode.AddNew;

            if (e.PropertyName == "UserName")
            {
                this.userNameTextBox = (TextBox)e.Field.Content;
                this.userNameTextBox.LostFocus += this.UserNameLostFocus;
            }
            else if (e.PropertyName == "Password")
            {
                PasswordBox passwordBox = new PasswordBox();
                e.Field.ReplaceTextBox(passwordBox, PasswordBox.PasswordProperty);
                this.registrationData.PasswordAccessor = () => passwordBox.Password;
            }
            else if (e.PropertyName == "PasswordConfirmation")
            {
                PasswordBox passwordConfirmationBox = new PasswordBox();
                e.Field.ReplaceTextBox(passwordConfirmationBox, PasswordBox.PasswordProperty);
                this.registrationData.PasswordConfirmationAccessor = () => passwordConfirmationBox.Password;
            }
            else if (e.PropertyName == "Question")
            {
                ComboBox questionComboBox = new ComboBox();
                questionComboBox.ItemsSource = RegistrationForm.GetSecurityQuestions();
                e.Field.ReplaceTextBox(questionComboBox, ComboBox.SelectedItemProperty, binding => binding.Converter = new TargetNullValueConverter());
            }
        }
        public override void OnApplyTemplate()
        {
            if (RendererType != null)
                RendererType.SelectionChanged -= RendererType_SelectionChanged;

            if (AttributeName != null)
                AttributeName.SelectionChanged -= AttributeName_SelectionChanged;

            base.OnApplyTemplate();

            RendererType = GetTemplateChild(PART_RENDERERTYPE) as ComboBox;                                  

            AttributeName = GetTemplateChild(PART_ATTRIBUTENAME) as ComboBox;

            buildDropDowns();

            if (RendererType != null)
                RendererType.SelectionChanged += RendererType_SelectionChanged;

            if (AttributeName != null)
                AttributeName.SelectionChanged += AttributeName_SelectionChanged;

            if (InitCompleted != null)
                InitCompleted(this, EventArgs.Empty);
        }
Esempio n. 7
0
        protected override Grid MakeGivenGrid()
        {
            //Set up grid
            Grid grid = new Grid();
            grid.ColumnDefinitions.Add(new ColumnDefinition() { Width = GridLength.Auto });
            grid.RowDefinitions.Add(new RowDefinition() { Height = GridLength.Auto });
            grid.RowDefinitions.Add(new RowDefinition() { Height = GridLength.Auto });

            //Create the description text
            TextBlock desc = new TextBlock();
            desc.TextWrapping = TextWrapping.Wrap;
            desc.Text = "Specify a midpoint.";
            desc.Margin = new Thickness(0, 0, 0, 10);

            //Create a combo box to choose from
            optionsBox = new ComboBox();
            optionsBox.MinWidth = 200;

            //Align elements in grid and add them to it
            Grid.SetColumn(desc, 0);
            Grid.SetRow(desc, 0);
            grid.Children.Add(desc);
            Grid.SetColumn(optionsBox, 0);
            Grid.SetRow(optionsBox, 1);
            grid.Children.Add(optionsBox);

            return grid;
        }
Esempio n. 8
0
    public static void LoadItems(AjaxResponse prevResponse, IAjaxMng ajaxMng, ComboBox cbx, String bioCode, Params bioParams, Action<ComboBox, AjaxResponse> callback, Boolean addNullItem, Boolean useCache) {
      if ((prevResponse != null) && (!prevResponse.Success)) {
        if (callback != null)
          callback(cbx, prevResponse);
        return;
      }

      var v_cli = new JsonStoreClient {
        AjaxMng = ajaxMng,
        BioCode = bioCode
      };
      CbxItems storedItems = null;
      if (useCache)
        storedItems = _restoreItems(bioCode);
      if (storedItems != null) {
        _loadItems(cbx, storedItems, addNullItem);
        if (callback != null)
          callback(cbx, new AjaxResponse { Success = true });
      } else {
        v_cli.Load(bioParams, (s, a) => {
          if (a.Response.Success) {
            var cbxitems = new CbxItems {metadata = v_cli.JSMetadata, ds = v_cli.DS};
            if (useCache)
              _storeItems(bioCode, cbxitems);
            _loadItems(cbx, cbxitems, addNullItem);
          }
          if (callback != null)
            callback(cbx, a.Response);
        });
      }
    }
 protected virtual FrameworkElement CreateComboBox(PropertyItem pi, PropertyControlFactoryOptions options)
 {
     var cbox = new ComboBox() { IsEditable = true };
     cbox.SetBinding(Selector.SelectedItemProperty, new Binding(pi.Descriptor.Name + ".Text"));
     cbox.SetBinding(ItemsControl.ItemsSourceProperty, new Binding(pi.Descriptor.Name + ".Values"));
     return cbox;
 }
Esempio n. 10
0
 void loadKeyItems(ComboBox cb)
 {
     foreach (String k in playWindow.keyList)
     {
         cb.Items.Add(k);
     }
 }
        public AutoCompleteTextBox()
        {
            controls = new VisualCollection(this);
            InitializeComponent();

            searchThreshold = 2;        // default threshold to 2 char

            // set up the key press timer
            keypressTimer = new System.Timers.Timer();
            keypressTimer.Elapsed += new System.Timers.ElapsedEventHandler(OnTimedEvent);

            // set up the text box and the combo box
            comboBox = new ComboBox();
            comboBox.IsSynchronizedWithCurrentItem = true;
            comboBox.IsTabStop = false;
            comboBox.SelectionChanged += new SelectionChangedEventHandler(comboBox_SelectionChanged);

            textBox = new TextBox();
            textBox.TextChanged += new TextChangedEventHandler(textBox_TextChanged);
            textBox.VerticalContentAlignment = VerticalAlignment.Center;

            controls.Add(comboBox);
            controls.Add(textBox);

        }
        private void AddRunOnForms()
        {
            /* Update the UI Grid to fit everything */
            for (int i = 0; i < 2; i++)
            {
                RowDefinition rowDef = new RowDefinition();
                rowDef.Height = System.Windows.GridLength.Auto;
                ParametersGrid.RowDefinitions.Add(rowDef);
            }
            Grid.SetRow(ButtonsPanel, ParametersGrid.RowDefinitions.Count - 1);

            Label runOnLabel = new Label();
            runOnLabel.Content = "Choose where to run the test job:";
            Grid.SetRow(runOnLabel, ParametersGrid.RowDefinitions.Count - 3);
            Grid.SetColumn(runOnLabel, 0);
            Grid.SetColumnSpan(runOnLabel, 2);

            IList<string> runOnOptions = new List<string>();
            runOnOptions.Add("Azure");
            foreach (HybridRunbookWorkerGroup group in this.hybridGroups)
            {
                runOnOptions.Add(group.Name);
            }
            ComboBox runOnComboBox = new ComboBox();
            runOnComboBox.ItemsSource = runOnOptions;
            runOnComboBox.SelectedIndex = 0;
            runOnComboBox.SelectionChanged += changeRunOnSelection;
            Grid.SetRow(runOnComboBox, ParametersGrid.RowDefinitions.Count - 2);
            Grid.SetColumn(runOnComboBox, 0);
            Grid.SetColumnSpan(runOnComboBox, 2);

            /* Add to Grid */
            ParametersGrid.Children.Add(runOnLabel);
            ParametersGrid.Children.Add(runOnComboBox);
        }
 public VoucherTemplateSearch(ref TextBox textBox, ref ComboBox debitAccountComboBox, ref ComboBox creditAccountComboBox)
 {
     InitializeComponent();
     _shortCodeTextBox = textBox;
     _debitAccount = debitAccountComboBox;
     _creditAccount = creditAccountComboBox;
 }
Esempio n. 14
0
        public override void SetupCustomUIElements(dynNodeView nodeUI)
        {
            var comboBox = new ComboBox
                {
                    MinWidth = 150,
                    Padding = new Thickness(8),
                    HorizontalAlignment = HorizontalAlignment.Stretch,
                    VerticalAlignment = VerticalAlignment.Center
                };

            nodeUI.inputGrid.Children.Add(comboBox);

            Grid.SetColumn(comboBox, 0);
            Grid.SetRow(comboBox, 0);

            comboBox.ItemsSource = this.Items;
            comboBox.SelectedIndex = this.SelectedIndex;

            comboBox.SelectionChanged += delegate
            {
                if (comboBox.SelectedIndex == -1) return;
                this.RequiresRecalc = true;
                this.SelectedIndex = comboBox.SelectedIndex;
            };
        }
        public QueryBySQL()
        {
            InitializeComponent();
            featuresLayer = MyMap.Layers[1] as FeaturesLayer;

            //设置显示查询图层的下拉框
            #region ComboBox
            comboBox = new ComboBox();
            comboBox.Width = 160;
            comboBox.Height = 25;
            comboBox.VerticalAlignment = VerticalAlignment.Top;
            comboBox.HorizontalAlignment = HorizontalAlignment.Right;

            ComboBoxItem itemPoint = new ComboBoxItem();
            itemPoint.Content = PointLayerName;
            ComboBoxItem itemLine = new ComboBoxItem();
            itemLine.Content = LineLayerName;
            ComboBoxItem itemRegion = new ComboBoxItem();
            itemRegion.Content = AreaLayerName;
            ComboBoxItem itemAll = new ComboBoxItem();
            itemAll.Content = "全部图层";
            comboBox.Items.Add(itemPoint);
            comboBox.Items.Add(itemLine);
            comboBox.Items.Add(itemRegion);
            comboBox.Items.Add(itemAll);
            MyStackPanel.Children.Add(comboBox);
            comboBox.SelectedIndex = 2;
            #endregion

            MyTextBox.Text = "smid<10 and smid>3";
        }
Esempio n. 16
0
 /// <summary>
 /// Adds a player to the game builder if the control is visible, that is, if
 /// there is enough players to make use of this control.
 /// </summary>
 /// <param name="builder"></param>
 /// <param name="player"></param>
 /// <param name="name"></param>
 /// <param name="civilization"></param>
 private void AddPlayerToGameBuilder(GameBuilder builder, StackPanel player, TextBox name, ComboBox civilization)
 {
     if (player.Visibility == Visibility.Visible)
     {
         builder.AddPlayer(name.Text, civilization.Text);
     }
 }
            public ProcessorFamily(Panel parentPanel, int idx, string name)
            {
                Index = idx;
                Name = name;
                SelectedProcessor = null;

                LabelName = new Label();
                LabelName.Content = "Choose " + name;
                DockPanel.SetDock(LabelName, Dock.Top);
                LabelName.Height = 30.0;
                LabelName.HorizontalContentAlignment = HorizontalAlignment.Center;
                parentPanel.Children.Add(LabelName);

                ComboProcessors = new ComboBox();
                DockPanel.SetDock(ComboProcessors, Dock.Top);
                ComboProcessors.Height = 25.0;
                ComboProcessors.Margin = new Thickness(30.0, 5.0, 30.0, 5.0);
                ComboProcessors.HorizontalContentAlignment = HorizontalAlignment.Center;
                parentPanel.Children.Add(ComboProcessors);

                ComboProcessors.SelectionChanged += ComboProcessors_SelectionChanged;

                ParametersPanel = new ParametersSelectionPanel();
                ParametersPanel.MinHeight = 20.0;
                DockPanel.SetDock(ParametersPanel, Dock.Top);
                parentPanel.Children.Add(ParametersPanel);
            }
Esempio n. 18
0
 void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
     switch (connectionId)
     {
     case 1:
     this.com_hora = ((System.Windows.Controls.ComboBox)(target));
     
     #line 10 "..\..\..\Controls\DateTimePlus.xaml"
     this.com_hora.TextInput += new System.Windows.Input.TextCompositionEventHandler(this.com_hora_TextInput);
     
     #line default
     #line hidden
     
     #line 10 "..\..\..\Controls\DateTimePlus.xaml"
     this.com_hora.PreviewKeyDown += new System.Windows.Input.KeyEventHandler(this.com_hora_PreviewKeyDown);
     
     #line default
     #line hidden
     
     #line 10 "..\..\..\Controls\DateTimePlus.xaml"
     this.com_hora.PreviewKeyUp += new System.Windows.Input.KeyEventHandler(this.com_hora_PreviewKeyUp);
     
     #line default
     #line hidden
     return;
     }
     this._contentLoaded = true;
 }
        public ISQueryBySQL()
        {
            InitializeComponent();
            featuresLayer = MyMap.Layers[1] as FeaturesLayer;

            //设置显示查询图层的下拉框
            #region ComboBox
            comboBox = new ComboBox();
            comboBox.Width = 160;
            comboBox.Height = 25;
            comboBox.VerticalAlignment = VerticalAlignment.Top;
            comboBox.HorizontalAlignment = HorizontalAlignment.Right;

            ComboBoxItem itemPoint = new ComboBoxItem();
            itemPoint.Content = PointLayerName;
            ComboBoxItem itemLine = new ComboBoxItem();
            itemLine.Content = LineLayerName;
            ComboBoxItem itemRegion = new ComboBoxItem();
            itemRegion.Content = AreaLayerName;
            comboBox.Items.Add(itemPoint);
            comboBox.Items.Add(itemLine);
            comboBox.Items.Add(itemRegion);
            MyStackPanel.Children.Add(comboBox);
            comboBox.SelectedIndex = 2;
            comboBox.SelectionChanged += new SelectionChangedEventHandler(comboBox_SelectionChanged);
            #endregion
        }
Esempio n. 20
0
 public void fillcombo(ComboBox c)
 {
     for (int i = 0; i < dt.Rows.Count; i++)
     {
         c.Items.Add(this.dt.Rows[i][coloum].ToString());
     }
 }
        public PopUpAirlinerFacility(AirlinerClass airlinerClass, AirlinerFacility.FacilityType type)
        {
            InitializeComponent();

            this.AirlinerClass = airlinerClass;
            this.Type = type;

            this.Title = "Select " + type.ToString().ToLower();

            this.Width = 400;

            this.Height = 120;

            this.WindowStartupLocation = System.Windows.WindowStartupLocation.CenterScreen;

            StackPanel mainPanel = new StackPanel();
            mainPanel.Margin = new Thickness(10, 10, 10, 10);

            cbFacility = new ComboBox();
            cbFacility.ItemTemplate = this.Resources["AirlinerFacilityItem"] as DataTemplate;
            cbFacility.SetResourceReference(ComboBox.StyleProperty, "ComboBoxTransparentStyle");

            foreach (AirlinerFacility facility in AirlinerFacilities.GetFacilities(this.Type,GameObject.GetInstance().GameTime.Year))
                cbFacility.Items.Add(facility);

            cbFacility.SelectedItem = this.AirlinerClass.getFacility(this.Type);

            mainPanel.Children.Add(cbFacility);

            mainPanel.Children.Add(createButtonsPanel());

            this.Content = mainPanel;
               // int serviceLevel, double percentOfSeats, double pricePerSeat
        }
        public string GetSelectedFrameworkName()
        {
            var comboBoxes = new ComboBox[] { NetFx, SilverlightFx, WPFx };

            var builder = new StringBuilder();
            for (int i = 0; i < comboBoxes.Length; i++)
            {
                if (!comboBoxes[i].IsEnabled)
                {
                    continue;
                }

                if (builder.Length > 0)
                {
                    builder.Append('+');
                }

                builder.Append(((ComboBoxItem)comboBoxes[i].SelectedItem).Tag);
            }

            if (WindowsCheckBox.IsChecked ?? false)
            {
                builder.Append("+win8");
            }

            builder.Insert(0, "portable-");
            return builder.ToString();
        }
Esempio n. 23
0
        protected override FrameworkElement CreateEditingElement()
        {
            this._cb = new ComboBox();
            this._cb.Name = this.Meta.Name;
            this._cb.SelectedValuePath = "EnumValue";
            this._cb.DisplayMemberPath = "TranslatedLabel";

            this.ResetBinding(this._cb);

            //cb.Items.Clear();
            var propertyType = this.Meta.PropertyMeta.Runtime.PropertyType;
            foreach (var item in EnumViewModel.GetByEnumType(propertyType))
            {
                this._cb.Items.Add(item);
            }
            if (TypeHelper.IsNullable(propertyType))
            {
                //这种组合下,不能随意录入值、可以选择文本、按上下键选择项。缺点是不能通过输入搜索项。
                this._cb.IsEditable = true;
                this._cb.IsReadOnly = true;
                this._cb.PreviewKeyDown += On_cb_PreviewKeyDown;
            }

            this.AddReadOnlyComponent(this._cb, ComboBox.IsEnabledProperty, false);

            this.SetAutomationElement(this._cb);

            this._cb.SelectionChanged += On_cb_SelectionChanged;
            this._cb.DropDownOpened += On_cb_DropDownOpened;
            this._cb.DataContextChanged += On_cb_DataContextChanged;

            return this._cb;
        }
        private void btnBuyAircraft_Click(object sender, RoutedEventArgs e)
        {
            ComboBox cbAircraft = new ComboBox();
            cbAircraft.SetResourceReference(ComboBox.StyleProperty, "ComboBoxTransparentStyle");
            cbAircraft.HorizontalAlignment = System.Windows.HorizontalAlignment.Left;
            cbAircraft.ItemTemplate = this.Resources["TrainingAircraftTypeItem"] as DataTemplate;
            cbAircraft.Width = 300;

            foreach (TrainingAircraftType type in TrainingAircraftTypes.GetAircraftTypes().FindAll(t => GeneralHelpers.GetInflationPrice(t.Price) < GameObject.GetInstance().HumanAirline.Money))
                cbAircraft.Items.Add(type);

            cbAircraft.SelectedIndex = 0;

            if (PopUpSingleElement.ShowPopUp(Translator.GetInstance().GetString("PageShowFlightSchool", "1014"), cbAircraft) == PopUpSingleElement.ButtonSelected.OK && cbAircraft.SelectedItem != null)
            {

                TrainingAircraftType aircraft = (TrainingAircraftType)cbAircraft.SelectedItem;
                double price = aircraft.Price;

                this.FlightSchool.addTrainingAircraft(new TrainingAircraft(aircraft, GameObject.GetInstance().GameTime, this.FlightSchool.FlightSchool));

                AirlineHelpers.AddAirlineInvoice(GameObject.GetInstance().HumanAirline, GameObject.GetInstance().GameTime, Invoice.InvoiceType.Airline_Expenses, -price);

                setHireStudentsStatus();

            }
        }
Esempio n. 25
0
 public void cbx預設條件賦值(string browsetype, ComboBox cbx)
 {
     DataTable 自訂條件別 = 查詢LCL所在位置("LCL自訂條件別");
     if (browsetype == "" || browsetype == null)
     {
         權限表 qry = (from a in 使用者Bll.GetInstance().權限表
                            where a.程式名稱 == 程式名稱
                            select a).First();
         //DataRow[] dr權限 = 使用者Bll.GetInstance().權限表.Select("程式名稱 = '" + 程式名稱 + "'");
         //string 編號 = dr權限[0]["序號"].ToString();
         string 編號 = qry.序號;
         編號 = 編號.Substring(0, 編號.IndexOf("-")) + 編號.Substring(編號.IndexOf("-") + 1) + "B";
         cbx.ItemsSource = 自訂條件別.Select("編號 LIKE '%" + 編號 + "%'");
     }
     else
     {
         DataRow[] drs = 自訂條件別.Select("編號 LIKE '%" + browsetype + "%'");
         條件編號 = new List<string>();
         條件說明 = new List<string>();
         foreach (DataRow row in drs)
         {
             條件編號.Add(row["編號"].ToString());
             條件說明.Add(row["類別"].ToString());
         }
         cbx.DataContext = 條件編號;
     }
 }
Esempio n. 26
0
 public static void SetCoatingType(ComboBox item)
     {
         item.ItemsSource = ((IListSource)_setMaterials.CoatingTypeDt()).GetList();
         item.DisplayMemberPath = "Name";
         item.SelectedValuePath = "Code";
         item.SelectedIndex = 0;
     }
        //This section is used to populate search bar with the contents( Factory Name, Item Name and Description )
        public void populateSearchBarWithAllData(ComboBox cmbBox)
        {
            try
            {
                using (adoraDBContext a = new adoraDBContext())
                {
                    //retriving factory name, item name and description from the database and saving it in a list
                    var factoryName = (from e in a.StockInHands
                                       select new { e.FactoryName, e.ItemName, e.descript }
                   ).Distinct().ToList();

                    List<String> nList = new List<string>();

                    //pulling retrived data from the list and setting them in the combo box record
                    for (int i = 0; i < factoryName.Count; i++)
                    {
                        String n = factoryName[i].FactoryName.ToString();
                        String m = factoryName[i].ItemName.ToString();
                        String l = factoryName[i].descript.ToString();

                        String nm = n + "  ->  " + m + "  ->  " + l;
                        nList.Add(nm);
                    }

                    cmbBox.ItemsSource = nList;
                }
            }
            catch (Exception e)
            {
                MessageBox.Show(e.ToString());
            }
        }
Esempio n. 28
0
        public ComboBoxBackend()
        {
            Widget = new WindowsComboBox();

            ComboBox.ItemTemplate = Defaulttemplate;
            ComboBox.ItemContainerStyle = ContainerStyle;
        }
Esempio n. 29
0
 public static void SetMontageFrameMaterial(ComboBox item)
 {
     item.ItemsSource = ((IListSource)SqlBaseData.MaterialsForMontageFrame()).GetList();
     item.DisplayMemberPath = "MaterialsName";
     item.SelectedValuePath = "LevelID";
     item.SelectedIndex = 0;
 }
        private void btnMoveAirliner_Click(object sender, RoutedEventArgs e)
        {
            var airliner = (FleetAirliner)((Button)sender).Tag;

            ComboBox cbAirlines = new ComboBox();
            cbAirlines.SetResourceReference(StyleProperty, "ComboBoxTransparentStyle");
            cbAirlines.ItemTemplate = Application.Current.Resources["AirlineItem"] as DataTemplate;
            cbAirlines.HorizontalAlignment = HorizontalAlignment.Left;
            cbAirlines.Width = 200;

            if (Airline.Airline.Subsidiaries.Count > 0)
                foreach (SubsidiaryAirline sAirline in Airline.Airline.Subsidiaries)
                    cbAirlines.Items.Add(sAirline);
            else
                cbAirlines.Items.Add(((SubsidiaryAirline)Airline.Airline).Airline);

            cbAirlines.SelectedIndex = 0;

            if (
                PopUpSingleElement.ShowPopUp(
                    Translator.GetInstance().GetString("PageAirlineFleet", "1016"),
                    cbAirlines) == PopUpSingleElement.ButtonSelected.OK && cbAirlines.SelectedItem != null)
            {
                var airline = cbAirlines.SelectedItem as Airline;

                Airline.moveAirliner(airliner, airline);
            }
        }
Esempio n. 31
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.label = ((System.Windows.Controls.Label)(target));
                return;

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

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

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

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

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

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

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

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

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

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

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

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

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

            #line 24 "..\..\Registro.xaml"
                this.btnBuscar.Click += new System.Windows.RoutedEventHandler(this.btnBuscar_Click);

            #line default
            #line hidden
                return;

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

            #line 25 "..\..\Registro.xaml"
                this.btnGrabar.Click += new System.Windows.RoutedEventHandler(this.btnGrabar_Click);

            #line default
            #line hidden
                return;

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

            #line 26 "..\..\Registro.xaml"
                this.btnEliminar.Click += new System.Windows.RoutedEventHandler(this.btnEliminar_Click);

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

            case 2:
                this.dtpEndDate = ((Microsoft.Windows.Controls.DatePicker)(target));
                return;

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

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

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

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

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

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

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

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

            case 11:
                this._detect_object1 = ((System.Windows.Controls.ComboBox)(target));
                return;

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

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

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

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

            #line 91 "..\..\..\Manager\UcDetectInquire.xaml"
                this._query.Click += new System.Windows.RoutedEventHandler(this._query_Click);

            #line default
            #line hidden
                return;

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

            #line 92 "..\..\..\Manager\UcDetectInquire.xaml"
                this._export.Click += new System.Windows.RoutedEventHandler(this._export_Click);

            #line default
            #line hidden
                return;

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

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

            case 19:
                this._sj = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 20:
                this.grid_table = ((System.Windows.Controls.Grid)(target));
                return;

            case 21:
                this._tableview = ((FoodSafetyMonitoring.Manager.UserControls.UcTableOperableView_NoTitle)(target));
                return;
            }
            this._contentLoaded = true;
        }
Esempio n. 33
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.back_button = ((System.Windows.Controls.Button)(target));

            #line 12 "..\..\Tankowanie_Window.xaml"
                this.back_button.Click += new System.Windows.RoutedEventHandler(this.Back_button_Click);

            #line default
            #line hidden
                return;

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

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

            #line 17 "..\..\Tankowanie_Window.xaml"
                this.Be95txtBox.TextChanged += new System.Windows.Controls.TextChangedEventHandler(this.getTotal);

            #line default
            #line hidden
                return;

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

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

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

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

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

            #line 30 "..\..\Tankowanie_Window.xaml"
                this.LPGTxtBox.TextChanged += new System.Windows.Controls.TextChangedEventHandler(this.getTotal);

            #line default
            #line hidden
                return;

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

            #line 31 "..\..\Tankowanie_Window.xaml"
                this.OlejtxtBox.TextChanged += new System.Windows.Controls.TextChangedEventHandler(this.getTotal);

            #line default
            #line hidden
                return;

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

            #line 32 "..\..\Tankowanie_Window.xaml"
                this.Be98txtBox.TextChanged += new System.Windows.Controls.TextChangedEventHandler(this.getTotal);

            #line default
            #line hidden
                return;

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

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

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

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

            #line 44 "..\..\Tankowanie_Window.xaml"
                this.katura_button.Click += new System.Windows.RoutedEventHandler(this.CreateTextFile);

            #line default
            #line hidden
                return;

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

            #line 47 "..\..\Tankowanie_Window.xaml"
                this.accpet_button.Click += new System.Windows.RoutedEventHandler(this.SaveInvoice);

            #line default
            #line hidden
                return;

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

            #line 78 "..\..\Tankowanie_Window.xaml"
                this.CustomersComboBox.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.UpdateInfo_SelectionChanged);

            #line default
            #line hidden
                return;

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

            case 35:
                this.CouponList = ((System.Windows.Controls.ComboBox)(target));

            #line 87 "..\..\Tankowanie_Window.xaml"
                this.CouponList.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.Coupons_SelectionChanged);

            #line default
            #line hidden
                return;

            case 36:
                this.Wlasciciel_Copy11 = ((System.Windows.Controls.Label)(target));
                return;
            }
            this._contentLoaded = true;
        }
Esempio n. 34
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.SelectInvoice = ((System.Windows.Controls.Button)(target));

            #line 10 "..\..\SearchWindow.xaml"
                this.SelectInvoice.Click += new System.Windows.RoutedEventHandler(this.SelectInvoice_Click);

            #line default
            #line hidden
                return;

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

            #line 11 "..\..\SearchWindow.xaml"
                this.Cancel.Click += new System.Windows.RoutedEventHandler(this.Cancel_Click);

            #line default
            #line hidden
                return;

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

            #line 12 "..\..\SearchWindow.xaml"
                this.InvoiceNumber.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.InvoiceNumber_SelectionChanged);

            #line default
            #line hidden
                return;

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

            #line 13 "..\..\SearchWindow.xaml"
                this.InvoiceDate.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.InvoiceDate_SelectionChanged);

            #line default
            #line hidden
                return;

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

            #line 14 "..\..\SearchWindow.xaml"
                this.TotalCharge.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.TotalCharge_SelectionChanged);

            #line default
            #line hidden
                return;

            case 6:
                this.InvoiceGrid = ((System.Windows.Controls.DataGrid)(target));

            #line 15 "..\..\SearchWindow.xaml"
                this.InvoiceGrid.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.InvoiceGrid_SelectionChanged);

            #line default
            #line hidden
                return;

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

            #line 19 "..\..\SearchWindow.xaml"
                this.ResetSelection.Click += new System.Windows.RoutedEventHandler(this.ResetSelection_Click);

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

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

            #line default
            #line hidden
                return;

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

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

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

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

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

            case 7:
                this.nud_FPS = ((Xceed.Wpf.Toolkit.DecimalUpDown)(target));
                return;

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

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

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

            #line default
            #line hidden
                return;

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

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

            #line default
            #line hidden
                return;

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

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

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

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

            #line default
            #line hidden
                return;

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

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

            #line default
            #line hidden
                return;

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

            #line 30 "..\..\..\MainWindow.xaml"
                this.cb_eyeDevice.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.cb_eyeDevice_SelectionChanged);

            #line default
            #line hidden
                return;

            case 16:
                this.nud_sampleRate = ((Xceed.Wpf.Toolkit.DecimalUpDown)(target));
                return;

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

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

            case 3:
                this.myScrollVier = ((System.Windows.Controls.ScrollViewer)(target));
                return;

            case 4:
                this.myCanvas = ((System.Windows.Controls.Canvas)(target));
                return;

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

            #line 107 "..\..\MainWindow.xaml"
                this.CreatCommandWindow.Click += new System.Windows.RoutedEventHandler(this.CreatCommandWindow_Click);

            #line default
            #line hidden
                return;

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

            #line 108 "..\..\MainWindow.xaml"
                this.CommondTest.Click += new System.Windows.RoutedEventHandler(this.CommondTest_Click);

            #line default
            #line hidden
                return;

            case 7:

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

            #line default
            #line hidden
                return;

            case 8:

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

            #line default
            #line hidden
                return;

            case 9:

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

            #line default
            #line hidden
                return;

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

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

            #line default
            #line hidden
                return;

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

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

            #line default
            #line hidden
                return;

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

            #line 133 "..\..\MainWindow.xaml"
                this.PauseCommand.Click += new System.Windows.RoutedEventHandler(this.PauseCommand_Click);

            #line default
            #line hidden
                return;

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

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

            #line default
            #line hidden
                return;

            case 14:
                this.CommandTable = ((System.Windows.Controls.DataGrid)(target));
                return;

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

            #line 164 "..\..\MainWindow.xaml"
                this.StartSelect.DropDownClosed += new System.EventHandler(this.StartSelect_Click);

            #line default
            #line hidden
                return;

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

            #line 165 "..\..\MainWindow.xaml"
                this.TargetSelect.DropDownClosed += new System.EventHandler(this.TargetSelect_Click);

            #line default
            #line hidden
                return;

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

            #line 166 "..\..\MainWindow.xaml"
                this.CarSelect.DropDownClosed += new System.EventHandler(this.CarSelect_Click);

            #line default
            #line hidden
                return;

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

            #line 167 "..\..\MainWindow.xaml"
                this.RailSelect.DropDownClosed += new System.EventHandler(this.RailSelet_Click);

            #line default
            #line hidden
                return;

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

            #line 168 "..\..\MainWindow.xaml"
                this.PrioritySelect.DropDownClosed += new System.EventHandler(this.PrioritySelect_Click);

            #line default
            #line hidden
                return;

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

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

            #line default
            #line hidden
                return;

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

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

            #line default
            #line hidden
                return;

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

            #line 171 "..\..\MainWindow.xaml"
                this.AutoCommand.Click += new System.Windows.RoutedEventHandler(this.AutoCommand_Click);

            #line default
            #line hidden
                return;

            case 23:
                this.Test = ((System.Windows.Controls.TextBlock)(target));
                return;
            }
            this._contentLoaded = true;
        }
Esempio n. 37
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:

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

            #line default
            #line hidden
                return;

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

            #line default
            #line hidden
                return;

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

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

            #line default
            #line hidden
                return;

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

            case 42:
                this.checkBox16 = ((System.Windows.Controls.CheckBox)(target));
                return;

            case 43:
                this.checkBox17 = ((System.Windows.Controls.CheckBox)(target));
                return;

            case 44:
                this.checkBox18 = ((System.Windows.Controls.CheckBox)(target));
                return;

            case 45:
                this.checkBox19 = ((System.Windows.Controls.CheckBox)(target));
                return;

            case 46:
                this.checkBox20 = ((System.Windows.Controls.CheckBox)(target));
                return;

            case 47:
                this.checkBox21 = ((System.Windows.Controls.CheckBox)(target));
                return;

            case 48:
                this.checkBox22 = ((System.Windows.Controls.CheckBox)(target));
                return;

            case 49:
                this.checkBox23 = ((System.Windows.Controls.CheckBox)(target));
                return;

            case 50:
                this.checkBox24 = ((System.Windows.Controls.CheckBox)(target));
                return;

            case 51:
                this.checkBox25 = ((System.Windows.Controls.CheckBox)(target));
                return;

            case 52:
                this.checkBox26 = ((System.Windows.Controls.CheckBox)(target));
                return;

            case 53:
                this.checkBox27 = ((System.Windows.Controls.CheckBox)(target));
                return;

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

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

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

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

            #line default
            #line hidden
                return;

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

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

            #line default
            #line hidden
                return;

            case 58:
                this.Show3D_checkBox = ((System.Windows.Controls.CheckBox)(target));
                return;
            }
            this._contentLoaded = true;
        }
Esempio n. 38
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.cmbTipo = ((System.Windows.Controls.ComboBox)(target));
                return;

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

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

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

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

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

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

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

            #line 47 "..\..\..\View\CadastroEquipamentoUC.xaml"
                this.cmbSetor.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.cmbSetor_SelectionChanged);

            #line default
            #line hidden
                return;

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

            case 10:
                this.dtpValidade = ((System.Windows.Controls.DatePicker)(target));
                return;

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

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

            #line 53 "..\..\..\View\CadastroEquipamentoUC.xaml"
                this.btnLimpar.Click += new System.Windows.RoutedEventHandler(this.btnLimpar_Click);

            #line default
            #line hidden
                return;

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

            #line 56 "..\..\..\View\CadastroEquipamentoUC.xaml"
                this.btnCadastrar.Click += new System.Windows.RoutedEventHandler(this.btnCadastrar_Click);

            #line default
            #line hidden
                return;

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

            #line 17 "..\..\NhanVienNhap.xaml"
                ((System.Windows.Controls.Grid)(target)).Loaded += new System.Windows.RoutedEventHandler(this.Grid_Loaded);

            #line default
            #line hidden
                return;

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

            #line 43 "..\..\NhanVienNhap.xaml"
                this.txbSearchDog.TextChanged += new System.Windows.Controls.TextChangedEventHandler(this.TextBox_TextChanged_1);

            #line default
            #line hidden
                return;

            case 3:

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

            #line default
            #line hidden
                return;

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

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

            case 6:

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

            #line default
            #line hidden
                return;

            case 7:
                this.ImageDogBinding = ((System.Windows.Controls.Image)(target));

            #line 81 "..\..\NhanVienNhap.xaml"
                this.ImageDogBinding.MouseDown += new System.Windows.Input.MouseButtonEventHandler(this.ImageDogBinding_MouseDown);

            #line default
            #line hidden
                return;

            case 8:

            #line 85 "..\..\NhanVienNhap.xaml"
                ((System.Windows.Controls.Border)(target)).Loaded += new System.Windows.RoutedEventHandler(this.Border_Loaded);

            #line default
            #line hidden
                return;

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

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

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

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

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

            #line 99 "..\..\NhanVienNhap.xaml"
                this.btnEdit.Click += new System.Windows.RoutedEventHandler(this.btnEdit_Click);

            #line default
            #line hidden
                return;

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

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

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

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

            #line 112 "..\..\NhanVienNhap.xaml"
                this.txbFoodPrice.TextChanged += new System.Windows.Controls.TextChangedEventHandler(this.TextBox_TextChanged);

            #line default
            #line hidden
                return;

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

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

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

            #line 115 "..\..\NhanVienNhap.xaml"
                this.txbTotalPrice.TextChanged += new System.Windows.Controls.TextChangedEventHandler(this.txbTotalPrice_TextChanged);

            #line default
            #line hidden
                return;

            case 21:
                this.prgb_acc_dog = ((System.Windows.Controls.ProgressBar)(target));
                return;

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

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

            #line 132 "..\..\NhanVienNhap.xaml"
                this.dogBox.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.dogBox_SelectionChanged);

            #line default
            #line hidden
                return;

            case 24:
                this.Bill_Tag = ((System.Windows.Controls.Grid)(target));
                return;

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

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

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

            case 28:
                this.cbbnewMaChuong = ((System.Windows.Controls.ComboBox)(target));
                return;

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

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

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

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

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

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

            case 35:

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

            #line default
            #line hidden
                return;

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

            case 37:
                this.txbBill_Note = ((System.Windows.Controls.TextBox)(target));
                return;

            case 38:

            #line 265 "..\..\NhanVienNhap.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. 40
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.tb_sc_search_mekanik = ((System.Windows.Controls.TextBox)(target));

            #line 51 "..\..\..\..\Pages\Add_Mechanic.xaml"
                this.tb_sc_search_mekanik.GotFocus += new System.Windows.RoutedEventHandler(this.Tb_mekanik_ID_search_Gotfocus);

            #line default
            #line hidden

            #line 51 "..\..\..\..\Pages\Add_Mechanic.xaml"
                this.tb_sc_search_mekanik.LostFocus += new System.Windows.RoutedEventHandler(this.Tb_mekanik_ID_search_lostfocus);

            #line default
            #line hidden
                return;

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

            #line 62 "..\..\..\..\Pages\Add_Mechanic.xaml"
                this.search_bt.Click += new System.Windows.RoutedEventHandler(this.search_bt_Click);

            #line default
            #line hidden
                return;

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

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

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

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

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

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

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

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

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

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

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

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

            #line 196 "..\..\..\..\Pages\Add_Mechanic.xaml"
                this.cb_sc_mekanik_case.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.cb_sc_mekanik_case_selected);

            #line default
            #line hidden
                return;

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

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

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

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

            #line 210 "..\..\..\..\Pages\Add_Mechanic.xaml"
                this.cb_sc_mekanik_till_user.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.cb_SC_mekanik_till_user_SelectionChanged);

            #line default
            #line hidden
                return;

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

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

            #line 220 "..\..\..\..\Pages\Add_Mechanic.xaml"
                this.tb_sc_mekanik_email.GotFocus += new System.Windows.RoutedEventHandler(this.Tb_mekanik_sc_email_Gotfocus);

            #line default
            #line hidden

            #line 220 "..\..\..\..\Pages\Add_Mechanic.xaml"
                this.tb_sc_mekanik_email.LostFocus += new System.Windows.RoutedEventHandler(this.Tb_mekanik_sc_email_lostfocus);

            #line default
            #line hidden

            #line 220 "..\..\..\..\Pages\Add_Mechanic.xaml"
                this.tb_sc_mekanik_email.PreviewKeyDown += new System.Windows.Input.KeyEventHandler(this.textBox_PreviewKeyDown);

            #line default
            #line hidden
                return;

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

            case 22:
                this.tb_sc_mekanik_password = ((System.Windows.Controls.PasswordBox)(target));

            #line 236 "..\..\..\..\Pages\Add_Mechanic.xaml"
                this.tb_sc_mekanik_password.PreviewKeyDown += new System.Windows.Input.KeyEventHandler(this.textBox_PreviewKeyDown);

            #line default
            #line hidden
                return;

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

            case 24:
                this.Sp_SC_bt_add_remove = ((System.Windows.Controls.Grid)(target));
                return;

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

            #line 256 "..\..\..\..\Pages\Add_Mechanic.xaml"
                this.Bt_remove_case.Click += new System.Windows.RoutedEventHandler(this.Remove_mekanik);

            #line default
            #line hidden
                return;

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

            #line 267 "..\..\..\..\Pages\Add_Mechanic.xaml"
                this.Bt_edit_mekanik.Click += new System.Windows.RoutedEventHandler(this.Eddit_mechanic_info);

            #line default
            #line hidden
                return;

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

            #line 308 "..\..\..\..\Pages\Add_Mechanic.xaml"
                this.tb_mekanik_namn.GotFocus += new System.Windows.RoutedEventHandler(this.Tb_mekanik_namn_Gotfocus);

            #line default
            #line hidden

            #line 308 "..\..\..\..\Pages\Add_Mechanic.xaml"
                this.tb_mekanik_namn.LostFocus += new System.Windows.RoutedEventHandler(this.Tb_mekanik_namn_lostfocus);

            #line default
            #line hidden
                return;

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

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

            #line 334 "..\..\..\..\Pages\Add_Mechanic.xaml"
                this.DP_mekanik_birth.CalendarClosed += new System.Windows.RoutedEventHandler(this.DP_mekanik_birth_CalendarClosed);

            #line default
            #line hidden
                return;

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

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

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

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

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

            case 35:
                this.cb_mekanik_till_user = ((System.Windows.Controls.ComboBox)(target));

            #line 432 "..\..\..\..\Pages\Add_Mechanic.xaml"
                this.cb_mekanik_till_user.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.cb_mekanik_till_user_SelectionChanged);

            #line default
            #line hidden
                return;

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

            case 37:
                this.tb_mekanik_email = ((System.Windows.Controls.TextBox)(target));

            #line 439 "..\..\..\..\Pages\Add_Mechanic.xaml"
                this.tb_mekanik_email.GotFocus += new System.Windows.RoutedEventHandler(this.Tb_mekanik_Email_Gotfocus);

            #line default
            #line hidden

            #line 439 "..\..\..\..\Pages\Add_Mechanic.xaml"
                this.tb_mekanik_email.LostFocus += new System.Windows.RoutedEventHandler(this.Tb_mekanik_Email_lostfocus);

            #line default
            #line hidden

            #line 439 "..\..\..\..\Pages\Add_Mechanic.xaml"
                this.tb_mekanik_email.PreviewKeyDown += new System.Windows.Input.KeyEventHandler(this.textBox_PreviewKeyDown);

            #line default
            #line hidden
                return;

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

            case 39:
                this.tb_mekanik_password = ((System.Windows.Controls.PasswordBox)(target));

            #line 450 "..\..\..\..\Pages\Add_Mechanic.xaml"
                this.tb_mekanik_password.PreviewKeyDown += new System.Windows.Input.KeyEventHandler(this.textBox_PreviewKeyDown);

            #line default
            #line hidden
                return;

            case 40:
                this.Error_msg = ((System.Windows.Controls.Label)(target));
                return;

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

            #line 469 "..\..\..\..\Pages\Add_Mechanic.xaml"
                this.Bt_add_mekanik.Click += new System.Windows.RoutedEventHandler(this.Bt_add_mekanik_Click);

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

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

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

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

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

            case 6:
                this.chboxListingsCategory1 = ((System.Windows.Controls.CheckBox)(target));
                return;

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

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

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

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

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

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

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

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

            case 15:
                this.slidListingsPriceCustom = ((System.Windows.Controls.Slider)(target));
                return;

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

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

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

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

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

            #line 46 "..\..\..\..\View\Listing\ListingsPage.xaml"
                this.listviewListings.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.listviewListings_SelectionChanged_1);

            #line default
            #line hidden
                return;

            case 21:
                this.imgListingsSelected = ((System.Windows.Controls.Image)(target));
                return;

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

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

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

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

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

            #line 65 "..\..\..\..\View\Listing\ListingsPage.xaml"
                this.comboxListingsSortBy.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.comboxListingsSortBy_SelectionChanged);

            #line default
            #line hidden
                return;

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

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

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

            #line 18 "..\..\DrawGraphic.xaml"
                ((System.Windows.Controls.TextBox)(target)).GotFocus += new System.Windows.RoutedEventHandler(this.TextBox_GotFocus);

            #line default
            #line hidden

            #line 18 "..\..\DrawGraphic.xaml"
                ((System.Windows.Controls.TextBox)(target)).PreviewMouseLeftButtonDown += new System.Windows.Input.MouseButtonEventHandler(this.TextBox_PreviewMouseLeftButtonDown);

            #line default
            #line hidden
                return;

            case 2:

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

            #line default
            #line hidden
                return;

            case 3:

            #line 22 "..\..\DrawGraphic.xaml"
                ((System.Windows.Controls.TextBox)(target)).GotFocus += new System.Windows.RoutedEventHandler(this.TextBox_GotFocus);

            #line default
            #line hidden

            #line 22 "..\..\DrawGraphic.xaml"
                ((System.Windows.Controls.TextBox)(target)).PreviewMouseLeftButtonDown += new System.Windows.Input.MouseButtonEventHandler(this.TextBox_PreviewMouseLeftButtonDown);

            #line default
            #line hidden
                return;

            case 4:

            #line 23 "..\..\DrawGraphic.xaml"
                ((System.Windows.Controls.TextBox)(target)).GotFocus += new System.Windows.RoutedEventHandler(this.TextBox_GotFocus);

            #line default
            #line hidden

            #line 23 "..\..\DrawGraphic.xaml"
                ((System.Windows.Controls.TextBox)(target)).PreviewMouseLeftButtonDown += new System.Windows.Input.MouseButtonEventHandler(this.TextBox_PreviewMouseLeftButtonDown);

            #line default
            #line hidden
                return;

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

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

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

            case 8:

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

            #line default
            #line hidden
                return;

            case 9:

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

            #line default
            #line hidden
                return;

            case 10:

            #line 37 "..\..\DrawGraphic.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Submmit_Button_Click);

            #line default
            #line hidden
                return;

            case 11:

            #line 45 "..\..\DrawGraphic.xaml"
                ((System.Windows.Controls.TextBox)(target)).GotFocus += new System.Windows.RoutedEventHandler(this.TextBox_GotFocus);

            #line default
            #line hidden

            #line 45 "..\..\DrawGraphic.xaml"
                ((System.Windows.Controls.TextBox)(target)).PreviewMouseLeftButtonDown += new System.Windows.Input.MouseButtonEventHandler(this.TextBox_PreviewMouseLeftButtonDown);

            #line default
            #line hidden
                return;

            case 12:

            #line 46 "..\..\DrawGraphic.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.RemoveAll2_Button_Click);

            #line default
            #line hidden
                return;

            case 13:

            #line 49 "..\..\DrawGraphic.xaml"
                ((System.Windows.Controls.TextBox)(target)).GotFocus += new System.Windows.RoutedEventHandler(this.TextBox_GotFocus);

            #line default
            #line hidden

            #line 49 "..\..\DrawGraphic.xaml"
                ((System.Windows.Controls.TextBox)(target)).PreviewMouseLeftButtonDown += new System.Windows.Input.MouseButtonEventHandler(this.TextBox_PreviewMouseLeftButtonDown);

            #line default
            #line hidden
                return;

            case 14:

            #line 50 "..\..\DrawGraphic.xaml"
                ((System.Windows.Controls.TextBox)(target)).GotFocus += new System.Windows.RoutedEventHandler(this.TextBox_GotFocus);

            #line default
            #line hidden

            #line 50 "..\..\DrawGraphic.xaml"
                ((System.Windows.Controls.TextBox)(target)).PreviewMouseLeftButtonDown += new System.Windows.Input.MouseButtonEventHandler(this.TextBox_PreviewMouseLeftButtonDown);

            #line default
            #line hidden
                return;

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

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

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

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

            case 19:
                this.listBox_Tab2 = ((System.Windows.Controls.ListBox)(target));
                return;

            case 20:

            #line 62 "..\..\DrawGraphic.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Add2_Button_Click);

            #line default
            #line hidden
                return;

            case 21:

            #line 63 "..\..\DrawGraphic.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Remove2_Button_Click);

            #line default
            #line hidden
                return;

            case 22:

            #line 64 "..\..\DrawGraphic.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Submmit2_Button_Click);

            #line default
            #line hidden
                return;

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

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

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

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

            case 27:

            #line 93 "..\..\DrawGraphic.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Advance_Button_Click);

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

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

            #line 18 "..\..\..\Linq_Window\addContractWindow.xaml"
                this.AddButton.Click += new System.Windows.RoutedEventHandler(this.AddButton_Click);

            #line default
            #line hidden
                return;

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

            #line 32 "..\..\..\Linq_Window\addContractWindow.xaml"
                this.Back2Button.Click += new System.Windows.RoutedEventHandler(this.Back2Button_Click);

            #line default
            #line hidden
                return;

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

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

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

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

            #line 57 "..\..\..\Linq_Window\addContractWindow.xaml"
                this.employeeIdComboBox.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.employeeIdComboBox_SelectionChanged);

            #line default
            #line hidden
                return;

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

            case 9:
                this.salaryNumUpDown = ((PLWPF.NumericUpDownControl)(target));
                return;

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

            #line 69 "..\..\..\Linq_Window\addContractWindow.xaml"
                this.hoursNumTextBox.TextChanged += new System.Windows.Controls.TextChangedEventHandler(this.hoursNumTextBox_TextChanged);

            #line default
            #line hidden
                return;

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

            case 12:
                this.isSignCheckBox = ((System.Windows.Controls.CheckBox)(target));
                return;
            }
            this._contentLoaded = true;
        }
Esempio n. 44
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.BTNDelete = ((System.Windows.Controls.Button)(target));

            #line 43 "..\..\..\..\Pages\Scan\Weigh.xaml"
                this.BTNDelete.Click += new System.Windows.RoutedEventHandler(this.BTNDelete_Click);

            #line default
            #line hidden
                return;

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

            #line 44 "..\..\..\..\Pages\Scan\Weigh.xaml"
                this.BTNSave.Click += new System.Windows.RoutedEventHandler(this.BTNSave_Click);

            #line default
            #line hidden
                return;

            case 3:
                this.TBsacnTime = ((System.Windows.Forms.DateTimePicker)(target));
                return;

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

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

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

            #line 96 "..\..\..\..\Pages\Scan\Weigh.xaml"
                this.TBtranId.KeyDown += new System.Windows.Input.KeyEventHandler(this.TBtranId_KeyDown);

            #line default
            #line hidden
                return;

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

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

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

            #line 103 "..\..\..\..\Pages\Scan\Weigh.xaml"
                this.TBweigh.PreviewTextInput += new System.Windows.Input.TextCompositionEventHandler(this.Num_PreviewTextInput);

            #line default
            #line hidden

            #line 103 "..\..\..\..\Pages\Scan\Weigh.xaml"
                this.TBweigh.KeyDown += new System.Windows.Input.KeyEventHandler(this.TBweigh_KeyDown);

            #line default
            #line hidden

            #line 103 "..\..\..\..\Pages\Scan\Weigh.xaml"
                this.TBweigh.TextChanged += new System.Windows.Controls.TextChangedEventHandler(this.Num_TextChanged);

            #line default
            #line hidden
                return;

            case 10:
                this.TBName = ((KGOOS_MUI.Control.AutoCompleteTextBox)(target));
                return;

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

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

            #line 116 "..\..\..\..\Pages\Scan\Weigh.xaml"
                this.TBNote.KeyDown += new System.Windows.Input.KeyEventHandler(this.TBNote_KeyDown);

            #line default
            #line hidden
                return;

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

            #line 121 "..\..\..\..\Pages\Scan\Weigh.xaml"
                this.TBLength.KeyDown += new System.Windows.Input.KeyEventHandler(this.TBLength_KeyDown);

            #line default
            #line hidden

            #line 122 "..\..\..\..\Pages\Scan\Weigh.xaml"
                this.TBLength.PreviewTextInput += new System.Windows.Input.TextCompositionEventHandler(this.Num_PreviewTextInput);

            #line default
            #line hidden

            #line 122 "..\..\..\..\Pages\Scan\Weigh.xaml"
                this.TBLength.TextChanged += new System.Windows.Controls.TextChangedEventHandler(this.Num_TextChanged);

            #line default
            #line hidden
                return;

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

            #line 125 "..\..\..\..\Pages\Scan\Weigh.xaml"
                this.TBWidth.KeyDown += new System.Windows.Input.KeyEventHandler(this.TBWidth_KeyDown);

            #line default
            #line hidden

            #line 126 "..\..\..\..\Pages\Scan\Weigh.xaml"
                this.TBWidth.PreviewTextInput += new System.Windows.Input.TextCompositionEventHandler(this.Num_PreviewTextInput);

            #line default
            #line hidden

            #line 126 "..\..\..\..\Pages\Scan\Weigh.xaml"
                this.TBWidth.TextChanged += new System.Windows.Controls.TextChangedEventHandler(this.Num_TextChanged);

            #line default
            #line hidden
                return;

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

            #line 129 "..\..\..\..\Pages\Scan\Weigh.xaml"
                this.TBHeight.KeyDown += new System.Windows.Input.KeyEventHandler(this.TBHeight_KeyDown);

            #line default
            #line hidden

            #line 130 "..\..\..\..\Pages\Scan\Weigh.xaml"
                this.TBHeight.PreviewTextInput += new System.Windows.Input.TextCompositionEventHandler(this.Num_PreviewTextInput);

            #line default
            #line hidden

            #line 130 "..\..\..\..\Pages\Scan\Weigh.xaml"
                this.TBHeight.TextChanged += new System.Windows.Controls.TextChangedEventHandler(this.Num_TextChanged);

            #line default
            #line hidden
                return;

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

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

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

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

            #line 144 "..\..\..\..\Pages\Scan\Weigh.xaml"
                this.TBNoteStaff.KeyDown += new System.Windows.Input.KeyEventHandler(this.TBNoteStaff_KeyDown);

            #line default
            #line hidden
                return;

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

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

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

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

            #line 153 "..\..\..\..\Pages\Scan\Weigh.xaml"
                this.CBInputTime.Checked += new System.Windows.RoutedEventHandler(this.CBInputTime_Checked);

            #line default
            #line hidden

            #line 153 "..\..\..\..\Pages\Scan\Weigh.xaml"
                this.CBInputTime.Unchecked += new System.Windows.RoutedEventHandler(this.CBInputTime_Unchecked);

            #line default
            #line hidden
                return;

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

            case 25:
                this.CBNoZero = ((System.Windows.Controls.CheckBox)(target));

            #line 156 "..\..\..\..\Pages\Scan\Weigh.xaml"
                this.CBNoZero.Checked += new System.Windows.RoutedEventHandler(this.CBNoZero_Checked);

            #line default
            #line hidden

            #line 156 "..\..\..\..\Pages\Scan\Weigh.xaml"
                this.CBNoZero.Unchecked += new System.Windows.RoutedEventHandler(this.CBNoZero_Unchecked);

            #line default
            #line hidden
                return;

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

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

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

            case 29:
                this.DG1 = ((System.Windows.Controls.DataGrid)(target));

            #line 174 "..\..\..\..\Pages\Scan\Weigh.xaml"
                this.DG1.LoadingRow += new System.EventHandler <System.Windows.Controls.DataGridRowEventArgs>(this.DG1_LoadingRow);

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

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

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

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

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

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

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

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

            #line default
            #line hidden
                return;

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

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

            #line default
            #line hidden
                return;

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

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

            #line default
            #line hidden
                return;

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

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

            #line default
            #line hidden
                return;

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

            #line 54 "..\..\MainWindow.xaml"
                this.ChooseFileButton.Click += new System.Windows.RoutedEventHandler(this.ChooseFile);

            #line default
            #line hidden
                return;

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

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

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

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

            #line default
            #line hidden
                return;

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

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

            #line default
            #line hidden
                return;

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

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

            #line default
            #line hidden
                return;

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

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

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

            #line default
            #line hidden
                return;

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

            #line 62 "..\..\MainWindow.xaml"
                this.CopyTemplateToClipBoard.Click += new System.Windows.RoutedEventHandler(this.CopyToClipBoard);

            #line default
            #line hidden
                return;

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

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

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

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

            #line default
            #line hidden
                return;

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

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

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

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

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

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

            case 8:
                this.dtgLibro = ((System.Windows.Controls.DataGrid)(target));

            #line 43 "..\..\Libro.xaml"
                this.dtgLibro.MouseDoubleClick += new System.Windows.Input.MouseButtonEventHandler(this.DtgEditorial_MouseDoubleClick);

            #line default
            #line hidden
                return;

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

            #line 45 "..\..\Libro.xaml"
                this.btnEliminarDenis.Click += new System.Windows.RoutedEventHandler(this.BtnEliminarDenis_Click);

            #line default
            #line hidden
                return;

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

            #line 46 "..\..\Libro.xaml"
                this.btnModificarDenis.Click += new System.Windows.RoutedEventHandler(this.BtnModificarDenis_Click);

            #line default
            #line hidden
                return;

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

            #line 47 "..\..\Libro.xaml"
                this.btnGuardarDenis.Click += new System.Windows.RoutedEventHandler(this.BtnGuardarDenis_Click);

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

            #line 7 "..\..\..\UserControl4.xaml"
                ((Blip.UserControl4)(target)).Loaded += new System.Windows.RoutedEventHandler(this.UserControl4_Loaded);

            #line default
            #line hidden
                return;

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

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

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

            #line 28 "..\..\..\UserControl4.xaml"
                this.BlastProgram.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.BlastProgram_SelectionChanged);

            #line default
            #line hidden
                return;

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

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

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

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

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

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

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

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

            case 13:
                this.QueryCoverageSlider = ((System.Windows.Controls.Slider)(target));
                return;

            case 14:
                this.PercentIdSlider = ((System.Windows.Controls.Slider)(target));
                return;

            case 15:
                this.EvalueSlider = ((System.Windows.Controls.Slider)(target));
                return;

            case 16:
                this.NumTopHitsSlider = ((System.Windows.Controls.Slider)(target));
                return;

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

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

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

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

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

            case 22:
                this.textBlock3 = ((System.Windows.Controls.TextBlock)(target));
                return;

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

            case 24:
                this.textBlock5 = ((System.Windows.Controls.TextBlock)(target));
                return;

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

            case 26:
                this.textBlock9 = ((System.Windows.Controls.TextBlock)(target));
                return;
            }
            this._contentLoaded = true;
        }
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.___No_Name_ = ((System.Windows.Controls.Label)(target));
                return;

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

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

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

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

            #line 42 "..\..\MainWindow.xaml"
                this.btnRecruit.Click += new System.Windows.RoutedEventHandler(this.RecriutMinion_Click);

            #line default
            #line hidden
                return;

            case 6:
                this.lstMinions = ((System.Windows.Controls.ListBox)(target));

            #line 43 "..\..\MainWindow.xaml"
                this.lstMinions.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.SelectMinion);

            #line default
            #line hidden
                return;

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

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

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

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

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

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

            #line default
            #line hidden
                return;

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

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

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

            #line default
            #line hidden
                return;

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

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

            #line default
            #line hidden
                return;

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

            #line 60 "..\..\MainWindow.xaml"
                this.btn_Load.Click += new System.Windows.RoutedEventHandler(this.LoadFile_Click);

            #line default
            #line hidden
                return;

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

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

            #line default
            #line hidden
                return;

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

            #line 62 "..\..\MainWindow.xaml"
                this.btnInspect.Click += new System.Windows.RoutedEventHandler(this.Inspect_Click);

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

            #line 9 "..\..\MainWindow.xaml"
                ((LevelMaker.MainWindow)(target)).MouseRightButtonDown += new System.Windows.Input.MouseButtonEventHandler(this.Window_MouseRightButtonDown);

            #line default
            #line hidden

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

            #line default
            #line hidden

            #line 11 "..\..\MainWindow.xaml"
                ((LevelMaker.MainWindow)(target)).MouseRightButtonUp += new System.Windows.Input.MouseButtonEventHandler(this.Window_MouseRightButtonUp);

            #line default
            #line hidden

            #line 12 "..\..\MainWindow.xaml"
                ((LevelMaker.MainWindow)(target)).MouseLeftButtonUp += new System.Windows.Input.MouseButtonEventHandler(this.Window_MouseLeftButtonUp);

            #line default
            #line hidden
                return;

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

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

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

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

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

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

            #line default
            #line hidden
                return;

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

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

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

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

            #line 45 "..\..\MainWindow.xaml"
                this.Load.Click += new System.Windows.RoutedEventHandler(this.Load_Click);

            #line default
            #line hidden
                return;

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

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

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

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

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

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

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

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

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

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

            #line default
            #line hidden
                return;

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

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

            #line default
            #line hidden
                return;

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

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

            #line default
            #line hidden
                return;

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

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

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

            #line default
            #line hidden
                return;

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

            #line default
            #line hidden
                return;

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

            #line 48 "..\..\MainWindow.xaml"
                this.orderDg.CellEditEnding += new System.EventHandler <System.Windows.Controls.DataGridCellEditEndingEventArgs>(this.orderDg_CellEditEnding);

            #line default
            #line hidden

            #line 48 "..\..\MainWindow.xaml"
                this.orderDg.BeginningEdit += new System.EventHandler <System.Windows.Controls.DataGridBeginningEditEventArgs>(this.orderDg_BeginningEdit);

            #line default
            #line hidden
                return;

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

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

            #line default
            #line hidden
                return;

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

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

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

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

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

            #line default
            #line hidden
                return;

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

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

            #line default
            #line hidden
                return;

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

            #line 88 "..\..\MainWindow.xaml"
                this.btnClose.Click += new System.Windows.RoutedEventHandler(this.btnClose_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:

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

            #line default
            #line hidden
                return;

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

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

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

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

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

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

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

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

            #line default
            #line hidden
                return;

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

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

            #line default
            #line hidden
                return;

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

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

            #line 68 "..\..\..\Search\ApartmanEdariF.xaml"
                this.price_Low.TextChanged += new System.Windows.Controls.TextChangedEventHandler(this.price_Low_TextChanged);

            #line default
            #line hidden
                return;

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

            #line 69 "..\..\..\Search\ApartmanEdariF.xaml"
                this.price_High.TextChanged += new System.Windows.Controls.TextChangedEventHandler(this.price_High_TextChanged);

            #line default
            #line hidden
                return;

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

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

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

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

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

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

            case 19:
                this.sanad = ((System.Windows.Controls.TextBox)(target));
                return;
            }
            this._contentLoaded = true;
        }
Esempio n. 53
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.msgbox = ((System.Windows.Controls.TextBox)(target));

            #line 15 "..\..\MainWindow.xaml"
                this.msgbox.TextChanged += new System.Windows.Controls.TextChangedEventHandler(this.textBox1_TextChanged);

            #line default
            #line hidden
                return;

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

            #line 16 "..\..\MainWindow.xaml"
                this.ClassName.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.ClassName_SelectionChanged);

            #line default
            #line hidden
                return;

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

            case 4:
                this.pbStatus = ((System.Windows.Controls.ProgressBar)(target));
                return;

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

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

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

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

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

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

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

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

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

            #line default
            #line hidden
                return;

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

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

            #line default
            #line hidden
                return;

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

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

            #line default
            #line hidden
                return;

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

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

            #line default
            #line hidden
                return;

            case 16:
                this.updateimage = ((System.Windows.Controls.Image)(target));
                return;
            }
            this._contentLoaded = true;
        }
Esempio n. 54
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:

            #line 6 "..\..\..\ActivityWindow.xaml"
                ((HrDepartment.ActivityWindow)(target)).Closing += new System.ComponentModel.CancelEventHandler(this.ActivityWindow_Closing);

            #line default
            #line hidden
                return;

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

            #line 10 "..\..\..\ActivityWindow.xaml"
                this.AddButton.Click += new System.Windows.RoutedEventHandler(this.AddButton_Click);

            #line default
            #line hidden
                return;

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

            #line 16 "..\..\..\ActivityWindow.xaml"
                this.UpdateButton.Click += new System.Windows.RoutedEventHandler(this.UpdateButton_Click);

            #line default
            #line hidden
                return;

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

            #line 22 "..\..\..\ActivityWindow.xaml"
                this.DeleteButton.Click += new System.Windows.RoutedEventHandler(this.DeleteButton_Click);

            #line default
            #line hidden
                return;

            case 5:
                this.ActivityGridView = ((Telerik.Windows.Controls.RadGridView)(target));
                return;

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

            case 7:
                this.Xlsx = ((System.Windows.Controls.ComboBoxItem)(target));
                return;

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

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

            #line 72 "..\..\..\ActivityWindow.xaml"
                this.ExportButton.Click += new System.Windows.RoutedEventHandler(this.ExportButton_Click);

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

            #line 9 "..\..\..\View\UserForm.xaml"
                ((TravelRequest.View.UserForm)(target)).Loaded += new System.Windows.RoutedEventHandler(this.Window_Loaded);

            #line default
            #line hidden
                return;

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

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

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

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

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

            case 7:
                this.user_3_png1 = ((System.Windows.Controls.Image)(target));
                return;

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

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

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

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

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

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

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

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

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

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

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

            case 19:

            #line 41 "..\..\..\View\UserForm.xaml"
                ((System.Windows.Controls.DatePicker)(target)).SelectedDateChanged += new System.EventHandler <System.Windows.Controls.SelectionChangedEventArgs>(this.DatePicker_SelectedDateChanged);

            #line default
            #line hidden
                return;

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

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

            case 22:
                this.textBlock13 = ((System.Windows.Controls.TextBlock)(target));
                return;

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

            case 24:
                this.textBlock14 = ((System.Windows.Controls.TextBlock)(target));
                return;

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

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

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

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

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

            #line 58 "..\..\..\View\UserForm.xaml"
                this.AddUser_btn.Click += new System.Windows.RoutedEventHandler(this.AddUser_btn_Click);

            #line default
            #line hidden
                return;

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

            #line 59 "..\..\..\View\UserForm.xaml"
                this.EditUser_btn.Click += new System.Windows.RoutedEventHandler(this.EditUser_btn_Click);

            #line default
            #line hidden
                return;

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

            #line 60 "..\..\..\View\UserForm.xaml"
                this.DeleteUser.Click += new System.Windows.RoutedEventHandler(this.DeleteUser_Click);

            #line default
            #line hidden
                return;

            case 32:
                this.VillageId_box = ((System.Windows.Controls.ComboBox)(target));
                return;

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

            case 34:
                this.JobId_box = ((System.Windows.Controls.ComboBox)(target));
                return;

            case 35:
                this.DepartmentId_box = ((System.Windows.Controls.ComboBox)(target));
                return;

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

            case 37:
                this.ManagerId_box = ((System.Windows.Controls.ComboBox)(target));
                return;

            case 38:
                this.textBlock20 = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 39:
                this.RoleId_box = ((System.Windows.Controls.ComboBox)(target));
                return;

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

            #line 77 "..\..\..\View\UserForm.xaml"
                this.dataUser.SelectedCellsChanged += new System.Windows.Controls.SelectedCellsChangedEventHandler(this.dataUser_SelectedCellsChanged);

            #line default
            #line hidden
                return;

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

            #line 94 "..\..\..\View\UserForm.xaml"
                this.L_btn.Checked += new System.Windows.RoutedEventHandler(this.L_btn_Checked);

            #line default
            #line hidden
                return;

            case 42:
                this.P_btn = ((System.Windows.Controls.RadioButton)(target));

            #line 95 "..\..\..\View\UserForm.xaml"
                this.P_btn.Checked += new System.Windows.RoutedEventHandler(this.P_btn_Checked);

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

            #line 16 "..\..\prisonermain.xaml"
                ((JailManagementSystem.prisonermain)(target)).Loaded += new System.Windows.RoutedEventHandler(this.Window_Loaded);

            #line default
            #line hidden

            #line 17 "..\..\prisonermain.xaml"
                ((JailManagementSystem.prisonermain)(target)).ContentRendered += new System.EventHandler(this.Window_ContentRendered);

            #line default
            #line hidden
                return;

            case 2:

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

            #line default
            #line hidden
                return;

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

            case 4:

            #line 96 "..\..\prisonermain.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.fmprisoner_Click);

            #line default
            #line hidden
                return;

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

            #line 97 "..\..\prisonermain.xaml"
                this.delete_prisoner.Click += new System.Windows.RoutedEventHandler(this.Button_Click_1);

            #line default
            #line hidden
                return;

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

            #line 101 "..\..\prisonermain.xaml"
                this.tb_prisoner.TextChanged += new System.Windows.Controls.TextChangedEventHandler(this.tb_prisoner_TextChanged);

            #line default
            #line hidden
                return;

            case 7:

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

            #line default
            #line hidden
                return;

            case 8:
                this.datagrid_prisoner = ((System.Windows.Controls.DataGrid)(target));

            #line 116 "..\..\prisonermain.xaml"
                this.datagrid_prisoner.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.datagrid_prisoner_SelectionChanged);

            #line default
            #line hidden

            #line 116 "..\..\prisonermain.xaml"
                this.datagrid_prisoner.MouseDoubleClick += new System.Windows.Input.MouseButtonEventHandler(this.datagrid_prisoner_MouseDoubleClick);

            #line default
            #line hidden
                return;

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

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

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

            case 12:
                this.birthdate = ((System.Windows.Controls.DatePicker)(target));
                return;

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

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

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

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

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

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

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

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

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

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

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

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

            case 25:
                this.jailstatus = ((System.Windows.Controls.ComboBox)(target));
                return;

            case 26:

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

            #line default
            #line hidden
                return;

            case 27:

            #line 280 "..\..\prisonermain.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Button_Click_4);

            #line default
            #line hidden
                return;

            case 28:

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

            #line default
            #line hidden
                return;

            case 29:

            #line 288 "..\..\prisonermain.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Button_Click_6);

            #line default
            #line hidden
                return;

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

            #line 293 "..\..\prisonermain.xaml"
                this.bail1.Click += new System.Windows.RoutedEventHandler(this.Button_Click_2);

            #line default
            #line hidden
                return;

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

            #line 298 "..\..\prisonermain.xaml"
                this.open_photoviewer.Click += new System.Windows.RoutedEventHandler(this.open_photoviewer_Click);

            #line default
            #line hidden
                return;

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

            #line 301 "..\..\prisonermain.xaml"
                this.open_documentviewer.Click += new System.Windows.RoutedEventHandler(this.open_documentviewer_Click);

            #line default
            #line hidden
                return;

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

            #line 310 "..\..\prisonermain.xaml"
                this.datagrid_visitors.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.datagrid_visitors_SelectionChanged);

            #line default
            #line hidden
                return;

            case 34:
                this.datagrid_cell = ((System.Windows.Controls.DataGrid)(target));

            #line 323 "..\..\prisonermain.xaml"
                this.datagrid_cell.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.datagrid_cell_SelectionChanged);

            #line default
            #line hidden
                return;

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

            #line 335 "..\..\prisonermain.xaml"
                this.datagrid_case.MouseDoubleClick += new System.Windows.Input.MouseButtonEventHandler(this.datagrid_case_MouseDoubleClick);

            #line default
            #line hidden

            #line 335 "..\..\prisonermain.xaml"
                this.datagrid_case.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.datagrid_case_SelectionChanged);

            #line default
            #line hidden
                return;

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

            #line 347 "..\..\prisonermain.xaml"
                this.datagrid_bail.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.datagrid_bail_SelectionChanged);

            #line default
            #line hidden
                return;

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

            #line 360 "..\..\prisonermain.xaml"
                this.update_prisoner.Click += new System.Windows.RoutedEventHandler(this.update_prisoner_Click);

            #line default
            #line hidden
                return;

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

            #line 361 "..\..\prisonermain.xaml"
                this.add_cancel_prisoner.Click += new System.Windows.RoutedEventHandler(this.add_cancel_prisoner_Click);

            #line default
            #line hidden
                return;

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

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

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

            case 42:
                this.datebailed = ((System.Windows.Controls.DatePicker)(target));
                return;

            case 43:
                this.court = ((System.Windows.Controls.TextBox)(target));
                return;

            case 44:
                this.bond = ((System.Windows.Controls.TextBox)(target));
                return;

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

            case 46:

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

            #line default
            #line hidden
                return;

            case 47:

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

            #line default
            #line hidden
                return;

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

            case 49:
                this.hearingdate = ((System.Windows.Controls.DatePicker)(target));
                return;

            case 50:
                this.hearingtime = ((MaterialDesignThemes.Wpf.TimePicker)(target));
                return;

            case 51:
                this.datagrid_escort = ((System.Windows.Controls.DataGrid)(target));

            #line 489 "..\..\prisonermain.xaml"
                this.datagrid_escort.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.datagrid_escort_SelectionChanged);

            #line default
            #line hidden
                return;

            case 52:
                this.escort_id = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 53:
                this.escort_lastname = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 54:
                this.escort_firstname = ((System.Windows.Controls.TextBlock)(target));
                return;

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

            case 56:

            #line 509 "..\..\prisonermain.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.add_hearing_Click);

            #line default
            #line hidden
                return;

            case 57:

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

            #line default
            #line hidden
                return;

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

            case 59:
                this.cell = ((System.Windows.Controls.ComboBox)(target));
                return;

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

            case 61:

            #line 563 "..\..\prisonermain.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.save_celltransfer_Click);

            #line default
            #line hidden
                return;

            case 62:

            #line 564 "..\..\prisonermain.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.add_cancel_prisoner_Click);

            #line default
            #line hidden
                return;

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

            case 64:
                this.cell1 = ((System.Windows.Controls.ComboBox)(target));
                return;

            case 65:
                this.fname = ((System.Windows.Controls.TextBox)(target));
                return;

            case 66:
                this.lname = ((System.Windows.Controls.TextBox)(target));
                return;

            case 67:

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

            #line default
            #line hidden
                return;

            case 68:

            #line 618 "..\..\prisonermain.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.add_cancel_prisoner_Click);

            #line default
            #line hidden
                return;

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

            case 70:
                this.casenum = ((System.Windows.Controls.TextBox)(target));
                return;

            case 71:
                this.datefiled = ((System.Windows.Controls.DatePicker)(target));
                return;

            case 72:
                this.offense1 = ((System.Windows.Controls.TextBox)(target));
                return;

            case 73:
                this.inmatenum = ((System.Windows.Controls.TextBox)(target));
                return;

            case 74:
                this.datesen = ((System.Windows.Controls.DatePicker)(target));
                return;

            case 75:
                this.senreceive = ((System.Windows.Controls.DatePicker)(target));
                return;

            case 76:
                this.senstatus = ((System.Windows.Controls.TextBox)(target));
                return;

            case 77:
                this.sendue = ((System.Windows.Controls.TextBox)(target));
                return;

            case 78:
                this.update_case = ((System.Windows.Controls.Button)(target));

            #line 723 "..\..\prisonermain.xaml"
                this.update_case.Click += new System.Windows.RoutedEventHandler(this.updatecase_Click);

            #line default
            #line hidden
                return;

            case 79:
                this.save_case = ((System.Windows.Controls.Button)(target));

            #line 724 "..\..\prisonermain.xaml"
                this.save_case.Click += new System.Windows.RoutedEventHandler(this.savecase_Click);

            #line default
            #line hidden
                return;

            case 80:

            #line 726 "..\..\prisonermain.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.add_cancel_prisoner_Click);

            #line default
            #line hidden
                return;

            case 81:
                this.gridmenu = ((System.Windows.Controls.Grid)(target));
                return;

            case 82:
                this.close_photoviewer = ((System.Windows.Controls.Button)(target));

            #line 741 "..\..\prisonermain.xaml"
                this.close_photoviewer.Click += new System.Windows.RoutedEventHandler(this.close_photoviewer_Click);

            #line default
            #line hidden
                return;

            case 83:
                this.mp_id = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 84:
                this.mp_name = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 85:
                this.lbpics = ((System.Windows.Controls.ListBox)(target));

            #line 758 "..\..\prisonermain.xaml"
                this.lbpics.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.lbpics_SelectionChanged_1);

            #line default
            #line hidden
                return;

            case 86:
                this.picturebox = ((System.Windows.Controls.Image)(target));
                return;

            case 87:

            #line 760 "..\..\prisonermain.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Button_Click_7);

            #line default
            #line hidden
                return;

            case 88:
                this.gridmenus = ((System.Windows.Controls.Grid)(target));
                return;

            case 89:
                this.close_documentviewer = ((System.Windows.Controls.Button)(target));

            #line 773 "..\..\prisonermain.xaml"
                this.close_documentviewer.Click += new System.Windows.RoutedEventHandler(this.add_cancel_prisoner_Click);

            #line default
            #line hidden
                return;

            case 90:
                this.mp_ids = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 91:
                this.mp_names = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 92:
                this.lbpicss = ((System.Windows.Controls.ListBox)(target));

            #line 790 "..\..\prisonermain.xaml"
                this.lbpicss.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.lbpicss_SelectionChanged);

            #line default
            #line hidden
                return;

            case 93:
                this.pictureboxs = ((System.Windows.Controls.Image)(target));
                return;

            case 94:

            #line 792 "..\..\prisonermain.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Button_Click_13);

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

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

            #line default
            #line hidden

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

            #line default
            #line hidden
                return;

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

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

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

            #line default
            #line hidden

            #line 183 "..\..\MainWindow.xaml"
                this.rtbEditor.TextChanged += new System.Windows.Controls.TextChangedEventHandler(this.rtbEditor_TextChanged);

            #line default
            #line hidden
                return;

            case 4:
                this.toolbar1 = ((System.Windows.Controls.ToolBar)(target));

            #line 184 "..\..\MainWindow.xaml"
                this.toolbar1.Loaded += new System.Windows.RoutedEventHandler(this.toolBarMain_Loaded);

            #line default
            #line hidden
                return;

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

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

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

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

            #line 191 "..\..\MainWindow.xaml"
                this.cmbColor.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.cmbColor_SelectionChanged);

            #line default
            #line hidden
                return;

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

            #line 207 "..\..\MainWindow.xaml"
                this.cmbFontFamily.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.cmbFontFamily_SelectionChanged);

            #line default
            #line hidden
                return;

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

            #line 225 "..\..\MainWindow.xaml"
                this.cmbSize.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.cmbSize_SelectionChanged);

            #line default
            #line hidden
                return;

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

            #line 244 "..\..\MainWindow.xaml"
                this.mnuinsert1.Click += new System.Windows.RoutedEventHandler(this.mnuinsert1_Click);

            #line default
            #line hidden
                return;

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

            #line 272 "..\..\MainWindow.xaml"
                this.btnNew.Click += new System.Windows.RoutedEventHandler(this.btnNew_Click);

            #line default
            #line hidden
                return;

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

            #line 293 "..\..\MainWindow.xaml"
                this.btnOpen.Click += new System.Windows.RoutedEventHandler(this.btnOpen_Click);

            #line default
            #line hidden
                return;

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

            #line 314 "..\..\MainWindow.xaml"
                this.btnSave.Click += new System.Windows.RoutedEventHandler(this.btnSave_Click);

            #line default
            #line hidden
                return;

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

            #line 336 "..\..\MainWindow.xaml"
                this.btnClose.Click += new System.Windows.RoutedEventHandler(this.btnClose_Click);

            #line default
            #line hidden
                return;

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

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

            #line 363 "..\..\MainWindow.xaml"
                this.txtFind.SelectionChanged += new System.Windows.RoutedEventHandler(this.txtFind_SelectionChanged);

            #line default
            #line hidden
                return;

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

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

            #line 365 "..\..\MainWindow.xaml"
                this.btnReplace.Click += new System.Windows.RoutedEventHandler(this.btnReplace_Click);

            #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.TypeOfShip = ((System.Windows.Controls.ComboBox)(target));

            #line 11 "..\..\MainWindow.xaml"
                this.TypeOfShip.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.TypeOfShip_SelectionChanged);

            #line default
            #line hidden

            #line 11 "..\..\MainWindow.xaml"
                this.TypeOfShip.Initialized += new System.EventHandler(this.TypeOfShip_Initialized);

            #line default
            #line hidden
                return;

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

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

            #line default
            #line hidden
                return;

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

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

            #line default
            #line hidden
                return;

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

            #line 14 "..\..\MainWindow.xaml"
                this.ShipLabel.TextChanged += new System.Windows.Controls.TextChangedEventHandler(this.ShipLabel_TextChanged);

            #line default
            #line hidden
                return;

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

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

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

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

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

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

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

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

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

            #line 52 "..\..\MainWindow.xaml"
                this.SoilChoice.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.SoilChoice_SelectionChanged);

            #line default
            #line hidden

            #line 52 "..\..\MainWindow.xaml"
                this.SoilChoice.Initialized += new System.EventHandler(this.SoilChoice_Initialized);

            #line default
            #line hidden
                return;

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

            #line 53 "..\..\MainWindow.xaml"
                this.SoilDegree.TextChanged += new System.Windows.Controls.TextChangedEventHandler(this.SoilDegree_TextChanged);

            #line default
            #line hidden
                return;

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

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

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

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

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

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

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

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

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

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

            #line default
            #line hidden
                return;

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

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

            #line default
            #line hidden
                return;

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

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

            #line default
            #line hidden
                return;

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

            #line 100 "..\..\MainWindow.xaml"
                this.RadioButtonCm1.Click += new System.Windows.RoutedEventHandler(this.RadioButtonCm1_Click);

            #line default
            #line hidden
                return;

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

            #line 101 "..\..\MainWindow.xaml"
                this.RadioButtonCm2.Click += new System.Windows.RoutedEventHandler(this.RadioButtonCm2_Click);

            #line default
            #line hidden
                return;

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

            #line 102 "..\..\MainWindow.xaml"
                this.RadioButtonCm3.Click += new System.Windows.RoutedEventHandler(this.RadioButtonCm3_Click);

            #line default
            #line hidden
                return;

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

            #line 104 "..\..\MainWindow.xaml"
                this.RadioButtonCs1.Click += new System.Windows.RoutedEventHandler(this.RadioButtonCs1_Click);

            #line default
            #line hidden
                return;

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

            #line 105 "..\..\MainWindow.xaml"
                this.RadioButtonCs2.Click += new System.Windows.RoutedEventHandler(this.RadioButtonCs2_Click);

            #line default
            #line hidden
                return;

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

            #line 111 "..\..\MainWindow.xaml"
                this.DepthMargin.TextChanged += new System.Windows.Controls.TextChangedEventHandler(this.DepthMargin_TextChanged);

            #line default
            #line hidden
                return;

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

            #line 112 "..\..\MainWindow.xaml"
                this.Velocity.TextChanged += new System.Windows.Controls.TextChangedEventHandler(this.Velocity_TextChanged);

            #line default
            #line hidden
                return;

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

            #line 117 "..\..\MainWindow.xaml"
                this.Angle.TextChanged += new System.Windows.Controls.TextChangedEventHandler(this.Angle_TextChanged);

            #line default
            #line hidden
                return;

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

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

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

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

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

            case 39:
                this.ConstructionWidth = ((System.Windows.Controls.TextBox)(target));

            #line 146 "..\..\MainWindow.xaml"
                this.ConstructionWidth.TextChanged += new System.Windows.Controls.TextChangedEventHandler(this.ConstructionWidth_TextChanged);

            #line default
            #line hidden
                return;

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

            #line 147 "..\..\MainWindow.xaml"
                this.CapHeight.TextChanged += new System.Windows.Controls.TextChangedEventHandler(this.CapHeight_TextChanged);

            #line default
            #line hidden
                return;

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

            #line 148 "..\..\MainWindow.xaml"
                this.SpaceUnder.TextChanged += new System.Windows.Controls.TextChangedEventHandler(this.SpaceUnder_TextChanged);

            #line default
            #line hidden
                return;

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

            #line 161 "..\..\MainWindow.xaml"
                this.GetA.TextChanged += new System.Windows.Controls.TextChangedEventHandler(this.GetA_TextChanged);

            #line default
            #line hidden
                return;

            case 43:
                this.GetX = ((System.Windows.Controls.TextBox)(target));

            #line 162 "..\..\MainWindow.xaml"
                this.GetX.TextChanged += new System.Windows.Controls.TextChangedEventHandler(this.GetX_TextChanged);

            #line default
            #line hidden
                return;

            case 44:
                this.GetB = ((System.Windows.Controls.TextBox)(target));

            #line 163 "..\..\MainWindow.xaml"
                this.GetB.TextChanged += new System.Windows.Controls.TextChangedEventHandler(this.GetB_TextChanged);

            #line default
            #line hidden
                return;

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

            #line 164 "..\..\MainWindow.xaml"
                this.GetY.TextChanged += new System.Windows.Controls.TextChangedEventHandler(this.GetY_TextChanged);

            #line default
            #line hidden
                return;

            case 46:
                this.PilesDiagram = ((System.Windows.Controls.Canvas)(target));
                return;

            case 47:
                this.PilesDiagramImage = ((System.Windows.Controls.Image)(target));
                return;

            case 48:
                this.SteelChoice = ((System.Windows.Controls.ComboBox)(target));

            #line 172 "..\..\MainWindow.xaml"
                this.SteelChoice.Initialized += new System.EventHandler(this.SteelChoice_Initialized);

            #line default
            #line hidden

            #line 172 "..\..\MainWindow.xaml"
                this.SteelChoice.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.SteelChoice_SelectionChanged);

            #line default
            #line hidden
                return;

            case 49:
                this.ProfileChoice = ((System.Windows.Controls.ComboBox)(target));

            #line 173 "..\..\MainWindow.xaml"
                this.ProfileChoice.Initialized += new System.EventHandler(this.ProfileChoice_Initialized);

            #line default
            #line hidden

            #line 173 "..\..\MainWindow.xaml"
                this.ProfileChoice.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.ProfileChoice_SelectionChanged);

            #line default
            #line hidden
                return;

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

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

            case 52:
                this.T0Label = ((System.Windows.Controls.Label)(target));
                return;

            case 53:
                this.BollardChoice = ((System.Windows.Controls.ComboBox)(target));

            #line 200 "..\..\MainWindow.xaml"
                this.BollardChoice.Initialized += new System.EventHandler(this.BollardChoice_Initialized);

            #line default
            #line hidden

            #line 200 "..\..\MainWindow.xaml"
                this.BollardChoice.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.BollardChoice_SelectionChanged);

            #line default
            #line hidden
                return;

            case 54:
                this.BollardCapacityChoice = ((System.Windows.Controls.ComboBox)(target));

            #line 202 "..\..\MainWindow.xaml"
                this.BollardCapacityChoice.Initialized += new System.EventHandler(this.BollardCapacityChoice_Initialized);

            #line default
            #line hidden

            #line 202 "..\..\MainWindow.xaml"
                this.BollardCapacityChoice.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.BollardCapacityChoice_SelectionChanged);

            #line default
            #line hidden
                return;

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

            case 56:
                this.BollardImage = ((System.Windows.Controls.Image)(target));
                return;

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

            #line 208 "..\..\MainWindow.xaml"
                this.SetBollard.Click += new System.Windows.RoutedEventHandler(this.SetBollard_Click);

            #line default
            #line hidden
                return;

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

            #line 217 "..\..\MainWindow.xaml"
                this.GetSafetyCoefficient.TextChanged += new System.Windows.Controls.TextChangedEventHandler(this.GetSafetyCoefficient_TextChanged);

            #line default
            #line hidden
                return;

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

            case 60:
                this._2condition = ((System.Windows.Controls.Label)(target));
                return;

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

            case 62:

            #line 229 "..\..\MainWindow.xaml"
                ((System.Windows.Controls.Label)(target)).Initialized += new System.EventHandler(this.Label_Initialized);

            #line default
            #line hidden
                return;

            case 63:

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

            #line default
            #line hidden
                return;

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

            #line 232 "..\..\MainWindow.xaml"
                this.UpButton1.Click += new System.Windows.RoutedEventHandler(this.UpButton1_Click);

            #line default
            #line hidden
                return;

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

            #line 233 "..\..\MainWindow.xaml"
                this.DownButton1.Click += new System.Windows.RoutedEventHandler(this.DownButton1_Click);

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

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

            #line 18 "..\..\..\..\..\UI\Registro\rPedidos.xaml"
                this.BuscarButton.Click += new System.Windows.RoutedEventHandler(this.BuscarButton_Click);

            #line default
            #line hidden
                return;

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

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

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

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

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

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

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

            #line 59 "..\..\..\..\..\UI\Registro\rPedidos.xaml"
                this.AgregarFilaButton.Click += new System.Windows.RoutedEventHandler(this.AgregarFilaButton_Click);

            #line default
            #line hidden
                return;

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

            #line 69 "..\..\..\..\..\UI\Registro\rPedidos.xaml"
                this.RemoverFilaButton.Click += new System.Windows.RoutedEventHandler(this.RemoverFilaButton_Click);

            #line default
            #line hidden
                return;

            case 11:
                this.DetalleDataGrid = ((System.Windows.Controls.DataGrid)(target));
                return;

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

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

            #line 107 "..\..\..\..\..\UI\Registro\rPedidos.xaml"
                this.NuevoButton.Click += new System.Windows.RoutedEventHandler(this.NuevoButton_Click);

            #line default
            #line hidden
                return;

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

            #line 117 "..\..\..\..\..\UI\Registro\rPedidos.xaml"
                this.GuardarButton.Click += new System.Windows.RoutedEventHandler(this.GuardarButton_Click);

            #line default
            #line hidden
                return;

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

            #line 127 "..\..\..\..\..\UI\Registro\rPedidos.xaml"
                this.EliminarButton.Click += new System.Windows.RoutedEventHandler(this.EliminarButton_Click);

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

            #line 6 "..\..\StartWindow.xaml"
                this.btnStart.Click += new System.Windows.RoutedEventHandler(this.btnStart_Click);

            #line default
            #line hidden
                return;

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

            #line 7 "..\..\StartWindow.xaml"
                this.cmbPlayer.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.cmbPlayer_SelectionChanged);

            #line default
            #line hidden
                return;

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

            #line 8 "..\..\StartWindow.xaml"
                this.cmbGame.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.cmbGame_SelectionChanged);

            #line default
            #line hidden
                return;

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

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

            #line 12 "..\..\StartWindow.xaml"
                this.btnMapEditor.Click += new System.Windows.RoutedEventHandler(this.btnMapEditor_Click);

            #line default
            #line hidden
                return;

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

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

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

            #line 16 "..\..\StartWindow.xaml"
                this.btnSaveUser.Click += new System.Windows.RoutedEventHandler(this.btnSaveUser_Click);

            #line default
            #line hidden
                return;

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

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

            #line 19 "..\..\StartWindow.xaml"
                this.btnNewGame.Click += new System.Windows.RoutedEventHandler(this.btnNewGame_Click);

            #line default
            #line hidden
                return;

            case 11:
                this.cmbOpponent = ((System.Windows.Controls.ComboBox)(target));
                return;

            case 12:
                this.cmbMap = ((System.Windows.Controls.ComboBox)(target));
                return;
            }
            this._contentLoaded = true;
        }