909
Evaluating Custom Drawing. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 910
A Custom-Drawn Element . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 911
A Custom Decorator . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 913
The Last Word . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 915
nCONTENTS xx
nCHAPTER 25 Interacting with Windows Forms . . . . . . . . . . . . . . . . . . . . . . . . . 917
Assessing Interoperability . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 917
Missing Features in WPF . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 918
Mixing Windows and Forms . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 920
Adding Forms to a WPF Application . . . . . . . . . . . . . . . . . . . . . . . . . . 920
Adding WPF Windows to a Windows Forms Application. . . . . . . . . 921
Showing Modal Windows and Forms . . . . . . . . . . . . . . . . . . . . . . . . . 922
Showing Modeless Windows and Forms . . . . . . . . . . . . . . . . . . . . . . 922
Visual Styles for Windows Forms Controls . . . . . . . . . . . . . . . . . . . . 923
Windows Forms Classes That Don??™t Need Interoperability . . .
Pages:
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58