コード例 #1
0
        private void btn_prod_view_Click(object sender, EventArgs e)
        {
            model = new Store.product();
            DisplaySupplierPanel.SetBounds(302, 02, 1055, 624);
            get_Table();
            DisplaySupplierPanel.Visible = true;

            clear_grid_pnl_fields();
            DisplayPanel.Visible   = false;
            AddRecordPanel.Visible = false;
            sup_btnshow();
            pnl_home.Visible = false;
            //AddCustomerPanel.Visible = false;
            AddSupplierPanel.Visible = false;
            AddProductPanel.Visible  = false;
            txt_search.Enabled       = true;
            label98.Text             = "PRODUCT RECORDS";
        }
コード例 #2
0
        private void btn_Order_View_Click(object sender, EventArgs e)
        {
            model = new Store.order();
            DisplaySupplierPanel.SetBounds(302, 02, 1055, 624);
            DisplaySupplierPanel.Visible = true;
            // DataGridView.DataSource = new Store.order().display_order();
            get_Table();
            //DisplayCustomerPanel.Visible = false;
            DisplayPanel.Visible   = false;
            AddRecordPanel.Visible = false;
            pnl_home.Visible       = false;
            sup_btnshow();
            //AddCustomerPanel.Visible = false;
            txt_search.Enabled = true;

            AddSupplierPanel.Visible = false;
            AddProductPanel.Visible  = false;
            label98.Text             = "ORDER RECORDS";
        }
コード例 #3
0
        private void btn_Stok_View_Click(object sender, EventArgs e)
        {
            model = new Store.stock();
            DisplaySupplierPanel.SetBounds(302, 02, 1055, 624);
            DisplaySupplierPanel.Visible = true;
            DataGridView.DataSource      = new Store.stock().display_stock();
            //DisplayCustomerPanel.Visible = false;
            DisplayPanel.Visible   = false;
            AddRecordPanel.Visible = false;
            sup_btnshow();
            clear_grid_pnl_fields();
            pnl_home.Visible = false;
            //AddCustomerPanel.Visible = false;
            txt_search.Enabled = true;

            AddSupplierPanel.Visible = false;
            AddProductPanel.Visible  = false;
            TakeOrderPanel.Visible   = false;
            label98.Text             = "STOCK";
        }
コード例 #4
0
        private void btn_Suplier_view_Click(object sender, EventArgs e)
        {
            model = new Store.supliers();
            DisplaySupplierPanel.SetBounds(302, 02, 1055, 624);
            DataGridView.DataSource         = null;
            lbl_suplist_in_show_sup.Visible = true;
            btn_show_suplier_prod.Visible   = true;
            como_sup_in_show_sup.Visible    = true;

            txt_search.Enabled = false;

            DisplaySupplierPanel.Visible = true;
            clear_grid_pnl_fields();
            como_sup_in_show_sup.Items.Clear();
            DisplayPanel.Visible   = false;
            AddRecordPanel.Visible = false;
            pnl_home.Visible       = false;
            SupplierNameComboBox.Items.Clear();
            set_SupplierNameCombo();
            // AddCustomerPanel.Visible = false;
            AddSupplierPanel.Visible = false;
            AddProductPanel.Visible  = false;
            label98.Text             = "SUPPLIER RECORDS";
        }