| | |
| | | btnUserIcon.Y = frameWhite.Y - Application.GetRealHeight(109);
|
| | | btnUserIcon.MouseUpEventHandler += (sender, e) =>
|
| | | {
|
| | | if (Common.Config.Instance.Home.IsVirtually == true)
|
| | | {
|
| | | //如果改住宅为虚拟住宅,则此功能无效
|
| | | return;
|
| | | }
|
| | | var form = new UserInformationForm();
|
| | | form.AddForm();
|
| | | };
|
| | |
| | | var frame = this.CreatMainMenuControl(frameMenu, TextID, unSelectPic);
|
| | | frame.ButtonClickEvent += (sender, e) =>
|
| | | {
|
| | | if (Common.Config.Instance.Home.IsVirtually == true)
|
| | | {
|
| | | //如果改住宅为虚拟住宅,则此功能无效
|
| | | return;
|
| | | }
|
| | | var form = new Member.MemberListForm();
|
| | | form.AddForm();
|
| | | };
|
| | |
| | | var frame = this.CreatMainMenuControl(frameMenu, TextID, unSelectPic);
|
| | | frame.ButtonClickEvent += (sender, e) =>
|
| | | {
|
| | | if (Common.Config.Instance.Home.IsVirtually == true)
|
| | | {
|
| | | //如果改住宅为虚拟住宅,则此功能无效
|
| | | return;
|
| | | }
|
| | | var form = new Safety.SafetyManagementMainForm();
|
| | | form.AddForm();
|
| | | };
|
| | |
| | | btnBackView.X -= ControlCommonResourse.XXLeft / 2;
|
| | | rowback.ButtonClickEvent += (sender, e) =>
|
| | | {
|
| | | if (Common.Config.Instance.Home.IsVirtually == true)
|
| | | {
|
| | | //如果改住宅为虚拟住宅,则此功能无效
|
| | | return;
|
| | | }
|
| | | var form = new HdlBackup.HdlBackupListForm();
|
| | | form.AddForm();
|
| | | };
|
| | |
| | | btnAbountView.X -= ControlCommonResourse.XXLeft / 2;
|
| | | rowAbount.ButtonClickEvent += (sender, e) =>
|
| | | {
|
| | | if (Common.Config.Instance.Home.IsVirtually == true)
|
| | | {
|
| | | //如果改住宅为虚拟住宅,则此功能无效
|
| | | return;
|
| | | }
|
| | | var form = new Abount.AbountForm();
|
| | | form.AddForm();
|
| | | };
|