示例#1
0
        public override void DisplayTestPage
        (
            IEncConverters aECs,
            string strFriendlyName,
            string strConverterIdentifier,
            ConvType eConversionType,
            string strTestData
        )
        {
            InitializeFromThis(ref strFriendlyName, ref strConverterIdentifier,
                               ref eConversionType, ref strTestData);

            PyScriptAutoConfigDialog form = new PyScriptAutoConfigDialog(aECs, strFriendlyName,
                                                                         strConverterIdentifier, eConversionType, strTestData);

            base.DisplayTestPage(form);
        }
示例#2
0
        public override bool Configure
        (
            IEncConverters aECs,
            string strFriendlyName,
            ConvType eConversionType,
            string strLhsEncodingID,
            string strRhsEncodingID
        )
        {
            var form = new PyScriptAutoConfigDialog(
                aECs, m_strDisplayName, m_strFriendlyName,
                m_strConverterID, m_eConversionType,
                BestGuessEncoding(m_strLhsEncodingID, strLhsEncodingID, EncConverters.strDefUnicodeEncoding),
                BestGuessEncoding(m_strRhsEncodingID, strRhsEncodingID, EncConverters.strDefUnicodeEncoding),
                m_lProcessType, m_bIsInRepository);

            return(Configure(form));
        }