BlenderRenderController.MainForm.MainForm C# (CSharp) Method

MainForm() public method

public MainForm ( ) : System
return System
        public MainForm()
        {
            InitializeComponent();

			//string execPath = Path.GetDirectoryName( System.Reflection.Assembly.GetExecutingAssembly().CodeBase );
			string execPath = new Uri( System.Reflection.Assembly.GetExecutingAssembly().CodeBase ).LocalPath;

			ScriptsPath = Path.Combine( Path.GetDirectoryName( execPath ), "Scripts" );
			Trace.WriteLine( String.Format( "Scripts Path: '{0}'", ScriptsPath ) );

        }