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

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

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

            #line 20 "..\..\..\WindowControl\CategorizeDetail.xaml"
                this.BtnConfirm.Click += new System.Windows.RoutedEventHandler(this.BtnConfirm_Click);

            #line default
            #line hidden
                return;

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

            case 5:
                this.progressBar = ((LoadingPanelSample.Controls.CircularProgressBar)(target));
                return;
            }
            this._contentLoaded = true;
        }
Exemplo n.º 2
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.PasswordBoxConfirmPassword = ((System.Windows.Controls.PasswordBox)(target));
                return;

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

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

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

            #line 39 "..\..\..\WindowControl\ChangePassWindow.xaml"
                this.BtnConfirm.Click += new System.Windows.RoutedEventHandler(this.BtnConfirm_Click);

            #line default
            #line hidden
                return;

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

            case 6:
                this.progressBar = ((LoadingPanelSample.Controls.CircularProgressBar)(target));
                return;
            }
            this._contentLoaded = true;
        }
Exemplo n.º 3
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.TextBoxUserName = ((System.Windows.Controls.TextBox)(target));
                return;

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

            case 3:
                this.CheckBoxRememberPass = ((System.Windows.Controls.CheckBox)(target));

            #line 38 "..\..\..\WindowControl\Login.xaml"
                this.CheckBoxRememberPass.Checked += new System.Windows.RoutedEventHandler(this.CheckBoxRememberPass_Checked);

            #line default
            #line hidden

            #line 38 "..\..\..\WindowControl\Login.xaml"
                this.CheckBoxRememberPass.Unchecked += new System.Windows.RoutedEventHandler(this.CheckBoxRememberPass_Unchecked);

            #line default
            #line hidden
                return;

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

            #line 39 "..\..\..\WindowControl\Login.xaml"
                this.CheckBoxKeepLogin.Checked += new System.Windows.RoutedEventHandler(this.CheckBoxKeepLogin_Checked);

            #line default
            #line hidden

            #line 39 "..\..\..\WindowControl\Login.xaml"
                this.CheckBoxKeepLogin.Unchecked += new System.Windows.RoutedEventHandler(this.CheckBoxKeepLogin_Unchecked);

            #line default
            #line hidden
                return;

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

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

            #line 42 "..\..\..\WindowControl\Login.xaml"
                this.BtnLogin.Click += new System.Windows.RoutedEventHandler(this.BtnLogin_Click);

            #line default
            #line hidden
                return;

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

            case 8:
                this.progressBar = ((LoadingPanelSample.Controls.CircularProgressBar)(target));
                return;
            }
            this._contentLoaded = true;
        }
Exemplo n.º 4
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.TabControlMain = ((System.Windows.Controls.TabControl)(target));

            #line 27 "..\..\..\WindowControl\MainWindow.xaml"
                this.TabControlMain.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.TabControlMain_SelectionChanged);

            #line default
            #line hidden
                return;

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

            case 3:
                this.TabItemFood = ((System.Windows.Controls.TabItem)(target));
                return;

            case 4:
                this.TabItemIngredient = ((System.Windows.Controls.TabItem)(target));
                return;

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

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

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

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

            #line 128 "..\..\..\WindowControl\MainWindow.xaml"
                this.BtnShowBtnsAccount1.MouseUp += new System.Windows.Input.MouseButtonEventHandler(this.BtnShowBtnsAccount1_MouseUp);

            #line default
            #line hidden
                return;

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

            #line 131 "..\..\..\WindowControl\MainWindow.xaml"
                this.BtnChangePass.Click += new System.Windows.RoutedEventHandler(this.BtnChangePass_Click);

            #line default
            #line hidden
                return;

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

            #line 132 "..\..\..\WindowControl\MainWindow.xaml"
                this.BtnLogout.Click += new System.Windows.RoutedEventHandler(this.BtnLogout_Click);

            #line default
            #line hidden
                return;

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

            case 12:
                this.progressBar = ((LoadingPanelSample.Controls.CircularProgressBar)(target));
                return;
            }
            this._contentLoaded = true;
        }
Exemplo n.º 5
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.MainGrid = ((System.Windows.Controls.Grid)(target));
                return;

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

            case 18:
                this.progressBarRun = ((LoadingPanelSample.Controls.CircularProgressBar)(target));
                return;

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

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

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

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

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

            case 24:
                this.progressBarExcell = ((LoadingPanelSample.Controls.CircularProgressBar)(target));
                return;

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

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

            #line 21 "..\..\..\WindowControl\FoodDetail.xaml"
                this.BtnCopy.Click += new System.Windows.RoutedEventHandler(this.BtnCopy_Click);

            #line default
            #line hidden
                return;

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

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

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

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

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

            #line 32 "..\..\..\WindowControl\FoodDetail.xaml"
                this.TextBoxPrice.PreviewTextInput += new System.Windows.Input.TextCompositionEventHandler(this.NumberValidationTextBox);

            #line default
            #line hidden
                return;

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

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

            #line 42 "..\..\..\WindowControl\FoodDetail.xaml"
                this.DataGridIngredient.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.DataGridIngredient_SelectionChanged);

            #line default
            #line hidden
                return;

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

            #line 51 "..\..\..\WindowControl\FoodDetail.xaml"
                this.ComboBoxIngredient.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.ComboBoxIngredient_SelectionChanged);

            #line default
            #line hidden
                return;

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

            #line 53 "..\..\..\WindowControl\FoodDetail.xaml"
                this.TextBoxQuantity.PreviewTextInput += new System.Windows.Input.TextCompositionEventHandler(this.NumberValidationTextBox);

            #line default
            #line hidden
                return;

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

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

            #line 56 "..\..\..\WindowControl\FoodDetail.xaml"
                this.BtnAdd.Click += new System.Windows.RoutedEventHandler(this.BtnAdd_Click);

            #line default
            #line hidden
                return;

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

            #line 57 "..\..\..\WindowControl\FoodDetail.xaml"
                this.BtnRemove.Click += new System.Windows.RoutedEventHandler(this.BtnRemove_Click);

            #line default
            #line hidden
                return;

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

            #line 61 "..\..\..\WindowControl\FoodDetail.xaml"
                this.BtnConfirm.Click += new System.Windows.RoutedEventHandler(this.BtnConfirm_Click);

            #line default
            #line hidden
                return;

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

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

            #line 70 "..\..\..\WindowControl\FoodDetail.xaml"
                this.BtnPickImage.Click += new System.Windows.RoutedEventHandler(this.BtnPickImage_Click);

            #line default
            #line hidden
                return;

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

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

            case 20:
                this.progressBar = ((LoadingPanelSample.Controls.CircularProgressBar)(target));
                return;
            }
            this._contentLoaded = true;
        }