예제 #1
2
        public HumanMacroDialog(Word.Range text, int jobNumber)
        {
            this.text = text;
            this.jobNumber = jobNumber;
            InitializeComponent();

            Binding binding = new Binding();
            binding.Source = text;
            binding.Path = new PropertyPath("Text");
            textToWorkWith.SetBinding(TextBox.TextProperty, binding);

            numItems.Content = numSections + " paragraph" + (numSections == 1 ? "" : "s") + " selected, each as a separate task";

            item1 = new ComboBoxItem();
            item1.Content = "Paragraph";
            item2 = new ComboBoxItem();
            item2.Content = "Sentence";

            separatorBox.Items.Add(item1);
            separatorBox.Items.Add(item2);
            separatorBox.SelectedValue = item1;

            returnAsComments = new ComboBoxItem();
            returnAsComments.Content = "Comments";
            returnAsInline = new ComboBoxItem();
            returnAsInline.Content = "In-Line Changes";
            returnTypeBox.Items.Add(returnAsComments);
            returnTypeBox.Items.Add(returnAsInline);
            returnTypeBox.SelectedValue = returnAsComments;
        }
예제 #2
0
 public AddDealList()
 {
     InitializeComponent();
     List<string> user = UserPanelController.Handler().GetUserList();
     int index = -1;
     string u = DBSyncController.Handler().GetUserName();
     foreach (string s in user)
     {
         index++;
         if (s == u)
             this.user.SelectedIndex = index;
         ComboBoxItem cbi = new ComboBoxItem();
         cbi.Content = s;
         this.user.Items.Add(cbi);
     }
     //List<string> user = UserPanelController.Handler().GetUserList();
     //foreach(string s in user)
     //{
     //    ComboBoxItem cbi = new ComboBoxItem();
     //    cbi.Content = s;
     //    this.user.Items.Add(cbi);
     //}
     change.Visibility = Visibility.Hidden;
     delete.Visibility = Visibility.Hidden;
 }
예제 #3
0
파일: gpd.xaml.cs 프로젝트: megadrow/Study
        public Gpd(Settings settings, List<string> stantionList = null)
        {
            InitializeComponent();

            GpdData.ProcNames.Clear();
            GpdData.StanNames.Clear();
            if ((stantionList != null) && (stantionList.Count > 0))
            {
                ComboStationType.IsEnabled = true;
                foreach (var stanName in stantionList)
                {
                    GpdData.StanNames.Add(stanName);
                    var cbItem = new ComboBoxItem {Content = stanName};
                    ComboStationType.Items.Add(cbItem);
                }
                ComboStationType.SelectedIndex = 0;
            }
            RbDrawMode.IsChecked = true;
            ComboDrawType.SelectedIndex = 0;
            _drawmode = 0;
            DmRbAdd.IsChecked = true;
            Settings = settings;
            grd.Width = 2000;
            DataContext = this;
        }
예제 #4
0
        public FicheReservation(Reservation re, Ressources r, DataGrid d)
        {
            rez = re;
            res = r;
            data = d;

            InitializeComponent();

            foreach (Particulier p in r.ListeClients)
            {
                ComboBoxItem monItem = new ComboBoxItem();
                monItem.Name = "idProp" + p.Id;
                monItem.Content = p.Id + " " + p.Nom + " " + p.Prenom;
                IDLoc.Items.Add(monItem);
            }

            foreach (Logement l in r.ListeLogements)
            {
                ComboBoxItem monItem = new ComboBoxItem();
                monItem.Name = "idlogement" + l.Id;
                int taille = l.GetType().ToString().Count();
                monItem.Content = l.Id + " " + l.GetType().ToString().Substring(11, taille - 11) + " " + l.Adresse.Ville;
                IDLog.Items.Add(monItem);
            }

            IDLoc.SelectedIndex = rez.IDClient - 1;
            IDLog.SelectedIndex = rez.IDLogement - 1;
            calendar1.BlackoutDates.Add(new CalendarDateRange(rez.DateDebut, rez.DateDebut.AddDays(7 * rez.Duree - 1)));
            calendar1.DisplayDate = rez.DateDebut;
            calendar1.SelectionMode = CalendarSelectionMode.None;
        }
 public LotSiteMaterialCostReport()
 {
     this.Name = "LotSiteMaterialCostReport";
     InitializeComponent();
     builderItem = (ComboBoxItem)cmboType.SelectedItem;
     LoadGrid();
 }
예제 #6
0
        public AjoutReservation(Ressources r, DataGrid datagridReservation)
        {
            InitializeComponent();
            res = r;
            datagridreservation = datagridReservation;

            foreach (Particulier p in r.ListeClients)
            {
                ComboBoxItem monItem = new ComboBoxItem();
                monItem.Name = "idProp" + p.Id;
                monItem.Content = p.Id + " " + p.Nom + " " + p.Prenom;
                IDLoc.Items.Add(monItem);
            }

            foreach (Logement l in r.ListeLogements)
            {
                ComboBoxItem monItem = new ComboBoxItem();
                monItem.Name = "idlogement" + l.Id;
                int taille = l.GetType().ToString().Count();
                monItem.Content = l.Id + " " + l.GetType().ToString().Substring(11, taille - 11) + " " + l.Adresse.Ville;
                IDLog.Items.Add(monItem);
            }

            for (int i = 0; i < dureeMax; i++ )
            {
                ComboBoxItem monItem = new ComboBoxItem();
                monItem.Name = "dure" + i;
                monItem.Content = i + 1;
                Duree.Items.Add(monItem);
            }

            InitializeComponent();
        }
        public void InitializeComboBoxes()
        {
            _departmentService = new DepartmentService();
            _credentialsService = new CredentialsService();
            _doctorService = new DoctorService();

            _deptsList = _departmentService.FindAll();
            _statusList = new List<string>() { "active", "inactive" };
            ComboBoxItem cbm;
            if (_deptsList != null)
            {
                foreach (Department d in _deptsList)
                {
                    cbm = new ComboBoxItem();
                    cbm.Content = d.Name;
                    cbm.Tag = d.Id;
                    departmentComboBox.Items.Add(cbm);
                }
            }
            foreach (KeyValuePair<int, string> status in DoctorStatus.DoctorStatuses)
            {
                cbm = new ComboBoxItem();
                cbm.Content = status.Value;
                cbm.Tag = status.Key;
                statusComoBox.Items.Add(cbm);
            }
        }
예제 #8
0
        /// <summary>
        /// Constructor
        /// </summary>
        /// <param name="view">The view to attach</param>
        /// <param name="db">The database to attach</param>
        /// <param name="dashboardHelper">The dashboard helper to attach</param>
        public MergeControl(DashboardHelper dashboardHelper)
        {
            InitializeComponent();

            pnlTableOverwrite.Visibility = System.Windows.Visibility.Collapsed;
            pnlError.Visibility = System.Windows.Visibility.Collapsed;
            pnlProgress.Visibility = System.Windows.Visibility.Collapsed;

            this.dashboardHelper = dashboardHelper;

            imgClose.MouseEnter += new MouseEventHandler(imgClose_MouseEnter);
            imgClose.MouseLeave += new MouseEventHandler(imgClose_MouseLeave);
            imgClose.MouseDown += new MouseButtonEventHandler(imgClose_MouseDown);

            cmbSourceDataFormat.Items.Clear();
            this.GadgetProgressUpdate += new GadgetProgressUpdateHandler(RequestUpdateStatusMessage);

            foreach (Epi.DataSets.Config.DataDriverRow row in dashboardHelper.Config.DataDrivers)
            {
                ComboBoxItem item = new ComboBoxItem();
                item.Content = row.DisplayName;
                //cmbDataFormats.Items.Add(new ComboBoxItem(row.Type, row.DisplayName, null));
                cmbSourceDataFormat.Items.Add(item);
            }
        }
        protected override void OnFieldIsSet()
        {
            base.OnFieldIsSet() ;

            _container.Children.Add( _comboBox ) ;

            foreach ( Option option in Field.GetOptions() )
            {
                ComboBoxItem comboBoxItem = new ComboBoxItem() ;

                comboBoxItem.Content = option.Label ;
                comboBoxItem.DataContext = option.GetValue() ;

                foreach ( string text in Field.GetValues() )
                {
                    if ( option.GetValue() == text )
                    {
                        comboBoxItem.IsSelected = true ;
                        break ;
                    }
                }

                _comboBox.Items.Add( comboBoxItem ) ;
            }
        }
예제 #10
0
        /// <summary>
        /// 
        /// </summary>
        public UIEstimateList()
        {
            InitializeComponent();
            db = new SDBServiceClient();
            db1 = new SDBServiceClient();
            mcm = new MouseClickManager(dgEDetails, 400);
            mcm.DoubleClick += new MouseButtonEventHandler(mcm_DoubleClick);
            db.GetMastersCompleted += new EventHandler<GetMastersCompletedEventArgs>(db_GetMastersCompleted);
            db.GetCustomersCompleted += new EventHandler<GetCustomersCompletedEventArgs>(db_GetCustomersCompleted);
            db.GetEstimateCompleted += new EventHandler<GetEstimateCompletedEventArgs>(db_GetEstimateCompleted);
            db.GetSupplierCompleted += new EventHandler<GetSupplierCompletedEventArgs>(db_GetSupplierCompleted); 
            db1.GetMastersCompleted += new EventHandler<GetMastersCompletedEventArgs>(db_GetTypeCompleted);
            db.DownloadTemplateCompleted += new EventHandler<DownloadTemplateCompletedEventArgs>(db_DownloadTemplateCompleted);
            db.DownloadTemplateAsync(EOrderFile);
            xmlFile = new XMLFile();

            ComboBoxItem cbi1 = new ComboBoxItem();
            cbi1.Content = "全て";
            cboExpire.Items.Add(cbi1);

            ComboBoxItem cbi2 = new ComboBoxItem();
            cbi2.Content = "有効";
            cboExpire.Items.Add(cbi2);

            ComboBoxItem cbi3 = new ComboBoxItem();
            cbi3.Content = "無効";
            cboExpire.Items.Add(cbi3); 
        }
예제 #11
0
        private void Button_Click(object sender, RoutedEventArgs e)
        {
            OpenFileDialog ofd = new OpenFileDialog();
             InitializeOpenFileDialog(ofd);
            if(ofd.ShowDialog() == true)
            {
                Supervisor.Instance.LoadImageSet(ofd.FileNames, BatchType.TESTING);
            }

            //display current image in the image frame
               // Image displayImage = new Image();

            SubjectBatch focusBatch = sup.SubjectBatches.Last().Value;
            Subject focusSubject;
            sup.FocusSubjects.TryGetValue(focusBatch.Name, out focusSubject);
            //displayImage.Source = focusSubject.BaseImage;
            Image1.Source = focusSubject.BaseImage;

            foreach (Subject subject in focusBatch.Subjects.Values)
            {
                ComboBoxItem cbi = new ComboBoxItem();
                cbi.Content = subject.Name;
                CB1.Items.Add(cbi);
            }
        }
예제 #12
0
        private void UpdateServerLists() {
            // This loads up previous changes and commits them to cold storage
            Disco.Default.Upgrade();
            // Clear all UI elements
            ControlServerList.Children.Clear();
            DeploymentTargetCombo.Items.Clear();
            DeploymentBranchCombo.Items.Clear();

            // Loads up Server list and appends it to UI elements
            foreach (var server in Disco.Default.Servers) {
                var listItem = new CheckBox {
                    Content = server,
                    Margin = new Thickness(5, 5, 5, 2),
                    Foreground = Brushes.White
                };
                ControlServerList.Children.Add(listItem);
                var comboItem = new ComboBoxItem {Content = server};
                DeploymentTargetCombo.Items.Add(comboItem);
            }

            // Loads up Branch list and appends it to UI elements
            foreach (var branch in Disco.Default.Branches) {
                var comboItem = new ComboBoxItem {Content = branch};
                DeploymentBranchCombo.Items.Add(comboItem);
            }
            DeploymentTargetCombo.SelectedIndex = 0;
            DeploymentBranchCombo.SelectedIndex = 0;
        }
예제 #13
0
        public void refreshCtrlComboBox()
        {
            mx_cbCtrl.Items.Clear();
            mx_cbAttr.Items.Clear();

            DataNodeGroup nodeGroup;

            if(DataNodeGroup.tryGetDataNodeGroup("BoloUI", "Ctrl", out nodeGroup) && nodeGroup != null)
            {
                foreach(KeyValuePair<string, DataNode> pairNodeDef in nodeGroup.m_mapDataNode.ToList())
                {
                    if(pairNodeDef.Value is DefConfig.CtrlDef_T)
                    {
                        ComboBoxItem cbItem = new ComboBoxItem();
                        string ctrlName = MainWindow.s_pW.m_strDic.getWordByKey(pairNodeDef.Key);

                        if (ctrlName == "")
                        {
                            ctrlName = pairNodeDef.Key;
                        }
                        else
                        {
                            ctrlName = pairNodeDef.Key + " | " + ctrlName;
                        }
                        cbItem.Content = ctrlName;
                        cbItem.ToolTip = pairNodeDef.Key;
                        mx_cbCtrl.Items.Add(cbItem);
                    }
                }
            }
        }
 public ComboBoxItem newComboItem(String label, SlotCanvasType tag){
     ComboBoxItem c = new ComboBoxItem();
     c.Content = label;
     c.Tag = tag;
     ctypeItems.Add(tag, c);
     return c;
 }
예제 #15
0
        public SetSqlStrPage(Wizard wizard)
            : this()
        {
            this.wizard = wizard;
            comboBox.Text = wizard.settings.SqlConString;

            Binding bb;

            bb = new Binding("SqlConString");
            bb.Source = wizard.settings;
            bb.Mode = BindingMode.TwoWay;
            comboBox.SetBinding(ComboBox.TextProperty, bb);

            #if DEBUG
            ComboBoxItem i = new ComboBoxItem();
            string dir = System.IO.Path.Combine(System.Environment.CurrentDirectory, "Database.mdf");
            i.Content = "Server=(localdb)\\v11.0;Integrated Security=true;AttachDbFileName=" + dir + ";";
            comboBox.Items.Add(i);

            i = new ComboBoxItem();
            i.Content = "Server=tcp:ljus-och-miljo-ab-sql-server.database.windows.net,1433;Database=Ljus_och_Miljo_DB;User ID=LaAdmin@ljus-och-miljo-ab-sql-server;Password=1mgtA45m4pkKK34HHIwfAW;Trusted_Connection=False;Encrypt=True;";
            comboBox.Items.Add(i);

            if (comboBox.Text == "")
                comboBox.Text = i.Content.ToString();
            #endif
        }
