https://github.com/janluksoft/winformdelegate
The project shows how the 'delegate' mechanism works
https://github.com/janluksoft/winformdelegate
c-sharp dotnet visual-studio windows-forms winform
Last synced: about 2 months ago
JSON representation
The project shows how the 'delegate' mechanism works
- Host: GitHub
- URL: https://github.com/janluksoft/winformdelegate
- Owner: janluksoft
- Created: 2022-10-02T22:31:30.000Z (over 3 years ago)
- Default Branch: master
- Last Pushed: 2022-10-03T08:23:55.000Z (over 3 years ago)
- Last Synced: 2025-01-13T21:45:00.040Z (over 1 year ago)
- Topics: c-sharp, dotnet, visual-studio, windows-forms, winform
- Language: C#
- Homepage:
- Size: 44.9 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# WinForm Delegate
The project shows how the 'delegate' mechanism works.
A descendant form called by a parent, normally cannot call the parent's methods. Thanks to the delegate mechanism, it can do so. A delegate is a reference to the parent method. Form1 initializes Form2 and passes it a reference to its method 'jDelegatPrintFromForm1()' Form2 presses its key and writes its text in Form1.
## Details
VS2019 and Target Framework: .NET Framework 4.5.
