按键绑定和重置以及加载功能
This commit is contained in:
@@ -19,12 +19,10 @@ namespace NBF
|
||||
public GImage box;
|
||||
[AutoFind(Name = "TextTitle")]
|
||||
public GTextField TextTitle;
|
||||
[AutoFind(Name = "TextContent")]
|
||||
public GTextField TextContent;
|
||||
[AutoFind(Name = "BtnConfirm")]
|
||||
public BtnTitleInputControl BtnConfirm;
|
||||
[AutoFind(Name = "BtnCancel")]
|
||||
public BtnTitleInputControl BtnCancel;
|
||||
[AutoFind(Name = "BtnConfirm")]
|
||||
public BtnTitleInputControl BtnConfirm;
|
||||
public override string[] GetDependPackages(){ return new string[] {}; }
|
||||
|
||||
|
||||
|
||||
@@ -59,10 +59,10 @@ namespace NBF
|
||||
|
||||
protected override void OnShow()
|
||||
{
|
||||
TextTitle.SetLanguage(_title);
|
||||
// TextTitle.SetLanguage(_title);
|
||||
BtnConfirm.SetLanguage(_confirmText);
|
||||
BtnCancel.SetLanguage(_cancelText);
|
||||
TextContent.SetLanguage(_content);
|
||||
TextTitle.SetLanguage(_content);
|
||||
MessageStyle.selectedIndex = _style;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user