41 lines
927 B
C#
Raw Normal View History

namespace Sunny.UI.Demo
2020-05-11 21:11:29 +08:00
{
public partial class FAvatar : UIPage
2020-05-11 21:11:29 +08:00
{
public FAvatar()
{
InitializeComponent();
}
2022-07-03 11:28:07 +08:00
public override void Init()
{
base.Init();
uiGifAvatar1.Active = true;
}
public override void Final()
{
base.Final();
uiGifAvatar1.Active = false;
}
private void uiAvatar4_Click(object sender, System.EventArgs e)
2020-05-11 21:11:29 +08:00
{
uiContextMenuStrip1.Show(uiAvatar4, 0, uiAvatar4.Height);
}
public override bool SetParam(int fromPageIndex, params object[] objects)
{
if (fromPageIndex == 1002 && objects.Length == 1)
{
uiLabel1.Text = objects[0].ToString();
return true;
}
else
{
return false;
}
}
2020-05-11 21:11:29 +08:00
}
}