Inheritance: SilverlightFX.UserInterface.Form
示例#1
0
        private void OnInputButtonClick(object sender, RoutedEventArgs e)
        {
            SimpleForm form = new SimpleForm();
            form.Closed += OnSimpleFormClosed;

            form.Show();
        }
        private void OnInputButtonClick(object sender, RoutedEventArgs e)
        {
            SimpleForm form = new SimpleForm();

            form.Closed += OnSimpleFormClosed;

            form.Show();
        }
        private void OnSimpleFormClosed(object sender, EventArgs e)
        {
            SimpleForm form = (SimpleForm)sender;

            if (form.Result == FormResult.OK)
            {
                greetingLabel.Text = "Hello " + form.Input + "!";
            }
        }