Beispiel #1
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.btn_Them = ((MaterialDesignThemes.Wpf.Chip)(target));

            #line 12 "..\..\..\UserControls UI\ThemGiaoVien_UserControl.xaml"
                this.btn_Them.Click += new System.Windows.RoutedEventHandler(this.Chip_Click);

            #line default
            #line hidden
                return;

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

            #line 20 "..\..\..\UserControls UI\ThemGiaoVien_UserControl.xaml"
                this.txt_TimKiem.KeyDown += new System.Windows.Input.KeyEventHandler(this.TextBox_KeyDown);

            #line default
            #line hidden
                return;

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

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

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

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

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

            case 11:
                this.btn_PhanCong = ((MaterialDesignThemes.Wpf.Chip)(target));

            #line 131 "..\..\..\UserControls UI\ThemGiaoVien_UserControl.xaml"
                this.btn_PhanCong.Click += new System.Windows.RoutedEventHandler(this.Chip_Click);

            #line default
            #line hidden
                return;

            case 12:
                this.lvDS_PhanCong = ((System.Windows.Controls.ListView)(target));
                return;
            }
            this._contentLoaded = true;
        }
Beispiel #2
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.btn_Huy = ((MaterialDesignThemes.Wpf.Chip)(target));

            #line 15 "..\..\..\Controls UI\DoiMatKhau_Window.xaml"
                this.btn_Huy.Click += new System.Windows.RoutedEventHandler(this.Chip_Click);

            #line default
            #line hidden
                return;

            case 2:
                this.btn_ThayDoi = ((MaterialDesignThemes.Wpf.Chip)(target));

            #line 23 "..\..\..\Controls UI\DoiMatKhau_Window.xaml"
                this.btn_ThayDoi.Click += new System.Windows.RoutedEventHandler(this.Chip_Click);

            #line default
            #line hidden
                return;

            case 3:
                this.txt_MatKhauMoi = ((System.Windows.Controls.PasswordBox)(target));
                return;

            case 4:
                this.txt_XacNhan = ((System.Windows.Controls.PasswordBox)(target));
                return;
            }
            this._contentLoaded = true;
        }
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.memberWindow = ((LibraryManager.MemberWindow)(target));
                return;

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

            case 3:
                this.chipAccount = ((MaterialDesignThemes.Wpf.Chip)(target));
                return;

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

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

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

            #line 139 "..\..\MemberWindow.xaml"
                this.ButtonOpenMenu.Click += new System.Windows.RoutedEventHandler(this.ButtonOpenMenu_Click);

            #line default
            #line hidden
                return;

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

            #line 144 "..\..\MemberWindow.xaml"
                this.ButtonCloseMenu.Click += new System.Windows.RoutedEventHandler(this.ButtonCloseMenu_Click);

            #line default
            #line hidden
                return;

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

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

            case 10:
                this.ListBookBorrow = ((System.Windows.Controls.ListViewItem)(target));
                return;
            }
            this._contentLoaded = true;
        }
Beispiel #4
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.Menu = ((System.Windows.Controls.Grid)(target));
                return;

            case 2:
                this.ten = ((MaterialDesignThemes.Wpf.Chip)(target));
                return;

            case 3:

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

            #line default
            #line hidden
                return;

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

            #line 44 "..\..\MainWindowNV.xaml"
                this.thucUongBtn.Click += new System.Windows.RoutedEventHandler(this.ThucUongBtn_Click_1);

            #line default
            #line hidden
                return;

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

            #line 50 "..\..\MainWindowNV.xaml"
                this.banBtn.Click += new System.Windows.RoutedEventHandler(this.BanBtn_Click);

            #line default
            #line hidden
                return;

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

            #line 57 "..\..\MainWindowNV.xaml"
                this.hoaDonBtn.Click += new System.Windows.RoutedEventHandler(this.HoaDonBtn_Click);

            #line default
            #line hidden
                return;

            case 7:
                this.show = ((System.Windows.Controls.Grid)(target));
                return;
            }
            this._contentLoaded = true;
        }
Beispiel #5
0
 void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
 {
     switch (connectionId)
     {
     case 1:
         this.ButtonsDemoChip = ((MaterialDesignThemes.Wpf.Chip)(target));
         return;
     }
     this._contentLoaded = true;
 }
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:

            #line 15 "..\..\..\Controls UI\SuaGiaoVien_Window.xaml"
                ((System.Windows.Controls.StackPanel)(target)).Loaded += new System.Windows.RoutedEventHandler(this.StackPanel_Loaded);

            #line default
            #line hidden
                return;

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

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

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

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

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

            case 7:
                this.btn_CapNhat = ((MaterialDesignThemes.Wpf.Chip)(target));

            #line 84 "..\..\..\Controls UI\SuaGiaoVien_Window.xaml"
                this.btn_CapNhat.Click += new System.Windows.RoutedEventHandler(this.Chip_Click);

            #line default
            #line hidden
                return;

            case 8:
                this.btn_Thoat = ((MaterialDesignThemes.Wpf.Chip)(target));

            #line 92 "..\..\..\Controls UI\SuaGiaoVien_Window.xaml"
                this.btn_Thoat.Click += new System.Windows.RoutedEventHandler(this.Chip_Click);

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

            case 2:
                this.Chip = ((MaterialDesignThemes.Wpf.Chip)(target));

            #line 35 "..\..\AddScreen.xaml"
                this.Chip.Click += new System.Windows.RoutedEventHandler(this.Chip_Click);

            #line default
            #line hidden
                return;

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

            case 4:

            #line 45 "..\..\AddScreen.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.View_Click);

            #line default
            #line hidden
                return;

            case 5:

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

            #line default
            #line hidden
                return;

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

            case 7:

            #line 52 "..\..\AddScreen.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.txt_TenGiaoVien = ((System.Windows.Controls.TextBox)(target));
                return;

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

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

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

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

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

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

            case 8:
                this.btn_Them = ((MaterialDesignThemes.Wpf.Chip)(target));

            #line 113 "..\..\..\Controls UI\ThemGiaoVien_Window.xaml"
                this.btn_Them.Click += new System.Windows.RoutedEventHandler(this.Chip_Click);

            #line default
            #line hidden
                return;

            case 9:
                this.btn_Thoat = ((MaterialDesignThemes.Wpf.Chip)(target));

            #line 121 "..\..\..\Controls UI\ThemGiaoVien_Window.xaml"
                this.btn_Thoat.Click += new System.Windows.RoutedEventHandler(this.Chip_Click);

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

            case 2:
                this.tagDisplayView = ((MaterialDesignThemes.Wpf.Chip)(target));
                return;

            case 3:
                this.nameDisplay = ((System.Windows.Controls.TextBox)(target));
                return;
            }
            this._contentLoaded = true;
        }
