未登录时的默认状态更新

This commit is contained in:
LittleBoy 2024-04-16 23:52:57 +08:00
parent ab0bf64ff9
commit cce4e0fb1d
7 changed files with 15 additions and 12 deletions

Binary file not shown.

View File

@ -38,8 +38,6 @@ namespace AIProofread
{ {
this.tabAIProofread = this.Factory.CreateRibbonTab(); this.tabAIProofread = this.Factory.CreateRibbonTab();
this.group1 = this.Factory.CreateRibbonGroup(); this.group1 = this.Factory.CreateRibbonGroup();
this.LblNickname = this.Factory.CreateRibbonLabel();
this.LblDate = this.Factory.CreateRibbonLabel();
this.BtnProofreadAll = this.Factory.CreateRibbonButton(); this.BtnProofreadAll = this.Factory.CreateRibbonButton();
this.btnClear = this.Factory.CreateRibbonButton(); this.btnClear = this.Factory.CreateRibbonButton();
this.btnOpenLexicon = this.Factory.CreateRibbonButton(); this.btnOpenLexicon = this.Factory.CreateRibbonButton();
@ -48,6 +46,8 @@ namespace AIProofread
this.BtnUpdate = this.Factory.CreateRibbonButton(); this.BtnUpdate = this.Factory.CreateRibbonButton();
this.btnLogin = this.Factory.CreateRibbonButton(); this.btnLogin = this.Factory.CreateRibbonButton();
this.btnLogout = this.Factory.CreateRibbonButton(); this.btnLogout = this.Factory.CreateRibbonButton();
this.LblNickname = this.Factory.CreateRibbonLabel();
this.LblDate = this.Factory.CreateRibbonLabel();
this.tabAIProofread.SuspendLayout(); this.tabAIProofread.SuspendLayout();
this.group1.SuspendLayout(); this.group1.SuspendLayout();
this.SuspendLayout(); this.SuspendLayout();
@ -73,16 +73,6 @@ namespace AIProofread
this.group1.Items.Add(this.LblDate); this.group1.Items.Add(this.LblDate);
this.group1.Name = "group1"; this.group1.Name = "group1";
// //
// LblNickname
//
this.LblNickname.Label = "xxx 已登录";
this.LblNickname.Name = "LblNickname";
//
// LblDate
//
this.LblDate.Label = "过期时间:";
this.LblDate.Name = "LblDate";
//
// BtnProofreadAll // BtnProofreadAll
// //
this.BtnProofreadAll.ControlSize = Microsoft.Office.Core.RibbonControlSize.RibbonControlSizeLarge; this.BtnProofreadAll.ControlSize = Microsoft.Office.Core.RibbonControlSize.RibbonControlSizeLarge;
@ -153,8 +143,21 @@ namespace AIProofread
this.btnLogout.Label = "退出登录\n"; this.btnLogout.Label = "退出登录\n";
this.btnLogout.Name = "btnLogout"; this.btnLogout.Name = "btnLogout";
this.btnLogout.ShowImage = true; this.btnLogout.ShowImage = true;
this.btnLogout.Visible = false;
this.btnLogout.Click += new Microsoft.Office.Tools.Ribbon.RibbonControlEventHandler(this.btnLogout_Click); this.btnLogout.Click += new Microsoft.Office.Tools.Ribbon.RibbonControlEventHandler(this.btnLogout_Click);
// //
// LblNickname
//
this.LblNickname.Label = "xxx 已登录";
this.LblNickname.Name = "LblNickname";
this.LblNickname.Visible = false;
//
// LblDate
//
this.LblDate.Label = "过期时间:";
this.LblDate.Name = "LblDate";
this.LblDate.Visible = false;
//
// Ribbon1 // Ribbon1
// //
this.Name = "Ribbon1"; this.Name = "Ribbon1";