예제 #16
0
 public PreferencesWindow(SettingsManager manager)
 {
     InitializeComponent();
     InitializeRegistryBoundItems();
     var reader = new StreamReader(Assembly.GetExecutingAssembly().GetManifestResourceStream("Patchy.LICENSE"));
     licenseText.Text = reader.ReadToEnd();
     reader.Close();
     Settings = manager;
     DataContext = Settings;
     if (Settings.EncryptionSettings == EncryptionTypes.PlainText)
         encryptionSettingsComboBox.SelectedIndex = 0;
     else if (Settings.EncryptionSettings == EncryptionTypes.All)
         encryptionSettingsComboBox.SelectedIndex = 1;
     else
         encryptionSettingsComboBox.SelectedIndex = 2;
     seedingTorrentDoubleClickComboBox.SelectedIndex = (int)Settings.DoubleClickSeeding;
     downloadingTorrentDoubleClickComboBox.SelectedIndex = (int)Settings.DoubleClickDownloading;
     foreach (var label in Settings.Labels)
     {
         var comboItem = new ComboBoxItem
         {
             Content = label.Name,
             Background = label.Brush,
             Foreground = label.ForegroundBrush,
             Tag = label
         };
         rssLabelComboBox.Items.Add(comboItem);
     }
 }
        /// <summary>
        /// Gets the result history for the patient and makes visible, the comboboxes and label for that patient
        /// </summary>
        private void button1_Click(object sender, RoutedEventArgs e)
        {
            List<Results> resultsHistory = _resultsService.FindAllResultsOfPatient(_selectedPatient.Id);

            if (resultsHistory != null)
            {
                ComboBoxItem cbm = null;
                comboBoxResults.Items.Clear();
                foreach (Results r in resultsHistory)
                {
                    cbm = new ComboBoxItem();
                    cbm.Content = "Result for appointment " + r.IdAppointment;
                    cbm.Tag = r.Id;
                    comboBoxResults.Items.Add(cbm);
                }
                groupBox.Visibility = Visibility.Visible;
                h_date.Visibility = Visibility.Visible;
                h_diagnosis.Visibility = Visibility.Visible;
                h_medication.Visibility = Visibility.Visible;
                h_symptoms.Visibility = Visibility.Visible;
                h_results.Visibility = Visibility.Visible;
                comboBoxResults.SelectedIndex = 0;
                dateHistoryLabel.Content = resultsHistory[0].ResultDate;
                symptomsHistoryLabel.Content = resultsHistory[0].Symptoms;
                diagnosisHistoryabel.Content = resultsHistory[0].Diagnosis;
                medicationHistoryLabel.Content = resultsHistory[0].Medication;
            }
            else
            {
                MessageBox.Show("No results history for this patient !");
            }
        }
예제 #18
0
		static void OnEnumTypePropertyChanged(DependencyObject o, DependencyPropertyChangedEventArgs e)
		{
			Type enumType = e.NewValue as Type;
			if (enumType != null && enumType.IsEnum) {
				ComboBox comboBox = o as ComboBox;
				if (comboBox != null) {
					comboBox.SelectedValuePath = "Tag";
					comboBox.Items.Clear();
					foreach (FieldInfo field in enumType.GetFields()) {
						if (field.IsStatic) {
							ComboBoxItem item = new ComboBoxItem();
							item.Tag = field.GetValue(null);
							string description = GetDescription(field);
							item.SetValueToExtension(ComboBoxItem.ContentProperty, new StringParseExtension(description));
							comboBox.Items.Add(item);
						}
					}
				}
				RadioButtonGroup rbg = o as RadioButtonGroup;
				if (rbg != null) {
					rbg.Items.Clear();
					foreach (FieldInfo field in enumType.GetFields()) {
						if (field.IsStatic) {
							RadioButton b = new RadioButton();
							b.Tag = field.GetValue(null);
							string description = GetDescription(field);
							b.SetValueToExtension(RadioButton.ContentProperty, new StringParseExtension(description));
							rbg.Items.Add(b);
						}
					}
				}
			}
		}
        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
        }
        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";
        }
예제 #21
0
 private void AddLabel(TorrentLabel label)
 {
     var comboItem = new ComboBoxItem
     {
         Content = label.Name,
         Background = label.Brush,
         Foreground = label.ForegroundBrush,
         Tag = label
     };
     labelList.Items.Insert(labelList.Items.Count - 2, comboItem);
     var menuItem = new MenuItem
     {
         Header = label.Name,
         Background = label.Brush,
         Foreground = label.ForegroundBrush,
         Tag = label
     };
     menuItem.Click += setLabelOnTorrentClicked;
     torrentGridContextMenuSetLabelMenu.Items.Insert(0, menuItem);
     menuItem = new MenuItem
     {
         Header = label.Name,
         Background = label.Brush,
         Foreground = label.ForegroundBrush,
         Tag = label
     };
     menuItem.Click += setLabelOnTorrentClicked;
     menuSetLabelMenu.Items.Insert(0, menuItem);
 }
        private void checkServices()
        {
            try
            {
                using (var ctx = new finalContext())
                {
                    string dept = "";
                    ComboBoxItem typeItem = (ComboBoxItem)cmbDept.SelectedItem;
                    string value = typeItem.Content.ToString();

                    if (value == "Both")
                        dept = "";
                    else
                        dept = value;

                    var ser = from s in ctx.Services
                              where s.Active == true && s.Department.Contains(dept)
                              select s;
                    cmbTOL.Items.Clear();
                    cmbTOL.Items.Add(new ComboBoxItem { Content = "All" });
                    foreach (var i in ser)
                    {
                        ComboBoxItem cb = new ComboBoxItem { Content = i.Name };
                        cmbTOL.Items.Add(cb);
                    }
                }
            }
            catch (Exception)
            { return; }
        }
예제 #23
0
 private void FillIsntructorComboBox()
 {
     int id;
     string name;
     string lastName;
     if (connection != null)
     {
         String tablename = "Instructors";
         DataSet ds = DataAccess.GetAllTableElements(tablename, connection);
         for (int i = 0; i < ds.Tables[0].Rows.Count; i++)
         {
              id = ((int)ds.Tables[0].Rows[i]["Id"]);
              name = ds.Tables[0].Rows[i]["Name"].ToString();
              lastName = ds.Tables[0].Rows[i]["LastName"].ToString();
              instructors.Add(new Instructor(id, name, lastName));
         }
         foreach (Instructor item in instructors)
         {
             ComboBoxItem comboitem = new ComboBoxItem();
             comboitem.Content = item.ToString();
             comboitem.Tag = item;
             InstructorCombobox.Items.Add(comboitem);
         }
         InstructorCombobox.SelectedIndex = 0;
     }
     else
     {
         MessageBox.Show("Connection is not open");
     }
 }
예제 #24
0
        public static void AgencyFillComboBox(i9ComboBox AgencyComboBox, DataTable i9AgencyDataTabe)
        {
            if (AgencyComboBox.Items.Count <= 0)
            {
                AgencyComboBox.Items.Clear();
                foreach (DataRow dr in i9AgencyDataTabe.Rows)
                {
                    ComboBoxItem cbi = new ComboBoxItem();
                    cbi.Content = dr["AgencyName"].ToString();
                    cbi.Tag = dr["i9AgencyID"].ToString();
                    int i = AgencyComboBox.Items.Add(cbi);
                }
            }

            if (AgencyComboBox.Items.Count > 0)
            {
                if (AgencyComboBox.SelectedItem == null)
                {
                    AgencyComboBox.IsEnabled = false;
                    AgencyComboBox.SelectedIndex = 0;
                    AgencyComboBox.IsEnabled = true;
                }

                ComboBoxItem SelectCbi = (ComboBoxItem)AgencyComboBox.SelectedItem;
                //string i9AgencyID = SelectCbi.Tag.ToString();
            }
        }
        public RdfWriterOptionsWindow(IRdfWriter writer)
        {
            InitializeComponent();

            //Show Compression Levels
            Type clevels = typeof(WriterCompressionLevel);
            foreach (FieldInfo field in clevels.GetFields())
            {
                ComboBoxItem item = new ComboBoxItem();
                item.Content = field.Name;
                item.Tag = field.GetValue(null);
                this.cboCompressionLevel.Items.Add(item);
                if (field.Name.Equals("Default"))
                {
                    this.cboCompressionLevel.SelectedItem = item;
                }
            }
            if (this.cboCompressionLevel.SelectedItem == null && this.cboCompressionLevel.Items.Count > 0)
            {
                this.cboCompressionLevel.SelectedItem = this.cboCompressionLevel.Items[0];
            }

            //Enable/Disable relevant controls
            this.cboCompressionLevel.IsEnabled = (writer is ICompressingWriter);
            this.chkHighSpeed.IsEnabled = (writer is IHighSpeedWriter);
            this.chkPrettyPrint.IsEnabled = (writer is IPrettyPrintingWriter);
            this.chkUseAttributes.IsEnabled = (writer is IAttributeWriter);
            this.chkUseDtds.IsEnabled = (writer is IDtdWriter);
            this.stkHtmlWriter.IsEnabled = (writer is IHtmlWriter);
            this.stkXmlWriter.IsEnabled = (writer is IDtdWriter || writer is IAttributeWriter);

            this._writer = writer;
        }
        public DialogoCrearFactura(Contribuyente c)
        {
            InitializeComponent();

            facturaElectronica = new FacturaElectronica()
            {
                Detalles = new List<Detalle>(),
                Receptor = new Receptor()
                {
                    Ubicacion = new Ubicacion()
                }
            };
            

            mainPanel.DataContext = facturaElectronica;

            if (codigoANombreActEco == null)
            {
                LeerActividadesEconomicas();
            }

            foreach(ActividadEconomica a in c.ActividadesEconomicas){
                var cbi = new ComboBoxItem();
                if (codigoANombreActEco.ContainsKey(a.Value))
                {
                    cbi.Content = codigoANombreActEco[a.Value];
                }
                else
                {
                    cbi.Content = a.Value;
                }
                cbi.Tag = a.Value;
                actEcoComboBox.Items.Add(cbi);
            }
        }
        private void FillComboBox()
        {
            if (TitleCB.Items.IsEmpty == true || TypeCB.Items.IsEmpty == true)
            {
                EmployeeController controller = new EmployeeController();
                List<string> titles = controller.GetListOfTitles();
                foreach (string title in titles)
                {
                    string[] titleArray = title.Split(',');
                    ComboBoxItem item = new ComboBoxItem();
                    item.Tag = titleArray[0];
                    item.Content = titleArray[1];
                    TitleCB.Items.Add(item);
                }

                List<string> types = controller.GetListOfTypes();
                foreach (string type in types)
                {
                    string[] typeArray = type.Split(',');
                    ComboBoxItem item = new ComboBoxItem();
                    item.Tag = typeArray[0];
                    item.Content = typeArray[1];
                    TypeCB.Items.Add(item);
                }
                List<string> emails = controller.GetListOfEmails();
                foreach (string email in emails)
                {
                    ComboBoxItem item = new ComboBoxItem();
                    item.Content = email;
                    item.Tag = email;
                    EmailCB.Items.Add(item);
                }
            }
        }
예제 #28
0
파일: Page.xaml.cs 프로젝트: mono/uia2atk
 void AddButton_click(object sender, RoutedEventArgs e)
 {
     ComboBoxItem new_item = new ComboBoxItem();
     combobox1.Items.Add(new_item);
     new_item.Content = textbox1.Text;
     new_item.Name = "Box1_" + textbox1.Text;
 }
예제 #29
0
        private void GetDropDown()
        {
            DataTable dt = Utility.HandleData(d.GetPickListValues("RibbonTemplate__c", "Type__c",false)).dt;
            
            ComboBoxItem i = new ComboBoxItem();
            i.Content = "";            
            cbType.Items.Add(i);

            foreach (DataRow r in dt.Rows)
            {
                i = new ComboBoxItem();
                i.Content = r["Value"].ToString();
                cbType.Items.Add(i);
            }

            dt = Utility.HandleData(d.GetPickListValues("RibbonTemplate__c", "State__c", false)).dt;

            i = new ComboBoxItem();
            i.Content = "";
            cbState.Items.Add(i);

            foreach (DataRow r in dt.Rows)
            {
                i = new ComboBoxItem();
                i.Content = r["Value"].ToString();
                cbState.Items.Add(i);
            }

        }
        private void Window_Loaded(object sender, RoutedEventArgs e)
        {
            // Сначала нужно получить имя имя доступной новой рабочей области по умолчанию

            const string defaultFreeWorkspaceNameBase = "Workspace";
            int defaultFreeWorkspaceNameNumber = 1;

            string defaultFreeWorkspaceName;
            do
                defaultFreeWorkspaceName = $"{defaultFreeWorkspaceNameBase}{defaultFreeWorkspaceNameNumber++}";
            while (Data.Workspace.Exists(defaultFreeWorkspaceName));

            inputTextBox.Text = defaultFreeWorkspaceName;

            // Теперь нужно заполнить список языками

            foreach (var lang in Global.Languages.InAlphabetOrder)
            {
                ComboBoxItem item = new ComboBoxItem();
                item.Content = lang.DisplayName;
                item.Tag = lang.Code;
                languageList.Items.Add(item);
            }

            languageList.SelectedIndex = 0;

            Validate();
        }