Beispiel #10
0
        public object Convert(object value, Type targetType, object parameter, System.Globalization.CultureInfo culture)
        {
            if (value == null)
            {
                return(null);
            }

            ObservableCollection <String> collection = value as ObservableCollection <String>;

            if (collection == null)
            {
                return(null);
            }

            List <object> toret = new List <object>();

            /*foreach (ObjectStructure os in collection.)
             * {
             *  toret.Add(os);
             * }*/

            for (int i = 0; i < collection.Count; i++)
            {
                MaterialDesignThemes.Wpf.Chip chip = new MaterialDesignThemes.Wpf.Chip();
                chip.Height      = 24;
                chip.IsDeletable = true;
                chip.Content     = collection[i];

                Brush brush = chip.Background;
                if (TagManager.isTag("Global", collection[i]))
                {
                    brush = new SolidColorBrush(TagManager.tagColor("Global", collection[i]));
                    //TODO: Handle tag image
                }

                chip.Background   = brush;
                chip.DeleteClick += delete;

                toret.Add(chip);
            }

            return(toret);//collection[idx.Value].Name;
        }
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.txt_DanToc = ((System.Windows.Controls.TextBox)(target));
                return;

            case 2:
                this.btn_ThemDanToc = ((MaterialDesignThemes.Wpf.Chip)(target));

            #line 41 "..\..\..\UserControls UI\DanToc_TonGiao_UserControl.xaml"
                this.btn_ThemDanToc.Click += new System.Windows.RoutedEventHandler(this.btn_ThemDanToc_Click);

            #line default
            #line hidden
                return;

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

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

            case 7:
                this.btn_ThemTonGiao = ((MaterialDesignThemes.Wpf.Chip)(target));

            #line 105 "..\..\..\UserControls UI\DanToc_TonGiao_UserControl.xaml"
                this.btn_ThemTonGiao.Click += new System.Windows.RoutedEventHandler(this.btn_ThemTonGiao_Click_1);

            #line default
            #line hidden
                return;

            case 8:
                this.lvDS_TonGiao = ((System.Windows.Controls.ListView)(target));
                return;
            }
            this._contentLoaded = true;
        }
Beispiel #12
0
        private void dg_items_SelectionChanged(object sender, SelectionChangedEventArgs e)
        {
            try
            {
                if (sender != null)
                {
                    SectionData.StartAwait(grid_ucItems);
                }

                if (dg_items.SelectedIndex != -1)
                {
                    item = dg_items.SelectedItem as Item;
                    int isExist = selectedItems.IndexOf(item.itemId);
                    if (isExist == -1)
                    {
                        var b = new MaterialDesignThemes.Wpf.Chip()
                        {
                            Content     = item.name,
                            Name        = "btn" + item.itemId,
                            IsDeletable = true,
                            Margin      = new Thickness(5, 5, 5, 5)
                        };
                        b.DeleteClick += Chip_OnDeleteClick;
                        lst_items.Children.Add(b);
                        selectedItems.Add(item.itemId);
                    }
                }
                if (sender != null)
                {
                    SectionData.EndAwait(grid_ucItems);
                }
            }
            catch (Exception ex)
            {
                if (sender != null)
                {
                    SectionData.EndAwait(grid_ucItems);
                }
                SectionData.ExceptionMessage(ex, this);
            }
        }
Beispiel #13
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:

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

            #line default
            #line hidden
                return;

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

            case 3:
                this.CurrentUserIcon = ((MaterialDesignThemes.Wpf.Chip)(target));
                return;

            case 4:

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

            #line default
            #line hidden
                return;

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

            case 6:
                this.MainCanvas = ((System.Windows.Controls.WrapPanel)(target));
                return;
            }
            this._contentLoaded = true;
        }
Beispiel #14
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.ButtonsDemoChip = ((MaterialDesignThemes.Wpf.Chip)(target));

            #line 46 "..\..\Chips.xaml"
                this.ButtonsDemoChip.Click += new System.Windows.RoutedEventHandler(this.ButtonsDemoChip_OnClick);

            #line default
            #line hidden

            #line 47 "..\..\Chips.xaml"
                this.ButtonsDemoChip.DeleteClick += new System.Windows.RoutedEventHandler(this.ButtonsDemoChip_OnDeleteClick);

            #line default
            #line hidden
                return;
            }
            this._contentLoaded = true;
        }
