建立特定于用户的C#Windows应用程序 [英] buliding user specific C# windows application

查看:114
本文介绍了建立特定于用户的C#Windows应用程序的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好,

希望玩得开心!

我正在构建应该针对用户的C#win产品.我有一个带有在主屏幕中加载的带有用户控件(将主菜单项描述为块)的表单.登录的客户可以在该菜单中添加/删除必要的任务.现在,我必须保留特定客户的菜单设置,并在他下次登录时取回它们.

我需要知道数据源"(XML/db),该数据源可用于将设置移入和移出以及相应的代码示例.

您能帮我提供执行以上操作的可能方法和代码示例吗?

Hi All,

Hope having a great fun!

I''m building a C# win product which should be user specific. I have a form with user controls(which depicts the main menu items as blocks) loaded in the main screen. The customer logged in can add/remove the necessary tasks to that menu. Now I have to persist the specific customer''s menu settings and retrieve them back when he logs in next time.

I need to know the "data source"(XML/db) that can be used to move the settings to and from and the respective code sample.

Can you please assist me with the possible ways and the code sample to perform the above?

推荐答案

这是一篇老文章,但是这样做的天堂从那时起t确实发生了变化,所以我认为这对您来说将是一个宝贵的起点:
C#中的Windows窗体用户设置 [
This is an old article, but the mechanics of doing this haven''t really changed since then so I think it will be a valuable starting point for you:
Windows Forms User Settings in C#[^]


这篇关于建立特定于用户的C#Windows应用程序的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