예제 #31
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.RE_Func = ((Xceed.Wpf.Toolkit.MaskedTextBox)(target));
                return;

            case 2:
                this.RG_Vitima = ((Xceed.Wpf.Toolkit.MaskedTextBox)(target));
                return;

            case 3:
                this.Hora_Comunicacao = ((Xceed.Wpf.Toolkit.MaskedTextBox)(target));
                return;

            case 4:
                this.Hora_Fato = ((Xceed.Wpf.Toolkit.MaskedTextBox)(target));
                return;

            case 5:
                this.Hora_Local = ((Xceed.Wpf.Toolkit.MaskedTextBox)(target));
                return;

            case 6:
                this.Hora_Final = ((Xceed.Wpf.Toolkit.MaskedTextBox)(target));
                return;

            case 7:
                this.Data_Emissao = ((Xceed.Wpf.Toolkit.MaskedTextBox)(target));
                return;

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

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

            case 10:
                this.DiretamenteGuarnicao = ((System.Windows.Controls.ComboBoxItem)(target));
                return;

            case 11:
                this.GuarnicaoDeparou = ((System.Windows.Controls.ComboBoxItem)(target));
                return;

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

            case 13:
                this.Vitima = ((System.Windows.Controls.ComboBoxItem)(target));
                return;

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

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

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

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

            case 18:
                this.Condutor = ((System.Windows.Controls.ComboBoxItem)(target));
                return;

            case 19:
                this.Proprietario = ((System.Windows.Controls.ComboBoxItem)(target));
                return;

            case 20:
                this.Passageiro = ((System.Windows.Controls.ComboBoxItem)(target));
                return;

            case 21:
                this.Pedestre = ((System.Windows.Controls.ComboBoxItem)(target));
                return;

            case 22:
                this.ParteNaoDefinida = ((System.Windows.Controls.ComboBoxItem)(target));
                return;

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

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

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

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

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

            case 28:
                this.Telefone_Fornecido = ((Xceed.Wpf.Toolkit.MaskedTextBox)(target));
                return;

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

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

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

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

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

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

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

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

            case 37:
                this.Prefixo_Viatura = ((Xceed.Wpf.Toolkit.MaskedTextBox)(target));
                return;

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

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

            case 40:
                this.Banco = ((System.Windows.Controls.ComboBoxItem)(target));
                return;

            case 41:
                this.ViaPublica = ((System.Windows.Controls.ComboBoxItem)(target));
                return;

            case 42:
                this.Casa = ((System.Windows.Controls.ComboBoxItem)(target));
                return;

            case 43:
                this.Apartamento = ((System.Windows.Controls.ComboBoxItem)(target));
                return;

            case 44:
                this.Favela = ((System.Windows.Controls.ComboBoxItem)(target));
                return;

            case 45:
                this.EstabelecimentoComercial = ((System.Windows.Controls.ComboBoxItem)(target));
                return;

            case 46:
                this.HabitacaoColetiva = ((System.Windows.Controls.ComboBoxItem)(target));
                return;

            case 47:
                this.Interno = ((System.Windows.Controls.ComboBoxItem)(target));
                return;

            case 48:
                this.Externo = ((System.Windows.Controls.ComboBoxItem)(target));
                return;

            case 49:
                this.Preservado = ((System.Windows.Controls.ComboBoxItem)(target));
                return;

            case 50:
                this.NaoPreservado = ((System.Windows.Controls.ComboBoxItem)(target));
                return;

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

            case 52:
                this.LuzSolar = ((System.Windows.Controls.ComboBoxItem)(target));
                return;

            case 53:
                this.EntardecerAmanhecer = ((System.Windows.Controls.ComboBoxItem)(target));
                return;

            case 54:
                this.NoiteComLuz = ((System.Windows.Controls.ComboBoxItem)(target));
                return;

            case 55:
                this.NoiteSemLuz = ((System.Windows.Controls.ComboBoxItem)(target));
                return;

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

            case 57:
                this.Bom = ((System.Windows.Controls.ComboBoxItem)(target));
                return;

            case 58:
                this.Neblina = ((System.Windows.Controls.ComboBoxItem)(target));
                return;

            case 59:
                this.Chuva = ((System.Windows.Controls.ComboBoxItem)(target));
                return;

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

            case 61:
                this.Nome_Policial = ((System.Windows.Controls.TextBox)(target));
                return;

            case 62:
                this.RE_Policial = ((Xceed.Wpf.Toolkit.MaskedTextBox)(target));
                return;

            case 63:

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

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

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

            #line 15 "..\..\..\..\GeneratorsFront\Shrinking\GeffeSettings.xaml"
                this.lfsr1.AddHandler(System.Windows.DataObject.PastingEvent, new System.Windows.DataObjectPastingEventHandler(this.BinaryStringPasting));

            #line default
            #line hidden

            #line 15 "..\..\..\..\GeneratorsFront\Shrinking\GeffeSettings.xaml"
                this.lfsr1.PreviewTextInput += new System.Windows.Input.TextCompositionEventHandler(this.BinaryStringValidationTextBox);

            #line default
            #line hidden

            #line 15 "..\..\..\..\GeneratorsFront\Shrinking\GeffeSettings.xaml"
                this.lfsr1.TextChanged += new System.Windows.Controls.TextChangedEventHandler(this.lfsr1_TextChanged);

            #line default
            #line hidden
                return;

            case 3:

            #line 16 "..\..\..\..\GeneratorsFront\Shrinking\GeffeSettings.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Clear_lfsr1);

            #line default
            #line hidden
                return;

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

            #line 22 "..\..\..\..\GeneratorsFront\Shrinking\GeffeSettings.xaml"
                this.lfsr2.AddHandler(System.Windows.DataObject.PastingEvent, new System.Windows.DataObjectPastingEventHandler(this.BinaryStringPasting));

            #line default
            #line hidden

            #line 22 "..\..\..\..\GeneratorsFront\Shrinking\GeffeSettings.xaml"
                this.lfsr2.PreviewTextInput += new System.Windows.Input.TextCompositionEventHandler(this.BinaryStringValidationTextBox);

            #line default
            #line hidden

            #line 22 "..\..\..\..\GeneratorsFront\Shrinking\GeffeSettings.xaml"
                this.lfsr2.TextChanged += new System.Windows.Controls.TextChangedEventHandler(this.lfsr2_TextChanged);

            #line default
            #line hidden
                return;

            case 5:

            #line 23 "..\..\..\..\GeneratorsFront\Shrinking\GeffeSettings.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Clear_lfsr2);

            #line default
            #line hidden
                return;

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

            #line 29 "..\..\..\..\GeneratorsFront\Shrinking\GeffeSettings.xaml"
                this.lfsr3.AddHandler(System.Windows.DataObject.PastingEvent, new System.Windows.DataObjectPastingEventHandler(this.BinaryStringPasting));

            #line default
            #line hidden

            #line 29 "..\..\..\..\GeneratorsFront\Shrinking\GeffeSettings.xaml"
                this.lfsr3.PreviewTextInput += new System.Windows.Input.TextCompositionEventHandler(this.BinaryStringValidationTextBox);

            #line default
            #line hidden

            #line 29 "..\..\..\..\GeneratorsFront\Shrinking\GeffeSettings.xaml"
                this.lfsr3.TextChanged += new System.Windows.Controls.TextChangedEventHandler(this.lfsr3_TextChanged);

            #line default
            #line hidden
                return;

            case 7:

            #line 30 "..\..\..\..\GeneratorsFront\Shrinking\GeffeSettings.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Clear_lfsr3);

            #line default
            #line hidden
                return;

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

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

            #line 37 "..\..\..\..\GeneratorsFront\Shrinking\GeffeSettings.xaml"
                this.outputLength.AddHandler(System.Windows.DataObject.PastingEvent, new System.Windows.DataObjectPastingEventHandler(this.TextBoxPasting));

            #line default
            #line hidden

            #line 37 "..\..\..\..\GeneratorsFront\Shrinking\GeffeSettings.xaml"
                this.outputLength.PreviewTextInput += new System.Windows.Input.TextCompositionEventHandler(this.NumberValidationTextBox);

            #line default
            #line hidden
                return;

            case 10:

            #line 38 "..\..\..\..\GeneratorsFront\Shrinking\GeffeSettings.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Clear_outputLength);

            #line default
            #line hidden
                return;

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

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

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

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

            #line 79 "..\..\..\..\GeneratorsFront\Shrinking\GeffeSettings.xaml"
                this.outputFormatComboBox.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.outputFormatComboBox_SelectionChanged);

            #line default
            #line hidden
                return;

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

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

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

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

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

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

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

            #line 120 "..\..\..\..\GeneratorsFront\Shrinking\GeffeSettings.xaml"
                this.saveFileTxt.Click += new System.Windows.RoutedEventHandler(this.saveFileTxt_Click);

            #line default
            #line hidden
                return;

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

            #line 121 "..\..\..\..\GeneratorsFront\Shrinking\GeffeSettings.xaml"
                this.saveFileBin.Click += new System.Windows.RoutedEventHandler(this.saveFileBin_Click);

            #line default
            #line hidden
                return;

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

            #line 122 "..\..\..\..\GeneratorsFront\Shrinking\GeffeSettings.xaml"
                this.GenerateBtn.Click += new System.Windows.RoutedEventHandler(this.GenerateBtn_Click);

            #line default
            #line hidden
                return;

            case 24:
                this.LoadingCircle = ((CryptoDesktopApplication.LoadingControl.LoadingAnimation)(target));
                return;

            case 25:
                this.singleBit = ((MaterialDesignThemes.Wpf.PackIcon)(target));
                return;

            case 26:
                this.seriesTest = ((MaterialDesignThemes.Wpf.PackIcon)(target));
                return;

            case 27:
                this.longSeriesTest = ((MaterialDesignThemes.Wpf.PackIcon)(target));
                return;

            case 28:
                this.poker = ((MaterialDesignThemes.Wpf.PackIcon)(target));
                return;

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

            #line 142 "..\..\..\..\GeneratorsFront\Shrinking\GeffeSettings.xaml"
                this.setRegister1.Click += new System.Windows.RoutedEventHandler(this.setRegister1_Click);

            #line default
            #line hidden
                return;

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

            #line 143 "..\..\..\..\GeneratorsFront\Shrinking\GeffeSettings.xaml"
                this.setRegister2.Click += new System.Windows.RoutedEventHandler(this.setRegister2_Click);

            #line default
            #line hidden
                return;

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

            #line 144 "..\..\..\..\GeneratorsFront\Shrinking\GeffeSettings.xaml"
                this.setRegister3.Click += new System.Windows.RoutedEventHandler(this.setRegister3_Click);

            #line default
            #line hidden
                return;

            case 32:
                this.PolynomialDataGrid = ((System.Windows.Controls.DataGrid)(target));

            #line 145 "..\..\..\..\GeneratorsFront\Shrinking\GeffeSettings.xaml"
                this.PolynomialDataGrid.AddHandler(System.Windows.DataObject.PastingEvent, new System.Windows.DataObjectPastingEventHandler(this.PolynomialDataGrid_Pasting));

            #line default
            #line hidden

            #line 145 "..\..\..\..\GeneratorsFront\Shrinking\GeffeSettings.xaml"
                this.PolynomialDataGrid.CellEditEnding += new System.EventHandler <System.Windows.Controls.DataGridCellEditEndingEventArgs>(this.DatagridValidation);

            #line default
            #line hidden
                return;

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

            #line 163 "..\..\..\..\GeneratorsFront\Shrinking\GeffeSettings.xaml"
                this.setPolynomial.Click += new System.Windows.RoutedEventHandler(this.setPolynomial_Click);

            #line default
            #line hidden
                return;

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

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

            case 36:
                this.r3CurrentCounter = ((System.Windows.Controls.Label)(target));
                return;
            }
            this._contentLoaded = true;
        }
예제 #33
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.reports_page = ((Config_with_Gui.Reports)(target));
                return;

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

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

            case 4:
                this.Combo1 = ((System.Windows.Controls.ComboBoxItem)(target));

            #line 14 "..\..\Reports.xaml"
                this.Combo1.Selected += new System.Windows.RoutedEventHandler(this.defaultSelected);

            #line default
            #line hidden
                return;

            case 5:

            #line 15 "..\..\Reports.xaml"
                ((System.Windows.Controls.ComboBoxItem)(target)).Selected += new System.Windows.RoutedEventHandler(this.leaveTypeSelected);

            #line default
            #line hidden
                return;

            case 6:

            #line 16 "..\..\Reports.xaml"
                ((System.Windows.Controls.ComboBoxItem)(target)).Selected += new System.Windows.RoutedEventHandler(this.employeeSelected);

            #line default
            #line hidden
                return;

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

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

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

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

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

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

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

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

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

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

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

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

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

            case 20:
                this.viewButton = ((System.Windows.Controls.Button)(target));
                return;
            }
            this._contentLoaded = true;
        }
예제 #34
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.mainGrid = ((System.Windows.Controls.Grid)(target));
                return;

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

            #line 16 "..\..\..\..\Pages\Register.xaml"
                this.tbName.LostFocus += new System.Windows.RoutedEventHandler(this.tbName_LostFocus);

            #line default
            #line hidden
                return;

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

            #line 17 "..\..\..\..\Pages\Register.xaml"
                this.tbSurname.LostFocus += new System.Windows.RoutedEventHandler(this.tbSurname_LostFocus);

            #line default
            #line hidden
                return;

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

            #line 18 "..\..\..\..\Pages\Register.xaml"
                this.tbEmail.LostFocus += new System.Windows.RoutedEventHandler(this.tbEmail_LostFocus);

            #line default
            #line hidden
                return;

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

            #line 20 "..\..\..\..\Pages\Register.xaml"
                this.tbJob.LostFocus += new System.Windows.RoutedEventHandler(this.tbJob_LostFocus);

            #line default
            #line hidden
                return;

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

            #line 21 "..\..\..\..\Pages\Register.xaml"
                this.tbLogin.LostFocus += new System.Windows.RoutedEventHandler(this.tbLogin_LostFocus);

            #line default
            #line hidden
                return;

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

            #line 22 "..\..\..\..\Pages\Register.xaml"
                this.tbPassword.LostFocus += new System.Windows.RoutedEventHandler(this.tbPassword_LostFocus);

            #line default
            #line hidden
                return;

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

            #line 23 "..\..\..\..\Pages\Register.xaml"
                this.tbPasswordRepeat.LostFocus += new System.Windows.RoutedEventHandler(this.tbPasswordRepeat_LostFocus);

            #line default
            #line hidden
                return;

            case 9:

            #line 33 "..\..\..\..\Pages\Register.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.tbBack_Click);

            #line default
            #line hidden
                return;

            case 10:

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

            #line default
            #line hidden
                return;

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

            case 12:
                this.cbiMale = ((System.Windows.Controls.ComboBoxItem)(target));
                return;

            case 13:
                this.cbiFemale = ((System.Windows.Controls.ComboBoxItem)(target));
                return;

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

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

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

            case 17:
                this.lblEmpty = ((System.Windows.Controls.Label)(target));
                return;
            }
            this._contentLoaded = true;
        }
