/// <summary> /// The AllowNewFile /// </summary> /// <returns>The <see cref="bool"/></returns> private bool AllowNewFile() { var e = new FileNewingEventArgs() { Cancel = false }; OnFileNewing(e); return(!e.Cancel); }
/// <summary> /// The OnFileNewing /// </summary> /// <param name="e">The e<see cref="FileNewingEventArgs"/></param> private void OnFileNewing(FileNewingEventArgs e) { FileNewing?.Invoke(this, e); }