/// <summary>
        ///
        /// </summary>
        /// <param name="Ctrl"></param>
        /// <param name="CancelDefault"></param>
        void _scsCallRulesButton_Click(CommandBarButton Ctrl, ref bool CancelDefault)
        {
            try
            {
                CallRulesWindow wnd = new CallRulesWindow();
                wnd.ShowDialog();
            }

            catch (System.Exception ex)
            {
                Logger.WriteEntry(LogLevel.Error, "Exception :" + ex.GetType() + " " + ex.Message + " " + ex.StackTrace);
                MessageBox.Show(ex.Message);
            }
        }
Exemple #2
0
        /// <summary>
        /// 
        /// </summary>
        /// <param name="Ctrl"></param>
        /// <param name="CancelDefault"></param>
        void _scsCallRulesButton_Click(CommandBarButton Ctrl, ref bool CancelDefault)
        {
            try
            {
                CallRulesWindow wnd = new CallRulesWindow();
                wnd.ShowDialog();
            }

            catch (System.Exception ex)
            {
                Logger.WriteEntry(LogLevel.Error, "Exception :" + ex.GetType() + " " + ex.Message + " " + ex.StackTrace);
                MessageBox.Show(ex.Message);
            }
        }