Example #1
0
 protected virtual void CloseEvent(QCloseEvent arg1)
 {
     interceptor.Invoke("closeEvent#", "closeEvent(QCloseEvent*)", typeof(void), typeof(QCloseEvent), arg1);
 }
 protected virtual void CloseEvent(QCloseEvent arg1)
 {
 }
Example #3
0
 protected override void CloseEvent(QCloseEvent arg1)
 {
     interceptor.Invoke("closeEvent#", "closeEvent(QCloseEvent*)", typeof(void), typeof(QCloseEvent), arg1);
 }
Example #4
0
 protected override void CloseEvent(Qyoto.QCloseEvent arg1)
 {
     base.CloseEvent(arg1);
     SaveGeometry();
 }
Example #5
0
        protected override void CloseEvent(QCloseEvent evnt)
        {
            while (m_Tabs.Count > 0)
                HandleCloseTab(null);

            var geometry = QByteArrayConverter.ToArray(base.SaveGeometry());
            var settingsService = ServiceManager.Get<SettingsService>();
            settingsService.Set("ChatsWindowGeometry", geometry);

            this.Hide();
            evnt.Accept();
        }
Example #6
0
        protected override void CloseEvent(QCloseEvent evnt)
        {
            if (Closed != null)
                Closed(this, EventArgs.Empty);

            m_Handler.NewContent -= HandleNewContent;
            m_Handler.Dispose();
            m_Handler = null;

            evnt.Accept();
        }
Example #7
0
 protected override void CloseEvent(QCloseEvent e)
 {
     interceptor.Invoke("closeEvent#", "closeEvent(QCloseEvent*)", typeof(void), typeof(QCloseEvent), e);
 }
Example #8
0
        protected override void CloseEvent(QCloseEvent evnt)
        {
            while (m_Tabs.Count > 0)
                HandleCloseTab(null);

            this.Hide();
            evnt.Accept();
        }