public MainView() { this.Hide(); InitializeComponent(); Initialize(); try { OTCContext.Initialize(); StudioContext.Initialize(this); } catch (Exception ex) { MessageBox.Show(ex.Message, Application.ProductName, MessageBoxButtons.OK, MessageBoxIcon.Error); } // Enable application visual styles DevExpress.Skins.SkinManager.EnableFormSkins(); DevExpress.LookAndFeel.UserLookAndFeel.Default.Style = DevExpress.LookAndFeel.LookAndFeelStyle.Skin; DevExpress.LookAndFeel.UserLookAndFeel.Default.SkinName = StudioContext.SkinName; this.LoadToolbox(nbcPlugins); // Set the form title this.Text = Application.ProductName + " " + Application.ProductVersion; StudioContext.LogInformation("{0} v{1} started", Application.ProductName, Application.ProductVersion); }