示例#1
0
文件: UI.cs 项目: xJoeWoo/DocPrinter
        public static void LoadDetailDataGrid(DataGrid datagrid)
        {
            datagrid.Columns.Clear();
            datagrid.Items.Clear();

            ChangeColumns(datagrid);

            switch (Conf.CurrentType)
            {
                case Doc.Type.DriverApply:
                    for (int i = 0; i < 49; i++)
                    {
                        datagrid.Items.Add(new DriverApplyItem() { Name = "醒目", Sex = "男",Mobile = (136600963675 + i).ToString()});
                    }
                    break;
                case Doc.Type.HealthStatus:
                    for (int i = 0; i < 49; i++)
                    {
                        datagrid.Items.Add(new DriverApplyItem() { Name = "Ohyeah", Sex = "男", Mobile = (136600963675 + i).ToString() });
                    }
                    break;
                case Doc.Type.TestResult:
                    for (int i = 0; i < 49; i++)
                    {
                        datagrid.Items.Add(new DriverApplyItem() { Name = "傻瓜", Sex = "男", Mobile = (136600963675 + i).ToString() });
                    }
                    break;
            }
        }
示例#2
0
 void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
     switch (connectionId)
     {
     case 1:
     this.msdg = ((System.Windows.Controls.DataGrid)(target));
     return;
     case 2:
     
     #line 22 "..\..\Master.xaml"
     ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Add_Click);
     
     #line default
     #line hidden
     return;
     case 3:
     
     #line 23 "..\..\Master.xaml"
     ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.back_Click);
     
     #line default
     #line hidden
     return;
     }
     this._contentLoaded = true;
 }
示例#3
0
        public static void RestoreSorting(DataGridSortDescription sortDescription, DataGrid grid, ICollectionView view)
        {
            if (sortDescription.SortDescription != null && sortDescription.SortDescription.Count == 0)
            {
                if (Core.Settings.Default.CacheListEnableAutomaticSorting)
                {
                    if (Core.Settings.Default.CacheListSortOnColumnIndex >= 0 && Core.Settings.Default.CacheListSortOnColumnIndex < grid.Columns.Count)
                    {
                        SortDescription sd = new SortDescription(grid.Columns[Core.Settings.Default.CacheListSortOnColumnIndex].SortMemberPath, Core.Settings.Default.CacheListSortDirection == 0 ? ListSortDirection.Ascending : ListSortDirection.Descending);
                        sortDescription.SortDescription.Add(sd);
                    }
                }
            }
            //restore the column sort order
            if (sortDescription.SortDescription != null && sortDescription.SortDescription.Count > 0)
            {
                sortDescription.SortDescription.ToList().ForEach(x => view.SortDescriptions.Add(x));
                view.Refresh();
            }

            //restore the sort directions. Arrows are nice :)
            foreach (DataGridColumn c in grid.Columns)
            {
                if (sortDescription.SortDirection.ContainsKey(c))
                {
                    c.SortDirection = sortDescription.SortDirection[c];
                }
            }
        }
示例#4
0
 public void Initialize(DataGrid grid)
 {
     _grid = grid;
     ImplicitStyleManager.SetResourceDictionaryUri(_grid, new Uri("ExtensibleGrid.Extensions;component/Theme.xaml", UriKind.Relative));
     ImplicitStyleManager.SetApplyMode(grid, ImplicitStylesApplyMode.Auto);
     ImplicitStyleManager.Apply(_grid);
 }
        public void ApplyBindings(DataGrid parent)
        {
            var gridView = (GridView)PackageGrid.View;
            Debug.Assert(parent.Columns.Count == gridView.Columns.Count);
            for (int i = 0; i < gridView.Columns.Count; i++)
            {
                var binding = new Binding("ActualWidth")
                {
                    Source = parent.Columns[i]
                };

                if (i == 0)
                {
                    // for the Id column, which is the first column, 
                    // it is slightly smaller than the parent column width
                    // due to the left margin.
                    binding.Converter = subtractConverter;
                    binding.ConverterParameter = 3;
                }

                BindingOperations.SetBinding(
                    gridView.Columns[i],
                    GridViewColumn.WidthProperty,
                    binding);
            }
        }
示例#6
0
文件: GridHelper.cs 项目: JuRogn/OA
        public static ObservableCollection<string> GetSelectItem(DataGrid grid,string chkboxName,Action action)
        {
            if (grid.ItemsSource != null)
            {
                ObservableCollection<string> selectedObj = new ObservableCollection<string>();
                foreach (object obj in grid.ItemsSource)
                {
                    if (grid.Columns[0].GetCellContent(obj) != null)
                    {
                        CheckBox ckbSelect = grid.Columns[0].GetCellContent(obj).FindName(chkboxName) as CheckBox; //cb为
                        if (ckbSelect.IsChecked == true)
                        {
                            selectedObj.Add(ckbSelect.Tag.ToString());
                            if (action == Action.Edit)
                            {
                                break;
                            }
                        }

                    }
                }
                if (selectedObj.Count > 0)
                {
                    return selectedObj;
                }
            }
            return null;
        }
示例#7
0
 public FinAnalysisVM(DataGrid dataGrid)
 {
     _dataGrid = dataGrid;
     _rowMapping = Rowmapping.EnglishRows();
     _showTable = new ObservableCollection<FinAnalysisData>();
     _columnHeader = new List<string>();
 }
示例#8
0
        public EditWindow(Service.Service service, int rowIndex, object selectedItem, DataGrid grid)
        {
            InitializeComponent();
            this.selectedItem = selectedItem;
            this.service = service;
            this.rowIndex = rowIndex;
            this.grid = grid;
            this.grid.IsReadOnly = true;

            List<String> categories = new List<String>();
            categories.Add("Discount pris");
            categories.Add("Hverdags oste");
            categories.Add("Luxus oste");
            categories.Add("Eksklusive oste");
            categories.Add("Styk ost");
            categories.Add("Osteborde");

            comboBoxCategoryEdit.ItemsSource = categories.ToList();

            TxtName.Text = service.filldata(service.getProducts()).Rows[rowIndex]["name"].ToString();
            txtUnitprice.Text = service.filldata(service.getProducts()).Rows[rowIndex]["unitPrice"].ToString();
            txtCountAvailable.Text = service.filldata(service.getProducts()).Rows[rowIndex]["countAvailable"].ToString();
            txtCountry.Text = service.filldata(service.getProducts()).Rows[rowIndex]["country"].ToString();
            txtDescription.Text = service.filldata(service.getProducts()).Rows[rowIndex]["description"].ToString();
        }
示例#9
0
 static public void WpfDataGridStandardBehavior(DataGrid grid)
 {
   grid.ContextMenu = Application.Current.FindResource("WPFDataGrid_CopyMenu") as ContextMenu;
   grid.MouseRightButtonUp += WPFHelpers.WPFDataGridMouseRightButtonUpSaveCell;
   grid.AutoGeneratingColumn += GridAutoGeneratingColumn;
   grid.LoadingRow += GridLoadingRow;
 }
        public DataGridRowDoubleClickHandler(DataGrid dataGrid)
        {
            MouseButtonEventHandler handler = (sender, args) =>
            {
                var row = sender as DataGridRow;
                if (row != null && row.IsSelected)
                {
                    var methodName = GetMethodName(dataGrid);

                    var dataContextType = dataGrid.DataContext.GetType();
                    var method = dataContextType.GetMethod(methodName);
                    if (method == null)
                    {
                        throw new MissingMethodException(methodName);
                    }

                    method.Invoke(dataGrid.DataContext, null);
                }
            };

            dataGrid.LoadingRow += (s, e) =>
            {
                e.Row.MouseDoubleClick += handler;
            };

            dataGrid.UnloadingRow += (s, e) =>
            {
                e.Row.MouseDoubleClick -= handler;
            };
        }
示例#11
0
        public static DataGrid ToPrintFriendlyGrid(this DataGrid source,PagedCollectionView pcv)
        {
            DataGrid dg = new DataGrid();
            dg.ItemsSource = pcv;
            dg.AutoGenerateColumns = false;

            for (int i = 0; i < source.Columns.Count; i++)
            {
                DataGridTextColumn newColumn = new DataGridTextColumn();
                DataGridTextColumn column = (DataGridTextColumn)source.Columns[i];
                newColumn.Header = column.Header;
                System.Windows.Data.Binding bind;
                if (column.Binding != null)
                {
                    bind = new System.Windows.Data.Binding();
                    bind.Path = column.Binding.Path;
                    //bind.Converter = column.Binding.Converter;
                }
                else
                    bind = new System.Windows.Data.Binding();
                newColumn.Binding = bind;
                dg.Columns.Add(newColumn);
            }

            return dg;
        }
