예제 #1
0
 private void button11_Click(object sender, EventArgs e)
 {
     try
     {
         if (dataGridView1[7, dataGridView1.CurrentRow.Index].Value.ToString() == "belum diambil")
         {
             ambil      = new AmbilBarang();
             ambil.Kode = dataGridView1[0, dataGridView1.CurrentRow.Index].Value.ToString();
             ambil.main = this;
             ambil.ShowDialog();
         }
     }
     catch (Exception ex)
     {
         MessageBox.Show(ex.Message, "Error", MessageBoxButtons.OK, MessageBoxIcon.Error);
     }
 }
예제 #2
0
 private void button11_Click(object sender, EventArgs e)
 {
     try
     {
         if (dataGridView1[7, dataGridView1.CurrentRow.Index].Value.ToString() == "belum diambil")
         {
             ambil = new AmbilBarang();
             ambil.Kode = dataGridView1[0, dataGridView1.CurrentRow.Index].Value.ToString();
             ambil.main = this;
             ambil.ShowDialog();
         }
     }
     catch (Exception ex)
     {
         MessageBox.Show(ex.Message, "Error", MessageBoxButtons.OK, MessageBoxIcon.Error);
     }
 }