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

            case 2:
                this.btn_add_category = ((Inventory_Management.Windows.Controls.Btn)(target));
                return;

            case 3:
                this.btn_sell = ((Inventory_Management.Windows.Controls.Btn)(target));
                return;

            case 4:
                this.btn_store = ((Inventory_Management.Windows.Controls.Btn)(target));
                return;

            case 5:
                this.btn_history = ((Inventory_Management.Windows.Controls.Btn)(target));
                return;

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

            case 7:
                this.dg_sell = ((System.Windows.Controls.DataGrid)(target));
                return;
            }
            this._contentLoaded = true;
        }
示例#2
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.txt_name = ((System.Windows.Controls.TextBox)(target));
                return;

            case 2:
                this.txt_description = ((System.Windows.Controls.RichTextBox)(target));
                return;

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

            case 4:
                this.btn_add = ((Inventory_Management.Windows.Controls.Btn)(target));
                return;

            case 5:
                this.btn_delete = ((Inventory_Management.Windows.Controls.Btn)(target));
                return;
            }
            this._contentLoaded = true;
        }
示例#3
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.btn_add = ((Inventory_Management.Windows.Controls.Btn)(target));
                return;

            case 2:
                this.btn_edit = ((Inventory_Management.Windows.Controls.Btn)(target));
                return;

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

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

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

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

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

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

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

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

            case 11:
                this.btn_search = ((Inventory_Management.Windows.Controls.Btn)(target));
                return;

            case 12:
                this.btn_reset = ((Inventory_Management.Windows.Controls.Btn)(target));
                return;

            case 13:
                this.dg_products = ((System.Windows.Controls.DataGrid)(target));
                return;
            }
            this._contentLoaded = true;
        }
示例#4
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.hf_header = ((Inventory_Management.Windows.Fragments.HeaderFragment)(target));
                return;

            case 2:
                this.btn_save = ((Inventory_Management.Windows.Controls.Btn)(target));
                return;

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

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

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

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

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

            case 8:
                this.txt_serial = ((System.Windows.Controls.PasswordBox)(target));
                return;

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

            case 10:
                this.txt_password = ((System.Windows.Controls.PasswordBox)(target));
                return;

            case 11:
                this.txt_confirmation = ((System.Windows.Controls.PasswordBox)(target));
                return;
            }
            this._contentLoaded = true;
        }
示例#5
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.btn_sell = ((Inventory_Management.Windows.Controls.Btn)(target));
                return;

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

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

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

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

            case 6:
                this.btn_add = ((Inventory_Management.Windows.Controls.Btn)(target));
                return;

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

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

            case 9:
                this.btn_cancel = ((Inventory_Management.Windows.Controls.Btn)(target));
                return;

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

            case 2:
                this.btn_refill = ((Inventory_Management.Windows.Controls.Btn)(target));
                return;

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

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

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

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

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

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

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

            case 8:
                this.btn_browse = ((Inventory_Management.Windows.Controls.Btn)(target));
                return;

            case 9:
                this.btn_add = ((Inventory_Management.Windows.Controls.Btn)(target));
                return;
            }
            this._contentLoaded = true;
        }
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.hf_header = ((Inventory_Management.Windows.Fragments.HeaderFragment)(target));
                return;

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

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

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

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

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

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

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

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

            case 7:
                this.btn_search = ((Inventory_Management.Windows.Controls.Btn)(target));
                return;

            case 8:
                this.dg_details = ((System.Windows.Controls.DataGrid)(target));
                return;
            }
            this._contentLoaded = true;
        }