29 lines
680 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();
}
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
}
}