Exemple #1
0
        private void btn_add_sales_Click(object sender, EventArgs e)
        {
            FormCashier add = new FormCashier("add");

            add.RefreshDgv += new FormCashier.DoEvent(Load_Data_Sales);
            //dataGridView1.Columns[0].Visible = false;
            add.ShowDialog();
        }
Exemple #2
0
 private void editPenjualanToolStripMenuItem_Click(object sender, EventArgs e)
 {
     if (indexDatagrid != "")
     {
         FormCashier add = new FormCashier(indexDatagrid, "edit");
         add.RefreshDgv += new FormCashier.DoEvent(Load_Data_Sales);
         //dataGridView1.Columns[0].Visible = false;
         add.ShowDialog();
     }
     else
     {
         MessageBox.Show("Pilih Data Yang Akan Diedit", "Error", MessageBoxButtons.OK, MessageBoxIcon.Error);
     }
 }
Exemple #3
0
        private void bunifuImageButton2_Click(object sender, EventArgs e)
        {
            FormCashier sl = new FormCashier("cashier");

            sl.ShowDialog();
        }