Beispiel #15
0
        public void ChangeItemIdEvent(int itemId)
        {
            int isExist = -1;

            if (selectedItems != null)
            {
                isExist = selectedItems.IndexOf(itemId);
            }
            var item = items.ToList().Find(x => x.itemId == itemId);

            if (isExist == -1)
            {
                var b = new MaterialDesignThemes.Wpf.Chip()
                {
                    Content     = item.name,
                    Name        = "btn" + item.itemId,
                    IsDeletable = true,
                    Margin      = new Thickness(5, 5, 5, 5)
                };
                b.DeleteClick += Chip_OnDeleteClick;
                lst_items.Children.Add(b);
                selectedItems.Add(itemId);
            }
        }
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:

            #line 20 "..\..\LogInWindow.xaml"
                ((WareHouseManagment.LogInWindow)(target)).Loaded += new System.Windows.RoutedEventHandler(this.Window_Loaded);

            #line default
            #line hidden
                return;

            case 2:
                this.mdColorZoneTitle = ((MaterialDesignThemes.Wpf.ColorZone)(target));

            #line 27 "..\..\LogInWindow.xaml"
                this.mdColorZoneTitle.MouseLeftButtonDown += new System.Windows.Input.MouseButtonEventHandler(this.mdColorZoneTitle_MouseLeftButtonDown);

            #line default
            #line hidden
                return;

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

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

            #line 38 "..\..\LogInWindow.xaml"
                this.btnWindowClose.Click += new System.Windows.RoutedEventHandler(this.btnWindowClose_Click);

            #line default
            #line hidden
                return;

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

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

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

            #line 59 "..\..\LogInWindow.xaml"
                this.btnLogin.Click += new System.Windows.RoutedEventHandler(this.btnLogin_Click);

            #line default
            #line hidden
                return;

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

            #line 60 "..\..\LogInWindow.xaml"
                this.btnCancel.Click += new System.Windows.RoutedEventHandler(this.btnWindowClose_Click);

            #line default
            #line hidden
                return;

            case 9:
                this.mDChipSupplier = ((MaterialDesignThemes.Wpf.Chip)(target));

            #line 69 "..\..\LogInWindow.xaml"
                this.mDChipSupplier.Click += new System.Windows.RoutedEventHandler(this.mDChipSupplier_Click);

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

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

            #line 43 "..\..\..\ViewSales\Sales.xaml"
                this.txtboxSearch.TextChanged += new System.Windows.Controls.TextChangedEventHandler(this.txtboxSearch_TextChanged);

            #line default
            #line hidden
                return;

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

            #line 52 "..\..\..\ViewSales\Sales.xaml"
                this.buttonSearch.Click += new System.Windows.RoutedEventHandler(this.buttonSearch_Click);

            #line default
            #line hidden
                return;

            case 5:
                this.iconSearch = ((MaterialDesignThemes.Wpf.PackIcon)(target));
                return;

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

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

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

            #line 166 "..\..\..\ViewSales\Sales.xaml"
                this.comboboxCustomer.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.comboboxCustomer_SelectionChanged);

            #line default
            #line hidden
                return;

            case 9:
                this.chipCustomerName = ((MaterialDesignThemes.Wpf.Chip)(target));

            #line 176 "..\..\..\ViewSales\Sales.xaml"
                this.chipCustomerName.DeleteClick += new System.Windows.RoutedEventHandler(this.chipCustomerName_DeleteClick);

            #line default
            #line hidden
                return;

            case 10:
                this.listViewOrder = ((System.Windows.Controls.ListView)(target));
                return;

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

            #line 220 "..\..\..\ViewSales\Sales.xaml"
                this.buttonCart.Click += new System.Windows.RoutedEventHandler(this.ButtonCart_Click);

            #line default
            #line hidden
                return;

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

            #line 234 "..\..\..\ViewSales\Sales.xaml"
                this.buttonClear.Click += new System.Windows.RoutedEventHandler(this.ClearButton_Click);

            #line default
            #line hidden
                return;

            case 14:

            #line 252 "..\..\..\ViewSales\Sales.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.ButtonOrder_Click);

            #line default
            #line hidden
                return;

            case 15:

            #line 255 "..\..\..\ViewSales\Sales.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.ButtonReload_Click);

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

            #line 10 "..\..\Client.xaml"
                ((Chat.Client)(target)).Closing += new System.ComponentModel.CancelEventHandler(this.Window_Closing);

            #line default
            #line hidden
                return;

            case 2:
                this.profileBut = ((MaterialDesignThemes.Wpf.Chip)(target));

            #line 316 "..\..\Client.xaml"
                this.profileBut.Click += new System.Windows.RoutedEventHandler(this.profileBut_Click);

            #line default
            #line hidden
                return;

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

            #line 319 "..\..\Client.xaml"
                this.chatList.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.chatList_SelectionChanged);

            #line default
            #line hidden
                return;

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

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

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

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

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

            #line 339 "..\..\Client.xaml"
                this.writeMes.KeyDown += new System.Windows.Input.KeyEventHandler(this.writeMes_KeyDown);

            #line default
            #line hidden
                return;

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

            #line 342 "..\..\Client.xaml"
                this.sendMesBtn.Click += new System.Windows.RoutedEventHandler(this.sendMesBtn_Click);

            #line default
            #line hidden
                return;

            case 10:
                this.setBord = ((System.Windows.Controls.Border)(target));
                return;

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

            #line 365 "..\..\Client.xaml"
                this.imgProfileBtn.Click += new System.Windows.RoutedEventHandler(this.imgProfileBtn_Click);

            #line default
            #line hidden
                return;

            case 12:
                this.imgProfile = ((System.Windows.Shapes.Ellipse)(target));
                return;

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

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

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

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

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

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

            #line 377 "..\..\Client.xaml"
                this.redBut.Click += new System.Windows.RoutedEventHandler(this.redBut_Click);

            #line default
            #line hidden
                return;

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

            #line 378 "..\..\Client.xaml"
                this.accept.Click += new System.Windows.RoutedEventHandler(this.accept_Click);

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

            #line 10 "..\..\Client.xaml"
                ((Chat.Client)(target)).Closing += new System.ComponentModel.CancelEventHandler(this.Window_Closing);

            #line default
            #line hidden
                return;

            case 2:
                this.profileBut = ((MaterialDesignThemes.Wpf.Chip)(target));

            #line 323 "..\..\Client.xaml"
                this.profileBut.Click += new System.Windows.RoutedEventHandler(this.profileBut_Click);

            #line default
            #line hidden
                return;

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

            #line 326 "..\..\Client.xaml"
                this.chatList.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.chatList_SelectionChanged);

            #line default
            #line hidden
                return;

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

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

            #line 336 "..\..\Client.xaml"
                this.gaminatorBtn.Click += new System.Windows.RoutedEventHandler(this.gaminatorBtn_Click);

            #line default
            #line hidden
                return;

            case 6:
                this.media = ((System.Windows.Controls.MediaElement)(target));

            #line 337 "..\..\Client.xaml"
                this.media.MediaEnded += new System.Windows.RoutedEventHandler(this.media_MediaEnded);

            #line default
            #line hidden
                return;

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

            #line 339 "..\..\Client.xaml"
                this.vaBankBtn.Click += new System.Windows.RoutedEventHandler(this.vaBankBtn_Click);

            #line default
            #line hidden
                return;

            case 8:
                this.media1 = ((System.Windows.Controls.MediaElement)(target));

            #line 340 "..\..\Client.xaml"
                this.media1.MediaEnded += new System.Windows.RoutedEventHandler(this.media_MediaEnded);

            #line default
            #line hidden
                return;

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

            #line 342 "..\..\Client.xaml"
                this.binomoBut.Click += new System.Windows.RoutedEventHandler(this.binomoBut_Click);

            #line default
            #line hidden
                return;

            case 10:
                this.media2 = ((System.Windows.Controls.MediaElement)(target));

            #line 343 "..\..\Client.xaml"
                this.media2.MediaEnded += new System.Windows.RoutedEventHandler(this.media_MediaEnded);

            #line default
            #line hidden
                return;

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

            #line 345 "..\..\Client.xaml"
                this.moneyBut.Click += new System.Windows.RoutedEventHandler(this.moneyBtn_Click);

            #line default
            #line hidden
                return;

            case 12:
                this.media3 = ((System.Windows.Controls.MediaElement)(target));

            #line 346 "..\..\Client.xaml"
                this.media3.MediaEnded += new System.Windows.RoutedEventHandler(this.media_MediaEnded);

            #line default
            #line hidden
                return;

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

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

            case 15:
                this.scroll = ((System.Windows.Controls.ScrollViewer)(target));
                return;

            case 16:
                this.mesBoard = ((System.Windows.Controls.StackPanel)(target));
                return;

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

            #line 370 "..\..\Client.xaml"
                this.writeMes.KeyDown += new System.Windows.Input.KeyEventHandler(this.writeMes_KeyDown);

            #line default
            #line hidden
                return;

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

            #line 373 "..\..\Client.xaml"
                this.sendMesBtn.Click += new System.Windows.RoutedEventHandler(this.sendMesBtn_Click);

            #line default
            #line hidden
                return;

            case 19:
                this.setBord = ((System.Windows.Controls.Border)(target));
                return;

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

            #line 396 "..\..\Client.xaml"
                this.imgProfileBtn.Click += new System.Windows.RoutedEventHandler(this.imgProfileBtn_Click);

            #line default
            #line hidden
                return;

            case 21:
                this.imgProfile = ((System.Windows.Shapes.Ellipse)(target));
                return;

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

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

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

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

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

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

            #line 408 "..\..\Client.xaml"
                this.redBut.Click += new System.Windows.RoutedEventHandler(this.redBut_Click);

            #line default
            #line hidden
                return;

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

            #line 409 "..\..\Client.xaml"
                this.accept.Click += new System.Windows.RoutedEventHandler(this.accept_Click);

            #line default
            #line hidden
                return;

            case 29:
                this.advertstringCheck = ((System.Windows.Controls.Primitives.ToggleButton)(target));

            #line 417 "..\..\Client.xaml"
                this.advertstringCheck.Click += new System.Windows.RoutedEventHandler(this.advertstringCheck_Click);

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

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

            #line 16 "..\..\..\UserControls UI\ViPham_UserControl.xaml"
                this.cbb_NamHoc.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.cbb_NamHoc_SelectionChanged);

            #line default
            #line hidden
                return;

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

            #line 23 "..\..\..\UserControls UI\ViPham_UserControl.xaml"
                this.cbb_KhoiHoc.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.cbb_NamHoc_SelectionChanged);

            #line default
            #line hidden
                return;

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

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

            #line 37 "..\..\..\UserControls UI\ViPham_UserControl.xaml"
                this.cbb_Lop.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.cbb_NamHoc_SelectionChanged);

            #line default
            #line hidden
                return;

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

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

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

            case 9:
                this.btn_CapNhat = ((MaterialDesignThemes.Wpf.Chip)(target));

            #line 66 "..\..\..\UserControls UI\ViPham_UserControl.xaml"
                this.btn_CapNhat.Click += new System.Windows.RoutedEventHandler(this.btn_CapNhat_Click);

            #line default
            #line hidden
                return;

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

            #line 77 "..\..\..\UserControls UI\ViPham_UserControl.xaml"
                this.btn_Them.Click += new System.Windows.RoutedEventHandler(this.btn_Event_Click);

            #line default
            #line hidden
                return;

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

            #line 82 "..\..\..\UserControls UI\ViPham_UserControl.xaml"
                this.btn_Xoa.Click += new System.Windows.RoutedEventHandler(this.btn_Event_Click);

            #line default
            #line hidden
                return;

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

            #line 87 "..\..\..\UserControls UI\ViPham_UserControl.xaml"
                this.btn_LamMoi.Click += new System.Windows.RoutedEventHandler(this.btn_Event_Click);

            #line default
            #line hidden
                return;

            case 13:
                this.lvDS_ViPham = ((System.Windows.Controls.ListView)(target));
                return;
            }
            this._contentLoaded = true;
        }
