public static void Create(string _tname) { ESource Source = ESource.File; string fname = Path.ChangeExtension(Application.ExecutablePath, "file"); if (!File.Exists(fname)) { fname = Path.ChangeExtension(Application.ExecutablePath, "udl"); if (File.Exists(fname)) { Source = ESource.SQL; } } Instance = new ParAll(Source, Path.ChangeExtension(Application.ExecutablePath, "tree"), "dbo", _tname, Path.ChangeExtension(Application.ExecutablePath, "xml")); Instance.Defect.IsDBS = Source == ESource.SQL; }
public static void Create(string _tname, ESource _Source) { Instance = new ParAll(_Source, Path.ChangeExtension(Application.ExecutablePath, "tree"), "dbo", _tname, Path.ChangeExtension(Application.ExecutablePath, "xml")); Instance.Defect.IsDBS = _Source == ESource.SQL; }
public FLoginClient(ParAll _parAll) { InitializeComponent(); parAll = _parAll; }