Exemplo n.º 1
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:

            #line 10 "..\..\HomePage.xaml"
                ((GUI.HomePage)(target)).Loaded += new System.Windows.RoutedEventHandler(this.Page_Loaded);

            #line default
            #line hidden
                return;

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

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

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

            #line 124 "..\..\HomePage.xaml"
                this.ScrollViewer_ProductsLastest.PreviewMouseWheel += new System.Windows.Input.MouseWheelEventHandler(this.ScrollViewerProductsLastest_PreviewMouseWheel);

            #line default
            #line hidden
                return;

            case 7:
                this.ListViewProductsLastest = ((System.Windows.Controls.ListView)(target));
                return;

            case 8:
                this.ScrollViewer_ProductsMostBought = ((System.Windows.Controls.ScrollViewer)(target));

            #line 152 "..\..\HomePage.xaml"
                this.ScrollViewer_ProductsMostBought.PreviewMouseWheel += new System.Windows.Input.MouseWheelEventHandler(this.ScrollViewerProductsMostBought_PreviewMouseWheel);

            #line default
            #line hidden
                return;

            case 9:
                this.ListViewProductsMostBought = ((System.Windows.Controls.ListView)(target));
                return;
            }
            this._contentLoaded = true;
        }
Exemplo n.º 2
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.CountingBadge = ((MaterialDesignThemes.Wpf.Badged)(target));
                return;

            case 2:
                this.PopupEnabled = ((System.Windows.Controls.CheckBox)(target));
                return;
            }
            this._contentLoaded = true;
        }
Exemplo n.º 3
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.g = ((System.Windows.Controls.Grid)(target));
                return;

            case 2:
                this.logo = ((System.Windows.Controls.Image)(target));
                return;

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

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

            case 5:
                this.badgedentretien = ((MaterialDesignThemes.Wpf.Badged)(target));
                return;

            case 6:

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

            #line default
            #line hidden
                return;

            case 7:
                this.badgeobjectif = ((MaterialDesignThemes.Wpf.Badged)(target));
                return;

            case 8:

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

            #line default
            #line hidden
                return;
            }
            this._contentLoaded = true;
        }
Exemplo n.º 4
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.CountingBadge = ((MaterialDesignThemes.Wpf.Badged)(target));
                return;

            case 2:

            #line 222 "..\..\..\..\..\MaterialDesignInXamlToolkit-master\MainDemo.Wpf\Buttons.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.CountingButton_OnClick);

            #line default
            #line hidden
                return;

            case 3:

            #line 283 "..\..\..\..\..\MaterialDesignInXamlToolkit-master\MainDemo.Wpf\Buttons.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.ButtonBase_OnClick);

            #line default
            #line hidden
                return;

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

            case 5:

            #line 757 "..\..\..\..\..\MaterialDesignInXamlToolkit-master\MainDemo.Wpf\Buttons.xaml"
                ((MaterialDesignThemes.Wpf.PopupBox)(target)).Opened += new System.Windows.RoutedEventHandler(this.PopupBox_OnOpened);

            #line default
            #line hidden

            #line 758 "..\..\..\..\..\MaterialDesignInXamlToolkit-master\MainDemo.Wpf\Buttons.xaml"
                ((MaterialDesignThemes.Wpf.PopupBox)(target)).Closed += new System.Windows.RoutedEventHandler(this.PopupBox_OnClosed);

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

            case 2:
                this.txbMatKhau = ((System.Windows.Controls.PasswordBox)(target));
                return;

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

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

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

            #line 85 "..\..\..\View\DangNhap.xaml"
                this.btnDangNhap.Click += new System.Windows.RoutedEventHandler(this.Click_btnDangNhap);

            #line default
            #line hidden
                return;

            case 6:
                this.Badge2 = ((MaterialDesignThemes.Wpf.Badged)(target));
                return;

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

            #line 99 "..\..\..\View\DangNhap.xaml"
                this.btnTaoMoi.Click += new System.Windows.RoutedEventHandler(this.Click_btnTaoMoi);

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

            #line 24 "..\..\MainWindow.xaml"
                this.MenuListBox.PreviewMouseLeftButtonUp += new System.Windows.Input.MouseButtonEventHandler(this.UIElement_OnPreviewMouseLeftButtonUp);

            #line default
            #line hidden
                return;

            case 2:
                this.MenuToggleButton = ((System.Windows.Controls.Primitives.ToggleButton)(target));
                return;

            case 3:

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

            #line default
            #line hidden
                return;

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

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

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

            case 7:
                this.MainSnackbar = ((MaterialDesignThemes.Wpf.Snackbar)(target));
                return;
            }
            this._contentLoaded = true;
        }
Exemplo n.º 7
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:

            #line 94 "..\..\..\..\Pages\SubPages\LogPage.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.RefreshLog);

            #line default
            #line hidden
                return;

            case 2:
                this.ResultCountBadge = ((MaterialDesignThemes.Wpf.Badged)(target));
                return;
            }
            this._contentLoaded = true;
        }
Exemplo n.º 8
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.teamname = ((MaterialDesignThemes.Wpf.Badged)(target));
                return;

            case 2:
                this.score = ((MaterialDesignThemes.Wpf.Badged)(target));
                return;

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

            case 4:
                this.button = ((System.Windows.Controls.Button)(target));
                return;
            }
            this._contentLoaded = true;
        }
Exemplo n.º 9
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.ListServices = ((System.Windows.Controls.ListView)(target));
                return;

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

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

            #line 97 "..\..\..\Pages\Users.xaml"
                this.BtnBascet.Click += new System.Windows.RoutedEventHandler(this.BtnBack_Click_1);

            #line default
            #line hidden
                return;

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

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

            #line default
            #line hidden
                return;

            case 7:
                this.ListCategorys = ((System.Windows.Controls.ListView)(target));
                return;
            }
            this._contentLoaded = true;
        }
