public SyntaxEditorWindow()
{
InitializeComponent();
this.MinWidth = 440;// 384;
this.MinHeight = 200;
this.Width = 750;// 976;
this.Height = 550;
this.WindowStartupLocation = System.Windows.WindowStartupLocation.CenterScreen;
SMenu.Items.Add(omh.OutputMenu);///Add Output menu ///
inputTextbox.Focus();//set focus inside text box.
//opening Graphics device with sytax Editor. //05May2013
// when graphic command executes, we close the device then generate output and finally open the device again.
OpenGraphicsDevice();
sessionlst = new SessionOutput();
}