protected internal void FireLoadRequested(LoadRequestedEventArgs e) { EventHandler <LoadRequestedEventArgs> tmp = LoadRequested; if (tmp != null) { tmp(this, e); } }
// --- load, save --- public bool Load() { LoadRequestedEventArgs e = new LoadRequestedEventArgs(); FireLoadRequested(e); if (!e.Canceled) { IsBufferDirty = false; } return(!e.Canceled); }