Exemplo n.º 10
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.MainPage = ((System.Windows.Controls.Frame)(target));
                return;

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

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

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

            #line 184 "..\..\..\View\MainPageView.xaml"
                this.ButtonCloseMenu.Click += new System.Windows.RoutedEventHandler(this.ButtonCloseMenu_Click);

            #line default
            #line hidden
                return;

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

            #line 187 "..\..\..\View\MainPageView.xaml"
                this.ButtonOpenMenu.Click += new System.Windows.RoutedEventHandler(this.ButtonOpenMenu_Click);

            #line default
            #line hidden
                return;

            case 6:
                this.Task_List = ((System.Windows.Controls.ListViewItem)(target));

            #line 192 "..\..\..\View\MainPageView.xaml"
                this.Task_List.PreviewMouseDown += new System.Windows.Input.MouseButtonEventHandler(this.Task_List_PreviewMouseDown);

            #line default
            #line hidden
                return;

            case 7:
                this.Progress = ((System.Windows.Controls.ListViewItem)(target));

            #line 198 "..\..\..\View\MainPageView.xaml"
                this.Progress.PreviewMouseDown += new System.Windows.Input.MouseButtonEventHandler(this.Progress_PreviewMouseDown);

            #line default
            #line hidden
                return;

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

            #line 204 "..\..\..\View\MainPageView.xaml"
                this.TimeTable_List.PreviewMouseDown += new System.Windows.Input.MouseButtonEventHandler(this.TimeTable_List_PreviewMouseDown);

            #line default
            #line hidden
                return;

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

            #line 210 "..\..\..\View\MainPageView.xaml"
                this.Message_List.PreviewMouseDown += new System.Windows.Input.MouseButtonEventHandler(this.Message_List_PreviewMouseDown);

            #line default
            #line hidden
                return;

            case 10:
                this.Count_Message = ((MaterialDesignThemes.Wpf.Badged)(target));
                return;

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

            #line 218 "..\..\..\View\MainPageView.xaml"
                this.Group_list.PreviewMouseDown += new System.Windows.Input.MouseButtonEventHandler(this.Group_list_PreviewMouseDown);

            #line default
            #line hidden
                return;

            case 12:

            #line 230 "..\..\..\View\MainPageView.xaml"
                ((System.Windows.Controls.Grid)(target)).MouseDown += new System.Windows.Input.MouseButtonEventHandler(this.Grid_MouseDown);

            #line default
            #line hidden
                return;

            case 13:

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

            #line default
            #line hidden
                return;

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

            #line 233 "..\..\..\View\MainPageView.xaml"
                this.Roll_Up.Click += new System.Windows.RoutedEventHandler(this.Roll_Up_Click);

            #line default
            #line hidden
                return;

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

            #line 234 "..\..\..\View\MainPageView.xaml"
                this.maxsizeButton.Click += new System.Windows.RoutedEventHandler(this.MaxsizeButton_Click);

            #line default
            #line hidden
                return;

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

            #line 236 "..\..\..\View\MainPageView.xaml"
                this.Choose_Theme.Checked += new System.Windows.RoutedEventHandler(this.Choose_Theme_Checked);

            #line default
            #line hidden

            #line 236 "..\..\..\View\MainPageView.xaml"
                this.Choose_Theme.Unchecked += new System.Windows.RoutedEventHandler(this.Choose_Theme_Unchecked);

            #line default
            #line hidden
                return;

            case 17:
                this.Exit = ((MaterialDesignThemes.Wpf.PackIcon)(target));

            #line 243 "..\..\..\View\MainPageView.xaml"
                this.Exit.PreviewMouseDown += new System.Windows.Input.MouseButtonEventHandler(this.Exit_PreviewMouseDown);

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

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

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

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

            #line 228 "..\..\..\View\MainPageView.xaml"
                this.ButtonCloseMenu.Click += new System.Windows.RoutedEventHandler(this.ButtonCloseMenu_Click);

            #line default
            #line hidden
                return;

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

            #line 231 "..\..\..\View\MainPageView.xaml"
                this.ButtonOpenMenu.Click += new System.Windows.RoutedEventHandler(this.ButtonOpenMenu_Click);

            #line default
            #line hidden
                return;

            case 6:
                this.Task_List = ((System.Windows.Controls.ListViewItem)(target));

            #line 236 "..\..\..\View\MainPageView.xaml"
                this.Task_List.PreviewMouseDown += new System.Windows.Input.MouseButtonEventHandler(this.Task_List_PreviewMouseDown);

            #line default
            #line hidden
                return;

            case 7:
                this.TimeTable_List = ((System.Windows.Controls.ListViewItem)(target));

            #line 248 "..\..\..\View\MainPageView.xaml"
                this.TimeTable_List.PreviewMouseDown += new System.Windows.Input.MouseButtonEventHandler(this.TimeTable_List_PreviewMouseDown);

            #line default
            #line hidden
                return;

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

            #line 254 "..\..\..\View\MainPageView.xaml"
                this.Message_List.PreviewMouseDown += new System.Windows.Input.MouseButtonEventHandler(this.Message_List_PreviewMouseDown);

            #line default
            #line hidden
                return;

            case 9:
                this.Count_Message = ((MaterialDesignThemes.Wpf.Badged)(target));
                return;

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

            #line 268 "..\..\..\View\MainPageView.xaml"
                this.Group_list.PreviewMouseDown += new System.Windows.Input.MouseButtonEventHandler(this.Group_list_PreviewMouseDown);

            #line default
            #line hidden
                return;

            case 11:

            #line 283 "..\..\..\View\MainPageView.xaml"
                ((System.Windows.Controls.Grid)(target)).MouseDown += new System.Windows.Input.MouseButtonEventHandler(this.Grid_MouseDown);

            #line default
            #line hidden
                return;

            case 12:

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

            #line default
            #line hidden
                return;

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

            #line 292 "..\..\..\View\MainPageView.xaml"
                this.Roll_Up.Click += new System.Windows.RoutedEventHandler(this.Roll_Up_Click);

            #line default
            #line hidden
                return;

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

            #line 293 "..\..\..\View\MainPageView.xaml"
                this.maxsizeButton.Click += new System.Windows.RoutedEventHandler(this.MaxsizeButton_Click);

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

            case 2:
                this.imgForChange = ((System.Windows.Controls.Image)(target));
                return;

            case 3:
                this.CountingBadge = ((MaterialDesignThemes.Wpf.Badged)(target));
                return;

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

            #line 46 "..\..\LopDay.xaml"
                this.btIn.Click += new System.Windows.RoutedEventHandler(this.btIn_Click);

            #line default
            #line hidden
                return;

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

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

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

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

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

            #line 134 "..\..\LopDay.xaml"
                this.txtDiem15.LostFocus += new System.Windows.RoutedEventHandler(this.txtDiem15_LostFocus);

            #line default
            #line hidden

            #line 134 "..\..\LopDay.xaml"
                this.txtDiem15.TextChanged += new System.Windows.Controls.TextChangedEventHandler(this.txtDiem15_TextChanged);

            #line default
            #line hidden
                return;

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

            #line 138 "..\..\LopDay.xaml"
                this.txtDiem45.LostFocus += new System.Windows.RoutedEventHandler(this.txtDiem45_LostFocus);

            #line default
            #line hidden

            #line 138 "..\..\LopDay.xaml"
                this.txtDiem45.TextChanged += new System.Windows.Controls.TextChangedEventHandler(this.txtDiem45_TextChanged);

            #line default
            #line hidden
                return;

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

            #line 142 "..\..\LopDay.xaml"
                this.txtDiemHK.LostFocus += new System.Windows.RoutedEventHandler(this.txtDiemHK_LostFocus);

            #line default
            #line hidden

            #line 142 "..\..\LopDay.xaml"
                this.txtDiemHK.TextChanged += new System.Windows.Controls.TextChangedEventHandler(this.txtDiemHK_TextChanged);

            #line default
            #line hidden
                return;

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

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

            #line 179 "..\..\LopDay.xaml"
                this.tbTim.TextChanged += new System.Windows.Controls.TextChangedEventHandler(this.tbTim_TextChanged);

            #line default
            #line hidden
                return;

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

            #line 180 "..\..\LopDay.xaml"
                this.btTim.Click += new System.Windows.RoutedEventHandler(this.btTim_Click);

            #line default
            #line hidden
                return;

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

            #line 190 "..\..\LopDay.xaml"
                this.btSua.Click += new System.Windows.RoutedEventHandler(this.btSua_Click);

            #line default
            #line hidden
                return;

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

            #line 193 "..\..\LopDay.xaml"
                this.btCapNhatDiem.Click += new System.Windows.RoutedEventHandler(this.btCapNhatDiem_Click);

            #line default
            #line hidden
                return;

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

            #line 198 "..\..\LopDay.xaml"
                this.cbLopDay.DropDownClosed += new System.EventHandler(this.cbLopDay_DropDownClosed);

            #line default
            #line hidden
                return;

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

            #line 199 "..\..\LopDay.xaml"
                this.btThemLop.Click += new System.Windows.RoutedEventHandler(this.btThemLop_Click);

            #line default
            #line hidden
                return;

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

            #line 202 "..\..\LopDay.xaml"
                this.btXoaLop.Click += new System.Windows.RoutedEventHandler(this.btXoaLop_Click);

            #line default
            #line hidden
                return;

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

            #line 215 "..\..\LopDay.xaml"
                this.dtHocSinh.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.dtHocSinh_SelectionChanged);

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

            case 2:
                this.imgForChange = ((System.Windows.Controls.Image)(target));
                return;

            case 3:
                this.CountingBadge = ((MaterialDesignThemes.Wpf.Badged)(target));
                return;

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

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

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

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

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

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

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

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

            #line 167 "..\..\LopChuNhiem.xaml"
                this.cbMonHS.DropDownClosed += new System.EventHandler(this.cbMonHS_DropDownClosed);

            #line default
            #line hidden
                return;

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

            #line 179 "..\..\LopChuNhiem.xaml"
                this.txtDiem15.LostFocus += new System.Windows.RoutedEventHandler(this.txtDiem15_LostFocus);

            #line default
            #line hidden

            #line 179 "..\..\LopChuNhiem.xaml"
                this.txtDiem15.TextChanged += new System.Windows.Controls.TextChangedEventHandler(this.txtDiem15_TextChanged);

            #line default
            #line hidden
                return;

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

            #line 183 "..\..\LopChuNhiem.xaml"
                this.txtDiem45.LostFocus += new System.Windows.RoutedEventHandler(this.txtDiem45_LostFocus);

            #line default
            #line hidden

            #line 183 "..\..\LopChuNhiem.xaml"
                this.txtDiem45.TextChanged += new System.Windows.Controls.TextChangedEventHandler(this.txtDiem45_TextChanged);

            #line default
            #line hidden
                return;

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

            #line 187 "..\..\LopChuNhiem.xaml"
                this.txtDiemHK.LostFocus += new System.Windows.RoutedEventHandler(this.txtDiemHK_LostFocus);

            #line default
            #line hidden

            #line 187 "..\..\LopChuNhiem.xaml"
                this.txtDiemHK.TextChanged += new System.Windows.Controls.TextChangedEventHandler(this.txtDiemHK_TextChanged);

            #line default
            #line hidden
                return;

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

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

            #line 195 "..\..\LopChuNhiem.xaml"
                this.btXemNangCao.Click += new System.Windows.RoutedEventHandler(this.btXemNangCao_Click);

            #line default
            #line hidden
                return;

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

            #line 218 "..\..\LopChuNhiem.xaml"
                this.btIn.Click += new System.Windows.RoutedEventHandler(this.btIn_Click);

            #line default
            #line hidden
                return;

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

            #line 222 "..\..\LopChuNhiem.xaml"
                this.btCapNhatDiem.Click += new System.Windows.RoutedEventHandler(this.btCapNhatDiem_Click);

            #line default
            #line hidden
                return;

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

            #line 226 "..\..\LopChuNhiem.xaml"
                this.tbTim.TextChanged += new System.Windows.Controls.TextChangedEventHandler(this.tbTim_TextChanged);

            #line default
            #line hidden
                return;

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

            #line 227 "..\..\LopChuNhiem.xaml"
                this.btTim.Click += new System.Windows.RoutedEventHandler(this.btTim_Click);

            #line default
            #line hidden
                return;

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

            #line 243 "..\..\LopChuNhiem.xaml"
                this.dtHocSinh.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.dtHocSinh_SelectionChanged);

            #line default
            #line hidden
                return;

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

            #line 325 "..\..\LopChuNhiem.xaml"
                this.btThem.Click += new System.Windows.RoutedEventHandler(this.btThem_Click);

            #line default
            #line hidden
                return;

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

            #line 331 "..\..\LopChuNhiem.xaml"
                this.btXoa.Click += new System.Windows.RoutedEventHandler(this.btXoa_Click);

            #line default
            #line hidden
                return;

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

            #line 337 "..\..\LopChuNhiem.xaml"
                this.btSua.Click += new System.Windows.RoutedEventHandler(this.btSua_Click);

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

            #line 26 "..\..\ThemHocSinhLopDay.xaml"
                this.TitleBar.MouseLeftButtonDown += new System.Windows.Input.MouseButtonEventHandler(this.TitleBar_MouseLeftButtonDown);

            #line default
            #line hidden
                return;

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

            #line 40 "..\..\ThemHocSinhLopDay.xaml"
                this.btThuNho.Click += new System.Windows.RoutedEventHandler(this.btThuNho_Click);

            #line default
            #line hidden

            #line 40 "..\..\ThemHocSinhLopDay.xaml"
                this.btThuNho.MouseEnter += new System.Windows.Input.MouseEventHandler(this.btThuNho_MouseEnter);

            #line default
            #line hidden

            #line 40 "..\..\ThemHocSinhLopDay.xaml"
                this.btThuNho.MouseLeave += new System.Windows.Input.MouseEventHandler(this.btThuNho_MouseLeave);

            #line default
            #line hidden
                return;

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

            #line 43 "..\..\ThemHocSinhLopDay.xaml"
                this.btPhongTo.Click += new System.Windows.RoutedEventHandler(this.btPhongTo_Click);

            #line default
            #line hidden

            #line 43 "..\..\ThemHocSinhLopDay.xaml"
                this.btPhongTo.MouseEnter += new System.Windows.Input.MouseEventHandler(this.btPhongTo_MouseEnter);

            #line default
            #line hidden

            #line 43 "..\..\ThemHocSinhLopDay.xaml"
                this.btPhongTo.MouseLeave += new System.Windows.Input.MouseEventHandler(this.btPhongTo_MouseLeave);

            #line default
            #line hidden
                return;

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

            #line 46 "..\..\ThemHocSinhLopDay.xaml"
                this.btDong.Click += new System.Windows.RoutedEventHandler(this.btDong_Click);

            #line default
            #line hidden

            #line 46 "..\..\ThemHocSinhLopDay.xaml"
                this.btDong.MouseEnter += new System.Windows.Input.MouseEventHandler(this.btDong_MouseEnter);

            #line default
            #line hidden

            #line 46 "..\..\ThemHocSinhLopDay.xaml"
                this.btDong.MouseLeave += new System.Windows.Input.MouseEventHandler(this.btDong_MouseLeave);

            #line default
            #line hidden
                return;

            case 5:
                this.CountingBadge = ((MaterialDesignThemes.Wpf.Badged)(target));
                return;

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

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

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

            case 9:
                this.dpNgaySinhHS = ((System.Windows.Controls.DatePicker)(target));
                return;

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

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

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

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

            #line 182 "..\..\ThemHocSinhLopDay.xaml"
                this.btThemDiem.Click += new System.Windows.RoutedEventHandler(this.btThemDiem_Click);

            #line default
            #line hidden
                return;

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

            case 15:
                this.btHuy = ((System.Windows.Controls.Button)(target));
                return;
            }
            this._contentLoaded = true;
        }
