Exemple #1
0
        private void btnOk_Click(object sender, EventArgs e)
        {
            User             user      = objectBindTool.DataObject;
            Operation <User> operation = OperationHandler.PostUser(user);

            if (operation.Successful)
            {
                this.Close();
            }
            else
            {
                XtraMessageBox.Show(operation.Fail);
            }
        }