コード例 #1
0
        //C:\Users\cyrille\AppData\Roaming\Autodesk\ObjectARX Wizards for AutoCAD 2010\settings.xml
        //C:\ProgramData\Autodesk\AutoCAD .Net Wizards\Settings.xml

        public ObjectARXLocatorForm()
        {
            InitializeComponent();
            //- Read path from last time
            mConfig           = new XmlConfigurator.XmlConfig(Wizard.AddInCompany, Wizard.AddInProductName, Wizard.AddInBaseConfigName);
            this.sdkpath.Text = mConfig.ValueAt(".//Autodesk/Wizards/ObjectARX/Location");
            //this.sdkpath.Text ="C:\\Users\\cyrille\\__sdk\\ObjectARX\\2010_Gator" ;
            this.acadpath.Text = mConfig.ValueAt(".//Autodesk/Wizards/ObjectARX/AcadLocation");
        }
コード例 #2
0
		//C:\Users\cyrille\AppData\Roaming\Autodesk\ObjectARX Wizards for AutoCAD 2010\settings.xml
		//C:\ProgramData\Autodesk\AutoCAD .Net Wizards\Settings.xml

		public ObjectARXLocatorForm()
		{
			InitializeComponent();
			//- Read path from last time
			mConfig = new XmlConfigurator.XmlConfig(Wizard.AddInCompany, Wizard.AddInProductName, Wizard.AddInBaseConfigName);
			this.sdkpath.Text = mConfig.ValueAt(".//Autodesk/Wizards/ObjectARX/Location");
			//this.sdkpath.Text ="C:\\Users\\cyrille\\__sdk\\ObjectARX\\2010_Gator" ;
			this.acadpath.Text = mConfig.ValueAt(".//Autodesk/Wizards/ObjectARX/AcadLocation");
		   
		}