Exemplo n.º 15
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:

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

            #line default
            #line hidden
                return;

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

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

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

            case 5:
                this.img_mainLogo = ((System.Windows.Media.ImageBrush)(target));
                return;

            case 6:
                this.path_openApplications = ((System.Windows.Shapes.Rectangle)(target));
                return;

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

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

            #line default
            #line hidden
                return;

            case 8:
                this.path_iconApplications = ((System.Windows.Shapes.Path)(target));
                return;

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

            case 10:
                this.path_openSales = ((System.Windows.Shapes.Rectangle)(target));
                return;

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

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

            #line default
            #line hidden
                return;

            case 12:
                this.path_iconSales = ((System.Windows.Shapes.Path)(target));
                return;

            case 13:
                this.txt_sales = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 14:
                this.path_openReports = ((System.Windows.Shapes.Rectangle)(target));
                return;

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

            #line 122 "..\..\MainWindow.xaml"
                this.btn_reports.Click += new System.Windows.RoutedEventHandler(this.Btn_reports_Click);

            #line default
            #line hidden
                return;

            case 16:
                this.path_iconReports = ((System.Windows.Shapes.Path)(target));
                return;

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

            case 18:
                this.path_openSectionData = ((System.Windows.Shapes.Rectangle)(target));
                return;

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

            #line 149 "..\..\MainWindow.xaml"
                this.btn_sectionData.Click += new System.Windows.RoutedEventHandler(this.Btn_sectionData_Click);

            #line default
            #line hidden
                return;

            case 20:
                this.path_iconSectionData = ((System.Windows.Shapes.Path)(target));
                return;

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

            case 22:
                this.path_openSettings = ((System.Windows.Shapes.Rectangle)(target));
                return;

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

            #line 189 "..\..\MainWindow.xaml"
                this.btn_settings.Click += new System.Windows.RoutedEventHandler(this.Btn_settings_Click);

            #line default
            #line hidden
                return;

            case 24:
                this.path_iconSettings = ((System.Windows.Shapes.Path)(target));
                return;

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

            case 26:
                this.mi_changePassword = ((System.Windows.Controls.MenuItem)(target));

            #line 251 "..\..\MainWindow.xaml"
                this.mi_changePassword.Click += new System.Windows.RoutedEventHandler(this.Mi_changePassword_Click);

            #line default
            #line hidden
                return;

            case 27:
                this.BTN_logOut = ((System.Windows.Controls.MenuItem)(target));

            #line 254 "..\..\MainWindow.xaml"
                this.BTN_logOut.Click += new System.Windows.RoutedEventHandler(this.BTN_logOut_Click);

            #line default
            #line hidden
                return;

            case 28:
                this.md_notificationCount = ((MaterialDesignThemes.Wpf.Badged)(target));
                return;

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

            case 30:
                this.img_userLogin = ((System.Windows.Shapes.Ellipse)(target));
                return;

            case 31:
                this.IMG_userPic = ((System.Windows.Media.ImageBrush)(target));
                return;

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

            case 33:
                this.txt_userJob = ((System.Windows.Controls.TextBlock)(target));
                return;

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

            #line 294 "..\..\MainWindow.xaml"
                this.BTN_Minimize.Click += new System.Windows.RoutedEventHandler(this.BTN_Minimize_Click);

            #line default
            #line hidden
                return;

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

            #line 301 "..\..\MainWindow.xaml"
                this.BTN_Close.Click += new System.Windows.RoutedEventHandler(this.BTN_Close_Click);

            #line default
            #line hidden
                return;

            case 36:
                this.grid_main = ((System.Windows.Controls.Grid)(target));
                return;
            }
            this._contentLoaded = true;
        }
Exemplo n.º 16
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:

            #line 10 "..\..\SellPage.xaml"
                ((GUI.SellPage)(target)).Loaded += new System.Windows.RoutedEventHandler(this.Page_Loaded);

            #line default
            #line hidden
                return;

            case 5:
                this.TrainsitionigContentSlide = ((MaterialDesignThemes.Wpf.Transitions.TransitioningContent)(target));
                return;

            case 6:
                this.countProductBuy = ((MaterialDesignThemes.Wpf.Badged)(target));
                return;

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

            #line 174 "..\..\SellPage.xaml"
                this.shoppingCart.Click += new System.Windows.RoutedEventHandler(this.BtnShoppingCart_Click);

            #line default
            #line hidden
                return;

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

            #line 181 "..\..\SellPage.xaml"
                this.txtSearch.TextChanged += new System.Windows.Controls.TextChangedEventHandler(this.TxtSearch_TextChanged);

            #line default
            #line hidden
                return;

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

            #line 188 "..\..\SellPage.xaml"
                this.btn_Search.Click += new System.Windows.RoutedEventHandler(this.Btn_Search_Click);

            #line default
            #line hidden
                return;

            case 10:
                this.ScrollViewer_Products = ((System.Windows.Controls.ScrollViewer)(target));

            #line 191 "..\..\SellPage.xaml"
                this.ScrollViewer_Products.PreviewMouseWheel += new System.Windows.Input.MouseWheelEventHandler(this.ScrollViewerProducts_PreviewMouseWheel);

            #line default
            #line hidden
                return;

            case 11:
                this.ListViewProducts = ((System.Windows.Controls.ListView)(target));
                return;

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

            #line 218 "..\..\SellPage.xaml"
                this.Combobox_CategoriesBook.Loaded += new System.Windows.RoutedEventHandler(this.Loaded_CategoriesBook);

            #line default
            #line hidden

            #line 218 "..\..\SellPage.xaml"
                this.Combobox_CategoriesBook.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.Combobox_CategoriesBook_SelectionChanged);

            #line default
            #line hidden
                return;

            case 13:
                this.ProductsBought = ((System.Windows.Controls.Canvas)(target));
                return;

            case 14:
                this.ShoppingCart_Empty = ((System.Windows.Controls.Canvas)(target));
                return;

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

            #line 227 "..\..\SellPage.xaml"
                this.btn_BackBuyingMore.Click += new System.Windows.RoutedEventHandler(this.Btn_BackBuyingMore_Click);

            #line default
            #line hidden
                return;

            case 16:
                this.ShoppingCart_NoEmprty = ((System.Windows.Controls.Canvas)(target));
                return;

            case 17:
                this.Panel_HeaderListViewProductsBought = ((System.Windows.Controls.Border)(target));
                return;

            case 18:
                this.ScrollViewer_ProductsBought = ((System.Windows.Controls.ScrollViewer)(target));

            #line 266 "..\..\SellPage.xaml"
                this.ScrollViewer_ProductsBought.PreviewMouseWheel += new System.Windows.Input.MouseWheelEventHandler(this.ScrollViewerProducts_PreviewMouseWheel);

            #line default
            #line hidden
                return;

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

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

            #line 294 "..\..\SellPage.xaml"
                this.btn_BuyMore.Click += new System.Windows.RoutedEventHandler(this.Btn_BuyMore_Click);

            #line default
            #line hidden
                return;

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

            #line 327 "..\..\SellPage.xaml"
                this.btn_DeleteAll.Click += new System.Windows.RoutedEventHandler(this.Btn_DeleteAll_Click);

            #line default
            #line hidden
                return;

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

            case 23:
                this.Panel_Pay = ((System.Windows.Controls.Border)(target));
                return;

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

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

            #line 366 "..\..\SellPage.xaml"
                this.btn_Pay.Click += new System.Windows.RoutedEventHandler(this.Btn_Pay_Click);

            #line default
            #line hidden
                return;

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

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

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

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

            #line 390 "..\..\SellPage.xaml"
                this.TextBox_PhoneNumberCustomer.PreviewTextInput += new System.Windows.Input.TextCompositionEventHandler(this.TextBox_PhoneNumberCustomer_PreviewTextInput);

            #line default
            #line hidden

            #line 390 "..\..\SellPage.xaml"
                this.TextBox_PhoneNumberCustomer.TextChanged += new System.Windows.Controls.TextChangedEventHandler(this.TextBox_PhoneNumberCustomer_TextChanged);

            #line default
            #line hidden
                return;

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

            case 31:
                this.datePickerNgayMua = ((System.Windows.Controls.DatePicker)(target));
                return;

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

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

            #line 414 "..\..\SellPage.xaml"
                this.btn_PlaceOrder.Click += new System.Windows.RoutedEventHandler(this.Btn_PlaceOrder_Click);

            #line default
            #line hidden
                return;

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

            #line 415 "..\..\SellPage.xaml"
                this.btn_BackShoppingCart.Click += new System.Windows.RoutedEventHandler(this.Btn_BackShoppingCart_Click);

            #line default
            #line hidden
                return;

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

            #line 423 "..\..\SellPage.xaml"
                this.TextBox_PayCustomer.PreviewTextInput += new System.Windows.Input.TextCompositionEventHandler(this.TextBox_PayCustomer_PreviewTextInput);

            #line default
            #line hidden
                return;

            case 36:
                this.Label_TitleSumPriceFinal = ((System.Windows.Controls.Label)(target));
                return;

            case 37:
                this.Label_SumPriceFinal = ((System.Windows.Controls.Label)(target));
                return;

            case 38:
                this.ScrollViewer_ProductsBoughtPreview = ((System.Windows.Controls.ScrollViewer)(target));

            #line 447 "..\..\SellPage.xaml"
                this.ScrollViewer_ProductsBoughtPreview.PreviewMouseWheel += new System.Windows.Input.MouseWheelEventHandler(this.ScrollViewerProducts_PreviewMouseWheel);

            #line default
            #line hidden
                return;

            case 39:
                this.ListViewProductsBoughtPreview = ((System.Windows.Controls.ListView)(target));
                return;
            }
            this._contentLoaded = true;
        }
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.HistoryArea = ((System.Windows.Controls.DockPanel)(target));
                return;

            case 2:
                this.TotalTurns = ((MaterialDesignThemes.Wpf.Badged)(target));
                return;

            case 3:
                this.CurrentTurns = ((MaterialDesignThemes.Wpf.Badged)(target));
                return;

            case 4:

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

            #line default
            #line hidden
                return;

            case 5:
                this.TotalSuccessTurns = ((MaterialDesignThemes.Wpf.Badged)(target));
                return;

            case 6:
                this.TotalFailTurns = ((MaterialDesignThemes.Wpf.Badged)(target));
                return;

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

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

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

            #line default
            #line hidden
                return;

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

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

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

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

            #line 64 "..\..\MainWindow.xaml"
                this.Loop.TextChanged += new System.Windows.Controls.TextChangedEventHandler(this.Loop_TextChanged);

            #line default
            #line hidden
                return;

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

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

            #line 71 "..\..\MainWindow.xaml"
                this.Start.Click += new System.Windows.RoutedEventHandler(this.Start_Click);

            #line default
            #line hidden
                return;

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

            #line 72 "..\..\MainWindow.xaml"
                this.StartDevice1.Click += new System.Windows.RoutedEventHandler(this.StartDevice1_Click);

            #line default
            #line hidden
                return;

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

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

            #line default
            #line hidden
                return;

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

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

            #line default
            #line hidden
                return;

            case 18:
                this.SDTQR = ((System.Windows.Controls.Primitives.ToggleButton)(target));
                return;

            case 19:
                this.QRCODE = ((System.Windows.Controls.Primitives.ToggleButton)(target));
                return;

            case 20:
                this.TurnRemaining = ((System.Windows.Controls.Primitives.ToggleButton)(target));
                return;

            case 21:
                this.Balance = ((System.Windows.Controls.Primitives.ToggleButton)(target));
                return;

            case 22:
                this.FullDetail = ((System.Windows.Controls.Primitives.ToggleButton)(target));

            #line 102 "..\..\MainWindow.xaml"
                this.FullDetail.Click += new System.Windows.RoutedEventHandler(this.ToggleButton_Click1);

            #line default
            #line hidden
                return;

            case 23:
                this.lvLogStatus = ((System.Windows.Controls.ListView)(target));
                return;
            }
            this._contentLoaded = true;
        }
