Exemple #1
0
        public async Task DisableIt(MyUserAdapterModel item)
        {
            if (item.Account.ToLower() == MagicHelper.開發者帳號)
            {
                MessageBox.Show("400px", "200px", "警告",
                                "開發者帳號不可以被停用", MessageBox.HiddenAsync);
                return;
            }
            await CurrentService.DisableIt(item);

            dataGrid.RefreshGrid();
        }