This commit is contained in:
parent
859851d499
commit
2393798276
@ -455,13 +455,15 @@ namespace Volian.Controls.Library
|
||||
// add the character with its font depending on the char....
|
||||
if (!IsControlChar)
|
||||
{
|
||||
if (e.KeyChar == '\b') return; // return on backspace.
|
||||
// check for symbol - how??
|
||||
AddRtf(e.KeyChar.ToString());
|
||||
if (e.KeyChar == '\b') return; // return on backspace otherwise, get a block char
|
||||
if (e.KeyChar == '-')
|
||||
AddSymbol(@"\u8209?");
|
||||
else
|
||||
AddRtf(e.KeyChar.ToString());
|
||||
e.Handled = true; // flag that it's been handled, otherwise, will get 2 chars.
|
||||
}
|
||||
IsControlChar = false;
|
||||
}
|
||||
e.Handled = true; // flag that it's been handled, otherwise, will get 2 chars.
|
||||
}
|
||||
#endregion
|
||||
#endregion
|
||||
|
@ -49,7 +49,7 @@ namespace Volian.Controls.Library
|
||||
InitializeComponent();
|
||||
this.Click += new EventHandler(DisplayTabItem_Click);
|
||||
if (myItem.MyContent.MyEntry == null)
|
||||
SetupDisplayPanel();
|
||||
SetupDisplayTabPanel();
|
||||
else
|
||||
SetupDSOPanel();
|
||||
Name = string.Format("DisplayTabItem {0}", myItem.ItemID);
|
||||
@ -63,7 +63,7 @@ namespace Volian.Controls.Library
|
||||
if(myTabPanel == null) return;
|
||||
_MyTabControl.OnItemSelectedChanged(this,new DisplayPanelEventArgs(MyTabPanel.SelectedItem,null));
|
||||
}
|
||||
private void SetupDisplayPanel()
|
||||
private void SetupDisplayTabPanel()
|
||||
{
|
||||
((System.ComponentModel.ISupportInitialize)(_MyTabControl.MyBar)).BeginInit();
|
||||
_MyTabControl.MyBar.SuspendLayout();
|
||||
|
Loading…
x
Reference in New Issue
Block a user