示例#12
0
        /// <summary>
        /// Opens a 
        /// </summary>
        public void ReadConfigurations(DataGrid dgDataGrid1)
        {
            dgDataGrid = dgDataGrid1;
            //get adress of config xml
            FileInfo XMLfileInfo = FileIO.OpenFile();

            //read xml file
            if (XMLfileInfo != null)
            {
                Stream stream = XMLfileInfo.OpenRead();
                //convert xml file to object
                config = Converter.XMLToClasses(stream);

                stream.Close();
                //get Querry
                GetDBEntries( );

                //create Grid

            }
            else
            {
                errorFlag = true;
                MessageBox.Show("You haven't selected anything");
            }
        }
        private void updateTable(ProblemResult result)
        {
            ResultTabs.Clear();
            for (int i = 0; i < result.TableResult.Values.Count; ++i)
            {
                ResultDataTable resultDataTable = new ResultDataTable(result.TableResult.Values[i]);
                DataGrid dataGrid = new DataGrid();
                dataGrid.IsReadOnly = true;
                dataGrid.CanUserSortColumns = false;
                dataGrid.CanUserAddRows = false;
                dataGrid.CanUserDeleteRows = false;
                dataGrid.CanUserResizeRows = false;
                dataGrid.CanUserResizeColumns = false;
                dataGrid.SelectionUnit = DataGridSelectionUnit.Cell;
                dataGrid.ItemsSource = resultDataTable.AsDataView;

                TabItem tabItem = new TabItem();
                tabItem.Header = 
                    string.IsNullOrEmpty(result.TableResult.Values[i].Title) 
                    ? (i + 1).ToString() : result.TableResult.Values[i].Title;
                tabItem.Content = dataGrid;
                ResultTabs.Add(tabItem);
            }

            if (ResultTabs.Count > 0)
            {
                tcResultsTabs.SelectedIndex = 0;
                tcResultsTabs.SelectedItem = ResultTabs.First();
                ResultTabs.First().IsSelected = true;
            }
        }
        private bool CanCopy(DataGrid dataGrid)
        {
            if (dataGrid == null)
                return false;

            return dataGrid.HasRectangularCellSelection();
        }
 private void Paste(DataGrid dataGrid)
 {
     Contract.Requires(dataGrid != null);
     var data = ClipboardHelper.GetClipboardDataAsTable();
     if (data != null)
         dataGrid.PasteCells(data);
 }
        /// <summary>
        /// Initializes a new instance of the <see cref="T:System.Windows.Automation.Peers.DataGridAutomationPeer" /> class.
        /// </summary>
        /// <param name="owner">
        /// The <see cref="T:System.Windows.Controls.DataGrid" /> that is associated with this <see cref="T:System.Windows.Automation.Peers.DataGridAutomationPeer" />.
        /// </param>
        public DataGridAutomationPeer(DataGrid owner)
            : base(owner)
        {
            if (this.HorizontallyScrollable)
            {
                _oldHorizontallyScrollable = true;
                _oldHorizontalScrollPercent = this.HorizontalScrollPercent;
                _oldHorizontalViewSize = this.HorizontalViewSize;
            }
            else
            {
                _oldHorizontallyScrollable = false;
                _oldHorizontalScrollPercent = ScrollPatternIdentifiers.NoScroll;
                _oldHorizontalViewSize = 100.0;
            }

            if (this.VerticallyScrollable)
            {
                _oldVerticallyScrollable = true;
                _oldVerticalScrollPercent = this.VerticalScrollPercent;
                _oldVerticalViewSize = this.VerticalViewSize;
            }
            else
            {
                _oldVerticallyScrollable = false;
                _oldVerticalScrollPercent = ScrollPatternIdentifiers.NoScroll;
                _oldVerticalViewSize = 100.0;
            }
        }
示例#17
0
 void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
     switch (connectionId)
     {
     case 1:
     this.MyDataGrid = ((System.Windows.Controls.DataGrid)(target));
     return;
     case 2:
     
     #line 116 "..\..\..\..\Uil\Window\EditDayWindow.xaml"
     ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.AddLessonButton_Click);
     
     #line default
     #line hidden
     return;
     case 3:
     
     #line 117 "..\..\..\..\Uil\Window\EditDayWindow.xaml"
     ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.SaveButton_Click);
     
     #line default
     #line hidden
     return;
     }
     this._contentLoaded = true;
 }
示例#18
0
 public static void CopyWithHeaders(DataGrid grid)
 {
     var previous = grid.ClipboardCopyMode;
     grid.ClipboardCopyMode = DataGridClipboardCopyMode.IncludeHeader;
     ApplicationCommands.Copy.Execute(null, grid);
     grid.ClipboardCopyMode = previous;
 }
 void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
     switch (connectionId)
     {
     case 1:
     this.ReferenceDataGrid_ = ((System.Windows.Controls.DataGrid)(target));
     
     #line 10 "..\..\..\..\..\..\..\..\..\..\Excel_Interface\excel_instrumentVM\excel_instType\excel_swap\excel_cds\protectionTerm\excel_referenceInformation\Loader\Excel_referenceLoaderView.xaml"
     this.ReferenceDataGrid_.LoadingRow += new System.EventHandler<System.Windows.Controls.DataGridRowEventArgs>(this.DataGrid_LoadingRow_);
     
     #line default
     #line hidden
     return;
     case 3:
     
     #line 29 "..\..\..\..\..\..\..\..\..\..\Excel_Interface\excel_instrumentVM\excel_instType\excel_swap\excel_cds\protectionTerm\excel_referenceInformation\Loader\Excel_referenceLoaderView.xaml"
     ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.SurmitButton_Click);
     
     #line default
     #line hidden
     return;
     case 4:
     
     #line 30 "..\..\..\..\..\..\..\..\..\..\Excel_Interface\excel_instrumentVM\excel_instType\excel_swap\excel_cds\protectionTerm\excel_referenceInformation\Loader\Excel_referenceLoaderView.xaml"
     ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.CancelButton_Click);
     
     #line default
     #line hidden
     return;
     }
     this._contentLoaded = true;
 }
示例#20
0
        public ModifierClient(Particulier p, Ressources r, DataGrid d)
        {
            client = p;
            res = r;
            data = d;

            InitializeComponent();

            if(p is Professionnel)
                pro = true;
            else
                pro = false;

            nom.Text = p.Nom;
            prenom.Text = p.Prenom;
            email.Text = p.EMail;
            telephone.Text = p.NumeroDeTelephone;

            if (pro)
            {
                Professionnel prof = client as Professionnel;

                siret.IsEnabled = true;
                siret.Text = prof.Siret;

                denomination.IsEnabled = true;
                denomination.Text = prof.Denomnation;
            }

            numvoie.Text = client.Adresse.Numero;
            voie.Text = client.Adresse.Voie;
            cp.Text = client.Adresse.CodePostal;
            ville.Text = client.Adresse.Ville;
            dep.Text = client.Adresse.Departement;
        }
 public BulkPackageEditWindow(ref DataGrid BulkPackageDataGrid, ref HurtowniaNapojowDataSet.OpakowaniaZbiorczeRow editBulkPackage)
 {
     _BulkPackageDataGrid = BulkPackageDataGrid;
     _editBulkPackage = editBulkPackage;
     InitializeComponent();
     SetDataBinding();
 }
        internal static System.Windows.DataTemplate CreateCellTemplate(EntityFieldInfo entityFieldInfo,DataGrid dataGrid)
        {
            DataTemplate dataTemplate = new DataTemplate();
            FrameworkElementFactory contentControl = new FrameworkElementFactory(typeof(ContentControl));
            contentControl.SetBinding(ContentControl.ContentProperty, new Binding());
            Style contentControlStyle = new Style();
            contentControl.SetValue(ContentControl.StyleProperty, contentControlStyle);

            DataTemplate tpl = new DataTemplate();
            if (entityFieldInfo.ControlType == Infrastructure.Attributes.ControlType.Color)
            {
                FrameworkElementFactory grid = new FrameworkElementFactory(typeof(Grid));
                Binding binding = CreateBindingOneWay(entityFieldInfo.Path);
                binding.Converter = new StringToBrushConverter();
                grid.SetBinding(Grid.BackgroundProperty, binding);
                tpl.VisualTree = grid;
                contentControlStyle.Setters.Add(new Setter(ContentControl.ContentTemplateProperty, tpl));
                dataTemplate.VisualTree = contentControl;
            }
            else
            {
                FrameworkElementFactory textBox = new FrameworkElementFactory(typeof(TextBlock));
                if (entityFieldInfo.ControlType == Infrastructure.Attributes.ControlType.Pr)
                { textBox.SetValue(TextBlock.TextAlignmentProperty, TextAlignment.Right); }
                textBox.SetBinding(TextBlock.TextProperty, CreateBindingOneWay(entityFieldInfo.Path));
                tpl.VisualTree = textBox;
                contentControlStyle.Setters.Add(new Setter(ContentControl.ContentTemplateProperty, tpl));
                dataTemplate.VisualTree = contentControl;
            }

            return dataTemplate;
        }
