コード例 #1
0
ファイル: ProcTypeMenuItem.cs プロジェクト: sillsdev/WorldPad
		public void InitializeComponent(ProcessTypeFlags eProcessType, FormClipboardEncConverter myParent)
		{
			m_eProcessType = eProcessType;
			m_myParent = myParent;
			this.Click += new EventHandler(ProcTypeMenuItem_Click);

			this.Checked = !((m_eProcessType & m_myParent.ProcessTypeFilter) == 0);
		}
コード例 #2
0
ファイル: ProcTypeMenuItem.cs プロジェクト: sillsdev/WorldPad
        public void InitializeComponent(ProcessTypeFlags eProcessType, FormClipboardEncConverter myParent)
        {
            m_eProcessType = eProcessType;
            m_myParent     = myParent;
            this.Click    += new EventHandler(ProcTypeMenuItem_Click);

            this.Checked = !((m_eProcessType & m_myParent.ProcessTypeFilter) == 0);
        }
コード例 #3
0
        protected string m_strImplementType;               // needed for "EncConverters::AddConverterMap"; provided by sub-classes
        #endregion Member Variable Definitions

        #region Public Interface
        public EncConverterConfig
        (
            string strProgramID,
            string strDisplayName,
            string strHtmlFilename,
            ProcessTypeFlags eDefiningProcessType
        )
        {
            m_strProgramID         = strProgramID;
            m_strDisplayName       = strDisplayName;
            m_strHtmlFilename      = strHtmlFilename;
            m_eDefiningProcessType = eDefiningProcessType;

            m_lProcessType    = (Int32)ProcessTypeFlags.DontKnow;
            m_eConversionType = ConvType.Unknown;
            m_bIsInRepository = false;
        }
コード例 #4
0
		protected string        m_strImplementType;     // needed for "EncConverters::AddConverterMap"; provided by sub-classes
		#endregion Member Variable Definitions

		#region Public Interface
		public EncConverterConfig
			(
			string strProgramID,
			string strDisplayName,
			string strHtmlFilename,
			ProcessTypeFlags eDefiningProcessType
			)
		{
			m_strProgramID = strProgramID;
			m_strDisplayName = strDisplayName;
			m_strHtmlFilename = strHtmlFilename;
			m_eDefiningProcessType = eDefiningProcessType;

			m_lProcessType = (Int32)ProcessTypeFlags.DontKnow;
			m_eConversionType = ConvType.Unknown;
			m_bIsInRepository = false;
		}