Beispiel #21
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:

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

            #line default
            #line hidden
                return;

            case 2:

            #line 109 "..\..\MainWindow.xaml"
                ((MaterialDesignThemes.Wpf.DialogHost)(target)).DialogOpened += new MaterialDesignThemes.Wpf.DialogOpenedEventHandler(this.DialogHost_DialogOpened);

            #line default
            #line hidden
                return;

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

            case 4:

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

            #line default
            #line hidden
                return;

            case 5:
                this.pathBar = ((MaterialDesignThemes.Wpf.Chip)(target));

            #line 128 "..\..\MainWindow.xaml"
                this.pathBar.DeleteClick += new System.Windows.RoutedEventHandler(this.pathBar_DeleteClick);

            #line default
            #line hidden
                return;

            case 6:

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

            #line default
            #line hidden
                return;

            case 7:
                this.tabControl = ((Dragablz.TabablzControl)(target));
                return;

            case 8:
                this.treeViewMenu = ((Dashboard1.viewModel.TreeViewControl)(target));
                return;

            case 9:
                this.GridBarraTitulo = ((System.Windows.Controls.Grid)(target));

            #line 336 "..\..\MainWindow.xaml"
                this.GridBarraTitulo.MouseDown += new System.Windows.Input.MouseButtonEventHandler(this.GridBarraTitulo_MouseDown);

            #line default
            #line hidden
                return;

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

            #line 366 "..\..\MainWindow.xaml"
                this.Fullscreen.Click += new System.Windows.RoutedEventHandler(this.Full_Screen);

            #line default
            #line hidden
                return;

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

            #line 369 "..\..\MainWindow.xaml"
                this.FullscreenExit.Click += new System.Windows.RoutedEventHandler(this.Full_Screen_Exit);

            #line default
            #line hidden
                return;

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

            #line 16 "..\..\..\Pages\Common_Rail_Pump_Test.xaml"
                ((OilP.Pages.Common_Rail_Pump_Test)(target)).Unloaded += new System.Windows.RoutedEventHandler(this.Page_Unloaded);

            #line default
            #line hidden
                return;

            case 2:
                this.crp_type_no = ((MaterialDesignThemes.Wpf.Chip)(target));
                return;

            case 3:
                this.crp_type_step = ((MaterialDesignThemes.Wpf.Chip)(target));
                return;

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

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

            case 6:
                this.common_rail_pump_test = ((MaterialDesignThemes.Wpf.Card)(target));
                return;

            case 7:
                this.crp_rotating_speed = ((MaterialDesignThemes.Wpf.Chip)(target));
                return;

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

            case 9:
                this.crp_zme = ((MaterialDesignThemes.Wpf.Chip)(target));
                return;

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

            case 11:
                this.crp_pump_pressure = ((MaterialDesignThemes.Wpf.Chip)(target));
                return;

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

            case 13:
                this.crp_rail_pressure = ((MaterialDesignThemes.Wpf.Chip)(target));
                return;

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

            case 15:
                this.crp_flow = ((MaterialDesignThemes.Wpf.Chip)(target));
                return;

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

            case 32:
                this.text_block_fuel_j_pressure = ((System.Windows.Controls.TextBlock)(target));
                return;

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

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

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

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

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

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

            case 39:
                this.equal_fuel_h_pressure_textBox = ((System.Windows.Controls.TextBox)(target));
                return;

            case 40:
                this.text_block_name_test_time = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 41:
                this.test_time_textBox = ((System.Windows.Controls.TextBox)(target));
                return;

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

            case 43:
                this.text_block_DRV = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 44:
                this.DRV_hor_textBox = ((System.Windows.Controls.TextBox)(target));
                return;

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

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

            case 47:
                this.text_block_ZME = ((System.Windows.Controls.TextBlock)(target));
                return;

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

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

            case 50:
                this.ZME_equal_textBox = ((System.Windows.Controls.TextBox)(target));
                return;

            case 51:
                this.text_block_name_tank_T = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 52:
                this.hor_tank_T = ((System.Windows.Controls.TextBox)(target));
                return;

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

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

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

            case 56:
                this.textbox_oil_hor_JT = ((System.Windows.Controls.TextBox)(target));
                return;

            case 57:
                this.textbox_oil_ver_JT = ((System.Windows.Controls.TextBox)(target));
                return;

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

            case 59:
                this.text_block_name_oil_HT = ((System.Windows.Controls.TextBlock)(target));
                return;

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

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

            case 62:
                this.textbox_oil_equal_HT = ((System.Windows.Controls.TextBox)(target));
                return;

            case 63:
                this.fuel_injection = ((System.Windows.Controls.TextBox)(target));
                return;

            case 64:
                this.return_oil = ((System.Windows.Controls.TextBox)(target));
                return;

            case 65:
                this.forward = ((System.Windows.Controls.RadioButton)(target));
                return;

            case 66:
                this.backward = ((System.Windows.Controls.RadioButton)(target));
                return;

            case 67:
                this.open = ((System.Windows.Controls.RadioButton)(target));
                return;

            case 68:
                this.close = ((System.Windows.Controls.RadioButton)(target));
                return;

            case 69:
                this.time_add = ((System.Windows.Controls.Button)(target));
                return;

            case 70:
                this.slider_rail_pressure = ((System.Windows.Controls.Slider)(target));
                return;

            case 71:
                this.slider_rail_pressure_testbox = ((System.Windows.Controls.TextBox)(target));
                return;

            case 72:
                this.slider_ZME = ((System.Windows.Controls.Slider)(target));
                return;

            case 73:
                this.slider_ZME_testbox = ((System.Windows.Controls.TextBox)(target));
                return;

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

            #line 837 "..\..\..\Pages\Common_Rail_Pump_Test.xaml"
                this.exit.Click += new System.Windows.RoutedEventHandler(this.exit_Click);

            #line default
            #line hidden
                return;

            case 75:
                this.show = ((System.Windows.Controls.Button)(target));
                return;

            case 76:
                this.start = ((System.Windows.Controls.Button)(target));

            #line 869 "..\..\..\Pages\Common_Rail_Pump_Test.xaml"
                this.start.Click += new System.Windows.RoutedEventHandler(this.exit_Click);

            #line default
            #line hidden
                return;

            case 77:
                this.debug = ((System.Windows.Controls.Button)(target));

            #line 885 "..\..\..\Pages\Common_Rail_Pump_Test.xaml"
                this.debug.Click += new System.Windows.RoutedEventHandler(this.exit_Click);

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

            #line 58 "..\..\PageStartup.xaml"
                this.btnTR.Click += new System.Windows.RoutedEventHandler(this.btnAbout_Click);

            #line default
            #line hidden
                return;

            case 2:
                this.btnBP = ((MaterialDesignThemes.Wpf.Chip)(target));

            #line 63 "..\..\PageStartup.xaml"
                this.btnBP.Click += new System.Windows.RoutedEventHandler(this.btnAbout_Click);

            #line default
            #line hidden
                return;

            case 3:
                this.btnPA = ((MaterialDesignThemes.Wpf.Chip)(target));

            #line 68 "..\..\PageStartup.xaml"
                this.btnPA.Click += new System.Windows.RoutedEventHandler(this.btnAbout_Click);

            #line default
            #line hidden
                return;

            case 4:
                this.AM = ((MaterialDesignThemes.Wpf.Chip)(target));

            #line 73 "..\..\PageStartup.xaml"
                this.AM.Click += new System.Windows.RoutedEventHandler(this.btnAbout_Click);

            #line default
            #line hidden
                return;

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

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

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

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

            #line 102 "..\..\PageStartup.xaml"
                this.btnConnect.Click += new System.Windows.RoutedEventHandler(this.btnConnect_Click);

            #line default
            #line hidden
                return;

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

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

            #line default
            #line hidden
                return;

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

            #line 130 "..\..\PageStartup.xaml"
                this.btnSeeSourceCode.Click += new System.Windows.RoutedEventHandler(this.btnSeeSourceCode_Click);

            #line default
            #line hidden
                return;

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

            #line 159 "..\..\PageStartup.xaml"
                this.btnVideos.Click += new System.Windows.RoutedEventHandler(this.btnVideos_Click);

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

            case 2:
                this.chipCustomerName = ((MaterialDesignThemes.Wpf.Chip)(target));
                return;

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

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

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

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

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

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

            #line 219 "..\..\..\ViewSales\OrderManagement.xaml"
                this.comboboxDiscount.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.comboboxDiscount_SelectionChanged);

            #line default
            #line hidden
                return;

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

            case 11:

            #line 243 "..\..\..\ViewSales\OrderManagement.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.ButtonPay_Click);

            #line default
            #line hidden
                return;

            case 12:

            #line 261 "..\..\..\ViewSales\OrderManagement.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.ButtonCancel_Click);

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

            case 2:
                this.cri_type_step = ((MaterialDesignThemes.Wpf.Chip)(target));
                return;

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

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

            case 5:
                this.hpo_pump_test = ((MaterialDesignThemes.Wpf.Card)(target));
                return;

            case 6:
                this.hpo_round_speed = ((MaterialDesignThemes.Wpf.Chip)(target));
                return;

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

            case 8:
                this.hpo_pump_pressure = ((MaterialDesignThemes.Wpf.Chip)(target));
                return;

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

            case 10:
                this.hpo_rail_pressure = ((MaterialDesignThemes.Wpf.Chip)(target));
                return;

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

            case 12:
                this.hpo_rail_adjustment = ((MaterialDesignThemes.Wpf.Chip)(target));
                return;

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

            case 14:
                this.hpo_flow = ((MaterialDesignThemes.Wpf.Chip)(target));
                return;

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

            case 30:
                this.text_block_name_rail_pressure = ((System.Windows.Controls.TextBlock)(target));
                return;

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

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

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

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

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

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

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

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

            case 39:
                this.test_time_deviationr_TextBox = ((System.Windows.Controls.TextBox)(target));
                return;

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

            case 41:
                this.DRV_a_TextBlock = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 42:
                this.DRV_a_standard_textBox = ((System.Windows.Controls.TextBox)(target));
                return;

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

            case 44:
                this.voltage_TextBlock = ((System.Windows.Controls.TextBlock)(target));
                return;

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

            case 46:
                this.start_angle_TextBlock = ((System.Windows.Controls.TextBlock)(target));
                return;

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

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

            case 49:
                this.tank_T_TextBlock = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 50:
                this.tank_T_standrad_TextBox = ((System.Windows.Controls.TextBox)(target));
                return;

            case 51:
                this.tank_T_deviation_TextBox = ((System.Windows.Controls.TextBox)(target));
                return;

            case 52:
                this.tank_T_equal_TextBox = ((System.Windows.Controls.TextBox)(target));
                return;

            case 53:
                this.oil_j_T_TextBlock = ((System.Windows.Controls.TextBlock)(target));
                return;

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

            case 55:
                this.oil_j_T_deviation_TextBox = ((System.Windows.Controls.TextBox)(target));
                return;

            case 56:
                this.oil_j_T_equal_TextBox = ((System.Windows.Controls.TextBox)(target));
                return;

            case 57:
                this.oil_h_T_TextBlock = ((System.Windows.Controls.TextBlock)(target));
                return;

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

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

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

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

            case 62:
                this.return_oil = ((System.Windows.Controls.TextBox)(target));
                return;

            case 63:
                this.forward = ((System.Windows.Controls.RadioButton)(target));
                return;

            case 64:
                this.backward = ((System.Windows.Controls.RadioButton)(target));
                return;

            case 65:
                this.open = ((System.Windows.Controls.RadioButton)(target));
                return;

            case 66:
                this.close = ((System.Windows.Controls.RadioButton)(target));
                return;

            case 67:
                this.time_add = ((System.Windows.Controls.Button)(target));
                return;

            case 68:
                this.setp_0 = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 69:
                this.setp_1 = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 70:
                this.setp_2 = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 71:
                this.setp_3 = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 72:
                this.setp_4 = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 73:
                this.setp_5 = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 74:
                this.setp_6 = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 75:
                this.setp_7 = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 76:
                this.btn_step_1 = ((System.Windows.Controls.Button)(target));
                return;

            case 77:
                this.btn_step_2 = ((System.Windows.Controls.Button)(target));
                return;

            case 78:
                this.btn_step_3_1 = ((System.Windows.Controls.Button)(target));
                return;

            case 79:
                this.btn_step_3_2 = ((System.Windows.Controls.Button)(target));
                return;

            case 80:
                this.btn_step_4 = ((System.Windows.Controls.Button)(target));
                return;

            case 81:
                this.btn_step_5 = ((System.Windows.Controls.Button)(target));
                return;

            case 82:
                this.btn_step_6 = ((System.Windows.Controls.Button)(target));
                return;

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

            case 84:
                this.range_1 = ((System.Windows.Controls.Button)(target));
                return;

            case 85:
                this.range_2 = ((System.Windows.Controls.Button)(target));
                return;

            case 86:
                this.range_3 = ((System.Windows.Controls.Button)(target));
                return;

            case 87:
                this.range_4 = ((System.Windows.Controls.Button)(target));
                return;

            case 88:
                this.range_5 = ((System.Windows.Controls.Button)(target));
                return;

            case 89:
                this.range_6 = ((System.Windows.Controls.Button)(target));
                return;

            case 90:
                this.range_7 = ((System.Windows.Controls.Button)(target));
                return;

            case 91:
                this.range_8 = ((System.Windows.Controls.Button)(target));
                return;

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

            #line 875 "..\..\..\Pages\HPO_Pump_Injector_Test.xaml"
                this.exit.Click += new System.Windows.RoutedEventHandler(this.exit_Click);

            #line default
            #line hidden
                return;

            case 93:
                this.show = ((System.Windows.Controls.Button)(target));
                return;

            case 94:
                this.start = ((System.Windows.Controls.Button)(target));

            #line 905 "..\..\..\Pages\HPO_Pump_Injector_Test.xaml"
                this.start.Click += new System.Windows.RoutedEventHandler(this.exit_Click);

            #line default
            #line hidden
                return;

            case 95:
                this.debug = ((System.Windows.Controls.Button)(target));

            #line 920 "..\..\..\Pages\HPO_Pump_Injector_Test.xaml"
                this.debug.Click += new System.Windows.RoutedEventHandler(this.exit_Click);

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

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

            case 3:
                this.UserChip = ((MaterialDesignThemes.Wpf.Chip)(target));
                return;

            case 4:
                this.UserChipImg = ((System.Windows.Controls.Image)(target));
                return;

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

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

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

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

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

            #line 59 "..\..\Home.xaml"
                this.ButtonMenu.Click += new System.Windows.RoutedEventHandler(this.ButtonMenu_Click);

            #line default
            #line hidden
                return;

            case 10:
                this.MenuQuanLy = ((System.Windows.Controls.ListView)(target));
                return;

            case 11:
                this.lviAccountManagement = ((System.Windows.Controls.ListViewItem)(target));
                return;

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

            case 13:
                this.lviTimeKeepManagement = ((System.Windows.Controls.ListViewItem)(target));
                return;

            case 14:
                this.lviSalaryCalculator = ((System.Windows.Controls.ListViewItem)(target));
                return;

            case 15:
                this.lviOrder = ((System.Windows.Controls.ListViewItem)(target));
                return;

            case 16:
                this.lviFoodManagement = ((System.Windows.Controls.ListViewItem)(target));
                return;

            case 17:
                this.lviDistributorManagement = ((System.Windows.Controls.ListViewItem)(target));
                return;

            case 18:
                this.lviRawManagement = ((System.Windows.Controls.ListViewItem)(target));
                return;

            case 19:
                this.lviRawImported = ((System.Windows.Controls.ListViewItem)(target));
                return;

            case 20:
                this.lviRawUsed = ((System.Windows.Controls.ListViewItem)(target));
                return;

            case 21:
                this.lviRevenueReport = ((System.Windows.Controls.ListViewItem)(target));
                return;
            }
            this._contentLoaded = true;
        }
