private string GetOriginalPath(string assemblyName, string typeName) { Type t = CslaDataSource.GetType(assemblyName, typeName); Assembly asm = t.Assembly; return(asm.CodeBase); }
/// <summary> /// Initialize the designer component. /// </summary> /// <param name="component">The CslaDataSource control to /// be designed.</param> public override void Initialize(IComponent component) { base.Initialize(component); _control = (CslaDataSource)component; }