Beispiel #1
0
        public void Stop_Clicked(object sender, RoutedEventArgs e)
        {
            var curItem = ServiceList.ContainerFromElement(sender as Button) as ListBoxItem;
            var service = curItem.DataContext as ServiceModel;

            service.RunStopCommand();
        }