Beispiel #27
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:

            #line 27 "..\..\..\..\Source\Views\MainWindow.xaml"
                ((System.Windows.Controls.TextBlock)(target)).MouseDown += new System.Windows.Input.MouseButtonEventHandler(this.TextBlock_MouseDown_1);

            #line default
            #line hidden
                return;

            case 2:

            #line 31 "..\..\..\..\Source\Views\MainWindow.xaml"
                ((System.Windows.Controls.TextBlock)(target)).MouseDown += new System.Windows.Input.MouseButtonEventHandler(this.TextBlock_MouseDown);

            #line default
            #line hidden
                return;

            case 3:

            #line 36 "..\..\..\..\Source\Views\MainWindow.xaml"
                ((System.Windows.Controls.TextBlock)(target)).MouseDown += new System.Windows.Input.MouseButtonEventHandler(this.TextBlock_MouseDown_2);

            #line default
            #line hidden
                return;

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

            case 5:

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

            #line default
            #line hidden
                return;

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

            #line 57 "..\..\..\..\Source\Views\MainWindow.xaml"
                this.MSList.MouseDoubleClick += new System.Windows.Input.MouseButtonEventHandler(this.MSList_MouseDoubleClick);

            #line default
            #line hidden
                return;

            case 7:
                this.MSGrid = ((System.Windows.Controls.GridView)(target));
                return;

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

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

            case 10:
                this.What = ((System.Windows.Controls.GridViewColumn)(target));
                return;

            case 11:
                this.Date = ((System.Windows.Controls.GridViewColumn)(target));
                return;

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

            #line 91 "..\..\..\..\Source\Views\MainWindow.xaml"
                this.M1.Checked += new System.Windows.RoutedEventHandler(this.RadioButton_Checked);

            #line default
            #line hidden
                return;

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

            #line 96 "..\..\..\..\Source\Views\MainWindow.xaml"
                this.M2.Checked += new System.Windows.RoutedEventHandler(this.RadioButton_Checked_1);

            #line default
            #line hidden
                return;

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

            #line 101 "..\..\..\..\Source\Views\MainWindow.xaml"
                this.M3.Checked += new System.Windows.RoutedEventHandler(this.RadioButton_Checked_3);

            #line default
            #line hidden
                return;

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

            #line 107 "..\..\..\..\Source\Views\MainWindow.xaml"
                this.M4.Checked += new System.Windows.RoutedEventHandler(this.RadioButton_Checked_2);

            #line default
            #line hidden
                return;

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

            #line 112 "..\..\..\..\Source\Views\MainWindow.xaml"
                this.renew.Click += new System.Windows.RoutedEventHandler(this.renew_Click);

            #line default
            #line hidden
                return;

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

            #line 128 "..\..\..\..\Source\Views\MainWindow.xaml"
                this.deleteMS.Click += new System.Windows.RoutedEventHandler(this.deleteMS_Click);

            #line default
            #line hidden
                return;

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

            #line 136 "..\..\..\..\Source\Views\MainWindow.xaml"
                this.deleteAll.Click += new System.Windows.RoutedEventHandler(this.deleteAll_Click);

            #line default
            #line hidden
                return;

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

            #line 145 "..\..\..\..\Source\Views\MainWindow.xaml"
                this.to_faw.Click += new System.Windows.RoutedEventHandler(this.to_faw_Click);

            #line default
            #line hidden
                return;

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

            #line 156 "..\..\..\..\Source\Views\MainWindow.xaml"
                this.LPage.Click += new System.Windows.RoutedEventHandler(this.LPage_Click);

            #line default
            #line hidden
                return;

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

            #line 175 "..\..\..\..\Source\Views\MainWindow.xaml"
                this.NPage.Click += new System.Windows.RoutedEventHandler(this.NPage_Click);

            #line default
            #line hidden
                return;

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

            case 23:
                this.number = ((System.Windows.Controls.Label)(target));
                return;
            }
            this._contentLoaded = true;
        }
