示例#1
0
        void EDIT()
        {
            if (dgvKENDARAAN.SelectedCells.Count > 0)
            {
                int    id    = Convert.ToInt32(dgvKENDARAAN.SelectedCells[0].OwningRow.Cells["ID"].Value.ToString());
                string nopol = dgvKENDARAAN.SelectedCells[0].OwningRow.Cells["NOPOL"].Value.ToString();
                c.ID    = id;
                c.NOPOL = nopol;

                MASTER.SUBMASTER.FormKENDARAAN frm = new LOGISTICMANAGAMENTSYSTEM.MASTER.SUBMASTER.FormKENDARAAN(this, 1, c);
                frm.ShowDialog();
            }
        }
 void TAMBAH()
 {
     MASTER.SUBMASTER.FormKENDARAAN frm = new LOGISTICMANAGAMENTSYSTEM.MASTER.SUBMASTER.FormKENDARAAN(this, 0, null);
     frm.ShowDialog();
 }
        void EDIT()
        {
            if (dgvKENDARAAN.SelectedCells.Count > 0)
            {
                int id = Convert.ToInt32(dgvKENDARAAN.SelectedCells[0].OwningRow.Cells["ID"].Value.ToString());
                string nopol = dgvKENDARAAN.SelectedCells[0].OwningRow.Cells["NOPOL"].Value.ToString();
                c.ID = id;
                c.NOPOL = nopol;

                MASTER.SUBMASTER.FormKENDARAAN frm = new LOGISTICMANAGAMENTSYSTEM.MASTER.SUBMASTER.FormKENDARAAN(this, 1, c);
                frm.ShowDialog();
            }
        }
示例#4
0
 void TAMBAH()
 {
     MASTER.SUBMASTER.FormKENDARAAN frm = new LOGISTICMANAGAMENTSYSTEM.MASTER.SUBMASTER.FormKENDARAAN(this, 0, null);
     frm.ShowDialog();
 }