Here are the examples of the csharp api class System.Windows.Forms.Form.Do(System.Action) taken from open source projects. By voting up you can indicate which examples are most useful and appropriate.
2 Examples
0
1. Example
Project: DevExpress.Mvvm.Free
Source File: SplashScreenOwner.cs
Source File: SplashScreenOwner.cs
void SubscribeParentEvents() { if(Parent == null) return; Parent.Window.Do(x => x.Closed += OnParentClosed); Parent.Form.Do(x => x.FormClosed += OnParentClosed); SubscribeParentEventsOverride(); }
0
2. Example
Project: DevExpress.Mvvm.Free
Source File: SplashScreenOwner.cs
Source File: SplashScreenOwner.cs
void UnsubscribeParentEvents() { if(Parent == null) return; Parent.Window.Do(x => x.Closed -= OnParentClosed); Parent.Form.Do(x => x.FormClosed -= OnParentClosed); UnsubscribeParentEventsOverride(); }