예제 #35
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:

            #line 9 "..\..\MainWindow.xaml"
                ((TypingGame.MainWindow)(target)).PreviewKeyDown += new System.Windows.Input.KeyEventHandler(this.Window_PreviewKeyDown);

            #line default
            #line hidden

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

            #line default
            #line hidden
                return;

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

            case 3:
                this.ImgBG = ((System.Windows.Controls.Image)(target));
                return;

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

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

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

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

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

            #line default
            #line hidden

            #line 124 "..\..\MainWindow.xaml"
                this.BtnPlay.MouseEnter += new System.Windows.Input.MouseEventHandler(this.Btn_MouseEnter);

            #line default
            #line hidden
                return;

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

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

            #line default
            #line hidden

            #line 125 "..\..\MainWindow.xaml"
                this.BtnSet.MouseEnter += new System.Windows.Input.MouseEventHandler(this.Btn_MouseEnter);

            #line default
            #line hidden
                return;

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

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

            #line default
            #line hidden

            #line 126 "..\..\MainWindow.xaml"
                this.BtnSort.MouseEnter += new System.Windows.Input.MouseEventHandler(this.Btn_MouseEnter);

            #line default
            #line hidden
                return;

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

            case 11:
                this.CanvSet = ((System.Windows.Controls.Canvas)(target));
                return;

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

            #line 140 "..\..\MainWindow.xaml"
                this.TxtName.LostFocus += new System.Windows.RoutedEventHandler(this.TxtName_LostFocus);

            #line default
            #line hidden

            #line 141 "..\..\MainWindow.xaml"
                this.TxtName.GotFocus += new System.Windows.RoutedEventHandler(this.TxtName_GotFocus);

            #line default
            #line hidden
                return;

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

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

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

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

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

            case 18:
                this.CmbIFour2 = ((System.Windows.Controls.ComboBoxItem)(target));
                return;

            case 19:
                this.CmbIFive2 = ((System.Windows.Controls.ComboBoxItem)(target));
                return;

            case 20:
                this.CmbISix2 = ((System.Windows.Controls.ComboBoxItem)(target));
                return;

            case 21:
                this.CmbISeven2 = ((System.Windows.Controls.ComboBoxItem)(target));
                return;

            case 22:
                this.CmbIEight2 = ((System.Windows.Controls.ComboBoxItem)(target));
                return;

            case 23:
                this.CmbINine2 = ((System.Windows.Controls.ComboBoxItem)(target));
                return;

            case 24:
                this.CmbITen2 = ((System.Windows.Controls.ComboBoxItem)(target));
                return;

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

            #line 155 "..\..\MainWindow.xaml"
                this.CkbSilent.Checked += new System.Windows.RoutedEventHandler(this.CkbSilent_Checked);

            #line default
            #line hidden

            #line 155 "..\..\MainWindow.xaml"
                this.CkbSilent.Unchecked += new System.Windows.RoutedEventHandler(this.CkbSilent_Unchecked);

            #line default
            #line hidden
                return;

            case 26:
                this.CanvSort = ((System.Windows.Controls.Canvas)(target));
                return;

            case 27:
                this.LvScore = ((System.Windows.Controls.ListView)(target));
                return;

            case 28:
                this.No = ((System.Windows.Controls.GridViewColumn)(target));
                return;

            case 29:
                this.Level = ((System.Windows.Controls.GridViewColumn)(target));
                return;

            case 30:
                this.UserName = ((System.Windows.Controls.GridViewColumn)(target));
                return;

            case 31:
                this.Score = ((System.Windows.Controls.GridViewColumn)(target));
                return;

            case 32:
                this.TatolScore = ((System.Windows.Controls.GridViewColumn)(target));
                return;

            case 33:
                this.PracticeTime = ((System.Windows.Controls.GridViewColumn)(target));
                return;

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

            case 35:
                this.GridElementAll = ((System.Windows.Controls.Grid)(target));
                return;

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

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

            #line default
            #line hidden
                return;

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

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

            #line default
            #line hidden
                return;

            case 38:
                this.CanvasMain = ((System.Windows.Controls.Canvas)(target));
                return;

            case 39:
                this.MsgShow = ((TypingGame.MyMessage)(target));
                return;

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

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

            #line default
            #line hidden
                return;

            case 41:
                this.CanvCoin = ((System.Windows.Controls.Canvas)(target));
                return;

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

            case 43:
                this.TxtScore = ((System.Windows.Controls.TextBox)(target));
                return;

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

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

            case 46:
                this.SldGeneral = ((System.Windows.Controls.Slider)(target));
                return;

            case 47:
                this.LblLevel = ((System.Windows.Controls.Label)(target));
                return;

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

            case 49:
                this.CmbIOne = ((System.Windows.Controls.ComboBoxItem)(target));
                return;

            case 50:
                this.CmbITwo = ((System.Windows.Controls.ComboBoxItem)(target));
                return;

            case 51:
                this.CmbIThree = ((System.Windows.Controls.ComboBoxItem)(target));
                return;

            case 52:
                this.CmbIFour = ((System.Windows.Controls.ComboBoxItem)(target));
                return;

            case 53:
                this.CmbIFive = ((System.Windows.Controls.ComboBoxItem)(target));
                return;

            case 54:
                this.CmbISix = ((System.Windows.Controls.ComboBoxItem)(target));
                return;

            case 55:
                this.CmbISeven = ((System.Windows.Controls.ComboBoxItem)(target));
                return;

            case 56:
                this.CmbIEight = ((System.Windows.Controls.ComboBoxItem)(target));
                return;

            case 57:
                this.CmbINine = ((System.Windows.Controls.ComboBoxItem)(target));
                return;

            case 58:
                this.CmbITen = ((System.Windows.Controls.ComboBoxItem)(target));
                return;
            }
            this._contentLoaded = true;
        }
예제 #36
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.voltage_TextBlock = ((System.Windows.Controls.TextBlock)(target));
                return;

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

            case 27:
                this.ziran_item = ((System.Windows.Controls.ComboBoxItem)(target));
                return;

            case 28:
                this.fuya_item = ((System.Windows.Controls.ComboBoxItem)(target));
                return;

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

            case 30:
                this.b_ziran_item = ((System.Windows.Controls.ComboBoxItem)(target));
                return;

            case 31:
                this.b_fuya_item = ((System.Windows.Controls.ComboBoxItem)(target));
                return;

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

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

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

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

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

            case 37:
                this.QieDuan_TextBlock = ((System.Windows.Controls.TextBlock)(target));
                return;

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

            case 39:
                this.curve_TextBlock = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 40:
                this.Curve_ComboBox = ((System.Windows.Controls.ComboBox)(target));

            #line 216 "..\..\..\Pages\Common_Rail_Injector_Curve.xaml"
                this.Curve_ComboBox.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.Curve_ComboBox_SelectionChanged_1);

            #line default
            #line hidden
                return;

            case 41:
                this.ComboBoxItem_1 = ((System.Windows.Controls.ComboBoxItem)(target));
                return;

            case 42:
                this.ComboBoxItem_2 = ((System.Windows.Controls.ComboBoxItem)(target));
                return;
            }
            this._contentLoaded = true;
        }
예제 #37
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.recipeNameLabel = ((System.Windows.Controls.Label)(target));
                return;

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

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

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

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

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

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

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

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

            case 10:
                this.dessertItem = ((System.Windows.Controls.ComboBoxItem)(target));
                return;

            case 11:
                this.appetizerItem = ((System.Windows.Controls.ComboBoxItem)(target));
                return;

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

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

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

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

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

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

            case 18:
                this.minutesItem = ((System.Windows.Controls.ComboBoxItem)(target));
                return;

            case 19:
                this.hoursItem = ((System.Windows.Controls.ComboBoxItem)(target));
                return;

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

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

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

            case 23:

            #line 107 "..\..\CreatePage.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Profile_Click);

            #line default
            #line hidden
                return;

            case 24:

            #line 108 "..\..\CreatePage.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Home_Click);

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

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

            #line default
            #line hidden
                return;

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

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

            #line default
            #line hidden
                return;

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

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

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

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

            #line default
            #line hidden
                return;

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

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

            #line default
            #line hidden
                return;

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

            case 8:
                this.MainStatusBar = ((System.Windows.Controls.Primitives.StatusBar)(target));
                return;

            case 9:
                this.statusMessage = ((System.Windows.Controls.Primitives.StatusBarItem)(target));
                return;

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

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

            #line 79 "..\..\MainWindow.xaml"
                this.lstMediaList.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.LstMediaList_SelectionChanged);

            #line default
            #line hidden
                return;

            case 12:
                this.lstCart = ((System.Windows.Controls.ListBox)(target));

            #line 80 "..\..\MainWindow.xaml"
                this.lstCart.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.lstCart_SelectionChanged);

            #line default
            #line hidden
                return;

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

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

            #line default
            #line hidden
                return;

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

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

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

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

            #line 91 "..\..\MainWindow.xaml"
                this.cmbMovies.Selected += new System.Windows.RoutedEventHandler(this.cmbMovies_Selected);

            #line default
            #line hidden
                return;

            case 18:
                this.cmbVideoGames = ((System.Windows.Controls.ComboBoxItem)(target));

            #line 92 "..\..\MainWindow.xaml"
                this.cmbVideoGames.Selected += new System.Windows.RoutedEventHandler(this.cmbVideoGames_Selected);

            #line default
            #line hidden
                return;

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

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

            #line 95 "..\..\MainWindow.xaml"
                this.cmbAction.Selected += new System.Windows.RoutedEventHandler(this.cmbAction_Selected);

            #line default
            #line hidden
                return;

            case 21:
                this.cmbDrama = ((System.Windows.Controls.ComboBoxItem)(target));

            #line 96 "..\..\MainWindow.xaml"
                this.cmbDrama.Selected += new System.Windows.RoutedEventHandler(this.cmbDrama_Selected);

            #line default
            #line hidden
                return;

            case 22:
                this.cmbComedy = ((System.Windows.Controls.ComboBoxItem)(target));

            #line 97 "..\..\MainWindow.xaml"
                this.cmbComedy.Selected += new System.Windows.RoutedEventHandler(this.cmbComedy_Selected);

            #line default
            #line hidden
                return;

            case 23:
                this.cmbShooter = ((System.Windows.Controls.ComboBoxItem)(target));

            #line 98 "..\..\MainWindow.xaml"
                this.cmbShooter.Selected += new System.Windows.RoutedEventHandler(this.cmbShooter_Selected);

            #line default
            #line hidden
                return;

            case 24:
                this.cmbSimulation = ((System.Windows.Controls.ComboBoxItem)(target));

            #line 99 "..\..\MainWindow.xaml"
                this.cmbSimulation.Selected += new System.Windows.RoutedEventHandler(this.cmbSimulation_Selected);

            #line default
            #line hidden
                return;

            case 25:
                this.cmbRpg = ((System.Windows.Controls.ComboBoxItem)(target));

            #line 100 "..\..\MainWindow.xaml"
                this.cmbRpg.Selected += new System.Windows.RoutedEventHandler(this.cmbRpg_Selected);

            #line default
            #line hidden
                return;

            case 26:
                this.cmbAll1 = ((System.Windows.Controls.ComboBoxItem)(target));

            #line 101 "..\..\MainWindow.xaml"
                this.cmbAll1.Selected += new System.Windows.RoutedEventHandler(this.cmbAll1_Selected);

            #line default
            #line hidden
                return;

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

            case 28:
                this.cmbDvd = ((System.Windows.Controls.ComboBoxItem)(target));

            #line 104 "..\..\MainWindow.xaml"
                this.cmbDvd.Selected += new System.Windows.RoutedEventHandler(this.cmbDvd_Selected);

            #line default
            #line hidden
                return;

            case 29:
                this.cmbBluRay = ((System.Windows.Controls.ComboBoxItem)(target));

            #line 105 "..\..\MainWindow.xaml"
                this.cmbBluRay.Selected += new System.Windows.RoutedEventHandler(this.cmbBluRay_Selected);

            #line default
            #line hidden
                return;

            case 30:
                this.cmbXbox = ((System.Windows.Controls.ComboBoxItem)(target));

            #line 106 "..\..\MainWindow.xaml"
                this.cmbXbox.Selected += new System.Windows.RoutedEventHandler(this.cmbXbox_Selected);

            #line default
            #line hidden
                return;

            case 31:
                this.cmbPs4 = ((System.Windows.Controls.ComboBoxItem)(target));

            #line 107 "..\..\MainWindow.xaml"
                this.cmbPs4.Selected += new System.Windows.RoutedEventHandler(this.cmbPs4_Selected);

            #line default
            #line hidden
                return;

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

            #line 108 "..\..\MainWindow.xaml"
                this.cmbPc.Selected += new System.Windows.RoutedEventHandler(this.cmbPc_Selected);

            #line default
            #line hidden
                return;

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

            #line 109 "..\..\MainWindow.xaml"
                this.cmbAll2.Selected += new System.Windows.RoutedEventHandler(this.cmbAll2_Selected);

            #line default
            #line hidden
                return;

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

            #line 112 "..\..\MainWindow.xaml"
                this.btnAddToCart.Click += new System.Windows.RoutedEventHandler(this.btnAddToCart_Click);

            #line default
            #line hidden
                return;

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

            #line 113 "..\..\MainWindow.xaml"
                this.btnClearCart.Click += new System.Windows.RoutedEventHandler(this.btnClearCart_Click);

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

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

            #line default
            #line hidden
                return;

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

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

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

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

            #line default
            #line hidden
                return;

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

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

            #line default
            #line hidden
                return;

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

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

            #line default
            #line hidden
                return;

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

            case 8:
                this.lviSchedule = ((System.Windows.Controls.ListViewItem)(target));

            #line 33 "..\..\MainWindow.xaml"
                this.lviSchedule.PreviewMouseLeftButtonDown += new System.Windows.Input.MouseButtonEventHandler(this.lviSchedule_PreviewMouseLeftButtonDown_1);

            #line default
            #line hidden
                return;

            case 9:
                this.lviEmpoyees = ((System.Windows.Controls.ListViewItem)(target));

            #line 39 "..\..\MainWindow.xaml"
                this.lviEmpoyees.PreviewMouseLeftButtonDown += new System.Windows.Input.MouseButtonEventHandler(this.lviEmpoyees_PreviewMouseLeftButtonDown);

            #line default
            #line hidden
                return;

            case 10:
                this.lviAdd = ((System.Windows.Controls.ListViewItem)(target));

            #line 45 "..\..\MainWindow.xaml"
                this.lviAdd.PreviewMouseLeftButtonDown += new System.Windows.Input.MouseButtonEventHandler(this.lviAdd_PreviewMouseLeftButtonDown);

            #line default
            #line hidden
                return;

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

            case 12:
                this.calCurrent = ((System.Windows.Controls.Calendar)(target));
                return;

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

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

            #line default
            #line hidden
                return;

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

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

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

            #line default
            #line hidden
                return;

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

            case 17:
                this.dataEmployees = ((System.Windows.Controls.DataGrid)(target));
                return;

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

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

            #line default
            #line hidden
                return;

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

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

            #line default
            #line hidden
                return;

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

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

            case 22:
                this.citemAdmin = ((System.Windows.Controls.ComboBoxItem)(target));
                return;

            case 23:
                this.citemNurse = ((System.Windows.Controls.ComboBoxItem)(target));
                return;

            case 24:
                this.citemCardiologist = ((System.Windows.Controls.ComboBoxItem)(target));
                return;

            case 25:
                this.citemLaryngologist = ((System.Windows.Controls.ComboBoxItem)(target));
                return;

            case 26:
                this.citemNeurologist = ((System.Windows.Controls.ComboBoxItem)(target));
                return;

            case 27:
                this.citemUrologist = ((System.Windows.Controls.ComboBoxItem)(target));
                return;

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

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

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

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

            case 32:
                this.txtPassword = ((System.Windows.Controls.PasswordBox)(target));
                return;

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

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

            #line default
            #line hidden
                return;

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

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

            #line default
            #line hidden
                return;

            case 35:
                this.lblWrongPesel = ((System.Windows.Controls.Label)(target));
                return;
            }
            this._contentLoaded = true;
        }
