private void r_sales_bakButton_Click(object sender, EventArgs e)
        {
            cal_productDetails cal1 = new cal_productDetails();

            cal1.Visible = true;
            this.Dispose();
        }
Beispiel #2
0
        private void button4_Click(object sender, EventArgs e)
        {
            cal_productDetails cal = new cal_productDetails();

            cal.Visible  = true;
            this.Visible = false;
        }
        private void addRejectSales_button_Click(object sender, EventArgs e)
        {
            if (dba.addSalesR_details(R_sales_id.Text, R_sales_cat.Text, R_sales_allocation.Text, R_sales_unitPrice.Text, R_sales_quality.Text, R_sales_reason.Text, R_sales_date.Text, R_sales_month.Text))

            {
                MessageBox.Show("Successfully added");
            }
            else
            {
                MessageBox.Show("Error!");
            }

            this.Dispose();
            cal_productDetails cp = new cal_productDetails();

            cp.Show();

            cp.FillGrid124();
        }