示例#23
0
 void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
     switch (connectionId)
     {
     case 1:
     this.spdg = ((System.Windows.Controls.DataGrid)(target));
     
     #line 6 "..\..\Window5.xaml"
     this.spdg.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.spdg_SelectionChanged);
     
     #line default
     #line hidden
     return;
     case 2:
     
     #line 22 "..\..\Window5.xaml"
     ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Button_Click_1);
     
     #line default
     #line hidden
     return;
     case 3:
     
     #line 23 "..\..\Window5.xaml"
     ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Button_Click_2);
     
     #line default
     #line hidden
     return;
     }
     this._contentLoaded = true;
 }
 public GenericDataGridTemplateColumn(EntityFieldInfo fieldInfo,DataGrid dataGrid)
 {
     this.FieldInfo = fieldInfo;
     this.Header = this.FieldInfo.DisplayName;
     this.CellTemplate = DataGridTemplateBuilder.CreateCellTemplate(this.FieldInfo, dataGrid);
     this.CellEditingTemplate = DataGridTemplateBuilder.CreateCellEditingTemplate(this.FieldInfo, dataGrid);
 }
示例#25
0
        public void Initialize(DataGrid grid)
        {
            _grid = grid;
            ResourceDictionary dictionary = Parse(new Uri("ExtensibleGrid.Extensions;component/AutoCompleteExtension.xaml", UriKind.Relative));
            //loading the resource dictionary
            DataGridColumn item = null;

            int index = 0;
            foreach (DataGridColumn col in _grid.Columns)
            {

                // turn every column of type string to an autocomplete
                if (col.Header.Equals("FirstName") || col.Header.Equals("First Name"))
                {

                    DataGridTemplateColumn templateColumn = new DataGridTemplateColumn();
                    templateColumn.Header = col.Header;
                    templateColumn.CellEditingTemplate = dictionary["myCellEditingTemplateFirstName"] as DataTemplate;
                    _grid.Columns.Insert(index, templateColumn);
                    item = col;
                    break;

                }
                
                index++;
            }
            _grid.Columns.Remove(item);

        }
 private static Style CreateElementStyle(DataGrid dataGrid, string bindingPath)
 {
   var baseStyle = dataGrid.FindResource("TextBlockBaseStyle") as Style;
   var style = new Style(typeof(TextBlock), baseStyle);
   AddSetters(style, bindingPath);
   return style;
 }
示例#27
0
 public ExcelHelper(String path , DataGrid dataGrid, DateTime startDate, DateTime endDate)
 {
     this.startDate = startDate;
     this.endDate = endDate;
     this.dataGrid = dataGrid;
     this.path = path;
 }
示例#28
0
		private static void SetVisibleColumns(DataGrid grid, HashSet<string> columns)
		{
			foreach (var column in grid.Columns)
			{
				column.Visibility = columns.Contains(column.SortMemberPath) ? Visibility.Visible : Visibility.Collapsed;
			}
		}
示例#29
0
		void DataGridScroll(ScrollChangedEventArgs e, DataGrid dataGrid1, DataGrid dataGrid2)
		{
			if (e.HorizontalChange != 0.0f)
			{
				ScrollViewer sv;
				Type t = dataGrid1.GetType();
				try
				{
					sv = t.InvokeMember("InternalScrollHost", BindingFlags.NonPublic | BindingFlags.Instance | BindingFlags.GetProperty, null, dataGrid2, null) as ScrollViewer;
					sv.ScrollToHorizontalOffset(e.HorizontalOffset);
				}
				catch (Exception ex)
				{
					MessageBox.Show(ex.Message);
				}
			}
			if (e.VerticalChange != 0.0f)
			{
				ScrollViewer sv = null;
				Type t = dataGrid1.GetType();
				try
				{
					sv = t.InvokeMember("InternalScrollHost", BindingFlags.NonPublic | BindingFlags.Instance | BindingFlags.GetProperty, null, dataGrid2, null) as ScrollViewer;
					sv.ScrollToVerticalOffset(e.VerticalOffset);
				}
				catch (Exception ex)
				{
					MessageBox.Show(ex.Message);
				}
			}
		}
示例#30
0
        void IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
                case 1:
                    this.dummyElement = (FrameworkElement) target;
                    return;

                case 2:
                    this.itemsDataGrid = (DataGrid) target;
                    this.itemsDataGrid.PreviewKeyDown += new KeyEventHandler(this.dataGrid_PreviewKeyDown);
                    return;

                case 3:
                    this.saveToPcButton = (Button) target;
                    return;

                case 4:
                    this.deleteButton = (Button) target;
                    return;

                case 5:
                    this.cancelButton = (Button) target;
                    return;
            }
            this._contentLoaded = true;
        }