Exemplo n.º 18
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.DeleteDialog = ((MaterialDesignThemes.Wpf.DialogHost)(target));
                return;

            case 2:

            #line 38 "..\..\..\..\Pages\AdminPages\MembersPage.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.ConfirmDeleteBtnPressedEvent);

            #line default
            #line hidden
                return;

            case 3:

            #line 87 "..\..\..\..\Pages\AdminPages\MembersPage.xaml"
                ((System.Windows.Controls.CheckBox)(target)).Checked += new System.Windows.RoutedEventHandler(this.CheckBoxEvent);

            #line default
            #line hidden

            #line 87 "..\..\..\..\Pages\AdminPages\MembersPage.xaml"
                ((System.Windows.Controls.CheckBox)(target)).Unchecked += new System.Windows.RoutedEventHandler(this.UnCheckBoxEvent);

            #line default
            #line hidden
                return;

            case 4:

            #line 88 "..\..\..\..\Pages\AdminPages\MembersPage.xaml"
                ((System.Windows.Controls.CheckBox)(target)).Checked += new System.Windows.RoutedEventHandler(this.CheckBoxEvent);

            #line default
            #line hidden

            #line 88 "..\..\..\..\Pages\AdminPages\MembersPage.xaml"
                ((System.Windows.Controls.CheckBox)(target)).Unchecked += new System.Windows.RoutedEventHandler(this.UnCheckBoxEvent);

            #line default
            #line hidden
                return;

            case 5:

            #line 89 "..\..\..\..\Pages\AdminPages\MembersPage.xaml"
                ((System.Windows.Controls.CheckBox)(target)).Checked += new System.Windows.RoutedEventHandler(this.CheckBoxEvent);

            #line default
            #line hidden

            #line 89 "..\..\..\..\Pages\AdminPages\MembersPage.xaml"
                ((System.Windows.Controls.CheckBox)(target)).Unchecked += new System.Windows.RoutedEventHandler(this.UnCheckBoxEvent);

            #line default
            #line hidden
                return;

            case 6:

            #line 90 "..\..\..\..\Pages\AdminPages\MembersPage.xaml"
                ((System.Windows.Controls.CheckBox)(target)).Checked += new System.Windows.RoutedEventHandler(this.CheckBoxEvent);

            #line default
            #line hidden

            #line 90 "..\..\..\..\Pages\AdminPages\MembersPage.xaml"
                ((System.Windows.Controls.CheckBox)(target)).Unchecked += new System.Windows.RoutedEventHandler(this.UnCheckBoxEvent);

            #line default
            #line hidden
                return;

            case 7:

            #line 91 "..\..\..\..\Pages\AdminPages\MembersPage.xaml"
                ((System.Windows.Controls.CheckBox)(target)).Checked += new System.Windows.RoutedEventHandler(this.CheckBoxEvent);

            #line default
            #line hidden

            #line 91 "..\..\..\..\Pages\AdminPages\MembersPage.xaml"
                ((System.Windows.Controls.CheckBox)(target)).Unchecked += new System.Windows.RoutedEventHandler(this.UnCheckBoxEvent);

            #line default
            #line hidden
                return;

            case 8:

            #line 92 "..\..\..\..\Pages\AdminPages\MembersPage.xaml"
                ((System.Windows.Controls.CheckBox)(target)).Checked += new System.Windows.RoutedEventHandler(this.CheckBoxEvent);

            #line default
            #line hidden

            #line 92 "..\..\..\..\Pages\AdminPages\MembersPage.xaml"
                ((System.Windows.Controls.CheckBox)(target)).Unchecked += new System.Windows.RoutedEventHandler(this.UnCheckBoxEvent);

            #line default
            #line hidden
                return;

            case 9:

            #line 93 "..\..\..\..\Pages\AdminPages\MembersPage.xaml"
                ((System.Windows.Controls.CheckBox)(target)).Checked += new System.Windows.RoutedEventHandler(this.CheckBoxEvent);

            #line default
            #line hidden

            #line 93 "..\..\..\..\Pages\AdminPages\MembersPage.xaml"
                ((System.Windows.Controls.CheckBox)(target)).Unchecked += new System.Windows.RoutedEventHandler(this.UnCheckBoxEvent);

            #line default
            #line hidden
                return;

            case 10:

            #line 94 "..\..\..\..\Pages\AdminPages\MembersPage.xaml"
                ((System.Windows.Controls.CheckBox)(target)).Checked += new System.Windows.RoutedEventHandler(this.CheckBoxEvent);

            #line default
            #line hidden

            #line 94 "..\..\..\..\Pages\AdminPages\MembersPage.xaml"
                ((System.Windows.Controls.CheckBox)(target)).Unchecked += new System.Windows.RoutedEventHandler(this.UnCheckBoxEvent);

            #line default
            #line hidden
                return;

            case 11:

            #line 95 "..\..\..\..\Pages\AdminPages\MembersPage.xaml"
                ((System.Windows.Controls.CheckBox)(target)).Checked += new System.Windows.RoutedEventHandler(this.CheckBoxEvent);

            #line default
            #line hidden

            #line 95 "..\..\..\..\Pages\AdminPages\MembersPage.xaml"
                ((System.Windows.Controls.CheckBox)(target)).Unchecked += new System.Windows.RoutedEventHandler(this.UnCheckBoxEvent);

            #line default
            #line hidden
                return;

            case 12:

            #line 96 "..\..\..\..\Pages\AdminPages\MembersPage.xaml"
                ((System.Windows.Controls.CheckBox)(target)).Checked += new System.Windows.RoutedEventHandler(this.CheckBoxEvent);

            #line default
            #line hidden

            #line 96 "..\..\..\..\Pages\AdminPages\MembersPage.xaml"
                ((System.Windows.Controls.CheckBox)(target)).Unchecked += new System.Windows.RoutedEventHandler(this.UnCheckBoxEvent);

            #line default
            #line hidden
                return;

            case 13:

            #line 97 "..\..\..\..\Pages\AdminPages\MembersPage.xaml"
                ((System.Windows.Controls.CheckBox)(target)).Checked += new System.Windows.RoutedEventHandler(this.CheckBoxEvent);

            #line default
            #line hidden

            #line 97 "..\..\..\..\Pages\AdminPages\MembersPage.xaml"
                ((System.Windows.Controls.CheckBox)(target)).Unchecked += new System.Windows.RoutedEventHandler(this.UnCheckBoxEvent);

            #line default
            #line hidden
                return;

            case 14:

            #line 98 "..\..\..\..\Pages\AdminPages\MembersPage.xaml"
                ((System.Windows.Controls.CheckBox)(target)).Checked += new System.Windows.RoutedEventHandler(this.CheckBoxEvent);

            #line default
            #line hidden

            #line 98 "..\..\..\..\Pages\AdminPages\MembersPage.xaml"
                ((System.Windows.Controls.CheckBox)(target)).Unchecked += new System.Windows.RoutedEventHandler(this.UnCheckBoxEvent);

            #line default
            #line hidden
                return;

            case 15:

            #line 110 "..\..\..\..\Pages\AdminPages\MembersPage.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.CreateMemberBtnPressedEvent);

            #line default
            #line hidden
                return;

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

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

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

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

            #line 147 "..\..\..\..\Pages\AdminPages\MembersPage.xaml"
                this.WilayaBirthComboBox.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.BirthWilayaSelectedEvent);

            #line default
            #line hidden
                return;

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

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

            case 22:
                this.workingSectorComboBox = ((System.Windows.Controls.ComboBox)(target));

            #line 184 "..\..\..\..\Pages\AdminPages\MembersPage.xaml"
                this.workingSectorComboBox.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.workingSectorSelectedEvent);

            #line default
            #line hidden
                return;

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

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

            #line 200 "..\..\..\..\Pages\AdminPages\MembersPage.xaml"
                this.CurrentWilayaComboBox.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.CurrentWilayaSelectedEvent);

            #line default
            #line hidden
                return;

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

            case 26:
                this.StartBirthDatePicker = ((System.Windows.Controls.DatePicker)(target));
                return;

            case 27:
                this.EndBirthDatePicker = ((System.Windows.Controls.DatePicker)(target));
                return;

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

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

            case 30:
                this.StartJoinDatePicker = ((System.Windows.Controls.DatePicker)(target));
                return;

            case 31:
                this.EndJoinDatePicker = ((System.Windows.Controls.DatePicker)(target));
                return;

            case 32:

            #line 246 "..\..\..\..\Pages\AdminPages\MembersPage.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.ClearFilterBtnClickedEvent);

            #line default
            #line hidden
                return;

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

            case 34:

            #line 259 "..\..\..\..\Pages\AdminPages\MembersPage.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.FilterBtnClickedEvent);

            #line default
            #line hidden
                return;

            case 35:
                this.PageListBox = ((System.Windows.Controls.ListBox)(target));

            #line 267 "..\..\..\..\Pages\AdminPages\MembersPage.xaml"
                this.PageListBox.MouseUp += new System.Windows.Input.MouseButtonEventHandler(this.SelectedPageEvent);

            #line default
            #line hidden
                return;

            case 36:
                this.ResultCountBadge = ((MaterialDesignThemes.Wpf.Badged)(target));
                return;

            case 37:
                this.MembersGrid = ((System.Windows.Controls.DataGrid)(target));
                return;

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

            case 40:
                this.NameColumn = ((MaterialDesignThemes.Wpf.MaterialDataGridTextColumn)(target));
                return;

            case 41:
                this.LastNameColumn = ((MaterialDesignThemes.Wpf.MaterialDataGridTextColumn)(target));
                return;

            case 42:
                this.SexColumn = ((MaterialDesignThemes.Wpf.MaterialDataGridTextColumn)(target));
                return;

            case 43:
                this.BDateColumn = ((MaterialDesignThemes.Wpf.MaterialDataGridTextColumn)(target));
                return;

            case 44:
                this.BWilayaColumn = ((MaterialDesignThemes.Wpf.MaterialDataGridTextColumn)(target));
                return;

            case 45:
                this.BCommuneColumn = ((MaterialDesignThemes.Wpf.MaterialDataGridTextColumn)(target));
                return;

            case 46:
                this.StdLvlColumn = ((MaterialDesignThemes.Wpf.MaterialDataGridTextColumn)(target));
                return;

            case 47:
                this.FunctionColumn = ((MaterialDesignThemes.Wpf.MaterialDataGridTextColumn)(target));
                return;

            case 48:
                this.WorkAreaColumn = ((MaterialDesignThemes.Wpf.MaterialDataGridTextColumn)(target));
                return;

            case 49:
                this.CWilayaColumn = ((MaterialDesignThemes.Wpf.MaterialDataGridTextColumn)(target));
                return;

            case 50:
                this.CCommuneColumn = ((MaterialDesignThemes.Wpf.MaterialDataGridTextColumn)(target));
                return;

            case 51:
                this.JoinDateColumn = ((MaterialDesignThemes.Wpf.MaterialDataGridTextColumn)(target));
                return;
            }
            this._contentLoaded = true;
        }
