public bool LoadDefaultConfigurationsFromFiles(string path) { this.classLoadType = CLASS_LOAD_TYPE.FILES; this.lblTemplatesLabel.Show(); this.lblTemplatesLabel.Enabled = true; this.cbClassTemplates.Show(); this.cbClassTemplates.Enabled = true; LoadTemplates(); return(this.tvAssets.LoadDefaultConfigurationsFromFiles(path)); }
public void LoadClassesFromProject(MOG_Project proj) { this.classLoadType = CLASS_LOAD_TYPE.PROJECT; this.lblTemplatesLabel.Enabled = false; this.lblTemplatesLabel.Hide(); this.cbClassTemplates.Items.Clear(); this.cbClassTemplates.Text = ""; this.cbClassTemplates.Enabled = false; this.cbClassTemplates.Hide(); this.tvAssets.LoadClassesFromProject(proj); }