示例#31
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:

            #line 22 "..\..\..\..\DataControls\Конструкторам\КонструкторамUC.xaml"
                ((System.Windows.Controls.Grid)(target)).Loaded += new System.Windows.RoutedEventHandler(this.Grid_Loaded_2);

            #line default
            #line hidden
                return;

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

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

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

            #line 42 "..\..\..\..\DataControls\Конструкторам\КонструкторамUC.xaml"
                this.HeightDamper.KeyDown += new System.Windows.Input.KeyEventHandler(this.HeightDamper_KeyDown);

            #line default
            #line hidden
                return;

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

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

            #line 44 "..\..\..\..\DataControls\Конструкторам\КонструкторамUC.xaml"
                this.WidthDamper.PreviewTextInput += new System.Windows.Input.TextCompositionEventHandler(this.NumberValidationTextBox);

            #line default
            #line hidden

            #line 44 "..\..\..\..\DataControls\Конструкторам\КонструкторамUC.xaml"
                this.WidthDamper.KeyDown += new System.Windows.Input.KeyEventHandler(this.WidthDamper_KeyDown);

            #line default
            #line hidden
                return;

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

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

            #line 47 "..\..\..\..\DataControls\Конструкторам\КонструкторамUC.xaml"
                this.BuildDamper.Click += new System.Windows.RoutedEventHandler(this.BuildDamper_Click);

            #line default
            #line hidden
                return;

            case 9:

            #line 61 "..\..\..\..\DataControls\Конструкторам\КонструкторамUC.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Button_Click_1);

            #line default
            #line hidden
                return;

            case 10:

            #line 62 "..\..\..\..\DataControls\Конструкторам\КонструкторамUC.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Button_Click_3);

            #line default
            #line hidden
                return;

            case 11:

            #line 63 "..\..\..\..\DataControls\Конструкторам\КонструкторамUC.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Button_Click_2);

            #line default
            #line hidden
                return;

            case 12:

            #line 64 "..\..\..\..\DataControls\Конструкторам\КонструкторамUC.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Button_Click_4);

            #line default
            #line hidden
                return;

            case 13:
                this.ДобавитьТаблицуВидов = ((System.Windows.Controls.Button)(target));

            #line 73 "..\..\..\..\DataControls\Конструкторам\КонструкторамUC.xaml"
                this.ДобавитьТаблицуВидов.Click += new System.Windows.RoutedEventHandler(this.ДобавитьТаблицуВидов_Click);

            #line default
            #line hidden
                return;

            case 14:
                this.ДобавитьТаблицуРазмеров = ((System.Windows.Controls.Button)(target));

            #line 74 "..\..\..\..\DataControls\Конструкторам\КонструкторамUC.xaml"
                this.ДобавитьТаблицуРазмеров.Click += new System.Windows.RoutedEventHandler(this.ДобавитьТаблицуРазмеров_Click);

            #line default
            #line hidden
                return;

            case 15:
                this.ТаблицаВидов = ((System.Windows.Controls.DataGrid)(target));
                return;
            }
            this._contentLoaded = true;
        }
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.label = ((System.Windows.Controls.Label)(target));
                return;

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

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

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

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

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

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

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

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

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

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

            #line 28 "..\..\Dealer_info.xaml"
                this.btn_add_dealer.Click += new System.Windows.RoutedEventHandler(this.btn_add_dealer_Click);

            #line default
            #line hidden
                return;

            case 12:
                this.dataGrid_dealers = ((System.Windows.Controls.DataGrid)(target));

            #line 29 "..\..\Dealer_info.xaml"
                this.dataGrid_dealers.MouseLeftButtonUp += new System.Windows.Input.MouseButtonEventHandler(this.dataGrid_dealers_row_Click);

            #line default
            #line hidden
                return;

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

            #line 30 "..\..\Dealer_info.xaml"
                this.btn_dealer_update.Click += new System.Windows.RoutedEventHandler(this.btn_dealer_update_Click);

            #line default
            #line hidden
                return;

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

            #line 31 "..\..\Dealer_info.xaml"
                this.btn_dealer_delete.Click += new System.Windows.RoutedEventHandler(this.btn_dealer_delete_Click);

            #line default
            #line hidden
                return;

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

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

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

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

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

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

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

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

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

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

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

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

            #line 46 "..\..\Dealer_info.xaml"
                this.btn_update_dealer.Click += new System.Windows.RoutedEventHandler(this.btn_upd_dealer_final_Click);

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

            #line 5 "..\..\..\Forms\frmActorsList.xaml"
                ((TDSClient.Forms.frmActorsList)(target)).Unloaded += new System.Windows.RoutedEventHandler(this.Window_Unloaded);

            #line default
            #line hidden

            #line 5 "..\..\..\Forms\frmActorsList.xaml"
                ((TDSClient.Forms.frmActorsList)(target)).Loaded += new System.Windows.RoutedEventHandler(this.Window_Loaded);

            #line default
            #line hidden
                return;

            case 2:
                this.dtGridActors = ((System.Windows.Controls.DataGrid)(target));

            #line 7 "..\..\..\Forms\frmActorsList.xaml"
                this.dtGridActors.PreviewMouseLeftButtonDown += new System.Windows.Input.MouseButtonEventHandler(this.dtGridActors_PreviewMouseLeftButtonDown);

            #line default
            #line hidden

            #line 7 "..\..\..\Forms\frmActorsList.xaml"
                this.dtGridActors.PreviewMouseMove += new System.Windows.Input.MouseEventHandler(this.dtGridActors_PreviewMouseMove);

            #line default
            #line hidden
                return;

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

            #line 8 "..\..\..\Forms\frmActorsList.xaml"
                this.cmdNew.Click += new System.Windows.RoutedEventHandler(this.cmdNew_Click);

            #line default
            #line hidden
                return;

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

            #line 9 "..\..\..\Forms\frmActorsList.xaml"
                this.cmdDelete.Click += new System.Windows.RoutedEventHandler(this.cmdDelete_Click);

            #line default
            #line hidden
                return;

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

            #line 10 "..\..\..\Forms\frmActorsList.xaml"
                this.cmdExit.Click += new System.Windows.RoutedEventHandler(this.cmdExit_Click);

            #line default
            #line hidden
                return;

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

            #line 11 "..\..\..\Forms\frmActorsList.xaml"
                this.cmdShowMe.Click += new System.Windows.RoutedEventHandler(this.cmdShowMe_Click);

            #line default
            #line hidden
                return;

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

            #line 12 "..\..\..\Forms\frmActorsList.xaml"
                this.cmdActivities.Click += new System.Windows.RoutedEventHandler(this.cmdActivities_Click);

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

            #line 11 "..\..\..\..\..\Departments\Purchasing\Supply_List.xaml"
                this.Label_ProjectNumber.MouseDoubleClick += new System.Windows.Input.MouseButtonEventHandler(this.Label_ProjectNumber_MouseDoubleClick);

            #line default
            #line hidden
                return;

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

            #line 12 "..\..\..\..\..\Departments\Purchasing\Supply_List.xaml"
                this.textBox_SearchPR.TextChanged += new System.Windows.Controls.TextChangedEventHandler(this.textBox_SearchPR_TextChanged);

            #line default
            #line hidden
                return;

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

            #line 14 "..\..\..\..\..\Departments\Purchasing\Supply_List.xaml"
                this.cb_Status.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.cb_SelectionChanged);

            #line default
            #line hidden
                return;

            case 4:
                this.dataGrid_SP_List = ((System.Windows.Controls.DataGrid)(target));
                return;

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

            #line 271 "..\..\..\..\..\Departments\Purchasing\Supply_List.xaml"
                this.Open_Supplier_SP.Click += new System.Windows.RoutedEventHandler(this.Supplier_Click);

            #line default
            #line hidden
                return;

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

            #line 272 "..\..\..\..\..\Departments\Purchasing\Supply_List.xaml"
                this.ApprovedOrReject_SP.Click += new System.Windows.RoutedEventHandler(this.ApprovedOrReject_Click);

            #line default
            #line hidden
                return;

            case 8:

            #line 273 "..\..\..\..\..\Departments\Purchasing\Supply_List.xaml"
                ((System.Windows.Controls.MenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.Clear_All_Checked);

            #line default
            #line hidden
                return;

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

            #line 274 "..\..\..\..\..\Departments\Purchasing\Supply_List.xaml"
                this.ResubmitQuotation1.Click += new System.Windows.RoutedEventHandler(this.ResubmitQuotation_Checked);

            #line default
            #line hidden
                return;

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

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

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

            case 14:

            #line 528 "..\..\..\..\..\Departments\Purchasing\Supply_List.xaml"
                ((System.Windows.Controls.MenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.Attachement_Click);

            #line default
            #line hidden
                return;

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

            #line 529 "..\..\..\..\..\Departments\Purchasing\Supply_List.xaml"
                this.Open_Supplier_FP.Click += new System.Windows.RoutedEventHandler(this.Supplier_Click);

            #line default
            #line hidden
                return;

            case 16:
                this.ApprovedOrReject_FP = ((System.Windows.Controls.MenuItem)(target));

            #line 530 "..\..\..\..\..\Departments\Purchasing\Supply_List.xaml"
                this.ApprovedOrReject_FP.Click += new System.Windows.RoutedEventHandler(this.ApprovedOrReject_Click);

            #line default
            #line hidden
                return;

            case 17:

            #line 531 "..\..\..\..\..\Departments\Purchasing\Supply_List.xaml"
                ((System.Windows.Controls.MenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.Clear_All_Checked);

            #line default
            #line hidden
                return;

            case 18:
                this.ResubmitQuotation2 = ((System.Windows.Controls.MenuItem)(target));

            #line 532 "..\..\..\..\..\Departments\Purchasing\Supply_List.xaml"
                this.ResubmitQuotation2.Click += new System.Windows.RoutedEventHandler(this.ResubmitQuotation_Checked);

            #line default
            #line hidden
                return;

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

            case 20:
                this.dataGrid_Screw_List = ((System.Windows.Controls.DataGrid)(target));
                return;

            case 22:
                this.Open_Supplier_Screw = ((System.Windows.Controls.MenuItem)(target));

            #line 790 "..\..\..\..\..\Departments\Purchasing\Supply_List.xaml"
                this.Open_Supplier_Screw.Click += new System.Windows.RoutedEventHandler(this.Supplier_Click);

            #line default
            #line hidden
                return;

            case 23:
                this.ApprovedOrReject_Screw = ((System.Windows.Controls.MenuItem)(target));

            #line 791 "..\..\..\..\..\Departments\Purchasing\Supply_List.xaml"
                this.ApprovedOrReject_Screw.Click += new System.Windows.RoutedEventHandler(this.ApprovedOrReject_Click);

            #line default
            #line hidden
                return;

            case 24:

            #line 792 "..\..\..\..\..\Departments\Purchasing\Supply_List.xaml"
                ((System.Windows.Controls.MenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.Clear_All_Checked);

            #line default
            #line hidden
                return;

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

            #line 793 "..\..\..\..\..\Departments\Purchasing\Supply_List.xaml"
                this.ResubmitQuotation3.Click += new System.Windows.RoutedEventHandler(this.ResubmitQuotation_Checked);

            #line default
            #line hidden
                return;

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

            case 27:
                this.dataGrid_Others_List = ((System.Windows.Controls.DataGrid)(target));
                return;

            case 29:
                this.Open_Supplier_Others = ((System.Windows.Controls.MenuItem)(target));

            #line 1047 "..\..\..\..\..\Departments\Purchasing\Supply_List.xaml"
                this.Open_Supplier_Others.Click += new System.Windows.RoutedEventHandler(this.Supplier_Click);

            #line default
            #line hidden
                return;

            case 30:
                this.ApprovedOrReject_Others = ((System.Windows.Controls.MenuItem)(target));

            #line 1048 "..\..\..\..\..\Departments\Purchasing\Supply_List.xaml"
                this.ApprovedOrReject_Others.Click += new System.Windows.RoutedEventHandler(this.ApprovedOrReject_Click);

            #line default
            #line hidden
                return;

            case 31:

            #line 1049 "..\..\..\..\..\Departments\Purchasing\Supply_List.xaml"
                ((System.Windows.Controls.MenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.Clear_All_Checked);

            #line default
            #line hidden
                return;

            case 32:
                this.ResubmitQuotation4 = ((System.Windows.Controls.MenuItem)(target));

            #line 1050 "..\..\..\..\..\Departments\Purchasing\Supply_List.xaml"
                this.ResubmitQuotation4.Click += new System.Windows.RoutedEventHandler(this.ResubmitQuotation_Checked);

            #line default
            #line hidden
                return;

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

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

            #line 1060 "..\..\..\..\..\Departments\Purchasing\Supply_List.xaml"
                this.cb_Projects.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.cb_SelectionChanged);

            #line default
            #line hidden
                return;

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

            #line 1063 "..\..\..\..\..\Departments\Purchasing\Supply_List.xaml"
                this.button_AddMultiple.Click += new System.Windows.RoutedEventHandler(this.button_AddMultiple_Click);

            #line default
            #line hidden
                return;

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

            #line 1064 "..\..\..\..\..\Departments\Purchasing\Supply_List.xaml"
                this.button_Export.Click += new System.Windows.RoutedEventHandler(this.button_Export_Click);

            #line default
            #line hidden
                return;

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

            #line 1065 "..\..\..\..\..\Departments\Purchasing\Supply_List.xaml"
                this.MApprovePRQuotation.Click += new System.Windows.RoutedEventHandler(this.MApprovePRQuotation_Click);

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

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

            #line default
            #line hidden
                return;

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

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

            #line 13 "..\..\w_Articulos.xaml"
                this.txtCodBarra.PreviewTextInput += new System.Windows.Input.TextCompositionEventHandler(this.TxtCodBarra_PreviewTextInput);

            #line default
            #line hidden
                return;

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

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

            #line 18 "..\..\w_Articulos.xaml"
                this.txtPrecio.PreviewTextInput += new System.Windows.Input.TextCompositionEventHandler(this.TxtPrecio_PreviewTextInput);

            #line default
            #line hidden
                return;

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

            #line 19 "..\..\w_Articulos.xaml"
                this.dgvProductos.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.DgvProductos_SelectionChanged);

            #line default
            #line hidden
                return;

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

            #line 20 "..\..\w_Articulos.xaml"
                this.btnAgregar.Click += new System.Windows.RoutedEventHandler(this.BtnAgregar_Click);

            #line default
            #line hidden
                return;

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

            #line 21 "..\..\w_Articulos.xaml"
                this.btnModificar.Click += new System.Windows.RoutedEventHandler(this.BtnModificar_Click);

            #line default
            #line hidden
                return;

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

            #line 22 "..\..\w_Articulos.xaml"
                this.btnEliminar.Click += new System.Windows.RoutedEventHandler(this.BtnEliminar_Click);

            #line default
            #line hidden
                return;

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

            #line 23 "..\..\w_Articulos.xaml"
                this.btnCancelar.Click += new System.Windows.RoutedEventHandler(this.BtnCancelar_Click);

            #line default
            #line hidden
                return;

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

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

            #line 25 "..\..\w_Articulos.xaml"
                this.btnLoadFromFile.Click += new System.Windows.RoutedEventHandler(this.BtnLoadFromFile_Click);

            #line default
            #line hidden
                return;

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

            #line 26 "..\..\w_Articulos.xaml"
                this.btnGuardar.Click += new System.Windows.RoutedEventHandler(this.BtnGuardar_Click);

            #line default
            #line hidden
                return;

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

            #line 27 "..\..\w_Articulos.xaml"
                this.btnTipoProducto.Click += new System.Windows.RoutedEventHandler(this.BtnTipoProducto_Click);

            #line default
            #line hidden
                return;
            }
            this._contentLoaded = true;
        }
示例#36
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.ClipboardGroup = ((System.Windows.Controls.Ribbon.RibbonGroup)(target));
                return;

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

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

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

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

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

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

            #line 108 "..\..\..\..\ADO\Pages\Employee.xaml"
                this.BtnSearch.Click += new System.Windows.RoutedEventHandler(this.btn_search_Click);

            #line default
            #line hidden
                return;

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

            #line 109 "..\..\..\..\ADO\Pages\Employee.xaml"
                this.btn_add.Click += new System.Windows.RoutedEventHandler(this.btn_add_Click);

            #line default
            #line hidden
                return;

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

            #line 110 "..\..\..\..\ADO\Pages\Employee.xaml"
                this.btn_update.Click += new System.Windows.RoutedEventHandler(this.btn_update_Click);

            #line default
            #line hidden
                return;

            case 10:

            #line 111 "..\..\..\..\ADO\Pages\Employee.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Button_Click);

            #line default
            #line hidden
                return;

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

            #line 112 "..\..\..\..\ADO\Pages\Employee.xaml"
                this.btn_display.Click += new System.Windows.RoutedEventHandler(this.btn_display_Click);

            #line default
            #line hidden
                return;

            case 12:
                this.dg = ((System.Windows.Controls.DataGrid)(target));
                return;
            }
            this._contentLoaded = true;
        }