Exemplo n.º 19
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:

            #line 10 "..\..\..\..\View\storage\uc_itemsExport.xaml"
                ((POS.View.storage.uc_itemsExport)(target)).Loaded += new System.Windows.RoutedEventHandler(this.UserControl_Loaded);

            #line default
            #line hidden

            #line 10 "..\..\..\..\View\storage\uc_itemsExport.xaml"
                ((POS.View.storage.uc_itemsExport)(target)).Unloaded += new System.Windows.RoutedEventHandler(this.UserControl_Unloaded);

            #line default
            #line hidden
                return;

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

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

            #line 29 "..\..\..\..\View\storage\uc_itemsExport.xaml"
                this.btn_items.Click += new System.Windows.RoutedEventHandler(this.Btn_items_Click);

            #line default
            #line hidden
                return;

            case 4:
                this.path_itemsIcon = ((System.Windows.Shapes.Path)(target));
                return;

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

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

            #line 122 "..\..\..\..\View\storage\uc_itemsExport.xaml"
                this.btn_newDraft.Click += new System.Windows.RoutedEventHandler(this.Btn_newDraft_Click);

            #line default
            #line hidden
                return;

            case 7:
                this.path_newDraft = ((System.Windows.Shapes.Path)(target));
                return;

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

            case 9:
                this.md_draftsCount = ((MaterialDesignThemes.Wpf.Badged)(target));
                return;

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

            #line 135 "..\..\..\..\View\storage\uc_itemsExport.xaml"
                this.btn_drafts.Click += new System.Windows.RoutedEventHandler(this.Btn_draft_Click);

            #line default
            #line hidden
                return;

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

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

            #line 152 "..\..\..\..\View\storage\uc_itemsExport.xaml"
                this.btn_orders.Click += new System.Windows.RoutedEventHandler(this.Btn_orders_Click);

            #line default
            #line hidden
                return;

            case 13:
                this.txt_orders = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 14:
                this.md_orderWaitCount = ((MaterialDesignThemes.Wpf.Badged)(target));
                return;

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

            #line 170 "..\..\..\..\View\storage\uc_itemsExport.xaml"
                this.btn_ordersWait.Click += new System.Windows.RoutedEventHandler(this.Btn_ordersWait_Click);

            #line default
            #line hidden
                return;

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

            case 17:
                this.bdr_shortageInvoice = ((System.Windows.Controls.Border)(target));
                return;

            case 18:
                this.md_shortage = ((MaterialDesignThemes.Wpf.Badged)(target));
                return;

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

            #line 196 "..\..\..\..\View\storage\uc_itemsExport.xaml"
                this.btn_shortageInvoice.Click += new System.Windows.RoutedEventHandler(this.Btn_shortageInvoice_Click);

            #line default
            #line hidden
                return;

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

            case 21:
                this.bdr_package_converter = ((System.Windows.Controls.Border)(target));
                return;

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

            #line 211 "..\..\..\..\View\storage\uc_itemsExport.xaml"
                this.btn_package.Click += new System.Windows.RoutedEventHandler(this.Btn_package_Click);

            #line default
            #line hidden
                return;

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

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

            #line 250 "..\..\..\..\View\storage\uc_itemsExport.xaml"
                this.btn_unitConversion.Click += new System.Windows.RoutedEventHandler(this.Btn_unitConversion_Click);

            #line default
            #line hidden
                return;

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

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

            #line 313 "..\..\..\..\View\storage\uc_itemsExport.xaml"
                this.btn_preview.Click += new System.Windows.RoutedEventHandler(this.Btn_preview_Click);

            #line default
            #line hidden
                return;

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

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

            #line 349 "..\..\..\..\View\storage\uc_itemsExport.xaml"
                this.btn_pdf.Click += new System.Windows.RoutedEventHandler(this.Btn_pdf_Click);

            #line default
            #line hidden
                return;

            case 29:
                this.txt_pdf = ((System.Windows.Controls.TextBlock)(target));
                return;

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

            #line 375 "..\..\..\..\View\storage\uc_itemsExport.xaml"
                this.btn_printInvoice.Click += new System.Windows.RoutedEventHandler(this.Btn_printInvoice_Click);

            #line default
            #line hidden
                return;

            case 31:
                this.txt_printInvoice = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 32:
                this.bdr_paymentDetails = ((System.Windows.Controls.Border)(target));
                return;

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

            #line 412 "..\..\..\..\View\storage\uc_itemsExport.xaml"
                this.tb_barcode.KeyDown += new System.Windows.Input.KeyEventHandler(this.Tb_barcode_KeyDown);

            #line default
            #line hidden
                return;

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

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

            #line 436 "..\..\..\..\View\storage\uc_itemsExport.xaml"
                this.cb_processType.LostFocus += new System.Windows.RoutedEventHandler(this.input_LostFocus);

            #line default
            #line hidden

            #line 437 "..\..\..\..\View\storage\uc_itemsExport.xaml"
                this.cb_processType.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.Cb_processType_SelectionChanged);

            #line default
            #line hidden
                return;

            case 36:
                this.p_errorProcessType = ((System.Windows.Shapes.Path)(target));
                return;

            case 37:
                this.tt_errorProcessType = ((System.Windows.Controls.ToolTip)(target));
                return;

            case 38:
                this.exp_store = ((System.Windows.Controls.Expander)(target));

            #line 516 "..\..\..\..\View\storage\uc_itemsExport.xaml"
                this.exp_store.Expanded += new System.Windows.RoutedEventHandler(this.Expander_Expanded);

            #line default
            #line hidden
                return;

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

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

            #line 528 "..\..\..\..\View\storage\uc_itemsExport.xaml"
                this.cb_branch.LostFocus += new System.Windows.RoutedEventHandler(this.input_LostFocus);

            #line default
            #line hidden
                return;

            case 41:
                this.p_errorBranch = ((System.Windows.Shapes.Path)(target));
                return;

            case 42:
                this.tt_errorBranch = ((System.Windows.Controls.ToolTip)(target));
                return;

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

            #line 551 "..\..\..\..\View\storage\uc_itemsExport.xaml"
                this.btn_save.Click += new System.Windows.RoutedEventHandler(this.Btn_save_Click);

            #line default
            #line hidden
                return;

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

            case 45:
                this.dg_billDetails = ((System.Windows.Controls.DataGrid)(target));

            #line 576 "..\..\..\..\View\storage\uc_itemsExport.xaml"
                this.dg_billDetails.PreviewKeyDown += new System.Windows.Input.KeyEventHandler(this.Dg_billDetails_PreviewKeyDown);

            #line default
            #line hidden

            #line 577 "..\..\..\..\View\storage\uc_itemsExport.xaml"
                this.dg_billDetails.CellEditEnding += new System.EventHandler <System.Windows.Controls.DataGridCellEditEndingEventArgs>(this.Dg_billDetails_CellEditEnding);

            #line default
            #line hidden
                return;

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

            #line 627 "..\..\..\..\View\storage\uc_itemsExport.xaml"
                this.btn_previous.Click += new System.Windows.RoutedEventHandler(this.Btn_previous_Click);

            #line default
            #line hidden
                return;

            case 49:
                this.path_previous = ((System.Windows.Shapes.Path)(target));
                return;

            case 50:
                this.tt_error_previous = ((System.Windows.Controls.ToolTip)(target));
                return;

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

            #line 639 "..\..\..\..\View\storage\uc_itemsExport.xaml"
                this.btn_next.Click += new System.Windows.RoutedEventHandler(this.Btn_next_Click);

            #line default
            #line hidden
                return;

            case 52:
                this.path_next = ((System.Windows.Shapes.Path)(target));
                return;

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

            case 54:
                this.brd_total = ((System.Windows.Controls.Border)(target));
                return;

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

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

            #line 10 "..\..\..\..\View\storage\uc_receiptOfPurchaseInvoice.xaml"
                ((POS.View.storage.uc_receiptOfPurchaseInvoice)(target)).Loaded += new System.Windows.RoutedEventHandler(this.UserControl_Loaded);

            #line default
            #line hidden

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

            #line default
            #line hidden
                return;

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

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

            #line 29 "..\..\..\..\View\storage\uc_receiptOfPurchaseInvoice.xaml"
                this.btn_items.Click += new System.Windows.RoutedEventHandler(this.Btn_items_Click);

            #line default
            #line hidden
                return;

            case 4:
                this.path_itemsIcon = ((System.Windows.Shapes.Path)(target));
                return;

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

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

            #line 77 "..\..\..\..\View\storage\uc_receiptOfPurchaseInvoice.xaml"
                this.btn_newDraft.Click += new System.Windows.RoutedEventHandler(this.Btn_newDraft_Click);

            #line default
            #line hidden
                return;

            case 7:
                this.path_newDraft = ((System.Windows.Shapes.Path)(target));
                return;

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

            case 9:
                this.md_draft = ((MaterialDesignThemes.Wpf.Badged)(target));
                return;

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

            #line 91 "..\..\..\..\View\storage\uc_receiptOfPurchaseInvoice.xaml"
                this.btn_drafts.Click += new System.Windows.RoutedEventHandler(this.Btn_draft_Click);

            #line default
            #line hidden
                return;

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

            case 12:
                this.md_invoiceCount = ((MaterialDesignThemes.Wpf.Badged)(target));
                return;

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

            #line 110 "..\..\..\..\View\storage\uc_receiptOfPurchaseInvoice.xaml"
                this.btn_invoices.Click += new System.Windows.RoutedEventHandler(this.Btn_invoices_Click);

            #line default
            #line hidden
                return;

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

            case 15:
                this.md_returnsCount = ((MaterialDesignThemes.Wpf.Badged)(target));
                return;

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

            #line 137 "..\..\..\..\View\storage\uc_receiptOfPurchaseInvoice.xaml"
                this.btn_returnInvoice.Click += new System.Windows.RoutedEventHandler(this.Btn_returnInvoice_Click);

            #line default
            #line hidden
                return;

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

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

            #line 179 "..\..\..\..\View\storage\uc_receiptOfPurchaseInvoice.xaml"
                this.btn_preview.Click += new System.Windows.RoutedEventHandler(this.Btn_preview_Click);

            #line default
            #line hidden
                return;

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

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

            #line 215 "..\..\..\..\View\storage\uc_receiptOfPurchaseInvoice.xaml"
                this.btn_pdf.Click += new System.Windows.RoutedEventHandler(this.Btn_pdf_Click);

            #line default
            #line hidden
                return;

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

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

            #line 241 "..\..\..\..\View\storage\uc_receiptOfPurchaseInvoice.xaml"
                this.btn_printInvoice.Click += new System.Windows.RoutedEventHandler(this.Btn_printInvoice_Click);

            #line default
            #line hidden
                return;

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

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

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

            case 26:
                this.dg_billDetails = ((System.Windows.Controls.DataGrid)(target));

            #line 282 "..\..\..\..\View\storage\uc_receiptOfPurchaseInvoice.xaml"
                this.dg_billDetails.BeginningEdit += new System.EventHandler <System.Windows.Controls.DataGridBeginningEditEventArgs>(this.Dg_billDetails_BeginningEdit);

            #line default
            #line hidden

            #line 283 "..\..\..\..\View\storage\uc_receiptOfPurchaseInvoice.xaml"
                this.dg_billDetails.CellEditEnding += new System.EventHandler <System.Windows.Controls.DataGridCellEditEndingEventArgs>(this.Dg_billDetails_CellEditEnding);

            #line default
            #line hidden

            #line 284 "..\..\..\..\View\storage\uc_receiptOfPurchaseInvoice.xaml"
                this.dg_billDetails.PreviewKeyDown += new System.Windows.Input.KeyEventHandler(this.Dg_billDetails_PreviewKeyDown);

            #line default
            #line hidden
                return;

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

            #line 338 "..\..\..\..\View\storage\uc_receiptOfPurchaseInvoice.xaml"
                this.btn_previous.Click += new System.Windows.RoutedEventHandler(this.Btn_previous_Click);

            #line default
            #line hidden
                return;

            case 30:
                this.path_previous = ((System.Windows.Shapes.Path)(target));
                return;

            case 31:
                this.tt_error_previous = ((System.Windows.Controls.ToolTip)(target));
                return;

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

            #line 349 "..\..\..\..\View\storage\uc_receiptOfPurchaseInvoice.xaml"
                this.btn_next.Click += new System.Windows.RoutedEventHandler(this.Btn_next_Click);

            #line default
            #line hidden
                return;

            case 33:
                this.path_next = ((System.Windows.Shapes.Path)(target));
                return;

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

            case 35:
                this.sp_sum = ((System.Windows.Controls.Separator)(target));
                return;

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

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

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

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

            case 40:
                this.brd_count = ((System.Windows.Controls.Border)(target));
                return;

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

            case 42:
                this.tb_count = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 43:
                this.brd_total = ((System.Windows.Controls.Border)(target));
                return;

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

            case 45:
                this.tb_total = ((System.Windows.Controls.TextBlock)(target));
                return;

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

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

            #line 463 "..\..\..\..\View\storage\uc_receiptOfPurchaseInvoice.xaml"
                this.tb_barcode.KeyDown += new System.Windows.Input.KeyEventHandler(this.Tb_barcode_KeyDown);

            #line default
            #line hidden
                return;

            case 48:
                this.txt_store = ((System.Windows.Controls.TextBlock)(target));
                return;

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

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

            #line 495 "..\..\..\..\View\storage\uc_receiptOfPurchaseInvoice.xaml"
                this.btn_save.Click += new System.Windows.RoutedEventHandler(this.Btn_save_Click);

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

            #line 9 "..\..\usBanHang.xaml"
                ((Milestone2.usBanHang)(target)).Initialized += new System.EventHandler(this.UserControl_Initialized);

            #line default
            #line hidden
                return;

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

            #line 27 "..\..\usBanHang.xaml"
                this.KeyWordTextBox.TextChanged += new System.Windows.Controls.TextChangedEventHandler(this.KeyWordTextBox_TextChanged);

            #line default
            #line hidden
                return;

            case 3:
                this.myBadged = ((MaterialDesignThemes.Wpf.Badged)(target));
                return;

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

            case 7:
                this.ThongBaoSnackbar = ((MaterialDesignThemes.Wpf.Snackbar)(target));
                return;

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

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

            #line 149 "..\..\usBanHang.xaml"
                this.luuBtn.Click += new System.Windows.RoutedEventHandler(this.LuuBtn_Click);

            #line default
            #line hidden
                return;

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

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

            #line 169 "..\..\usBanHang.xaml"
                this.allProduct.Click += new System.Windows.RoutedEventHandler(this.AllProduct_Click);

            #line default
            #line hidden
                return;

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

            #line 175 "..\..\usBanHang.xaml"
                this.FilterCateComboBox.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.FilterCateComboBox_SelectionChanged);

            #line default
            #line hidden
                return;

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

            #line 177 "..\..\usBanHang.xaml"
                this.FilterPriceComboBox.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.FilterPriceCombobox_SelectionChanged);

            #line default
            #line hidden
                return;

            case 14:
                this.hienThiSanPhamListView = ((System.Windows.Controls.ListView)(target));
                return;

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

            #line 259 "..\..\usBanHang.xaml"
                this.previousButton.MouseLeave += new System.Windows.Input.MouseEventHandler(this.MouseLeave);

            #line default
            #line hidden

            #line 261 "..\..\usBanHang.xaml"
                this.previousButton.MouseEnter += new System.Windows.Input.MouseEventHandler(this.MouseEnter);

            #line default
            #line hidden

            #line 262 "..\..\usBanHang.xaml"
                this.previousButton.Click += new System.Windows.RoutedEventHandler(this.PreviousButton_Click);

            #line default
            #line hidden
                return;

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

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

            #line 272 "..\..\usBanHang.xaml"
                this.nextButton.MouseLeave += new System.Windows.Input.MouseEventHandler(this.MouseLeave);

            #line default
            #line hidden

            #line 274 "..\..\usBanHang.xaml"
                this.nextButton.MouseEnter += new System.Windows.Input.MouseEventHandler(this.MouseEnter);

            #line default
            #line hidden

            #line 276 "..\..\usBanHang.xaml"
                this.nextButton.Click += new System.Windows.RoutedEventHandler(this.NextButton_Click);

            #line default
            #line hidden
                return;

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

            #line 285 "..\..\usBanHang.xaml"
                this.itemsPerPageComboBox.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.ItemsPerPageComboBox_SelectionChanged);

            #line default
            #line hidden
                return;

            case 20:
                this.abc = ((MaterialDesignThemes.Wpf.DialogHost)(target));
                return;
            }
            this._contentLoaded = true;
        }
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:

            #line 10 "..\..\..\..\View\purchases\uc_purchaseOrder.xaml"
                ((POS.View.purchases.uc_purchaseOrder)(target)).Loaded += new System.Windows.RoutedEventHandler(this.UserControl_Loaded);

            #line default
            #line hidden

            #line 10 "..\..\..\..\View\purchases\uc_purchaseOrder.xaml"
                ((POS.View.purchases.uc_purchaseOrder)(target)).Unloaded += new System.Windows.RoutedEventHandler(this.UserControl_Unloaded);

            #line default
            #line hidden
                return;

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

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

            #line 29 "..\..\..\..\View\purchases\uc_purchaseOrder.xaml"
                this.btn_items.Click += new System.Windows.RoutedEventHandler(this.Btn_items_Click);

            #line default
            #line hidden
                return;

            case 4:
                this.path_itemsIcon = ((System.Windows.Shapes.Path)(target));
                return;

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

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

            #line 78 "..\..\..\..\View\purchases\uc_purchaseOrder.xaml"
                this.btn_newDraft.Click += new System.Windows.RoutedEventHandler(this.Btn_newDraft_Click);

            #line default
            #line hidden
                return;

            case 7:
                this.path_newDraft = ((System.Windows.Shapes.Path)(target));
                return;

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

            case 9:
                this.md_draft = ((MaterialDesignThemes.Wpf.Badged)(target));
                return;

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

            #line 91 "..\..\..\..\View\purchases\uc_purchaseOrder.xaml"
                this.btn_drafts.Click += new System.Windows.RoutedEventHandler(this.Btn_draft_Click);

            #line default
            #line hidden
                return;

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

            case 12:
                this.md_order = ((MaterialDesignThemes.Wpf.Badged)(target));
                return;

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

            #line 130 "..\..\..\..\View\purchases\uc_purchaseOrder.xaml"
                this.btn_purchaseOrder.Click += new System.Windows.RoutedEventHandler(this.Btn_purchaseOrder_Click);

            #line default
            #line hidden
                return;

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

            case 15:
                this.bdr_shortageInvoice = ((System.Windows.Controls.Border)(target));
                return;

            case 16:
                this.md_shortage = ((MaterialDesignThemes.Wpf.Badged)(target));
                return;

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

            #line 175 "..\..\..\..\View\purchases\uc_purchaseOrder.xaml"
                this.btn_shortageInvoice.Click += new System.Windows.RoutedEventHandler(this.Btn_shortageInvoice_Click);

            #line default
            #line hidden
                return;

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

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

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

            #line 188 "..\..\..\..\View\purchases\uc_purchaseOrder.xaml"
                this.btn_emailMessage.Click += new System.Windows.RoutedEventHandler(this.Btn_emailMessage_Click);

            #line default
            #line hidden
                return;

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

            case 22:
                this.md_docImage = ((MaterialDesignThemes.Wpf.Badged)(target));
                return;

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

            #line 229 "..\..\..\..\View\purchases\uc_purchaseOrder.xaml"
                this.btn_invoiceImages.Click += new System.Windows.RoutedEventHandler(this.Btn_invoiceImage_Click);

            #line default
            #line hidden
                return;

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

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

            #line 248 "..\..\..\..\View\purchases\uc_purchaseOrder.xaml"
                this.btn_preview.Click += new System.Windows.RoutedEventHandler(this.Btn_preview_Click);

            #line default
            #line hidden
                return;

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

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

            #line 284 "..\..\..\..\View\purchases\uc_purchaseOrder.xaml"
                this.btn_pdf.Click += new System.Windows.RoutedEventHandler(this.Btn_pdf_Click);

            #line default
            #line hidden
                return;

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

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

            #line 310 "..\..\..\..\View\purchases\uc_purchaseOrder.xaml"
                this.btn_printInvoice.Click += new System.Windows.RoutedEventHandler(this.btn_printInvoice_Click);

            #line default
            #line hidden
                return;

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

            case 31:
                this.bdr_paymentDetails = ((System.Windows.Controls.Border)(target));
                return;

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

            #line 348 "..\..\..\..\View\purchases\uc_purchaseOrder.xaml"
                this.tb_barcode.KeyDown += new System.Windows.Input.KeyEventHandler(this.Tb_barcode_KeyDown);

            #line default
            #line hidden
                return;

            case 33:
                this.txt_vendor = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 34:
                this.grid_vendor = ((System.Windows.Controls.Grid)(target));
                return;

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

            #line 385 "..\..\..\..\View\purchases\uc_purchaseOrder.xaml"
                this.cb_vendor.KeyUp += new System.Windows.Input.KeyEventHandler(this.Cb_vendor_KeyUp);

            #line default
            #line hidden

            #line 386 "..\..\..\..\View\purchases\uc_purchaseOrder.xaml"
                this.cb_vendor.LostFocus += new System.Windows.RoutedEventHandler(this.input_LostFocus);

            #line default
            #line hidden

            #line 386 "..\..\..\..\View\purchases\uc_purchaseOrder.xaml"
                this.cb_vendor.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.Cb_vendor_SelectionChanged);

            #line default
            #line hidden
                return;

            case 36:
                this.p_errorVendor = ((System.Windows.Shapes.Path)(target));
                return;

            case 37:
                this.tt_errorVendor = ((System.Windows.Controls.ToolTip)(target));
                return;

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

            #line 406 "..\..\..\..\View\purchases\uc_purchaseOrder.xaml"
                this.btn_addVendor.Click += new System.Windows.RoutedEventHandler(this.Btn_addVendor_Click);

            #line default
            #line hidden
                return;

            case 39:
                this.btn_updateVendor = ((System.Windows.Controls.Button)(target));

            #line 422 "..\..\..\..\View\purchases\uc_purchaseOrder.xaml"
                this.btn_updateVendor.Click += new System.Windows.RoutedEventHandler(this.Btn_updateVendor_Click);

            #line default
            #line hidden
                return;

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

            #line 429 "..\..\..\..\View\purchases\uc_purchaseOrder.xaml"
                this.btn_clear.Click += new System.Windows.RoutedEventHandler(this.Btn_clear_Click);

            #line default
            #line hidden
                return;

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

            #line 447 "..\..\..\..\View\purchases\uc_purchaseOrder.xaml"
                this.tb_note.TextChanged += new System.Windows.Controls.TextChangedEventHandler(this.Tb_textBox_TextChanged);

            #line default
            #line hidden
                return;

            case 42:
                this.sp_Approved = ((System.Windows.Controls.StackPanel)(target));
                return;

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

            case 44:
                this.tgl_ActiveOffer = ((System.Windows.Controls.Primitives.ToggleButton)(target));

            #line 469 "..\..\..\..\View\purchases\uc_purchaseOrder.xaml"
                this.tgl_ActiveOffer.Checked += new System.Windows.RoutedEventHandler(this.Tgl_ActiveOffer_Checked);

            #line default
            #line hidden

            #line 470 "..\..\..\..\View\purchases\uc_purchaseOrder.xaml"
                this.tgl_ActiveOffer.Unchecked += new System.Windows.RoutedEventHandler(this.Tgl_ActiveOffer_Unchecked);

            #line default
            #line hidden
                return;

            case 45:
                this.btn_save = ((System.Windows.Controls.Button)(target));

            #line 481 "..\..\..\..\View\purchases\uc_purchaseOrder.xaml"
                this.btn_save.Click += new System.Windows.RoutedEventHandler(this.Btn_save_Click);

            #line default
            #line hidden
                return;

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

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

            case 48:
                this.dg_billDetails = ((System.Windows.Controls.DataGrid)(target));

            #line 510 "..\..\..\..\View\purchases\uc_purchaseOrder.xaml"
                this.dg_billDetails.BeginningEdit += new System.EventHandler <System.Windows.Controls.DataGridBeginningEditEventArgs>(this.Dg_billDetails_BeginningEdit);

            #line default
            #line hidden

            #line 511 "..\..\..\..\View\purchases\uc_purchaseOrder.xaml"
                this.dg_billDetails.CellEditEnding += new System.EventHandler <System.Windows.Controls.DataGridCellEditEndingEventArgs>(this.Dg_billDetails_CellEditEnding);

            #line default
            #line hidden

            #line 512 "..\..\..\..\View\purchases\uc_purchaseOrder.xaml"
                this.dg_billDetails.PreviewKeyDown += new System.Windows.Input.KeyEventHandler(this.Dg_billDetails_PreviewKeyDown);

            #line default
            #line hidden
                return;

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

            #line 562 "..\..\..\..\View\purchases\uc_purchaseOrder.xaml"
                this.btn_previous.Click += new System.Windows.RoutedEventHandler(this.Btn_previous_Click);

            #line default
            #line hidden
                return;

            case 52:
                this.path_previous = ((System.Windows.Shapes.Path)(target));
                return;

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

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

            #line 574 "..\..\..\..\View\purchases\uc_purchaseOrder.xaml"
                this.btn_next.Click += new System.Windows.RoutedEventHandler(this.Btn_next_Click);

            #line default
            #line hidden
                return;

            case 55:
                this.path_next = ((System.Windows.Shapes.Path)(target));
                return;

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

            case 57:
                this.brd_total = ((System.Windows.Controls.Border)(target));
                return;

            case 58:
                this.tb_count = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 59:
                this.tb_total = ((System.Windows.Controls.TextBlock)(target));
                return;
            }
            this._contentLoaded = true;
        }
