SH
    
        
            Conditional OnStop()
            
                 23 Oct 2019, 10:05
            
                    
A conditional Onstop would be a nice to have. Sometimes the wrong button is clicked. A confirmation before quiting is then the daysaver.
like:
    protected override void OnStop()
    {
          return MessageBox.Show("Are you Sure?", "Stop Request", buttons, MessageBoxIcon.Information, MessageBoxDefaultButton.Button1, MessageBoxOptions.DefaultDesktopOnly)== DialogResult.OK;
    }
                         cTrader Automate
        
        
        @Shares4UsDevelopment
    