示例#37
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.dataNCC = ((System.Windows.Controls.DataGrid)(target));
                return;

            case 2:
                this.dataNCCSP = ((System.Windows.Controls.DataGrid)(target));
                return;

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

            #line 42 "..\..\..\NhaCungCapList.xaml"
                this.btnOKALL.Click += new System.Windows.RoutedEventHandler(this.BtnOKALL_Click);

            #line default
            #line hidden
                return;

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

            #line 43 "..\..\..\NhaCungCapList.xaml"
                this.btnOK.Click += new System.Windows.RoutedEventHandler(this.BtnOK_Click);

            #line default
            #line hidden
                return;

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

            #line 44 "..\..\..\NhaCungCapList.xaml"
                this.btnUpdate.Click += new System.Windows.RoutedEventHandler(this.BtnCN_Click);

            #line default
            #line hidden
                return;

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

            #line 45 "..\..\..\NhaCungCapList.xaml"
                this.btnCan.Click += new System.Windows.RoutedEventHandler(this.BtnCan_Click);

            #line default
            #line hidden
                return;

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

            #line 46 "..\..\..\NhaCungCapList.xaml"
                this.btnCanALL.Click += new System.Windows.RoutedEventHandler(this.BtnCanALL_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:
                this.Fondo = ((System.Windows.Controls.Image)(target));
                return;

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

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

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

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

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

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

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

            #line 82 "..\..\ListadoContratos.xaml"
                this.Btn_Buscar.Click += new System.Windows.RoutedEventHandler(this.Btn_Buscar_Click);

            #line default
            #line hidden
                return;

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

            #line 88 "..\..\ListadoContratos.xaml"
                this.Btn_Filtro_Rut.Click += new System.Windows.RoutedEventHandler(this.Btn_Filtro_Rut_Click);

            #line default
            #line hidden
                return;

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

            #line 94 "..\..\ListadoContratos.xaml"
                this.Btn_Filtro_Tipo.Click += new System.Windows.RoutedEventHandler(this.Btn_Filtro_Tipo_Click);

            #line default
            #line hidden
                return;

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

            #line 102 "..\..\ListadoContratos.xaml"
                this.Btn_Atras.Click += new System.Windows.RoutedEventHandler(this.Btn_Atras_Click);

            #line default
            #line hidden
                return;

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

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

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

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

            #line 139 "..\..\ListadoContratos.xaml"
                this.Btn_Filtro_Modalidad.Click += new System.Windows.RoutedEventHandler(this.Btn_Filtro_Modalidad_Click);

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

            #line 13 "..\..\..\..\Ventanas\Pedidos\ModificarPedido_AD.xaml"
                this.dgOrdenPedido.MouseDoubleClick += new System.Windows.Input.MouseButtonEventHandler(this.dgOrdenPedido_MouseDoubleClick);

            #line default
            #line hidden
                return;

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

            #line 15 "..\..\..\..\Ventanas\Pedidos\ModificarPedido_AD.xaml"
                this.btnBuscar.Click += new System.Windows.RoutedEventHandler(this.btnBuscar_Click);

            #line default
            #line hidden
                return;

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

            #line 16 "..\..\..\..\Ventanas\Pedidos\ModificarPedido_AD.xaml"
                this.cbxTipoBusqueda.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.cbxTipoBusqueda_SelectionChanged);

            #line default
            #line hidden
                return;

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

            #line 22 "..\..\..\..\Ventanas\Pedidos\ModificarPedido_AD.xaml"
                this.btnExcel.Click += new System.Windows.RoutedEventHandler(this.btnExcel_Click);

            #line default
            #line hidden
                return;

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

            #line 23 "..\..\..\..\Ventanas\Pedidos\ModificarPedido_AD.xaml"
                this.btnWord.Click += new System.Windows.RoutedEventHandler(this.btnWord_Click);

            #line default
            #line hidden
                return;

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

            #line 24 "..\..\..\..\Ventanas\Pedidos\ModificarPedido_AD.xaml"
                this.btnTexto.Click += new System.Windows.RoutedEventHandler(this.btnTexto_Click);

            #line default
            #line hidden
                return;

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

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

            #line 27 "..\..\..\..\Ventanas\Pedidos\ModificarPedido_AD.xaml"
                this.btn_LimpiarFiltro.Click += new System.Windows.RoutedEventHandler(this.btn_LimpiarFiltro_Click);

            #line default
            #line hidden
                return;

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

            #line 28 "..\..\..\..\Ventanas\Pedidos\ModificarPedido_AD.xaml"
                this.bntAyuda.Click += new System.Windows.RoutedEventHandler(this.bntAyuda_Click);

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

            case 2:
                this.btnConsultar = ((MahApps.Metro.Controls.Tile)(target));

            #line 25 "..\..\PerPorFecha.xaml"
                this.btnConsultar.Click += new System.Windows.RoutedEventHandler(this.btnConsultar_Click);

            #line default
            #line hidden
                return;

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

            #line 32 "..\..\PerPorFecha.xaml"
                this.txtBuscarCam.KeyUp += new System.Windows.Input.KeyEventHandler(this.txtBuscarCam_KeyUp);

            #line default
            #line hidden
                return;

            case 4:
                this.dtgrdcam = ((System.Windows.Controls.DataGrid)(target));

            #line 37 "..\..\PerPorFecha.xaml"
                this.dtgrdcam.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.dtgrdcam_SelectionChanged);

            #line default
            #line hidden
                return;

            case 5:
                this.dtgrdhabsel = ((System.Windows.Controls.DataGrid)(target));

            #line 114 "..\..\PerPorFecha.xaml"
                this.dtgrdhabsel.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.dtgrdhabsel_SelectionChanged);

            #line default
            #line hidden
                return;

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

            case 7:

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

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

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

            #line 24 "..\..\NuevaCategoria.xaml"
                this.btnNuevo.Click += new System.Windows.RoutedEventHandler(this.btnNuevo_Click);

            #line default
            #line hidden
                return;

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

            #line 25 "..\..\NuevaCategoria.xaml"
                this.btnGuardar.Click += new System.Windows.RoutedEventHandler(this.btnGuardar_Click);

            #line default
            #line hidden
                return;

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

            #line 26 "..\..\NuevaCategoria.xaml"
                this.btnEditar.Click += new System.Windows.RoutedEventHandler(this.btnEditar_Click);

            #line default
            #line hidden
                return;

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

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

            #line default
            #line hidden
                return;

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

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

            #line default
            #line hidden
                return;

            case 7:
                this.dtgTabla = ((System.Windows.Controls.DataGrid)(target));
                return;
            }
            this._contentLoaded = true;
        }
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.dgProductos = ((System.Windows.Controls.DataGrid)(target));

            #line 14 "..\..\..\..\Ventanas\Productos\IngresarProductos_AD.xaml"
                this.dgProductos.MouseDoubleClick += new System.Windows.Input.MouseButtonEventHandler(this.dgProductos_MouseDoubleClick);

            #line default
            #line hidden
                return;

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

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

            #line 17 "..\..\..\..\Ventanas\Productos\IngresarProductos_AD.xaml"
                this.btnBuscar.Click += new System.Windows.RoutedEventHandler(this.btnBuscar_Click);

            #line default
            #line hidden
                return;

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

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

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

            #line 24 "..\..\..\..\Ventanas\Productos\IngresarProductos_AD.xaml"
                this.btnCrear.Click += new System.Windows.RoutedEventHandler(this.btnCrear_Click);

            #line default
            #line hidden
                return;

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

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

            #line 32 "..\..\..\..\Ventanas\Productos\IngresarProductos_AD.xaml"
                this.cbxCategoria.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.cbxCategorias_Seleccion);

            #line default
            #line hidden
                return;

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

            #line 34 "..\..\..\..\Ventanas\Productos\IngresarProductos_AD.xaml"
                this.btnLimpiar.Click += new System.Windows.RoutedEventHandler(this.btnLimpiar_Click);

            #line default
            #line hidden
                return;

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

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

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

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

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

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

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

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

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

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

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

            #line 55 "..\..\..\..\Ventanas\Productos\IngresarProductos_AD.xaml"
                this.btn_LimpiarFiltro.Click += new System.Windows.RoutedEventHandler(this.btn_LimpiarFiltro_Click);

            #line default
            #line hidden
                return;

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

            #line 56 "..\..\..\..\Ventanas\Productos\IngresarProductos_AD.xaml"
                this.bntAyuda.Click += new System.Windows.RoutedEventHandler(this.bntAyuda_Click);

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

            #line 21 "..\..\A_SetAlarmTemplate.xaml"
                this.Border_Title.Loaded += new System.Windows.RoutedEventHandler(this.Border_Loaded);

            #line default
            #line hidden
                return;

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

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

            #line 31 "..\..\A_SetAlarmTemplate.xaml"
                this.maxButton.Click += new System.Windows.RoutedEventHandler(this.MaxButton_Click);

            #line default
            #line hidden
                return;

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

            #line 36 "..\..\A_SetAlarmTemplate.xaml"
                this.mniButton.Click += new System.Windows.RoutedEventHandler(this.MinButton_Click);

            #line default
            #line hidden
                return;

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

            #line 41 "..\..\A_SetAlarmTemplate.xaml"
                this.closeButton.Click += new System.Windows.RoutedEventHandler(this.CloseButton_Click);

            #line default
            #line hidden
                return;

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

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

            case 8:

            #line 49 "..\..\A_SetAlarmTemplate.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Search_Click);

            #line default
            #line hidden
                return;

            case 9:

            #line 50 "..\..\A_SetAlarmTemplate.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Add_Click);

            #line default
            #line hidden
                return;

            case 10:

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

            #line default
            #line hidden
                return;

            case 11:
                this.dataGrid = ((System.Windows.Controls.DataGrid)(target));
                return;

            case 16:
                this.pag = ((TestDesigner.controls.ucPager)(target));
                return;
            }
            this._contentLoaded = true;
        }
