Exemplo n.º 1
0
 private void btnMemberApp_Click(object sender, EventArgs e)
 {
     SLS.Static.ID = 0;
     var child = new SLS.Member.Application.MembershipApplication();
     child.FormClosed += closedMemberApp;
     child.ShowDialog();
 }
Exemplo n.º 2
0
 private void btnUpdate_Click(object sender, EventArgs e)
 {
     if (SLS.Static.ID != 0)
         {
             var child = new SLS.Member.Application.MembershipApplication();
             child.FormClosed += closedMemberApp;
             child.ShowDialog();
         }
         else
         {
             MessageBox.Show("Please select data from the database.", "Error", MessageBoxButtons.OK);
         }
 }