Ejemplo n.º 1
0
        private void tsAddNew_Click(object sender, EventArgs e)
        {
            Manp_CardTransaction manp = new Manp_CardTransaction();

            manp.IsEditMode = true;
            manp.ShowDialog();
            RefreshData();
        }
Ejemplo n.º 2
0
 private void tsView_Click(object sender, EventArgs e)
 {
     if (gvData.GetFocusedRow() is CardFicheLineView lineView)
     {
         Manp_CardTransaction manp = new Manp_CardTransaction();
         manp.Id         = lineView.CardFicheId;
         manp.IsEditMode = false;
         manp.ShowDialog();
         RefreshData();
     }
 }