コード例 #1
0
        public override bool Initialize(IPluginHost host)
        {
            Debug.Assert( host != null );

            if( host == null )
                return false;

            m_host = host;

            string sPath = Path.Combine( System.AppDomain.CurrentDomain.BaseDirectory, "WebAutoType.dll" );

            m_Importer = new PasscommImportCSV( File.Exists( sPath ) );

            m_host.FileFormatPool.Add( m_Importer );

            return true;
        }
コード例 #2
0
        public override bool Initialize(IPluginHost host)
        {
            Debug.Assert(host != null);

            if (host == null)
            {
                return(false);
            }

            m_host = host;

            string sPath = Path.Combine(System.AppDomain.CurrentDomain.BaseDirectory, "WebAutoType.dll");

            m_Importer = new PasscommImportCSV(File.Exists(sPath));

            m_host.FileFormatPool.Add(m_Importer);

            return(true);
        }