public MainForm2x() { InitializeComponent(); showRightToLeft.Checked = (RightToLeft == RightToLeft.Yes); RightToLeftLayout = showRightToLeft.Checked; m_solutionExplorer = new DummySolutionExplorer(); m_solutionExplorer.RightToLeftLayout = RightToLeftLayout; m_deserializeDockContent = new DeserializeDockContent(GetContentFromPersistString); }
private MainForm() { InitializeComponent(); // This just loads the engine so that it avoids the // delay in openning the first form in the app. TickEngine engine = Factory.Engine.TickEngine; showRightToLeft.Checked = (RightToLeft == RightToLeft.Yes); RightToLeftLayout = showRightToLeft.Checked; m_solutionExplorer = new DummySolutionExplorer(); m_solutionExplorer.RightToLeftLayout = RightToLeftLayout; m_deserializeDockContent = new DeserializeDockContent(GetContentFromPersistString); this.LayoutMdi(MdiLayout.TileHorizontal); }