Наследование: SilverlightFX.UserInterface.Form
Пример #1
0
        private void OnInputButtonClick(object sender, RoutedEventArgs e)
        {
            SimpleForm form = new SimpleForm();
            form.Closed += OnSimpleFormClosed;

            form.Show();
        }
Пример #2
0
        private void OnInputButtonClick(object sender, RoutedEventArgs e)
        {
            SimpleForm form = new SimpleForm();

            form.Closed += OnSimpleFormClosed;

            form.Show();
        }
Пример #3
0
        private void OnSimpleFormClosed(object sender, EventArgs e)
        {
            SimpleForm form = (SimpleForm)sender;

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