예제 #1
0
        void ActionStep2(string USER_OID
                         , string USERGROUP_OID
                         , string USER_LOGIN
                         , string FName
                         , string LName
                         , string Position
                         , string Addr1
                         , string Telephone
                         , string Email
                         , string PASSWORD
                         , bool active
                         , string userlogin)
        {
            if (blUser.Action(USER_OID, USERGROUP_OID, USER_LOGIN, FName, LName, Position, Addr1, Telephone, Email, PASSWORD, active, userlogin, pageState))
            {
                String message = "";
                switch (pageState)
                {
                case PAction.Add: message = ActionDone.Add.Value; break;

                case PAction.Update: message = ActionDone.Update.Value; break;

                case PAction.Delete: message = ActionDone.Delete.Value; break;
                }
                MessageBox.Show(message, ".:User");
            }
        }