예제 #40
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.dockingManager = ((Xceed.Wpf.AvalonDock.DockingManager)(target));
                return;

            case 2:
                this.First_queue = ((System.Windows.Controls.ListView)(target));
                return;

            case 4:
                this.Second_queue = ((System.Windows.Controls.ListView)(target));
                return;

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

            case 8:

            #line 110 "..\..\patient_watch.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Add_office);

            #line default
            #line hidden
                return;

            case 9:

            #line 132 "..\..\patient_watch.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Register);

            #line default
            #line hidden
                return;

            case 10:

            #line 133 "..\..\patient_watch.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.CheckIn);

            #line default
            #line hidden
                return;

            case 11:

            #line 134 "..\..\patient_watch.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Next);

            #line default
            #line hidden
                return;

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

            case 13:
                this.Finish_queue = ((System.Windows.Controls.ListView)(target));
                return;

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

            case 15:
                this.Doctor_Profile = ((System.Windows.Controls.TextBlock)(target));
                return;

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

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

            case 18:
                this.诊室1 = ((System.Windows.Controls.ComboBoxItem)(target));
                return;

            case 19:
                this.PatientView = ((System.Windows.Controls.ListView)(target));
                return;

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

            #line 251 "..\..\patient_watch.xaml"
                this.add_patient_butt.Click += new System.Windows.RoutedEventHandler(this.add_patient_butt_Click);

            #line default
            #line hidden
                return;

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

            case 22:
                this.DoctorView = ((System.Windows.Controls.ListView)(target));
                return;

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

            case 24:
                this.remove_doctor_butt = ((System.Windows.Controls.Button)(target));
                return;
            }
            this._contentLoaded = true;
        }
예제 #41
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.window_NMPakcageMain = ((Add_NMPackage.MainWindow)(target));
                return;

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

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

            #line 18 "..\..\..\..\MainWindow.xaml"
                this.combo_PackageSource.PreviewMouseDown += new System.Windows.Input.MouseButtonEventHandler(this.combo_PackageSource_PreviewMouseDown);

            #line default
            #line hidden

            #line 18 "..\..\..\..\MainWindow.xaml"
                this.combo_PackageSource.MouseLeave += new System.Windows.Input.MouseEventHandler(this.combo_PackageSource_MouseLeave);

            #line default
            #line hidden
                return;

            case 4:
                this.comboItem_PackageSource = ((System.Windows.Controls.ComboBoxItem)(target));
                return;

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

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

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

            #line 33 "..\..\..\..\MainWindow.xaml"
                this.combo_Programmordner.PreviewMouseLeftButtonDown += new System.Windows.Input.MouseButtonEventHandler(this.Programmordner_PreviewMouseLeftButtonDown);

            #line default
            #line hidden

            #line 33 "..\..\..\..\MainWindow.xaml"
                this.combo_Programmordner.MouseEnter += new System.Windows.Input.MouseEventHandler(this.combo_Programmordner_MouseEnter);

            #line default
            #line hidden
                return;

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

            #line 35 "..\..\..\..\MainWindow.xaml"
                this.comboItem_NeuerOrdner.PreviewMouseLeftButtonDown += new System.Windows.Input.MouseButtonEventHandler(this.comboItem_NeuerOrdner_PreviewMouseLeftButtonDown);

            #line default
            #line hidden
                return;

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

            #line 37 "..\..\..\..\MainWindow.xaml"
                this.txtBox_NeuerOrdnerName.PreviewMouseLeftButtonDown += new System.Windows.Input.MouseButtonEventHandler(this.txtBox_NeuerOrdnerName_PreviewMouseLeftButtonDown);

            #line default
            #line hidden
                return;

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

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

            #line default
            #line hidden
                return;

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

            case 12:
                this.comboItem_NeuProgrammDatei = ((System.Windows.Controls.ComboBoxItem)(target));

            #line 43 "..\..\..\..\MainWindow.xaml"
                this.comboItem_NeuProgrammDatei.PreviewMouseLeftButtonDown += new System.Windows.Input.MouseButtonEventHandler(this.comboItem_NeuProgrammDatei_PreviewMouseLeftButtonDown);

            #line default
            #line hidden
                return;

            case 13:
                this.comboItem_NeuProgrammordner = ((System.Windows.Controls.ComboBoxItem)(target));

            #line 44 "..\..\..\..\MainWindow.xaml"
                this.comboItem_NeuProgrammordner.PreviewMouseLeftButtonDown += new System.Windows.Input.MouseButtonEventHandler(this.comboItem_NeuProgrammordner_PreviewMouseLeftButtonDown);

            #line default
            #line hidden
                return;

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

            #line 46 "..\..\..\..\MainWindow.xaml"
                this.tbox_Programmpfad.PreviewMouseLeftButtonDown += new System.Windows.Input.MouseButtonEventHandler(this.tbox_Programmpfad_PreviewMouseLeftButtonDown);

            #line default
            #line hidden
                return;

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

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

            #line default
            #line hidden
                return;

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

            #line 49 "..\..\..\..\MainWindow.xaml"
                this.combo_Programmdateipfad.PreviewMouseLeftButtonDown += new System.Windows.Input.MouseButtonEventHandler(this.combo_Programmdateipfad_PreviewMouseLeftButtonDown);

            #line default
            #line hidden
                return;

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

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

            #line 52 "..\..\..\..\MainWindow.xaml"
                this.t_silentArgs.PreviewMouseLeftButtonDown += new System.Windows.Input.MouseButtonEventHandler(this.t_silentArgs_PreviewMouseLeftButtonDown);

            #line default
            #line hidden
                return;

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

            #line 56 "..\..\..\..\MainWindow.xaml"
                this.list_RegistryProgs.PreviewMouseLeftButtonDown += new System.Windows.Input.MouseButtonEventHandler(this.list_RegistryProgs_PreviewMouseLeftButtonDown);

            #line default
            #line hidden
                return;

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

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

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

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

            #line 61 "..\..\..\..\MainWindow.xaml"
                this.txt_uninstallSilentArgs.PreviewMouseLeftButtonDown += new System.Windows.Input.MouseButtonEventHandler(this.txt_uninstallSilentArgs_PreviewMouseLeftButtonDown);

            #line default
            #line hidden
                return;

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

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

            #line default
            #line hidden
                return;

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

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

            #line 69 "..\..\..\..\MainWindow.xaml"
                this.check_dependencies.Checked += new System.Windows.RoutedEventHandler(this.check_dependencies_Checked);

            #line default
            #line hidden

            #line 69 "..\..\..\..\MainWindow.xaml"
                this.check_dependencies.Unchecked += new System.Windows.RoutedEventHandler(this.check_dependencies_Unchecked);

            #line default
            #line hidden
                return;

            case 27:
                this.wrapp_Dependencies = ((System.Windows.Controls.WrapPanel)(target));
                return;

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

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

            #line default
            #line hidden
                return;

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

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

            #line default
            #line hidden
                return;

            case 30:
                this.listv_info = ((System.Windows.Controls.ListView)(target));
                return;
            }
            this._contentLoaded = true;
        }
