Esempio n. 1
0
        private void ShowWhiteSpace(object sender, EventArgs e)
        {
            ToolStripButton tsb = (ToolStripButton)sender;

            if (MDockArea.ActiveDocument.GetType().Equals(typeof(CodeEditor)))
            {
                CodeEditor ce = (CodeEditor)MDockArea.ActiveDocument;
                ce.ShowWhiteSpace(tsb.Checked);
            }
        }