示例#44
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.MainGrid = ((System.Windows.Controls.Grid)(target));

            #line 17 "..\..\MainWindow.xaml"
                this.MainGrid.PreviewKeyDown += new System.Windows.Input.KeyEventHandler(this.MainGrid_OnPreviewKeyDown);

            #line default
            #line hidden
                return;

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

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

            case 4:
                this.TitleRTBox = ((System.Windows.Controls.RichTextBox)(target));

            #line 41 "..\..\MainWindow.xaml"
                this.TitleRTBox.KeyUp += new System.Windows.Input.KeyEventHandler(this.OnChanges);

            #line default
            #line hidden
                return;

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

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

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

            #line 55 "..\..\MainWindow.xaml"
                this.BodyRTBox.KeyUp += new System.Windows.Input.KeyEventHandler(this.OnChanges);

            #line default
            #line hidden
                return;

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

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

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

            case 12:
                this.ButtonControlsUGrid = ((System.Windows.Controls.Primitives.UniformGrid)(target));
                return;

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

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

            #line default
            #line hidden
                return;

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

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

            #line default
            #line hidden
                return;

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

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

            #line default
            #line hidden
                return;
            }
            this._contentLoaded = true;
        }
示例#45
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.TrainsitionigContentSlide = ((MaterialDesignThemes.Wpf.Transitions.TransitioningContent)(target));
                return;

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

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

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

            #line 52 "..\..\..\Views\Controle_Motorista.xaml"
                this.txtCpf.TextChanged += new System.Windows.Controls.TextChangedEventHandler(this.TxtCpf_TextChanged);

            #line default
            #line hidden
                return;

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

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

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

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

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

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

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

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

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

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

            #line 152 "..\..\..\Views\Controle_Motorista.xaml"
                this.txtNumero.TextChanged += new System.Windows.Controls.TextChangedEventHandler(this.TxtNumero_TextChanged);

            #line default
            #line hidden
                return;

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

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

            #line 171 "..\..\..\Views\Controle_Motorista.xaml"
                this.btnSalvar.Click += new System.Windows.RoutedEventHandler(this.BtnSalvar_Click);

            #line default
            #line hidden
                return;

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

            #line 183 "..\..\..\Views\Controle_Motorista.xaml"
                this.btnListaMotorista.Click += new System.Windows.RoutedEventHandler(this.BtnListaMotorista_Click);

            #line default
            #line hidden
                return;

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

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

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

            #line 199 "..\..\..\Views\Controle_Motorista.xaml"
                this.txtBuscar.TextChanged += new System.Windows.Controls.TextChangedEventHandler(this.TxtBuscar_TextChanged);

            #line default
            #line hidden
                return;

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

            #line 203 "..\..\..\Views\Controle_Motorista.xaml"
                this.btnBuscar.Click += new System.Windows.RoutedEventHandler(this.BtnBuscar_Click);

            #line default
            #line hidden
                return;

            case 22:
                this.dgMotorista = ((System.Windows.Controls.DataGrid)(target));

            #line 207 "..\..\..\Views\Controle_Motorista.xaml"
                this.dgMotorista.MouseDoubleClick += new System.Windows.Input.MouseButtonEventHandler(this.DgMotorista_MouseDoubleClick);

            #line default
            #line hidden
                return;

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

            #line 210 "..\..\..\Views\Controle_Motorista.xaml"
                this.btnVoltar.Click += new System.Windows.RoutedEventHandler(this.BtnVoltar_Click);

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

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

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

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

            #line 28 "..\..\UIParameters.xaml"
                this.ButtonStartGame.Click += new System.Windows.RoutedEventHandler(this.StartGame);

            #line default
            #line hidden
                return;

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

            #line 29 "..\..\UIParameters.xaml"
                this.ButtonLoadAlgorithmsAssembly.Click += new System.Windows.RoutedEventHandler(this.LoadAlgorithmsAssembly);

            #line default
            #line hidden
                return;

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

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

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

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

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

            #line 34 "..\..\UIParameters.xaml"
                this.ButtonAddRowToBattleParams.Click += new System.Windows.RoutedEventHandler(this.AddRowToBattleParams);

            #line default
            #line hidden
                return;

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

            #line 35 "..\..\UIParameters.xaml"
                this.ButtonRemoveRowFromBattleParams.Click += new System.Windows.RoutedEventHandler(this.RemoveRowFromBattleParams);

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

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