예제 #42
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.userLbl = ((System.Windows.Controls.Label)(target));
                return;

            case 2:

            #line 17 "..\..\Recepcja.xaml"
                ((System.Windows.Controls.MenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.NowyPacjent_Click);

            #line default
            #line hidden
                return;

            case 3:

            #line 18 "..\..\Recepcja.xaml"
                ((System.Windows.Controls.MenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.NowaWizyta_Click);

            #line default
            #line hidden
                return;

            case 4:

            #line 19 "..\..\Recepcja.xaml"
                ((System.Windows.Controls.MenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.EdycjaWizyty_Click);

            #line default
            #line hidden
                return;

            case 5:

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

            #line default
            #line hidden
                return;

            case 6:

            #line 21 "..\..\Recepcja.xaml"
                ((System.Windows.Controls.MenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.Wyloguj_Click);

            #line default
            #line hidden
                return;

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

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

            #line 25 "..\..\Recepcja.xaml"
                this.imiePacjentaTxt.KeyUp += new System.Windows.Input.KeyEventHandler(this.PressEnterdod);

            #line default
            #line hidden
                return;

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

            #line 26 "..\..\Recepcja.xaml"
                this.nazwiskoPacjentaTxt.KeyUp += new System.Windows.Input.KeyEventHandler(this.PressEnterdod);

            #line default
            #line hidden
                return;

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

            #line 27 "..\..\Recepcja.xaml"
                this.peselPacjentaTxt.KeyUp += new System.Windows.Input.KeyEventHandler(this.PressEnterdod);

            #line default
            #line hidden
                return;

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

            #line 28 "..\..\Recepcja.xaml"
                this.adresPacjentaTxt.KeyUp += new System.Windows.Input.KeyEventHandler(this.PressEnterdod);

            #line default
            #line hidden
                return;

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

            #line 29 "..\..\Recepcja.xaml"
                this.telefonPacjenta.KeyUp += new System.Windows.Input.KeyEventHandler(this.PressEnterdod);

            #line default
            #line hidden
                return;

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

            #line 30 "..\..\Recepcja.xaml"
                this.ZapiszPacjenta.Click += new System.Windows.RoutedEventHandler(this.ZapiszPacjenta_Click);

            #line default
            #line hidden
                return;

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

            case 15:
                this.DataTxt = ((System.Windows.Controls.DatePicker)(target));
                return;

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

            #line 43 "..\..\Recepcja.xaml"
                this.ZapiszWizyte.Click += new System.Windows.RoutedEventHandler(this.ZapiszWizyte_Click);

            #line default
            #line hidden
                return;

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

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

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

            case 20:
                this.dziesiata = ((System.Windows.Controls.ComboBoxItem)(target));
                return;

            case 21:
                this.jedenasta = ((System.Windows.Controls.ComboBoxItem)(target));
                return;

            case 22:
                this.dwunasta = ((System.Windows.Controls.ComboBoxItem)(target));
                return;

            case 23:
                this.trzynasta = ((System.Windows.Controls.ComboBoxItem)(target));
                return;

            case 24:
                this.czternasta = ((System.Windows.Controls.ComboBoxItem)(target));
                return;

            case 25:
                this.pietnasta = ((System.Windows.Controls.ComboBoxItem)(target));
                return;

            case 26:
                this.szesnasta = ((System.Windows.Controls.ComboBoxItem)(target));
                return;

            case 27:
                this.siedemnasta = ((System.Windows.Controls.ComboBoxItem)(target));
                return;

            case 28:
                this.osiemnasta = ((System.Windows.Controls.ComboBoxItem)(target));
                return;

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

            case 30:
                this.WizytyView = ((System.Windows.Controls.DataGrid)(target));

            #line 64 "..\..\Recepcja.xaml"
                this.WizytyView.RowEditEnding += new System.EventHandler <System.Windows.Controls.DataGridRowEditEndingEventArgs>(this.WizytyView_RowEditEnding);

            #line default
            #line hidden
                return;

            case 31:
                this.status_combo = ((System.Windows.Controls.DataGridComboBoxColumn)(target));
                return;

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

            #line 75 "..\..\Recepcja.xaml"
                this.txtWyszukajWizyty.TextChanged += new System.Windows.Controls.TextChangedEventHandler(this.TxtWyszukajWizyty_TextChanged);

            #line default
            #line hidden
                return;

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

            #line 76 "..\..\Recepcja.xaml"
                this.ZapiszEdycje.Click += new System.Windows.RoutedEventHandler(this.ZapiszEdycje_Click);

            #line default
            #line hidden
                return;

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

            case 35:
                this.PanelEdycjiPacjenta = ((System.Windows.Controls.Grid)(target));
                return;

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

            #line 81 "..\..\Recepcja.xaml"
                this.PacjentView.RowEditEnding += new System.EventHandler <System.Windows.Controls.DataGridRowEditEndingEventArgs>(this.UsuwanieView_RowEditEnding);

            #line default
            #line hidden
                return;

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

            #line 91 "..\..\Recepcja.xaml"
                this.txtWyszukajPacjenta.TextChanged += new System.Windows.Controls.TextChangedEventHandler(this.TxtWyszukajPacjenta_TextChanged);

            #line default
            #line hidden
                return;

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

            #line 92 "..\..\Recepcja.xaml"
                this.edytujPacnjentaBtn.Click += new System.Windows.RoutedEventHandler(this.EdytujPacjentaBtn_Click);

            #line default
            #line hidden
                return;

            case 39:
                this.Label_PacjenciZmiany = ((System.Windows.Controls.Label)(target));
                return;
            }
            this._contentLoaded = true;
        }
예제 #43
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:

            #line 8 "..\..\NewProject.xaml"
                ((CooperativaConstruccion.NewProject)(target)).KeyDown += new System.Windows.Input.KeyEventHandler(this.NewProject_KeyDown);

            #line default
            #line hidden
                return;

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

            #line 11 "..\..\NewProject.xaml"
                this.textBox_ProjectName.KeyDown += new System.Windows.Input.KeyEventHandler(this.textBox_ProjectName_KeyDown);

            #line default
            #line hidden
                return;

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

            #line 13 "..\..\NewProject.xaml"
                this.textBox_ProjectStartBudget.KeyDown += new System.Windows.Input.KeyEventHandler(this.textBox_ProjectStartBudget_KeyDown);

            #line default
            #line hidden

            #line 13 "..\..\NewProject.xaml"
                this.textBox_ProjectStartBudget.AddHandler(System.Windows.Input.CommandManager.PreviewExecutedEvent, new System.Windows.Input.ExecutedRoutedEventHandler(this.textBox_ProjectStartBudget_PreviewExecuted));

            #line default
            #line hidden
                return;

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

            #line 15 "..\..\NewProject.xaml"
                this.datePicker_ProjectStartDate.AddHandler(System.Windows.Input.CommandManager.PreviewExecutedEvent, new System.Windows.Input.ExecutedRoutedEventHandler(this.datePicker_ProjectStartDate_PreviewExecuted));

            #line default
            #line hidden
                return;

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

            #line 17 "..\..\NewProject.xaml"
                this.datePicker_ProjectEndDate.AddHandler(System.Windows.Input.CommandManager.PreviewExecutedEvent, new System.Windows.Input.ExecutedRoutedEventHandler(this.datePicker_ProjectEndDate_PreviewExecuted));

            #line default
            #line hidden
                return;

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

            #line 19 "..\..\NewProject.xaml"
                this.comboBox_ProjectStatus.KeyDown += new System.Windows.Input.KeyEventHandler(this.comboBox_ProjectStatus_KeyDown);

            #line default
            #line hidden
                return;

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

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

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

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

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

            #line 26 "..\..\NewProject.xaml"
                this.button_SaveProject.Click += new System.Windows.RoutedEventHandler(this.button_SaveProject_Click);

            #line default
            #line hidden
                return;

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

            #line 27 "..\..\NewProject.xaml"
                this.button_Cancel.Click += new System.Windows.RoutedEventHandler(this.button_Cancel_Click);

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

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

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

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

            #line 13 "..\..\NewUserSignUp.xaml"
                this.combobxUser.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.combobxUser_SelectionChanged);

            #line default
            #line hidden
                return;

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

            case 24:
                this.pswrdbx2 = ((System.Windows.Controls.PasswordBox)(target));
                return;

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

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

            #line 38 "..\..\NewUserSignUp.xaml"
                this.chckbx0.Checked += new System.Windows.RoutedEventHandler(this.food_Checked);

            #line default
            #line hidden
                return;

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

            #line 39 "..\..\NewUserSignUp.xaml"
                this.chckbx1.Checked += new System.Windows.RoutedEventHandler(this.food_Checked);

            #line default
            #line hidden
                return;

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

            #line 40 "..\..\NewUserSignUp.xaml"
                this.chckbx2.Checked += new System.Windows.RoutedEventHandler(this.food_Checked);

            #line default
            #line hidden
                return;

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

            #line 41 "..\..\NewUserSignUp.xaml"
                this.chckbx3.Checked += new System.Windows.RoutedEventHandler(this.food_Checked);

            #line default
            #line hidden
                return;

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

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

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

            #line 45 "..\..\NewUserSignUp.xaml"
                this.radBttn1.Checked += new System.Windows.RoutedEventHandler(this.travel_Checked);

            #line default
            #line hidden
                return;

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

            #line 46 "..\..\NewUserSignUp.xaml"
                this.radBttn2.Checked += new System.Windows.RoutedEventHandler(this.travel_Checked);

            #line default
            #line hidden
                return;

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

            #line 47 "..\..\NewUserSignUp.xaml"
                this.radBttn3.Checked += new System.Windows.RoutedEventHandler(this.travel_Checked);

            #line default
            #line hidden
                return;

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

            #line 48 "..\..\NewUserSignUp.xaml"
                this.radBttn4.Checked += new System.Windows.RoutedEventHandler(this.travel_Checked);

            #line default
            #line hidden
                return;

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

            #line 50 "..\..\NewUserSignUp.xaml"
                this.btnCookNext.Click += new System.Windows.RoutedEventHandler(this.btnCookNext_Click);

            #line default
            #line hidden
                return;

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

            #line 51 "..\..\NewUserSignUp.xaml"
                this.btnEaterNext.Click += new System.Windows.RoutedEventHandler(this.btnEaterNext_Click);

            #line default
            #line hidden
                return;

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

            #line 52 "..\..\NewUserSignUp.xaml"
                this.btnCancel.Click += new System.Windows.RoutedEventHandler(this.btnCancel_Click);

            #line default
            #line hidden
                return;

            case 39:
                this.lblReqFields = ((System.Windows.Controls.Label)(target));
                return;
            }
            this._contentLoaded = true;
        }
예제 #45
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:

            #line 10 "..\..\MainWindow.xaml"
                ((System.Windows.Controls.Grid)(target)).Drop += new System.Windows.DragEventHandler(this.FileDrop);

            #line default
            #line hidden
                return;

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

            #line 29 "..\..\MainWindow.xaml"
                this.Filebutton.Click += new System.Windows.RoutedEventHandler(this.File_clicked);

            #line default
            #line hidden
                return;

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

            #line 40 "..\..\MainWindow.xaml"
                this.RichTextBox1.PreviewDragEnter += new System.Windows.DragEventHandler(this.Dragging);

            #line default
            #line hidden

            #line 41 "..\..\MainWindow.xaml"
                this.RichTextBox1.DragEnter += new System.Windows.DragEventHandler(this.Dragging);

            #line default
            #line hidden

            #line 42 "..\..\MainWindow.xaml"
                this.RichTextBox1.PreviewDragOver += new System.Windows.DragEventHandler(this.Dragging);

            #line default
            #line hidden

            #line 43 "..\..\MainWindow.xaml"
                this.RichTextBox1.DragOver += new System.Windows.DragEventHandler(this.Dragging);

            #line default
            #line hidden

            #line 44 "..\..\MainWindow.xaml"
                this.RichTextBox1.Drop += new System.Windows.DragEventHandler(this.FileDrop);

            #line default
            #line hidden

            #line 45 "..\..\MainWindow.xaml"
                this.RichTextBox1.MouseWheel += new System.Windows.Input.MouseWheelEventHandler(this.Scrolling);

            #line default
            #line hidden
                return;

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

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

            #line default
            #line hidden
                return;

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

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

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

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

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

            case 10:
                this.Item12 = ((System.Windows.Controls.ComboBoxItem)(target));
                return;

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

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

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

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

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

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

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

            case 18:
                this.Item14 = ((System.Windows.Controls.ComboBoxItem)(target));
                return;

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

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

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

            #line default
            #line hidden
                return;

            case 2:
                this.NumericUpDown = ((Telerik.Windows.Controls.RadNumericUpDown)(target));
                return;

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

            case 4:
                this.Present = ((System.Windows.Controls.ComboBoxItem)(target));
                return;

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

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

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

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

            #line 21 "..\..\..\StatisticsWorkerWindow.xaml"
                this.CreateButton.Click += new System.Windows.RoutedEventHandler(this.CreateButton_OnClick);

            #line default
            #line hidden
                return;

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

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

            #line 23 "..\..\..\StatisticsWorkerWindow.xaml"
                this.CloseButton.Click += new System.Windows.RoutedEventHandler(this.CloseButton_OnClick);

            #line default
            #line hidden
                return;

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

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

            case 13:
                this.Png = ((System.Windows.Controls.ComboBoxItem)(target));
                return;

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

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

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

            #line 37 "..\..\..\StatisticsWorkerWindow.xaml"
                this.ExportButton.Click += new System.Windows.RoutedEventHandler(this.ExportButton_OnClick);

            #line default
            #line hidden
                return;

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

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

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

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

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

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

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

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

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

            case 10:
                this.four = ((System.Windows.Controls.ComboBoxItem)(target));
                return;

            case 11:
                this.five = ((System.Windows.Controls.ComboBoxItem)(target));
                return;

            case 12:
                this.six = ((System.Windows.Controls.ComboBoxItem)(target));
                return;

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

            #line 30 "..\..\UzytkownikWindow.xaml"
                this.zatwierdz.Click += new System.Windows.RoutedEventHandler(this.zatwierdz_Click);

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

            #line 10 "..\..\AddComponentDB.xaml"
                this.ComboComponents.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.ComboBox_SelectionChanged);

            #line default
            #line hidden
                return;

            case 2:
                this.CB_CPU = ((System.Windows.Controls.ComboBoxItem)(target));
                return;

            case 3:
                this.CB_GPU = ((System.Windows.Controls.ComboBoxItem)(target));
                return;

            case 4:
                this.CB_MOBA = ((System.Windows.Controls.ComboBoxItem)(target));
                return;

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

            #line 125 "..\..\AddComponentDB.xaml"
                this.AddComponentButton.Click += new System.Windows.RoutedEventHandler(this.Button_Click);

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

            #line 107 "..\..\MainWindow.xaml"
                this.mainTabControl.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.TabControl_SelectionChanged);

            #line default
            #line hidden
                return;

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

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

            case 4:
                this.tbPersonInfoIconColumn = ((System.Windows.Controls.ColumnDefinition)(target));
                return;

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

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

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

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

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

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

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

            case 12:
                this.tcShowAllTests = ((System.Windows.Controls.TabItem)(target));
                return;

            case 13:
                this.scrolerTestShow = ((System.Windows.Controls.ScrollViewer)(target));
                return;

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

            case 15:
                this.tbTestIconColumn = ((System.Windows.Controls.ColumnDefinition)(target));
                return;

            case 16:
                this.tbTestTextColumn = ((System.Windows.Controls.ColumnDefinition)(target));
                return;

            case 17:
                this.tcShowRating = ((System.Windows.Controls.TabItem)(target));
                return;

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

            case 19:
                this.tbCanvasRow = ((System.Windows.Controls.RowDefinition)(target));
                return;

            case 20:
                this.tbCanvasRow2 = ((System.Windows.Controls.RowDefinition)(target));
                return;

            case 21:

            #line 214 "..\..\MainWindow.xaml"
                ((System.Windows.Controls.ComboBox)(target)).SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.TabControl_SelectionChanged);

            #line default
            #line hidden
                return;

            case 22:
                this.Score = ((System.Windows.Controls.ComboBoxItem)(target));
                return;

            case 23:
                this.AVGScore = ((System.Windows.Controls.ComboBoxItem)(target));
                return;

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

            case 25:
                this.tbRatingMainGrid = ((System.Windows.Controls.Grid)(target));
                return;

            case 26:
                this.tbRatingIconColumn = ((System.Windows.Controls.ColumnDefinition)(target));
                return;

            case 27:
                this.tbRatingTextColumn = ((System.Windows.Controls.ColumnDefinition)(target));
                return;

            case 28:
                this.tcShowThemeRating = ((System.Windows.Controls.TabItem)(target));
                return;

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

            case 30:
                this.tbTCanvasRow = ((System.Windows.Controls.RowDefinition)(target));
                return;

            case 31:
                this.tbTCanvasRow2 = ((System.Windows.Controls.RowDefinition)(target));
                return;

            case 32:
                this.scrolerTRatingShow = ((System.Windows.Controls.ScrollViewer)(target));
                return;

            case 33:
                this.tbThemeRatingMainGrid = ((System.Windows.Controls.Grid)(target));
                return;

            case 34:
                this.tbTRatingIconColumn = ((System.Windows.Controls.ColumnDefinition)(target));
                return;

            case 35:
                this.tbTRatingTextColumn = ((System.Windows.Controls.ColumnDefinition)(target));
                return;
            }
            this._contentLoaded = true;
        }
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.winaddmesa = ((restaurantexxi_adminstrador.AgregarMesa)(target));

            #line 9 "..\..\AgregarMesa.xaml"
                this.winaddmesa.Loaded += new System.Windows.RoutedEventHandler(this.Winaddmesa_Loaded);

            #line default
            #line hidden
                return;

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

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

            #line 17 "..\..\AgregarMesa.xaml"
                this.txt_numeromesa.PreviewTextInput += new System.Windows.Input.TextCompositionEventHandler(this.Txt_rut_PreviewTextInput);

            #line default
            #line hidden

            #line 17 "..\..\AgregarMesa.xaml"
                this.txt_numeromesa.GotFocus += new System.Windows.RoutedEventHandler(this.Txt_numeromesa_GotFocus);

            #line default
            #line hidden

            #line 17 "..\..\AgregarMesa.xaml"
                this.txt_numeromesa.LostFocus += new System.Windows.RoutedEventHandler(this.Txt_numeromesa_LostFocus);

            #line default
            #line hidden
                return;

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

            #line 18 "..\..\AgregarMesa.xaml"
                this.cbb_sala.GotFocus += new System.Windows.RoutedEventHandler(this.ComboBox_GotFocus);

            #line default
            #line hidden
                return;

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

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

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

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

            #line 23 "..\..\AgregarMesa.xaml"
                this.txt_capacidad.PreviewTextInput += new System.Windows.Input.TextCompositionEventHandler(this.Txt_nombre_PreviewTextInput);

            #line default
            #line hidden

            #line 23 "..\..\AgregarMesa.xaml"
                this.txt_capacidad.GotFocus += new System.Windows.RoutedEventHandler(this.Txt_capacidad_GotFocus);

            #line default
            #line hidden
                return;

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

            #line 24 "..\..\AgregarMesa.xaml"
                this.btn_addmesa.Click += new System.Windows.RoutedEventHandler(this.Btn_addmesa_Click);

            #line default
            #line hidden
                return;

            case 10:

            #line 25 "..\..\AgregarMesa.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.BtnVolver_Click);

            #line default
            #line hidden
                return;

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

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

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

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

            case 15:
                this.dtg_Terra = ((System.Windows.Controls.DataGrid)(target));
                return;

            case 16:
                this.dtg_Terra2 = ((System.Windows.Controls.DataGrid)(target));
                return;
            }
            this._contentLoaded = true;
        }