Exemplo n.º 23
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.cb_Search = ((System.Windows.Controls.ComboBox)(target));

            #line 23 "..\..\MainWindow.xaml"
                this.cb_Search.MouseLeave += new System.Windows.Input.MouseEventHandler(this.Cb_Drop_MouseLeave);

            #line default
            #line hidden
                return;

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

            #line 25 "..\..\MainWindow.xaml"
                this.txt_Search.TextChanged += new System.Windows.Controls.TextChangedEventHandler(this.Txt_Search_TextChanged);

            #line default
            #line hidden
                return;

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

            #line 31 "..\..\MainWindow.xaml"
                this.cb_Alert.MouseLeave += new System.Windows.Input.MouseEventHandler(this.Cb_Drop_MouseLeave);

            #line default
            #line hidden
                return;

            case 4:

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

            #line default
            #line hidden
                return;

            case 5:

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

            #line default
            #line hidden
                return;

            case 6:
                this.md_Badged = ((MaterialDesignThemes.Wpf.Badged)(target));
                return;

            case 7:

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

            #line default
            #line hidden
                return;

            case 8:
                this.MainFrame = ((System.Windows.Controls.Frame)(target));
                return;
            }
            this._contentLoaded = true;
        }
Exemplo n.º 24
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.ButtonPopUpLogout = ((System.Windows.Controls.Button)(target));

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

            #line default
            #line hidden
                return;

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

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

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

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

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

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

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

            case 9:

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

            #line default
            #line hidden
                return;

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

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

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

            #line default
            #line hidden
                return;

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

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

            #line default
            #line hidden
                return;

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

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

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

            case 16:
                this.Not2 = ((MaterialDesignThemes.Wpf.Badged)(target));
                return;

            case 17:

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

            #line default
            #line hidden
                return;

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

            case 19:
                this.Not1 = ((MaterialDesignThemes.Wpf.Badged)(target));
                return;

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

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

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

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

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

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

            #line default
            #line hidden
                return;

            case 25:
                this.PanelChat2 = ((System.Windows.Controls.StackPanel)(target));
                return;

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

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

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

            #line 347 "..\..\MainWindow.xaml"
                this.Send2.Click += new System.Windows.RoutedEventHandler(this.Send2_Click);

            #line default
            #line hidden
                return;

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

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

            #line 357 "..\..\MainWindow.xaml"
                this.ButtonOpenMenu2.Click += new System.Windows.RoutedEventHandler(this.ButtonOpenMenu2_Click);

            #line default
            #line hidden
                return;

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

            #line 360 "..\..\MainWindow.xaml"
                this.ButtonCloseMenu2.Click += new System.Windows.RoutedEventHandler(this.ButtonCloseMenu2_Click);

            #line default
            #line hidden
                return;

            case 32:
                this.ListViewMenu2 = ((System.Windows.Controls.ListView)(target));
                return;

            case 33:
                this.ItemHome2 = ((System.Windows.Controls.ListViewItem)(target));
                return;

            case 34:
                this.ItemCreate2 = ((System.Windows.Controls.ListViewItem)(target));
                return;

            case 35:
                this.Not22 = ((MaterialDesignThemes.Wpf.Badged)(target));
                return;

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

            #line 385 "..\..\MainWindow.xaml"
                this.OpenChat.Click += new System.Windows.RoutedEventHandler(this.Button_Click_2);

            #line default
            #line hidden
                return;

            case 37:
                this.NewMessage2 = ((System.Windows.Controls.Grid)(target));
                return;

            case 38:
                this.Not222 = ((MaterialDesignThemes.Wpf.Badged)(target));
                return;
            }
            this._contentLoaded = true;
        }