#line 35 "..\..\..\Orders\List.xaml"
                this.btnLast.Click += new System.Windows.RoutedEventHandler(this.btnLast_Click);

#line default
#line hidden
                return;

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

#line 36 "..\..\..\Orders\List.xaml"
                this.btnFirst.Click += new System.Windows.RoutedEventHandler(this.btnFirst_Click);

#line default
#line hidden
                return;

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

#line 37 "..\..\..\Orders\List.xaml"
                this.btnNext.Click += new System.Windows.RoutedEventHandler(this.btnNext_Click);

#line default
#line hidden
                return;

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

#line 38 "..\..\..\Orders\List.xaml"
                this.btnPrevious.Click += new System.Windows.RoutedEventHandler(this.btnPrevious_Click);

#line default
#line hidden
                return;

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

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

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

#line 50 "..\..\..\Orders\List.xaml"
                this.cboSortOrder.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.cboSortOrder_SelectionChanged);

#line default
#line hidden
                return;

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

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

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

#line 53 "..\..\..\Orders\List.xaml"
                this.txtboxPageSize.KeyDown += new System.Windows.Input.KeyEventHandler(this.txtboxPageSize_KeyDown);

#line default
#line hidden
                return;

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

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

#line 55 "..\..\..\Orders\List.xaml"
                this.btnSearch.Click += new System.Windows.RoutedEventHandler(this.btnSearch_Click);

#line default
#line hidden
                return;

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

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

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

#line 58 "..\..\..\Orders\List.xaml"
                this.cboOrderStatus.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.cboOrderStatus_SelectionChanged);

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

            #line 13 "..\..\..\Pages\GroupsPage.xaml"
                ((ShortBody.Pages.GroupsPage)(target)).Unloaded += new System.Windows.RoutedEventHandler(this.Page_Unloaded);

            #line default
            #line hidden
                return;

            case 2:
                this.ZoneGrid = ((System.Windows.Controls.DataGrid)(target));

            #line 75 "..\..\..\Pages\GroupsPage.xaml"
                this.ZoneGrid.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.Grid_SelectionChanged);

            #line default
            #line hidden
                return;

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

            #line 129 "..\..\..\Pages\GroupsPage.xaml"
                this.dgZoneMembers.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.Grids_SelectionChanged);

            #line default
            #line hidden
                return;

            case 4:
                this.AreaGrid = ((System.Windows.Controls.DataGrid)(target));

            #line 200 "..\..\..\Pages\GroupsPage.xaml"
                this.AreaGrid.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.Grid_SelectionChanged);

            #line default
            #line hidden
                return;

            case 5:
                this.dgAreaMembers = ((System.Windows.Controls.DataGrid)(target));

            #line 268 "..\..\..\Pages\GroupsPage.xaml"
                this.dgAreaMembers.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.Grids_SelectionChanged);

            #line default
            #line hidden
                return;

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

            #line 334 "..\..\..\Pages\GroupsPage.xaml"
                this.GroupGrid.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.Grid_SelectionChanged);

            #line default
            #line hidden
                return;

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

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

            #line 467 "..\..\..\Pages\GroupsPage.xaml"
                this.ClassGrid.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.Grid_SelectionChanged);

            #line default
            #line hidden
                return;

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

            #line 531 "..\..\..\Pages\GroupsPage.xaml"
                this.dgClassMembers.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.Grids_SelectionChanged);

            #line default
            #line hidden
                return;

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

            #line 598 "..\..\..\Pages\GroupsPage.xaml"
                this.MinistryGrid.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.Grid_SelectionChanged);

            #line default
            #line hidden
                return;

            case 11:
                this.dgMinistryMembers = ((System.Windows.Controls.DataGrid)(target));

            #line 653 "..\..\..\Pages\GroupsPage.xaml"
                this.dgMinistryMembers.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.Grids_SelectionChanged);

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

            case 2:

            #line 48 "..\..\ObjectView.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.chartViewButton_Click);

            #line default
            #line hidden
                return;

            case 3:

            #line 56 "..\..\ObjectView.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.tableViewButton_Click);

            #line default
            #line hidden
                return;

            case 4:

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

            #line default
            #line hidden
                return;

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

            #line 72 "..\..\ObjectView.xaml"
                this.LargeWindowButton.Click += new System.Windows.RoutedEventHandler(this.largeWindowButton_Click);

            #line default
            #line hidden
                return;

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

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

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

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

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

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

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

            case 13:
                this.dataGrid0 = ((System.Windows.Controls.DataGrid)(target));

            #line 115 "..\..\ObjectView.xaml"
                this.dataGrid0.AutoGeneratingColumn += new System.EventHandler <System.Windows.Controls.DataGridAutoGeneratingColumnEventArgs>(this.dataGrid0_AutoGeneratingColumn);

            #line default
            #line hidden

            #line 116 "..\..\ObjectView.xaml"
                this.dataGrid0.AutoGeneratedColumns += new System.EventHandler(this.dataGrid0_AutoGeneratedColumns);

            #line default
            #line hidden
                return;

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

            case 15:
                this.textViewHolder = ((System.Windows.Controls.StackPanel)(target));
                return;
            }
            this._contentLoaded = true;
        }
示例#50
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.tireBtn = ((System.Windows.Controls.Button)(target));

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

            #line default
            #line hidden
                return;

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

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

            #line default
            #line hidden
                return;

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

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

            #line default
            #line hidden
                return;

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

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

            #line default
            #line hidden
                return;

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

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

            #line default
            #line hidden
                return;

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

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

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

            #line 18 "..\..\MainWindow.xaml"
                this.diameterNameTxt.TextChanged += new System.Windows.Controls.TextChangedEventHandler(this.diameterName_TextChanged);

            #line default
            #line hidden
                return;

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

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

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

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

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

            #line default
            #line hidden
                return;

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

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

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

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

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

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

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

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

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

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

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

            #line 34 "..\..\MainWindow.xaml"
                this.voltageNameTxt.TextChanged += new System.Windows.Controls.TextChangedEventHandler(this.diameterName_TextChanged);

            #line default
            #line hidden
                return;

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

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

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

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

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

            #line default
            #line hidden
                return;

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

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

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

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

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

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

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

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

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

            #line default
            #line hidden
                return;

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

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

            #line 49 "..\..\MainWindow.xaml"
                this.wiperNameTxt.TextChanged += new System.Windows.Controls.TextChangedEventHandler(this.diameterName_TextChanged);

            #line default
            #line hidden
                return;

            case 38:
                this.numberItemWindLbl = ((System.Windows.Controls.Label)(target));
                return;

            case 39:
                this.costItemWindLbl = ((System.Windows.Controls.Label)(target));
                return;

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

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

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

            #line default
            #line hidden
                return;

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

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

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

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

            case 46:
                this.weightWindLbl = ((System.Windows.Controls.Label)(target));
                return;

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

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

            case 49:
                this.quantityWindTxt = ((System.Windows.Controls.TextBox)(target));
                return;

            case 50:
                this.dataGrid1 = ((System.Windows.Controls.DataGrid)(target));
                return;

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

            case 52:
                this.totalNameLbl = ((System.Windows.Controls.Label)(target));
                return;

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

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

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

            #line default
            #line hidden
                return;

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

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

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

            #line 15 "..\..\..\..\Pages\Schedules\ScheduleView.xaml"
                ((tscui.Pages.Schedules.ScheduleView)(target)).Loaded += new System.Windows.RoutedEventHandler(this.UserControl_Loaded);

            #line default
            #line hidden

            #line 15 "..\..\..\..\Pages\Schedules\ScheduleView.xaml"
                ((tscui.Pages.Schedules.ScheduleView)(target)).Unloaded += new System.Windows.RoutedEventHandler(this.UserControl_Unloaded);

            #line default
            #line hidden
                return;

            case 2:
                this.scheduleViewModel = ((tscui.Pages.Schedules.ScheduleViewModel)(target));
                return;

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

            case 4:
                this.cbxucCtrl = ((System.Windows.Controls.DataGridComboBoxColumn)(target));
                return;

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

            case 6:
                this.sldScheduleId = ((System.Windows.Controls.Slider)(target));

            #line 60 "..\..\..\..\Pages\Schedules\ScheduleView.xaml"
                this.sldScheduleId.ValueChanged += new System.Windows.RoutedPropertyChangedEventHandler <double>(this.sldScheduleId_ValueChanged);

            #line default
            #line hidden
                return;

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

            #line 61 "..\..\..\..\Pages\Schedules\ScheduleView.xaml"
                this.tbkScheduleId.MouseDown += new System.Windows.Input.MouseButtonEventHandler(this.tbkScheduleId_MouseDown);

            #line default
            #line hidden
                return;

            case 8:

            #line 62 "..\..\..\..\Pages\Schedules\ScheduleView.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.txtName = ((System.Windows.Controls.TextBox)(target));
                return;

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

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

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

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

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

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

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

            #line default
            #line hidden
                return;

            case 8:

            #line 17 "..\..\MainWindow.xaml"
                ((System.Windows.Controls.ComboBoxItem)(target)).Selected += new System.Windows.RoutedEventHandler(this.ComboBoxItem_Selected);

            #line default
            #line hidden
                return;

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

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

            case 11:
                this.dtpDate = ((System.Windows.Controls.DatePicker)(target));
                return;

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

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

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

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

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

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

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

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

            #line default
            #line hidden
                return;

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

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

            #line default
            #line hidden
                return;

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

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

            #line default
            #line hidden
                return;

            case 21:
                this.dataGrid = ((System.Windows.Controls.DataGrid)(target));

            #line 39 "..\..\MainWindow.xaml"
                this.dataGrid.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.DataGrid_SelectionChanged);

            #line default
            #line hidden
                return;

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

            case 23:
                this.lblpathImage = ((System.Windows.Controls.TextBlock)(target));
                return;
            }
            this._contentLoaded = true;
        }
