125
saveButton.Enabled = String.IsNullOrEmpty(titleTextBox.Content);
1
using System;
2
3
public class Program
4
{
5
6
public abstract class DialogBox
7
{
8
public abstract void Changed(UIControl control);
9
}
10
11
12
public class UIControl
13
{
14
protected DialogBox owner;
15
16
public UIControl(DialogBox owner)
17
{
18
this.owner = owner;
19
}
20
}
21
22
public class ListBox: UIControl
23
{
24
private string selection;
Cached Result
TextBox: Article 1
Button: True
Button: True