public void Button1_Click(NeoAxis.UIButton sender) { //access to UIControl var control = sender.ParentRoot as UIControl; MessageBoxWindow.ShowInfo(control, "The text of the message.", "Message"); }
public void Button2_Click(NeoAxis.UIButton sender) { //get UIControl var control = sender.ParentRoot as UIControl; //show message box MessageBoxWindow.ShowInfo(control, "The text of the message.", "Message"); }