public SettingSetValueSheet GetSetting(string filename) { DirectoryInfo d = new DirectoryInfo(GetFolderPath()); var p = d.GetFiles().ToList(); List <string> list = new List <string>(); p.ForEach(x => list.Add(x.Name)); if (list.Count == 0) { SettingSetValueSheet setting = SettingExtension.GetSetting <SettingSetValueSheet>(GetFullFileName("%^^")); if (setting == null) { setting = new SettingSetValueSheet(); } return(setting); } else { var fg = GetFullFileName(filename); SettingSetValueSheet setting = SettingExtension.GetSetting <SettingSetValueSheet>(GetFullFileName(filename)); if (setting == null) { setting = new SettingSetValueSheet(); } return(setting); } }
public SettingAddview GetSetting() { SettingAddview setting = SettingExtension.GetSetting <SettingAddview>(GetFullFileName()); if (setting == null) { setting = new SettingAddview(); } return(setting); }
public SettingProductonlevel GetSetting() { SettingProductonlevel setting = SettingExtension.GetSetting <SettingProductonlevel>(GetFullFileName()); if (setting == null) { setting = new SettingProductonlevel(); } return(setting); }
public Settingplacesymbolongaravity GetSetting() { Settingplacesymbolongaravity setting = SettingExtension.GetSetting <Settingplacesymbolongaravity>(GetFullFileName()); if (setting == null) { setting = new Settingplacesymbolongaravity(); } return(setting); }
public SettingAdutodimelement GetSetting() { SettingAdutodimelement setting = SettingExtension.GetSetting <SettingAdutodimelement>(GetFullFileName()); if (setting == null) { setting = new SettingAdutodimelement(); } return(setting); }
public SettingCheckClashProduct GetSetting() { SettingCheckClashProduct setting = SettingExtension.GetSetting <SettingCheckClashProduct>(GetFullFileName()); if (setting == null) { setting = new SettingCheckClashProduct(); } return(setting); }
public SettingTopDT GetSetting() { SettingTopDT setting = SettingExtension.GetSetting <SettingTopDT>(GetFullFileName()); if (setting == null) { setting = new SettingTopDT(); } return(setting); }
public SettingManagerSection GetSetting() { SettingManagerSection setting = SettingExtension.GetSetting <SettingManagerSection>(GetFullFileName()); if (setting == null) { setting = new SettingManagerSection(); } return(setting); }
public SettingDimgrid GetSetting() { SettingDimgrid setting = SettingExtension.GetSetting <SettingDimgrid>(GetFullFileName()); if (setting == null) { setting = new SettingDimgrid(); } return(setting); }
public SettingCreateGrid3d GetSetting() { SettingCreateGrid3d setting = SettingExtension.GetSetting <SettingCreateGrid3d>(GetFullFileName()); if (setting == null) { setting = new SettingCreateGrid3d(); } return(setting); }
public SettingSelecelementbymark GetSetting() { SettingSelecelementbymark setting = SettingExtension.GetSetting <SettingSelecelementbymark>(GetFullFileName()); if (setting == null) { setting = new SettingSelecelementbymark(); } return(setting); }
public SettingSelectCustom GetSetting() { SettingSelectCustom setting = SettingExtension.GetSetting <SettingSelectCustom>(GetFullFileName()); if (setting == null) { setting = new SettingSelectCustom(); } return(setting); }