예제 #51
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.Appearance1 = ((apptest1.Appearance)(target));
                return;

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

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

            case 4:
                this.IconSizeSlider = ((System.Windows.Controls.Slider)(target));

            #line 15 "..\..\Appearance.xaml"
                this.IconSizeSlider.ValueChanged += new System.Windows.RoutedPropertyChangedEventHandler <double>(this.IconSizeSlider_ValueChanged);

            #line default
            #line hidden
                return;

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

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

            case 7:
                this.OpacitySlider = ((System.Windows.Controls.Slider)(target));

            #line 24 "..\..\Appearance.xaml"
                this.OpacitySlider.ValueChanged += new System.Windows.RoutedPropertyChangedEventHandler <double>(this.OpacitySlider_ValueChanged);

            #line default
            #line hidden
                return;

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

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

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

            #line 29 "..\..\Appearance.xaml"
                this.ThemeColor.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.ThemeColor_SelectionChanged);

            #line default
            #line hidden
                return;

            case 11:
                this.ThemeColorLight = ((System.Windows.Controls.ComboBoxItem)(target));
                return;

            case 12:
                this.ThemeColorDark = ((System.Windows.Controls.ComboBoxItem)(target));
                return;

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

            #line 35 "..\..\Appearance.xaml"
                this.AppearanceBackButton.Click += new System.Windows.RoutedEventHandler(this.AppearanceBackButton_Click);

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

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

            #line default
            #line hidden
                return;

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

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

            #line default
            #line hidden
                return;

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

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

            #line default
            #line hidden
                return;

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

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

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

            #line default
            #line hidden
                return;

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

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

            #line default
            #line hidden
                return;

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

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

            #line 114 "..\..\MainWindow.xaml"
                this.btnSensorPortPlus.Click += new System.Windows.RoutedEventHandler(this.BtnSensorPortPlus_Click);

            #line default
            #line hidden
                return;

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

            #line 129 "..\..\MainWindow.xaml"
                this.lstNoteChanger.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.LstNoteChanger_SelectionChanged);

            #line default
            #line hidden
                return;

            case 10:
                this.C = ((System.Windows.Controls.ComboBoxItem)(target));
                return;

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

            #line 167 "..\..\MainWindow.xaml"
                this.lstReeds.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.LstOctaveChanger_SelectionChanged);

            #line default
            #line hidden
                return;

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

            #line 168 "..\..\MainWindow.xaml"
                this.one.Checked += new System.Windows.RoutedEventHandler(this.one_Checked);

            #line default
            #line hidden

            #line 168 "..\..\MainWindow.xaml"
                this.one.Unchecked += new System.Windows.RoutedEventHandler(this.one_Unchecked);

            #line default
            #line hidden
                return;

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

            #line 171 "..\..\MainWindow.xaml"
                this.two.Checked += new System.Windows.RoutedEventHandler(this.two_Checked);

            #line default
            #line hidden

            #line 171 "..\..\MainWindow.xaml"
                this.two.Unchecked += new System.Windows.RoutedEventHandler(this.two_Unchecked);

            #line default
            #line hidden
                return;

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

            #line 174 "..\..\MainWindow.xaml"
                this.three.Checked += new System.Windows.RoutedEventHandler(this.three_Checked);

            #line default
            #line hidden

            #line 174 "..\..\MainWindow.xaml"
                this.three.Unchecked += new System.Windows.RoutedEventHandler(this.three_Unchecked);

            #line default
            #line hidden
                return;

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

            #line 177 "..\..\MainWindow.xaml"
                this.four.Checked += new System.Windows.RoutedEventHandler(this.four_Checked);

            #line default
            #line hidden

            #line 177 "..\..\MainWindow.xaml"
                this.four.Unchecked += new System.Windows.RoutedEventHandler(this.four_Unchecked);

            #line default
            #line hidden
                return;

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

            #line 180 "..\..\MainWindow.xaml"
                this.five.Checked += new System.Windows.RoutedEventHandler(this.five_Checked);

            #line default
            #line hidden

            #line 180 "..\..\MainWindow.xaml"
                this.five.Unchecked += new System.Windows.RoutedEventHandler(this.five_Unchecked);

            #line default
            #line hidden
                return;

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

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

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

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

            #line 210 "..\..\MainWindow.xaml"
                this.Margins.ValueChanged += new System.Windows.RoutedPropertyChangedEventHandler <double>(this.Margins_ValueChanged);

            #line default
            #line hidden
                return;

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

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

            #line 223 "..\..\MainWindow.xaml"
                this.lstLayout.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.LstLayout_SelectionChanged);

            #line default
            #line hidden
                return;

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

            #line 262 "..\..\MainWindow.xaml"
                this.FirstRow.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.SelectorRow_SelectionChanged);

            #line default
            #line hidden
                return;

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

            #line 263 "..\..\MainWindow.xaml"
                this.SecondRow.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.SelectorRow_SelectionChanged);

            #line default
            #line hidden
                return;

            case 25:
                this.ThirdRow = ((System.Windows.Controls.ComboBox)(target));

            #line 264 "..\..\MainWindow.xaml"
                this.ThirdRow.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.SelectorRow_SelectionChanged);

            #line default
            #line hidden
                return;

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

            #line 265 "..\..\MainWindow.xaml"
                this.FourthRow.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.SelectorRow_SelectionChanged);

            #line default
            #line hidden
                return;

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

            #line 266 "..\..\MainWindow.xaml"
                this.FifthRow.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.SelectorRow_SelectionChanged);

            #line default
            #line hidden
                return;

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

            #line 267 "..\..\MainWindow.xaml"
                this.SixthRow.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.SelectorRow_SelectionChanged);

            #line default
            #line hidden
                return;

            case 29:
                this.SeventhRow = ((System.Windows.Controls.ComboBox)(target));

            #line 268 "..\..\MainWindow.xaml"
                this.SeventhRow.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.SelectorRow_SelectionChanged);

            #line default
            #line hidden
                return;

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

            #line 269 "..\..\MainWindow.xaml"
                this.EighthRow.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.SelectorRow_SelectionChanged);

            #line default
            #line hidden
                return;

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

            #line 270 "..\..\MainWindow.xaml"
                this.NinthRow.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.SelectorRow_SelectionChanged);

            #line default
            #line hidden
                return;

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

            #line 271 "..\..\MainWindow.xaml"
                this.TenthRow.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.SelectorRow_SelectionChanged);

            #line default
            #line hidden
                return;

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

            #line 272 "..\..\MainWindow.xaml"
                this.EleventhRow.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.SelectorRow_SelectionChanged);

            #line default
            #line hidden
                return;

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

            #line 273 "..\..\MainWindow.xaml"
                this.arbitraryStart.Click += new System.Windows.RoutedEventHandler(this.ArbitraryStart_Click);

            #line default
            #line hidden
                return;

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

            #line 284 "..\..\MainWindow.xaml"
                this.lstFeedbackModeChanger.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.lstFeedbackModeChanger_SelectionChanged);

            #line default
            #line hidden
                return;

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

            #line 302 "..\..\MainWindow.xaml"
                this.sldCenterZone.ValueChanged += new System.Windows.RoutedPropertyChangedEventHandler <double>(this.centerZone_ValueChanged);

            #line default
            #line hidden
                return;

            case 37:
                this.centerValue = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 38:
                this.centerPitchZone = ((System.Windows.Controls.Slider)(target));
                return;

            case 39:
                this.centerPitchValue = ((System.Windows.Controls.TextBlock)(target));
                return;

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

            #line 329 "..\..\MainWindow.xaml"
                this.btnCentering.Click += new System.Windows.RoutedEventHandler(this.BtnCenter_Click);

            #line default
            #line hidden
                return;

            case 41:
                this.lblYaw = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 42:
                this.tabSolo = ((System.Windows.Controls.TabControl)(target));

            #line 350 "..\..\MainWindow.xaml"
                this.tabSolo.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.TabSolo_SelectionChanged);

            #line default
            #line hidden
                return;

            case 43:
                this.tabNetychords = ((System.Windows.Controls.TabItem)(target));
                return;

            case 44:
                this.scrlNetychords = ((System.Windows.Controls.ScrollViewer)(target));
                return;

            case 45:
                this.canvasNetychords = ((System.Windows.Controls.Canvas)(target));

            #line 360 "..\..\MainWindow.xaml"
                this.canvasNetychords.MouseMove += new System.Windows.Input.MouseEventHandler(this.CanvasNetytchords_MouseMove);

            #line default
            #line hidden
                return;

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

            case 47:
                this.lblSolo = ((System.Windows.Controls.Label)(target));
                return;
            }
            this._contentLoaded = true;
        }
예제 #53
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.ucDispositionList = ((LeadFormatDesigner.Presentation.ctlLeadFormatDesigner)(target));
                return;

            case 2:
                this.cnvView = ((System.Windows.Controls.Canvas)(target));
                return;

            case 3:
                this.CtlGrid = ((VMukti.CtlGrid.Presentation.ctlGrid)(target));

            #line 15 "..\..\ctlLeadFormatDesigner.xaml"
                this.CtlGrid.btnEditClicked += new VMukti.CtlGrid.Presentation.ctlGrid.ButtonClicked(this.CtlGrid_btnEditClicked);

            #line default
            #line hidden

            #line 15 "..\..\ctlLeadFormatDesigner.xaml"
                this.CtlGrid.btnDeleteClicked += new VMukti.CtlGrid.Presentation.ctlGrid.ButtonClicked(this.CtlGrid_btnDeleteClicked);

            #line default
            #line hidden
                return;

            case 4:
                this.CtlGridChild = ((VMukti.CtlGrid.Presentation.ctlGrid)(target));

            #line 16 "..\..\ctlLeadFormatDesigner.xaml"
                this.CtlGridChild.btnEditClicked += new VMukti.CtlGrid.Presentation.ctlGrid.ButtonClicked(this.CtlGridChild_btnEditClicked);

            #line default
            #line hidden

            #line 16 "..\..\ctlLeadFormatDesigner.xaml"
                this.CtlGridChild.btnDeleteClicked += new VMukti.CtlGrid.Presentation.ctlGrid.ButtonClicked(this.CtlGridChild_btnDeleteClicked);

            #line default
            #line hidden
                return;

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

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

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

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

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

            case 10:
                this.cmbExcel = ((System.Windows.Controls.ComboBoxItem)(target));
                return;

            case 11:
                this.cmbtxt = ((System.Windows.Controls.ComboBoxItem)(target));
                return;

            case 12:
                this.cmbCSV = ((System.Windows.Controls.ComboBoxItem)(target));
                return;

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

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

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

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

            case 17:
                this.First = ((System.Windows.Controls.Canvas)(target));
                return;

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

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

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

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

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

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

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

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

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

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

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

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

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

            case 31:
                this.cmbComma = ((System.Windows.Controls.ComboBoxItem)(target));
                return;

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

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

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

            case 35:
                this.recTemp = ((System.Windows.Shapes.Rectangle)(target));
                return;

            case 36:
                this.template = ((System.Windows.Controls.Primitives.TabPanel)(target));
                return;

            case 37:
                this.InnerCanvas = ((System.Windows.Controls.Canvas)(target));
                return;

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

            case 39:
                this.txtFieldName = ((System.Windows.Controls.TextBox)(target));
                return;

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

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

            case 42:
                this.bigint = ((System.Windows.Controls.ComboBoxItem)(target));
                return;

            case 43:
                this.bit = ((System.Windows.Controls.ComboBoxItem)(target));
                return;

            case 44:
                this.@char = ((System.Windows.Controls.ComboBoxItem)(target));
                return;

            case 45:
                this.datetime = ((System.Windows.Controls.ComboBoxItem)(target));
                return;

            case 46:
                this.@decimal = ((System.Windows.Controls.ComboBoxItem)(target));
                return;

            case 47:
                this.@float = ((System.Windows.Controls.ComboBoxItem)(target));
                return;

            case 48:
                this.@int = ((System.Windows.Controls.ComboBoxItem)(target));
                return;

            case 49:
                this.varchar = ((System.Windows.Controls.ComboBoxItem)(target));
                return;

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

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

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

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

            case 54:
                this.lblFieldAvailable = ((System.Windows.Controls.Label)(target));
                return;

            case 55:
                this.lstFieldNames = ((System.Windows.Controls.ListBox)(target));
                return;
            }
            this._contentLoaded = true;
        }
예제 #54
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:

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

            #line default
            #line hidden
                return;

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

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

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

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

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

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

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

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

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

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

            case 12:
                this.Male = ((System.Windows.Controls.ComboBoxItem)(target));
                return;

            case 13:
                this.Female = ((System.Windows.Controls.ComboBoxItem)(target));
                return;
            }
            this._contentLoaded = true;
        }
