Exemplo n.º 1
0
 private void btnSave_Click(object sender, EventArgs e)
 {
     if (VariableFacade.UpdateMenuSelection((PxMenuSelection)pxMenuSelectionBindingSource.DataSource))
     {
         MessageBox.Show("Menu selection saved succesfuly", "Information", MessageBoxButtons.OK, MessageBoxIcon.Information);
     }
     else
     {
         MessageBox.Show("Can not save Menu Selection", "Error", MessageBoxButtons.OK, MessageBoxIcon.Error);
     }
 }