|
|
От: |
Lloyd
|
|
| Дата: | 08.10.07 07:48 | ||
| Оценка: | +1 | ||
C> public Form1()
C> {
C> InitializeComponent();
C> button1.Click += delegate(object sender, EventArgs e)
C> {
C> // The following code is part of an anonymous method.
C> MessageBox.Show("You clicked the button, and " +
C> "This is an anonymous method!");
C> };
C> }
C>