Exemplo n.º 1
0
        private void btnEdit_Click(object sender, EventArgs e)
        {
            if (DGVKunjunganCollector.SelectedCells.Count > 0)
            {
                Guid _rowID = (Guid)DGVKunjunganCollector.SelectedCells[0].OwningRow.Cells["ROWID"].Value;


                AKC.frmKunjunganCollectorUpdate ifrmChild = new AKC.frmKunjunganCollectorUpdate(this, _rowID);
                Program.MainForm.RegisterChild(ifrmChild);
                ifrmChild.ShowDialog();
            }
        }
Exemplo n.º 2
0
 private void btnAdd_Click(object sender, EventArgs e)
 {
     AKC.frmKunjunganCollectorUpdate ifrmChild = new AKC.frmKunjunganCollectorUpdate(this);
     Program.MainForm.RegisterChild(ifrmChild);
     ifrmChild.ShowDialog();
 }