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