Exemplo n.º 1
0
        private void BtnAdd_Click(object sender, EventArgs e)
        {
            FrmClass frmClass = new FrmClass();

            frmClass.ShowDialog();
            if (frmClass.SaveCompleted)
            {
                LoadData();
            }
        }
Exemplo n.º 2
0
 private void BtnView_Click(object sender, EventArgs e)
 {
     if (getId != Guid.Empty)
     {
         FrmClass frmClass = new FrmClass(getId, false);
         frmClass.ShowDialog();
         if (frmClass.SaveCompleted)
         {
             LoadData();
         }
     }
 }