示例#53
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.labelComanda = ((System.Windows.Controls.Label)(target));
                return;

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

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

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

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

            case 6:

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

            #line default
            #line hidden
                return;

            case 7:

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

            #line default
            #line hidden
                return;

            case 8:

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

            #line default
            #line hidden
                return;

            case 9:

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

            #line default
            #line hidden
                return;

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

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

            #line default
            #line hidden
                return;

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

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

            #line default
            #line hidden
                return;

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

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

            #line default
            #line hidden
                return;

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

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

            #line default
            #line hidden
                return;

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

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

            #line default
            #line hidden
                return;

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

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

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

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

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

            case 20:
                this.valuePrecoTotal = ((System.Windows.Controls.Label)(target));
                return;
            }
            this._contentLoaded = true;
        }
示例#54
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.tabLista = ((System.Windows.Controls.TabItem)(target));
                return;

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

            case 3:

            #line 42 "..\..\..\..\..\View\NFe\NFeView.xaml"
                ((ExportarParaArquivo.Control.ButtonExport)(target)).Click += new System.Windows.RoutedEventHandler(this.ButtonExport_Click);

            #line default
            #line hidden
                return;

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

            #line 49 "..\..\..\..\..\View\NFe\NFeView.xaml"
                this.btImportar.Click += new System.Windows.RoutedEventHandler(this.btImportar_Click);

            #line default
            #line hidden
                return;

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

            #line 55 "..\..\..\..\..\View\NFe\NFeView.xaml"
                this.btNovo.Click += new System.Windows.RoutedEventHandler(this.btNovo_Click);

            #line default
            #line hidden
                return;

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

            #line 61 "..\..\..\..\..\View\NFe\NFeView.xaml"
                this.btConsultar.Click += new System.Windows.RoutedEventHandler(this.btConsultar_Click);

            #line default
            #line hidden
                return;

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

            case 8:
                this.tabDados = ((System.Windows.Controls.TabItem)(target));
                return;
            }
            this._contentLoaded = true;
        }
示例#55
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.button_review = ((System.Windows.Controls.Button)(target));

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

            #line default
            #line hidden
                return;

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

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

            #line default
            #line hidden
                return;

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

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

            #line default
            #line hidden
                return;

            case 4:
                this.DataGrid1 = ((System.Windows.Controls.DataGrid)(target));

            #line 40 "..\..\MainWindow.xaml"
                this.DataGrid1.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.DataGrid1_SelectionChanged);

            #line default
            #line hidden

            #line 40 "..\..\MainWindow.xaml"
                this.DataGrid1.MouseDoubleClick += new System.Windows.Input.MouseButtonEventHandler(this.DataGrid1_MouseDoubleClick);

            #line default
            #line hidden
                return;

            case 5:

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

            #line default
            #line hidden
                return;

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

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

            #line default
            #line hidden

            #line 43 "..\..\MainWindow.xaml"
                this.DataGrid2.MouseDoubleClick += new System.Windows.Input.MouseButtonEventHandler(this.DataGrid2_MouseDoubleClick);

            #line default
            #line hidden
                return;

            case 7:

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

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

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

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

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

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

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

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

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

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

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

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

            case 12:
                this.dataGrid = ((System.Windows.Controls.DataGrid)(target));

            #line 48 "..\..\..\Layout\MainWindow.xaml"
                this.dataGrid.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.DataGrid_SelectionChanged);

            #line default
            #line hidden
                return;

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

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

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

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

            case 17:

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

            #line default
            #line hidden
                return;

            case 18:

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

            #line default
            #line hidden
                return;

            case 19:

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

            #line default
            #line hidden
                return;

            case 20:

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

            #line default
            #line hidden
                return;

            case 21:

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

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

            #line 9 "..\..\..\Dimensi\DDana.xaml"
                ((BAPPEDADW.Dimensi.DDana)(target)).Loaded += new System.Windows.RoutedEventHandler(this.UserControl_Loaded);

            #line default
            #line hidden
                return;

            case 2:
                this.listDdana = ((System.Windows.Controls.DataGrid)(target));
                return;

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

            #line 24 "..\..\..\Dimensi\DDana.xaml"
                this.bAwal.Click += new System.Windows.RoutedEventHandler(this.bAwal_Click);

            #line default
            #line hidden
                return;

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

            #line 25 "..\..\..\Dimensi\DDana.xaml"
                this.bPrev.Click += new System.Windows.RoutedEventHandler(this.bPrev_Click);

            #line default
            #line hidden
                return;

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

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

            #line 27 "..\..\..\Dimensi\DDana.xaml"
                this.bNext.Click += new System.Windows.RoutedEventHandler(this.bNext_Click);

            #line default
            #line hidden
                return;

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

            #line 28 "..\..\..\Dimensi\DDana.xaml"
                this.bAkhir.Click += new System.Windows.RoutedEventHandler(this.bAkhir_Click);

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

            #line 4 "..\..\..\MainWindow.xaml"
                ((Project.MainWindow)(target)).Closed += new System.EventHandler(this.sacuvaj);

            #line default
            #line hidden
                return;

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

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

            #line default
            #line hidden
                return;

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

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

            #line default
            #line hidden
                return;

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

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

            #line default
            #line hidden
                return;

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

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

            #line default
            #line hidden
                return;

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

            #line 110 "..\..\..\MainWindow.xaml"
                this.button5.Click += new System.Windows.RoutedEventHandler(this.izmeni1);

            #line default
            #line hidden
                return;

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

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

            #line default
            #line hidden
                return;

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

            case 9:
                this.dataGrid2 = ((System.Windows.Controls.DataGrid)(target));
                return;
            }
            this._contentLoaded = true;
        }
示例#59
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.button = ((System.Windows.Controls.Button)(target));

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

            #line default
            #line hidden
                return;

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

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

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

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

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

            #line 15 "..\..\MainWindow.xaml"
                this.FindFileButton.Click += new System.Windows.RoutedEventHandler(this.FindFileButton_Click);

            #line default
            #line hidden
                return;

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

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

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

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

            #line default
            #line hidden
                return;

            case 10:
                this.dataGrid = ((System.Windows.Controls.DataGrid)(target));
                return;
            }
            this._contentLoaded = true;
        }
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.datagrid1 = ((System.Windows.Controls.DataGrid)(target));

            #line 11 "..\..\AppointmentPatientHistoryPage.xaml"
                this.datagrid1.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.datagrid1_SelectionChanged);

            #line default
            #line hidden
                return;

            case 2:

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

            #line default
            #line hidden
                return;

            case 3:

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

            #line default
            #line hidden
                return;

            case 4:
                this.datagrid2 = ((System.Windows.Controls.DataGrid)(target));

            #line 14 "..\..\AppointmentPatientHistoryPage.xaml"
                this.datagrid2.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.datagrid2_SelectionChanged);

            #line default
            #line hidden
                return;

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

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

            #line 16 "..\..\AppointmentPatientHistoryPage.xaml"
                this.viewDetails.Click += new System.Windows.RoutedEventHandler(this.viewDetails_Click);

            #line default
            #line hidden
                return;

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

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

            #line default
            #line hidden
                return;
            }
            this._contentLoaded = true;
        }