Exemplo n.º 25
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:

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

            #line default
            #line hidden

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

            #line default
            #line hidden
                return;

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

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

            #line 29 "..\..\..\..\View\sales\uc_quotations.xaml"
                this.btn_items.Click += new System.Windows.RoutedEventHandler(this.Btn_items_Click);

            #line default
            #line hidden
                return;

            case 4:
                this.path_itemsIcon = ((System.Windows.Shapes.Path)(target));
                return;

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

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

            #line 78 "..\..\..\..\View\sales\uc_quotations.xaml"
                this.btn_newDraft.Click += new System.Windows.RoutedEventHandler(this.Btn_newDraft_Click);

            #line default
            #line hidden
                return;

            case 7:
                this.path_newDraft = ((System.Windows.Shapes.Path)(target));
                return;

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

            case 9:
                this.md_draft = ((MaterialDesignThemes.Wpf.Badged)(target));
                return;

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

            #line 92 "..\..\..\..\View\sales\uc_quotations.xaml"
                this.btn_quotations.Click += new System.Windows.RoutedEventHandler(this.Btn_draft_Click);

            #line default
            #line hidden
                return;

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

            case 12:
                this.md_qout = ((MaterialDesignThemes.Wpf.Badged)(target));
                return;

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

            #line 131 "..\..\..\..\View\sales\uc_quotations.xaml"
                this.btn_approved.Click += new System.Windows.RoutedEventHandler(this.Btn_quotations_Click);

            #line default
            #line hidden
                return;

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

            case 15:
                this.md_docImage = ((MaterialDesignThemes.Wpf.Badged)(target));
                return;

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

            #line 182 "..\..\..\..\View\sales\uc_quotations.xaml"
                this.btn_invoiceImages.Click += new System.Windows.RoutedEventHandler(this.Btn_invoiceImage_Click);

            #line default
            #line hidden
                return;

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

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

            #line 201 "..\..\..\..\View\sales\uc_quotations.xaml"
                this.btn_preview.Click += new System.Windows.RoutedEventHandler(this.Btn_preview_Click);

            #line default
            #line hidden
                return;

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

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

            #line 237 "..\..\..\..\View\sales\uc_quotations.xaml"
                this.btn_pdf.Click += new System.Windows.RoutedEventHandler(this.Btn_pdf_Click);

            #line default
            #line hidden
                return;

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

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

            #line 263 "..\..\..\..\View\sales\uc_quotations.xaml"
                this.btn_printInvoice.Click += new System.Windows.RoutedEventHandler(this.Btn_printInvoice_Click);

            #line default
            #line hidden
                return;

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

            case 24:
                this.bdr_paymentDetails = ((System.Windows.Controls.Border)(target));
                return;

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

            #line 299 "..\..\..\..\View\sales\uc_quotations.xaml"
                this.tb_barcode.KeyDown += new System.Windows.Input.KeyEventHandler(this.Tb_barcode_KeyDown);

            #line default
            #line hidden
                return;

            case 26:
                this.exp_customer = ((System.Windows.Controls.Expander)(target));

            #line 312 "..\..\..\..\View\sales\uc_quotations.xaml"
                this.exp_customer.Expanded += new System.Windows.RoutedEventHandler(this.Expander_Expanded);

            #line default
            #line hidden
                return;

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

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

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

            #line 340 "..\..\..\..\View\sales\uc_quotations.xaml"
                this.cb_customer.KeyUp += new System.Windows.Input.KeyEventHandler(this.Cb_customer_KeyUp);

            #line default
            #line hidden

            #line 341 "..\..\..\..\View\sales\uc_quotations.xaml"
                this.cb_customer.LostFocus += new System.Windows.RoutedEventHandler(this.input_LostFocus);

            #line default
            #line hidden

            #line 341 "..\..\..\..\View\sales\uc_quotations.xaml"
                this.cb_customer.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.Cb_customer_SelectionChanged);

            #line default
            #line hidden
                return;

            case 30:
                this.p_errorCustomer = ((System.Windows.Shapes.Path)(target));
                return;

            case 31:
                this.tt_errorCustomer = ((System.Windows.Controls.ToolTip)(target));
                return;

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

            #line 361 "..\..\..\..\View\sales\uc_quotations.xaml"
                this.btn_updateCustomer.Click += new System.Windows.RoutedEventHandler(this.Btn_updateCustomer_Click);

            #line default
            #line hidden
                return;

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

            #line 368 "..\..\..\..\View\sales\uc_quotations.xaml"
                this.btn_clearCustomer.Click += new System.Windows.RoutedEventHandler(this.Btn_clearCustomer_Click);

            #line default
            #line hidden
                return;

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

            #line 383 "..\..\..\..\View\sales\uc_quotations.xaml"
                this.tb_note.TextChanged += new System.Windows.Controls.TextChangedEventHandler(this.Tb_textBox_TextChanged);

            #line default
            #line hidden
                return;

            case 35:
                this.exp_discount = ((System.Windows.Controls.Expander)(target));

            #line 400 "..\..\..\..\View\sales\uc_quotations.xaml"
                this.exp_discount.Expanded += new System.Windows.RoutedEventHandler(this.Expander_Expanded);

            #line default
            #line hidden
                return;

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

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

            #line 417 "..\..\..\..\View\sales\uc_quotations.xaml"
                this.tb_discount.PreviewTextInput += new System.Windows.Input.TextCompositionEventHandler(this.DecimalValidationTextBox);

            #line default
            #line hidden

            #line 417 "..\..\..\..\View\sales\uc_quotations.xaml"
                this.tb_discount.PreviewKeyDown += new System.Windows.Input.KeyEventHandler(this.space_PreviewKeyDown);

            #line default
            #line hidden

            #line 419 "..\..\..\..\View\sales\uc_quotations.xaml"
                this.tb_discount.TextChanged += new System.Windows.Controls.TextChangedEventHandler(this.tb_discount_TextChanged);

            #line default
            #line hidden
                return;

            case 38:
                this.cb_typeDiscount = ((System.Windows.Controls.ComboBox)(target));

            #line 445 "..\..\..\..\View\sales\uc_quotations.xaml"
                this.cb_typeDiscount.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.Cb_typeDiscount_SelectionChanged);

            #line default
            #line hidden
                return;

            case 39:
                this.exp_coupon = ((System.Windows.Controls.Expander)(target));

            #line 461 "..\..\..\..\View\sales\uc_quotations.xaml"
                this.exp_coupon.Expanded += new System.Windows.RoutedEventHandler(this.Expander_Expanded);

            #line default
            #line hidden
                return;

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

            case 41:
                this.cb_coupon = ((DotNetKit.Windows.Controls.AutoCompleteComboBox)(target));

            #line 492 "..\..\..\..\View\sales\uc_quotations.xaml"
                this.cb_coupon.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.Cb_coupon_SelectionChanged);

            #line default
            #line hidden
                return;

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

            #line 519 "..\..\..\..\View\sales\uc_quotations.xaml"
                this.btn_clearCoupon.Click += new System.Windows.RoutedEventHandler(this.Btn_clearCoupon_Click);

            #line default
            #line hidden
                return;

            case 43:
                this.lst_coupons = ((System.Windows.Controls.ListView)(target));
                return;

            case 44:
                this.sp_Approved = ((System.Windows.Controls.StackPanel)(target));
                return;

            case 45:
                this.txt_isApproved = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 46:
                this.tgl_ActiveOffer = ((System.Windows.Controls.Primitives.ToggleButton)(target));

            #line 553 "..\..\..\..\View\sales\uc_quotations.xaml"
                this.tgl_ActiveOffer.Checked += new System.Windows.RoutedEventHandler(this.Tgl_ActiveOffer_Checked);

            #line default
            #line hidden

            #line 554 "..\..\..\..\View\sales\uc_quotations.xaml"
                this.tgl_ActiveOffer.Unchecked += new System.Windows.RoutedEventHandler(this.Tgl_ActiveOffer_Unchecked);

            #line default
            #line hidden
                return;

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

            #line 565 "..\..\..\..\View\sales\uc_quotations.xaml"
                this.btn_save.Click += new System.Windows.RoutedEventHandler(this.Btn_save_Click);

            #line default
            #line hidden
                return;

            case 48:
                this.txt_payInvoice = ((System.Windows.Controls.TextBlock)(target));
                return;

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

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

            #line 593 "..\..\..\..\View\sales\uc_quotations.xaml"
                this.btn_deleteInvoice.Click += new System.Windows.RoutedEventHandler(this.Btn_deleteInvoice_Click);

            #line default
            #line hidden
                return;

            case 51:
                this.dg_billDetails = ((System.Windows.Controls.DataGrid)(target));

            #line 606 "..\..\..\..\View\sales\uc_quotations.xaml"
                this.dg_billDetails.CellEditEnding += new System.EventHandler <System.Windows.Controls.DataGridCellEditEndingEventArgs>(this.Dg_billDetails_CellEditEnding);

            #line default
            #line hidden

            #line 607 "..\..\..\..\View\sales\uc_quotations.xaml"
                this.dg_billDetails.BeginningEdit += new System.EventHandler <System.Windows.Controls.DataGridBeginningEditEventArgs>(this.Dg_billDetails_BeginningEdit);

            #line default
            #line hidden

            #line 608 "..\..\..\..\View\sales\uc_quotations.xaml"
                this.dg_billDetails.PreviewKeyDown += new System.Windows.Input.KeyEventHandler(this.Dg_billDetails_PreviewKeyDown);

            #line default
            #line hidden
                return;

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

            #line 655 "..\..\..\..\View\sales\uc_quotations.xaml"
                this.btn_previous.Click += new System.Windows.RoutedEventHandler(this.Btn_previous_Click);

            #line default
            #line hidden
                return;

            case 55:
                this.path_previous = ((System.Windows.Shapes.Path)(target));
                return;

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

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

            #line 667 "..\..\..\..\View\sales\uc_quotations.xaml"
                this.btn_next.Click += new System.Windows.RoutedEventHandler(this.Btn_next_Click);

            #line default
            #line hidden
                return;

            case 58:
                this.path_next = ((System.Windows.Shapes.Path)(target));
                return;

            case 59:
                this.tt_error_next = ((System.Windows.Controls.ToolTip)(target));
                return;

            case 60:
                this.sp_tax = ((System.Windows.Controls.StackPanel)(target));
                return;

            case 61:
                this.txt_tax = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 62:
                this.tb_taxValue = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 63:
                this.txt_sum = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 64:
                this.tb_sum = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 65:
                this.tb_moneyIcon = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 66:
                this.brd_totalDescount = ((System.Windows.Controls.Border)(target));
                return;

            case 67:
                this.txt_totalDescount = ((System.Windows.Controls.TextBlock)(target));
                return;

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

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

            case 70:
                this.brd_total = ((System.Windows.Controls.Border)(target));
                return;

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

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

            case 73:
                this.tb_moneyIconTotal = ((System.Windows.Controls.TextBlock)(target));
                return;
            }
            this._contentLoaded = true;
        }
