private bool OnClose(CloseEvent ev) { var tmp = CloseEvent; tmp?.Invoke(this, ev); return(ev.Accepted); }
void MyMainWindow_CloseEvent(object sender, Qt.CloseEvent e) { //e.Ignore (); }