Exemple #1
0
 private void cmdAdd_Click(object sender, EventArgs e)
 {
     Fixrute.frmKunjunganSalesmanUpdate ifrmChild = new frmKunjunganSalesmanUpdate(this);
     ifrmChild.MdiParent = Program.MainForm;
     Program.MainForm.RegisterChild(ifrmChild);
     ifrmChild.Show();
 }
Exemple #2
0
        private void cmdEdit_Click(object sender, EventArgs e)
        {
            Guid _row = (Guid)customGridView1.SelectedCells[0].OwningRow.Cells["RowID"].Value;

            //string _sales = customGridView1.SelectedCells[0].OwningRow.Cells["KodeSales"].Value.ToString();
            Fixrute.frmKunjunganSalesmanUpdate ifrmChild = new frmKunjunganSalesmanUpdate(this, _row);
            ifrmChild.MdiParent = Program.MainForm;
            Program.MainForm.RegisterChild(ifrmChild);
            ifrmChild.Show();
        }