Quantcast
Channel: Windows Presentation Foundation (WPF) forum
Viewing all articles
Browse latest Browse all 18858

Parameter passing from one xaml window to other xaml windo

$
0
0

i want to pass parameter from current window to next window....

 public  KinectSensorChooser sensorChooser;

sensorChooser object i want to pass on next page. below line, event fire to jump on next page

        public void TrackButtonOnClick(object sender, RoutedEventArgs e)
        {
            sensorChooser.Stop();
            Exercise ex = new Exercise();
      
            
            ex.Show();
            this.Close();
        }

And here i want to receive that object,

        public Exercise()
        {
            InitializeComponent();

        } 


Viewing all articles
Browse latest Browse all 18858

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>