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 Button_Click(NeoAxis.UIButton sender)
 {
     foreach (var itm in SimulationApp.PlayerInv.items)
     {
         ScreenMessages.Add("test - " + itm.Name + ", " + itm.Index + ", " + itm.Current + ", " + itm.Max);
     }
 }
        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");
        }
예제 #4
0
        public void Button_Click(NeoAxis.UIButton sender)
        {
            //close window
            RemoveFromParent(true);

            var data = (ButtonData)sender.AnyData;

            data.ResultData.Result = data.DialogResult;
        }
예제 #5
0
 public void ButtonMenu_Click(NeoAxis.UIButton sender)
 {
     OpenOrCloseMenu();
 }
예제 #6
0
        public void ButtonExit_Click(NeoAxis.UIButton sender)
        {
			SimulationApp.ChangeUIScreen( @"Base\UI\Screens\MainMenuScreen.ui" );
        }
 public void Button2_Click(NeoAxis.UIButton sender)
 {
 }
 public void ButtonMessageBox_Click(NeoAxis.UIButton sender)
 {
     MessageBoxWindow.ShowInfo(this, "The text of the message.", "Message");
 }
 public void ButtonSystemMessageBox_Click(NeoAxis.UIButton sender)
 {
     //MessageBox.Show( "The text of the message.", "Message", MessageBoxButtons.OK, MessageBoxIcon.Information );
 }
 public void ButtonExit_Click(NeoAxis.UIButton sender)
 {
     EngineApp.NeedExit = true;
 }