public override void InitDefault() { base.InitDefault(); m_SplashImage = NResourceHelper.BitmapFromResource(typeof(NMainForm), "DiagramSplash.png", "Nevron.Examples.Diagram.WinForm.Resources"); m_sExamplesNamespace = "Nevron.Examples.Diagram.WinForm"; m_sTreeResource = "ExamplesTree.xml"; m_sTreeResourcePath = "Nevron.Examples.Diagram.WinForm.Resources"; m_sFormText = "Nevron Diagram for Windows Forms - Part of Nevron .NET Vision - Examples"; m_FormIcon = NResourceHelper.IconFromResource(typeof(NMainForm), "Diagram.ico", "Nevron.Examples.Diagram.WinForm.Resources"); m_sFeedbackString = "mailto:[email protected]?subject=Diagram Feedback"; m_iExampleTreeNodeImageIndex = 11; m_iExampleTreeNodeSelectedImageIndex = 12; m_EmbeddedResourcesAssembly = this.GetType().Assembly; m_LayoutStrategy = new NDiagramExamplesLayoutStrategy(); ProductLogo = NResourceHelper.BitmapFromResource(typeof(NMainForm), "DiagramLogo.png", "Nevron.Examples.Diagram.WinForm.Resources"); ProductName = "Nevron Diagram for .NET"; ProductAssemblies = new System.Reflection.Assembly[] { typeof(NDiagramCommandBarsManager).Assembly }; }
public override void InitDefault() { base.InitDefault(); m_SplashImage = NResourceHelper.BitmapFromResource(this.GetType(), "ChartSplash.png", "Nevron.Examples.Chart.WinForm.Resources"); m_sExamplesNamespace = "Nevron.Examples.Chart.WinForm"; m_sTreeResource = "ExamplesTree.xml"; m_sTreeResourcePath = "Nevron.Examples.Chart.WinForm.Resources"; m_FilterSearchResultsByParentTitles = new string[] { "C# Examples", "All Examples", "What's New" }; m_EmbeddedResourcesAssembly = typeof(NChartExamplesConfig).Assembly; m_FormIcon = NResourceHelper.IconFromResource(this.GetType(), "Chart.ico", "Nevron.Examples.Chart.WinForm.Resources"); m_sFormText = "Nevron Chart for Windows Forms - Part of Nevron .NET Vision - Examples"; m_bSearchForVbSourceFiles = false; m_iExampleTreeNodeImageIndex = 0; m_iExampleTreeNodeSelectedImageIndex = 1; m_sReportBugString = "mailto:[email protected]?subject=Chart Bug Report"; m_sFeedbackString = "mailto:[email protected]?subject=Chart Feedback"; this.LayoutStrategy = new NExamplesLayoutStrategy(); ProductName = "Nevron Chart for .NET"; ProductLogo = NResourceHelper.BitmapFromResource(this.GetType(), "ChartLogo.png", "Nevron.Examples.Chart.WinForm.Resources"); ProductAssemblies = new System.Reflection.Assembly[] { typeof(Nevron.Chart.WinForm.NChartControl).Assembly }; }
public override void InitDefault() { base.InitDefault(); ProductType = ENDotNetProductType.NETUserInterface; Type t = typeof(MainForm); string path = "Nevron.Examples.UI.WinForm.Resources"; PersistFormState = false; //PersistPanelsState = false; WindowState = FormWindowState.Maximized; //specify about box m_SplashImage = NResourceHelper.BitmapFromResource(t, "UISplash.png", path); ProductLogo = NResourceHelper.BitmapFromResource(t, "UILogo.png", path); ProductName = "Nevron UI for .NET"; ProductAssemblies = new System.Reflection.Assembly[] { typeof(NUIManager).Assembly, typeof(NDockManager).Assembly }; m_FilterSearchResultsByParentTitles = new string[] { "C# Examples", "All Examples", "What's New" }; m_EmbeddedResourcesAssembly = typeof(NUIExamplesConfig).Assembly; m_sExamplesNamespace = "Nevron.Examples.UI.WinForm"; m_sTreeResource = "ExamplesTree.xml"; m_sTreeResourcePath = path; m_FormIcon = NResourceHelper.IconFromResource(t, "UI.ico", path); m_sFormText = "Nevron User Interface - Part of Nevron .NET Vision - Examples"; m_iExampleTreeNodeImageIndex = 13; m_iExampleTreeNodeSelectedImageIndex = 14; m_sFeedbackString = "mailto:[email protected]?subject=Nevron User Interface Feedback"; m_LayoutStrategy = new NUIExamplesLayoutStrategy(); }