Minor fix to RTB and logic to set font for Debug

Comment-out debug code
This commit is contained in:
Rich
2009-03-28 22:32:25 +00:00
parent 0288bddba7
commit c56e3f07ef
2 changed files with 9 additions and 3 deletions

View File

@@ -35,7 +35,7 @@ namespace Volian.Controls.Library
_MyStepRTB = value;
if (value != null)
{
Console.WriteLine(string.Format("StepTabRibbon: In set of MyStepRTB, Selected Text = {0}", MyStepRTB.SelectedText));
//Console.WriteLine(string.Format("StepTabRibbon: In set of MyStepRTB, Selected Text = {0}", MyStepRTB.SelectedText));
_ContextMenuBar.SetContextMenuEx(_MyStepRTB, btnCMRtfEdit);
//_MyStepRTB.SelectionChanged += new EventHandler(MyStepRTB_SelectionChanged);
_MyStepRTB.MouseUp += new MouseEventHandler(MyStepRTB_SelectionChanged);
@@ -117,7 +117,7 @@ namespace Volian.Controls.Library
}
void MyStepRTB_SelectionChanged(object sender, EventArgs e)
{
Console.WriteLine(string.Format("StepTabRibbon: In MyStepRTB_SelectionChanged, Selected Text = {0}",MyStepRTB.SelectedText));
//Console.WriteLine(string.Format("StepTabRibbon: In MyStepRTB_SelectionChanged, Selected Text = {0}",MyStepRTB.SelectedText));
SetButtonAndMenuEnabling();
}
void btnInsStep_Click(object sender, EventArgs e)