Exemple #1
0
        private void btnNew_Click(object sender, EventArgs e)
        {
            //NewClick();
            var rd = new RoutingDetail(0, TypeAction.Add);

            rd.ShowDialog();

            DataLoad();
        }
Exemple #2
0
 private void btnEdit_Click(object sender, EventArgs e)
 {
     //EditClick();
     if (row >= 0)
     {
         var rd = new RoutingDetail(radGridView1.Rows[row].Cells["dgvCodetemp"].Value.ToInt(), TypeAction.Edit);
         rd.ShowDialog();
         DataLoad();
     }
 }