예제 #55
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.sizePet = ((System.Windows.Controls.Slider)(target));
                return;

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

            #line 56 "..\..\..\AddPet.xaml"
                this.btnAdd.Click += new System.Windows.RoutedEventHandler(this.btnAdd_Click);

            #line default
            #line hidden
                return;

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

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

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

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

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

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

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

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

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

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

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

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

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

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

            case 2:
                this.LeftCol = ((System.Windows.Controls.ColumnDefinition)(target));
                return;

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

            case 4:
                this.RightCol = ((System.Windows.Controls.ColumnDefinition)(target));
                return;

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

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

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

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

            #line 43 "..\..\..\MenuWindow.xaml"
                this.LeftFullScreenButt.Click += new System.Windows.RoutedEventHandler(this.BtnFullscreen);

            #line default
            #line hidden
                return;

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

            #line 49 "..\..\..\MenuWindow.xaml"
                this.LeftCopyButt.Click += new System.Windows.RoutedEventHandler(this.BtnCopyText);

            #line default
            #line hidden
                return;

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

            #line 55 "..\..\..\MenuWindow.xaml"
                this.LeftClearButt.Click += new System.Windows.RoutedEventHandler(this.BtnClearText);

            #line default
            #line hidden
                return;

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

            #line 61 "..\..\..\MenuWindow.xaml"
                this.LeftSaveButt.Click += new System.Windows.RoutedEventHandler(this.BtnSaveFile);

            #line default
            #line hidden
                return;

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

            #line 67 "..\..\..\MenuWindow.xaml"
                this.LeftOpenButt.Click += new System.Windows.RoutedEventHandler(this.BtnOpenFile);

            #line default
            #line hidden
                return;

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

            #line 73 "..\..\..\MenuWindow.xaml"
                this.SampleButton.Click += new System.Windows.RoutedEventHandler(this.BtnSample);

            #line default
            #line hidden
                return;

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

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

            #line 90 "..\..\..\MenuWindow.xaml"
                this.ChangeLanguageButton.Click += new System.Windows.RoutedEventHandler(this.BtnChangeLocalization);

            #line default
            #line hidden
                return;

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

            case 17:
                this.OptionWin = ((System.Windows.Controls.DockPanel)(target));
                return;

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

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

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

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

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

            #line 167 "..\..\..\MenuWindow.xaml"
                this.TypeComboBox.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.TypeComboBox_OnSelectionChanged);

            #line default
            #line hidden
                return;

            case 23:
                this.EngComboBox = ((System.Windows.Controls.ComboBoxItem)(target));
                return;

            case 24:
                this.UaComboBox = ((System.Windows.Controls.ComboBoxItem)(target));
                return;

            case 25:
                this.BinComboBox = ((System.Windows.Controls.ComboBoxItem)(target));
                return;

            case 26:
                this.DecComboBox = ((System.Windows.Controls.ComboBoxItem)(target));
                return;

            case 27:
                this.HexComboBox = ((System.Windows.Controls.ComboBoxItem)(target));
                return;

            case 28:
                this.LenComboBox = ((System.Windows.Controls.ComboBoxItem)(target));
                return;

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

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

            #line 195 "..\..\..\MenuWindow.xaml"
                this.MethodComboBox.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.MethodComboBox_OnSelectionChanged);

            #line default
            #line hidden
                return;

            case 31:
                this.BubbleComboBox = ((System.Windows.Controls.ComboBoxItem)(target));
                return;

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

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

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

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

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

            #line 212 "..\..\..\MenuWindow.xaml"
                this.SortButton.Click += new System.Windows.RoutedEventHandler(this.BtnSort);

            #line default
            #line hidden
                return;

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

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

            case 39:
                this.OutputWin = ((System.Windows.Controls.DockPanel)(target));
                return;

            case 40:
                this.RightControlMenu = ((System.Windows.Controls.DockPanel)(target));
                return;

            case 41:
                this.TopRightLabel = ((System.Windows.Controls.TextBlock)(target));
                return;

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

            #line 266 "..\..\..\MenuWindow.xaml"
                this.RightFullscreenButt.Click += new System.Windows.RoutedEventHandler(this.BtnFullscreen);

            #line default
            #line hidden
                return;

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

            #line 272 "..\..\..\MenuWindow.xaml"
                this.RightCopyButt.Click += new System.Windows.RoutedEventHandler(this.BtnCopyText);

            #line default
            #line hidden
                return;

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

            #line 278 "..\..\..\MenuWindow.xaml"
                this.RightClearButt.Click += new System.Windows.RoutedEventHandler(this.BtnClearText);

            #line default
            #line hidden
                return;

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

            #line 284 "..\..\..\MenuWindow.xaml"
                this.RightSaveButt.Click += new System.Windows.RoutedEventHandler(this.BtnSaveFile);

            #line default
            #line hidden
                return;

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

            case 47:
                this.LenghtText = ((System.Windows.Controls.Label)(target));
                return;

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

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

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

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

            case 52:
                this.TimeNumberText = ((System.Windows.Controls.Label)(target));
                return;

            case 53:
                this.OutputText = ((System.Windows.Controls.TextBox)(target));
                return;
            }
            this._contentLoaded = true;
        }
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.PolStartDate = ((System.Windows.Controls.Calendar)(target));

            #line 7 "..\..\MainWindow.xaml"
                this.PolStartDate.SelectedDatesChanged += new System.EventHandler <System.Windows.Controls.SelectionChangedEventArgs>(this.SelectedDateChanged);

            #line default
            #line hidden
                return;

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

            #line 9 "..\..\MainWindow.xaml"
                this.ComfDriver.PreviewMouseDown += new System.Windows.Input.MouseButtonEventHandler(this.ConfirmDriver);

            #line default
            #line hidden
                return;

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

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

            #line 14 "..\..\MainWindow.xaml"
                this.Occupations.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.OccupationChanged);

            #line default
            #line hidden
                return;

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

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

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

            case 8:

            #line 19 "..\..\MainWindow.xaml"
                ((System.Windows.Controls.Button)(target)).PreviewMouseDown += new System.Windows.Input.MouseButtonEventHandler(this.Enable_Claims);

            #line default
            #line hidden
                return;

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

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

            #line 21 "..\..\MainWindow.xaml"
                this.ConfirmClaim.PreviewMouseDown += new System.Windows.Input.MouseButtonEventHandler(this.AddDriverClaim);

            #line default
            #line hidden
                return;

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

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

            #line 23 "..\..\MainWindow.xaml"
                this.CalcPremBtn.PreviewMouseDown += new System.Windows.Input.MouseButtonEventHandler(this.CalculatePremium);

            #line default
            #line hidden
                return;

            case 13:

            #line 24 "..\..\MainWindow.xaml"
                ((System.Windows.Controls.Button)(target)).PreviewMouseDown += new System.Windows.Input.MouseButtonEventHandler(this.DiscardPolicy);

            #line default
            #line hidden
                return;

            case 14:

            #line 28 "..\..\MainWindow.xaml"
                ((System.Windows.Controls.Button)(target)).PreviewMouseDown += new System.Windows.Input.MouseButtonEventHandler(this.Enable_Claims);

            #line default
            #line hidden
                return;

            case 15:
                this.PolicyDrivers = ((System.Windows.Controls.TextBlock)(target));
                return;

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

            #line 30 "..\..\MainWindow.xaml"
                this.Driver1Details.PreviewMouseDown += new System.Windows.Input.MouseButtonEventHandler(this.SelectDriverToEdit);

            #line default
            #line hidden
                return;

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

            #line 31 "..\..\MainWindow.xaml"
                this.Driver2Details.PreviewMouseDown += new System.Windows.Input.MouseButtonEventHandler(this.SelectDriverToEdit);

            #line default
            #line hidden
                return;

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

            #line 32 "..\..\MainWindow.xaml"
                this.Driver3Details.PreviewMouseDown += new System.Windows.Input.MouseButtonEventHandler(this.SelectDriverToEdit);

            #line default
            #line hidden
                return;

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

            #line 33 "..\..\MainWindow.xaml"
                this.Driver4Details.PreviewMouseDown += new System.Windows.Input.MouseButtonEventHandler(this.SelectDriverToEdit);

            #line default
            #line hidden
                return;

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

            #line 34 "..\..\MainWindow.xaml"
                this.Driver5Details.PreviewMouseDown += new System.Windows.Input.MouseButtonEventHandler(this.SelectDriverToEdit);

            #line default
            #line hidden
                return;

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

            #line 35 "..\..\MainWindow.xaml"
                this.Update_Driver.PreviewMouseDown += new System.Windows.Input.MouseButtonEventHandler(this.UpdateDriverDetails);

            #line default
            #line hidden
                return;

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

            #line 36 "..\..\MainWindow.xaml"
                this.Update_Claim.PreviewMouseDown += new System.Windows.Input.MouseButtonEventHandler(this.EditClaim);

            #line default
            #line hidden
                return;

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

            #line 37 "..\..\MainWindow.xaml"
                this.P_Claim.PreviewMouseDown += new System.Windows.Input.MouseButtonEventHandler(this.PrevClaim);

            #line default
            #line hidden
                return;

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

            #line 38 "..\..\MainWindow.xaml"
                this.N_Claim.PreviewMouseDown += new System.Windows.Input.MouseButtonEventHandler(this.NextClaim);

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

            case 2:
                this.cbi1 = ((System.Windows.Controls.ComboBoxItem)(target));
                return;

            case 3:
                this.cbi2 = ((System.Windows.Controls.ComboBoxItem)(target));
                return;

            case 4:
                this.cbi3 = ((System.Windows.Controls.ComboBoxItem)(target));
                return;

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

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

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

            #line default
            #line hidden
                return;

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

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

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

            #line default
            #line hidden
                return;

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

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

            #line default
            #line hidden
                return;

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

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

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

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

            #line default
            #line hidden
                return;

            case 13:
                this.notificationTextBlock = ((System.Windows.Controls.TextBlock)(target));
                return;

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

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

            #line default
            #line hidden
                return;

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

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

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

            #line default
            #line hidden
                return;

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

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

            #line default
            #line hidden
                return;

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

            case 19:
                this.comboBox = ((System.Windows.Controls.ComboBox)(target));
                return;
            }
            this._contentLoaded = true;
        }
예제 #59
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.txt_URL = ((System.Windows.Controls.TextBox)(target));
                return;

            case 2:

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

            #line default
            #line hidden
                return;

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

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

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

            case 6:
                this.@object = ((System.Windows.Controls.ComboBoxItem)(target));
                return;

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

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

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

            case 10:
                this.pickpocket = ((System.Windows.Controls.ComboBoxItem)(target));
                return;

            case 11:
                this.vendor = ((System.Windows.Controls.ComboBoxItem)(target));
                return;

            case 12:
                this.chest = ((System.Windows.Controls.ComboBoxItem)(target));
                return;

            case 13:
                this.unavailable = ((System.Windows.Controls.ComboBoxItem)(target));
                return;
            }
            this._contentLoaded = true;
        }
예제 #60
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.jtttTxt = ((System.Windows.Controls.Label)(target));
                return;

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

            #line 453 "..\..\MainWindow.xaml"
                this.urlBox.GotFocus += new System.Windows.RoutedEventHandler(this.urlBox_OnGotFocus);

            #line default
            #line hidden
                return;

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

            #line 454 "..\..\MainWindow.xaml"
                this.textBox.GotFocus += new System.Windows.RoutedEventHandler(this.textBox_OnGotFocus);

            #line default
            #line hidden
                return;

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

            #line 455 "..\..\MainWindow.xaml"
                this.mailBox.GotFocus += new System.Windows.RoutedEventHandler(this.mailBox_OnGotFocus);

            #line default
            #line hidden
                return;

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

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

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

            #line 458 "..\..\MainWindow.xaml"
                this.addBtn.Click += new System.Windows.RoutedEventHandler(this.addBtn_Click);

            #line default
            #line hidden
                return;

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

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

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

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

            case 12:
                this.tasksListBox = ((System.Windows.Controls.ListBox)(target));
                return;

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

            #line 464 "..\..\MainWindow.xaml"
                this.workBtn.Click += new System.Windows.RoutedEventHandler(this.workBtn_Click);

            #line default
            #line hidden
                return;

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

            #line 465 "..\..\MainWindow.xaml"
                this.clearBtn.Click += new System.Windows.RoutedEventHandler(this.clearBtn_Click);

            #line default
            #line hidden
                return;

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

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

            #line 467 "..\..\MainWindow.xaml"
                this.templateBtn.Click += new System.Windows.RoutedEventHandler(this.templateBtn_Click);

            #line default
            #line hidden
                return;

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

            #line 468 "..\..\MainWindow.xaml"
                this.removeBtn.Click += new System.Windows.RoutedEventHandler(this.removeBtn_Click);

            #line default
            #line hidden
                return;

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

            #line 469 "..\..\MainWindow.xaml"
                this.sWorkBtn.Click += new System.Windows.RoutedEventHandler(this.sWorkBtn_Click);

            #line default
            #line hidden
                return;

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

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

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

            #line 472 "..\..\MainWindow.xaml"
                this.refreshBtn.Click += new System.Windows.RoutedEventHandler(this.refreshBtn_Click);

            #line default
            #line hidden
                return;

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

            #line 473 "..\..\MainWindow.xaml"
                this.numberTextBox.GotFocus += new System.Windows.RoutedEventHandler(this.numberTextBox_GotFocus);

            #line default
            #line hidden

            #line 473 "..\..\MainWindow.xaml"
                this.numberTextBox.PreviewTextInput += new System.Windows.Input.TextCompositionEventHandler(this.NumberValidationTextBox);

            #line default
            #line hidden
                return;

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

            #line 474 "..\..\MainWindow.xaml"
                this.responseComboBox.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.responseComboBox_SelectionChanged);

            #line default
            #line hidden
                return;

            case 24:
                this.item1 = ((System.Windows.Controls.ComboBoxItem)(target));
                return;

            case 25:
                this.item2 = ((System.Windows.Controls.ComboBoxItem)(target));
                return;

            case 26:
                this.item3 = ((System.Windows.Controls.ComboBoxItem)(target));
                return;

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

            #line 483 "..\..\MainWindow.xaml"
                this.taskComboBox.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.taskComboBox_SelectionChanged);

            #line default
            #line hidden
                return;

            case 28:
                this.item4 = ((System.Windows.Controls.ComboBoxItem)(target));
                return;

            case 29:
                this.item5 = ((System.Windows.Controls.ComboBoxItem)(target));
                return;
            }
            this._contentLoaded = true;
        }