Beispiel #28
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.pnlLoading = ((System.Windows.Controls.StackPanel)(target));
                return;

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

            case 3:

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

            #line default
            #line hidden
                return;

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

            case 5:
                this.chipUser = ((MaterialDesignThemes.Wpf.Chip)(target));
                return;

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

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

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

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

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

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

            case 12:

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

            #line default
            #line hidden
                return;

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

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

            #line default
            #line hidden

            #line 95 "..\..\MainWindow.xaml"
                this.tbSearch.LostFocus += new System.Windows.RoutedEventHandler(this.TbSearch_LostFocus);

            #line default
            #line hidden
                return;

            case 14:
                this.listMails = ((System.Windows.Controls.ListBox)(target));

            #line 98 "..\..\MainWindow.xaml"
                this.listMails.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.List_SelectionChanged);

            #line default
            #line hidden
                return;

            case 15:
                this.listUsers = ((System.Windows.Controls.ListBox)(target));

            #line 127 "..\..\MainWindow.xaml"
                this.listUsers.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.List_SelectionChanged);

            #line default
            #line hidden

            #line 127 "..\..\MainWindow.xaml"
                this.listUsers.LostFocus += new System.Windows.RoutedEventHandler(this.ListUsers_LostFocus);

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

            #line 10 "..\..\..\..\User Controls\Dashboard\ItemDashboard.xaml"
                ((SmartSupport.User_Controls.Dashboard.ItemDashboard)(target)).Loaded += new System.Windows.RoutedEventHandler(this.DashboardUserControl_Loaded);

            #line default
            #line hidden

            #line 11 "..\..\..\..\User Controls\Dashboard\ItemDashboard.xaml"
                ((SmartSupport.User_Controls.Dashboard.ItemDashboard)(target)).Unloaded += new System.Windows.RoutedEventHandler(this.UserControl_Unloaded);

            #line default
            #line hidden
                return;

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

            #line 13 "..\..\..\..\User Controls\Dashboard\ItemDashboard.xaml"
                this.DashboardUserControl.LostFocus += new System.Windows.RoutedEventHandler(this.lost_focus);

            #line default
            #line hidden
                return;

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

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

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

            #line 55 "..\..\..\..\User Controls\Dashboard\ItemDashboard.xaml"
                this.ComboExe.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.ComboExe_SelectionChanged);

            #line default
            #line hidden
                return;

            case 6:

            #line 63 "..\..\..\..\User Controls\Dashboard\ItemDashboard.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Button_Click);

            #line default
            #line hidden
                return;

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

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

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

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

            case 11:

            #line 131 "..\..\..\..\User Controls\Dashboard\ItemDashboard.xaml"
                ((System.Windows.Controls.RadioButton)(target)).Click += new System.Windows.RoutedEventHandler(this.SystemButton_Click);

            #line default
            #line hidden
                return;

            case 12:

            #line 137 "..\..\..\..\User Controls\Dashboard\ItemDashboard.xaml"
                ((System.Windows.Controls.RadioButton)(target)).Click += new System.Windows.RoutedEventHandler(this.CPUButton_Click);

            #line default
            #line hidden
                return;

            case 13:

            #line 143 "..\..\..\..\User Controls\Dashboard\ItemDashboard.xaml"
                ((System.Windows.Controls.RadioButton)(target)).Click += new System.Windows.RoutedEventHandler(this.NetworkButton_Click);

            #line default
            #line hidden
                return;

            case 14:

            #line 149 "..\..\..\..\User Controls\Dashboard\ItemDashboard.xaml"
                ((System.Windows.Controls.RadioButton)(target)).Click += new System.Windows.RoutedEventHandler(this.OSButton_Click);

            #line default
            #line hidden
                return;

            case 15:

            #line 155 "..\..\..\..\User Controls\Dashboard\ItemDashboard.xaml"
                ((System.Windows.Controls.RadioButton)(target)).Click += new System.Windows.RoutedEventHandler(this.MemoryButton_Click);

            #line default
            #line hidden
                return;

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

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

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

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

            case 20:
                this.gauge_cpu = ((LiveCharts.Wpf.AngularGauge)(target));
                return;

            case 21:
                this.chip_cpu = ((MaterialDesignThemes.Wpf.Chip)(target));
                return;
            }
            this._contentLoaded = true;
        }