Exemplo n.º 26
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:

            #line 10 "..\..\..\..\View\storage\uc_inventory.xaml"
                ((POS.View.storage.uc_inventory)(target)).Loaded += new System.Windows.RoutedEventHandler(this.UserControl_Loaded);

            #line default
            #line hidden

            #line 10 "..\..\..\..\View\storage\uc_inventory.xaml"
                ((POS.View.storage.uc_inventory)(target)).Unloaded += new System.Windows.RoutedEventHandler(this.UserControl_Unloaded);

            #line default
            #line hidden
                return;

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

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

            #line 30 "..\..\..\..\View\storage\uc_inventory.xaml"
                this.btn_newDraft.Click += new System.Windows.RoutedEventHandler(this.Btn_newInventory_Click);

            #line default
            #line hidden
                return;

            case 4:
                this.path_newDraft = ((System.Windows.Shapes.Path)(target));
                return;

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

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

            #line 42 "..\..\..\..\View\storage\uc_inventory.xaml"
                this.btn_drafts.Click += new System.Windows.RoutedEventHandler(this.Btn_draft_Click);

            #line default
            #line hidden
                return;

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

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

            #line 56 "..\..\..\..\View\storage\uc_inventory.xaml"
                this.btn_inventory.Click += new System.Windows.RoutedEventHandler(this.Btn_Inventory_Click);

            #line default
            #line hidden
                return;

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

            case 10:
                this.md_docImage = ((MaterialDesignThemes.Wpf.Badged)(target));
                return;

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

            #line 83 "..\..\..\..\View\storage\uc_inventory.xaml"
                this.btn_invoiceImages.Click += new System.Windows.RoutedEventHandler(this.Btn_invoiceImage_Click);

            #line default
            #line hidden
                return;

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

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

            #line 102 "..\..\..\..\View\storage\uc_inventory.xaml"
                this.btn_preview.Click += new System.Windows.RoutedEventHandler(this.Btn_preview_Click);

            #line default
            #line hidden
                return;

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

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

            #line 138 "..\..\..\..\View\storage\uc_inventory.xaml"
                this.btn_pdf.Click += new System.Windows.RoutedEventHandler(this.Btn_pdf_Click);

            #line default
            #line hidden
                return;

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

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

            #line 164 "..\..\..\..\View\storage\uc_inventory.xaml"
                this.btn_printInvoice.Click += new System.Windows.RoutedEventHandler(this.Btn_printInvoice_Click);

            #line default
            #line hidden
                return;

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

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

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

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

            case 22:
                this.bdr_archive = ((System.Windows.Controls.Border)(target));
                return;

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

            #line 212 "..\..\..\..\View\storage\uc_inventory.xaml"
                this.btn_archive.Click += new System.Windows.RoutedEventHandler(this.Btn_archive_Click);

            #line default
            #line hidden
                return;

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

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

            #line 237 "..\..\..\..\View\storage\uc_inventory.xaml"
                this.btn_deleteInventory.Click += new System.Windows.RoutedEventHandler(this.Btn_deleteInventory_Click);

            #line default
            #line hidden
                return;

            case 26:
                this.dg_items = ((System.Windows.Controls.DataGrid)(target));

            #line 245 "..\..\..\..\View\storage\uc_inventory.xaml"
                this.dg_items.CellEditEnding += new System.EventHandler <System.Windows.Controls.DataGridCellEditEndingEventArgs>(this.Dg_items_CellEditEnding);

            #line default
            #line hidden
                return;

            case 27:
                this.brd_totalDescount = ((System.Windows.Controls.Border)(target));
                return;

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

            case 29:
                this.tb_shortage = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 30:
                this.brd_total = ((System.Windows.Controls.Border)(target));
                return;

            case 31:
                this.txt_destroyTitle = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 32:
                this.tb_destroy = ((System.Windows.Controls.TextBlock)(target));
                return;
            }
            this._contentLoaded = true;
        }