Exemplo n.º 1
0
        private void NewClick()
        {
            var c = new VendorContacts(0, TypeAction.Add);

            c.ShowDialog();
            DataLoad();
        }
Exemplo n.º 2
0
 private void ViewClick()
 {
     if (radGridView1.CurrentCell != null)
     {
         int cstm = radGridView1.CurrentCell.RowInfo.Cells["dgvCodetemp"].Value.ToInt();
         var c    = new VendorContacts(cstm, TypeAction.View);
         c.ShowDialog();
         DataLoad();
     }
 }