Beispiel #1
0
        public static Task <ParameterData> showDialog()
        {
            ParameterAdd wizard = new ParameterAdd();

            wizard.ShowAsync();
            return(wizard.source.Task);
        }
Beispiel #2
0
        private async void Button_Click(object sender, RoutedEventArgs e)
        {
            ParameterData inputs = await ParameterAdd.showDialog();

            data.parameters.Add(inputs);
        }