Exemple #1
0
        private void chkShowBehaviorFlags_CheckedChanged(object sender, EventArgs e)
        {
            DebugOutputDest dbgdest = (DebugOutputDest)GetComboBoxEnum(cboDebugOutput);

            if (chkShowBehaviorFlags.Checked && dbgdest == DebugOutputDest.None)
            {
                chkShowBehaviorFlags.Checked = false;
            }

            chkShowBehaviorFlags.Enabled = (dbgdest != DebugOutputDest.None);
        }
Exemple #2
0
        private void chkDebugLogging_CheckedChanged(object sender, EventArgs e)
        {
            DebugOutputDest dbgdest = (DebugOutputDest)GetComboBoxEnum(cboDebugOutput);

            if (chkDebugCasting.Checked && dbgdest == DebugOutputDest.None)
            {
                chkDebugCasting.Checked = false;
            }

            chkDebugCasting.Enabled = (dbgdest != DebugOutputDest.None);
        }