Quantcast
Channel: Infragistics Community
Viewing all articles
Browse latest Browse all 2374

C# to Objective-C - Part 10 : Events

$
0
0
I'm not sure how I missed covering this topic thus far. Events are so basic that they generally are part of anyone's "Hello World" application. Throw a button and a label in an app, click the button, and change the label's text to "Hello World"... So how would we handle a button click? Button Click: C# public MainWindow() { InitializeComponent(); Button button = new Button(); button.Content = "Click Me"; button.Click += new RoutedEventHandler(ClickMe); this...(read more)

Viewing all articles
Browse latest Browse all 2374

Trending Articles