Esempio n. 1
0
        /// <summary>
        /// Initializes important variables
        /// </summary>
        public void InitBasics()
        {
            String dataPath = Path.Combine(PathHelper.DataDir, "AutoBuildPlugin");

            if (!Directory.Exists(dataPath))
            {
                Directory.CreateDirectory(dataPath);
            }
            this.settingFilename       = Path.Combine(dataPath, "Settings.fdb");
            this.pluginImage           = PluginBase.MainForm.FindImage("100");
            buildAction                = new BuildAction();
            buildAction.BuildComplete += new BuildCompleteHandler(delegate { OpenSwf(); });
        }
Esempio n. 2
0
 /// <summary>
 /// Initializes important variables
 /// </summary>
 public void InitBasics()
 {
     String dataPath = Path.Combine(PathHelper.DataDir, "AutoBuildPlugin");
     if (!Directory.Exists(dataPath)) Directory.CreateDirectory(dataPath);
     this.settingFilename = Path.Combine(dataPath, "Settings.fdb");
     this.pluginImage = PluginBase.MainForm.FindImage("100");
     buildAction = new BuildAction();
     buildAction.BuildComplete += new BuildCompleteHandler(delegate { OpenSwf(); });
 }