// Token: 0x060003C9 RID: 969 RVA: 0x0000CC5F File Offset: 0x0000AE5F protected override void OnClosing(CancelEventArgs e) { base.OnClosing(e); if (!e.Cancel && !(this is MetroTaskWindow)) { MetroTaskWindow.ForceClose(); } }
protected override void OnClosing(CancelEventArgs e) { base.OnClosing(e); if (e.Cancel) { return; } // TODO: This looks wrong / assuming that there's only one window if (!(this is MetroTaskWindow)) { MetroTaskWindow.ForceClose(); } }
protected override void OnClosing(CancelEventArgs e) { if (!(this is MetroTaskWindow)) { MetroTaskWindow.ForceClose(); } if (metroDropShadowForm != null) { metroDropShadowForm.Visible = false; metroDropShadowForm.Owner = null; metroDropShadowForm = null; } base.OnClosing(e); }