Beispiel #30
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:

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

            #line default
            #line hidden
                return;

            case 2:
                this.popup1 = ((System.Windows.Controls.Primitives.Popup)(target));
                return;

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

            case 4:

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

            #line default
            #line hidden
                return;

            case 5:

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

            #line default
            #line hidden
                return;

            case 6:

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

            #line default
            #line hidden
                return;

            case 7:

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

            #line default
            #line hidden
                return;

            case 8:

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

            #line default
            #line hidden
                return;

            case 9:

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

            #line default
            #line hidden
                return;

            case 10:

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

            #line default
            #line hidden
                return;

            case 11:

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

            #line default
            #line hidden
                return;

            case 12:

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

            #line default
            #line hidden
                return;

            case 13:

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

            #line default
            #line hidden
                return;

            case 14:

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

            #line default
            #line hidden
                return;

            case 15:

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

            #line default
            #line hidden
                return;

            case 16:

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

            #line default
            #line hidden
                return;

            case 17:

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

            #line default
            #line hidden
                return;

            case 18:

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

            #line default
            #line hidden
                return;

            case 19:

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

            #line default
            #line hidden
                return;

            case 20:

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

            #line default
            #line hidden
                return;

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

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

            #line default
            #line hidden
                return;

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

            #line 190 "..\..\MainWindow.xaml"
                this.open.Click += new System.Windows.RoutedEventHandler(this.open_Click);

            #line default
            #line hidden
                return;

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

            #line 195 "..\..\MainWindow.xaml"
                this.help.Click += new System.Windows.RoutedEventHandler(this.help_Click_1);

            #line default
            #line hidden
                return;

            case 24:
                this.user = ((MaterialDesignThemes.Wpf.Chip)(target));
                return;

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

            #line 208 "..\..\MainWindow.xaml"
                this.minimize.Click += new System.Windows.RoutedEventHandler(this.minimize_Click);

            #line default
            #line hidden
                return;

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

            #line 212 "..\..\MainWindow.xaml"
                this.expand.Click += new System.Windows.RoutedEventHandler(this.expand_Click);

            #line default
            #line hidden
                return;

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

            #line 216 "..\..\MainWindow.xaml"
                this.fermer.Click += new System.Windows.RoutedEventHandler(this.fermer_Click);

            #line default
            #line hidden
                return;

            case 28:
                this.page = ((System.Windows.Controls.Grid)(target));
                return;

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

            case 30:
                this.Frame2 = ((System.Windows.Controls.Frame)(target));
                return;
            }
            this._contentLoaded = true;
        }