示例#1
0
        private bool OnClose(CloseEvent ev)
        {
            var tmp = CloseEvent;

            tmp?.Invoke(this, ev);
            return(ev.Accepted);
        }
示例#2
0
 void MyMainWindow_CloseEvent(object sender, Qt.CloseEvent e)
 {
     //e.Ignore ();
 }