コード例 #1
0
        private void addAccountLogic()
        {
            ClearComponentRessources(adminComponentPanel);
            form = new Account.Component.FormAddOrEditAccountComponent();
            ChangeComponent(adminComponentPanel, form);

            isAddOrEditComponentActive = true;
            isShowComponentActive      = false;
        }
コード例 #2
0
        private void editAccountLogic()
        {
            if (showComponent.getCurrentAccount() != null)
            {
                Model.Account tempAccount = showComponent.getCurrentAccount();
                ClearComponentRessources(adminComponentPanel);
                form = new Account.Component.FormAddOrEditAccountComponent(tempAccount);
                ChangeComponent(adminComponentPanel, form);

                isAddOrEditComponentActive = true;
                isShowComponentActive      = false;
            }
        }