コード例 #1
0
        private void InitDlg(string className, GlossListTreeView treeView)
        {
            m_sClassName   = className;
            m_tvMasterList = treeView;
            //
            // Required for Windows Form Designer support
            //
            InitializeComponent();

            m_tvMasterList.TerminalsUseCheckBoxes = true;
            iCheckedCount             = 0;
            pictureBox1.Image         = m_imageListPictures.Images[0];
            m_btnOK.Enabled           = false;   // Disable until we are able to support interaction with the DB list of POSes.
            m_rtbDescription.ReadOnly = true;    // Don't allow any editing
            DoExtraInit();

            helpProvider = new System.Windows.Forms.HelpProvider();
            helpProvider.HelpNamespace = FwApp.App.HelpFile;
            helpProvider.SetHelpKeyword(this, FwApp.App.GetHelpString(s_helpTopic, 0));
            helpProvider.SetHelpNavigator(this, System.Windows.Forms.HelpNavigator.Topic);
        }
コード例 #2
0
ファイル: MasterListDlg.cs プロジェクト: sillsdev/WorldPad
		private void InitDlg(string className, GlossListTreeView treeView)
		{
			m_sClassName = className;
			m_tvMasterList = treeView;
			//
			// Required for Windows Form Designer support
			//
			InitializeComponent();

			m_tvMasterList.TerminalsUseCheckBoxes = true;
			iCheckedCount = 0;
			pictureBox1.Image = m_imageListPictures.Images[0];
			m_btnOK.Enabled = false; // Disable until we are able to support interaction with the DB list of POSes.
			m_rtbDescription.ReadOnly = true;  // Don't allow any editing
			DoExtraInit();

			helpProvider = new System.Windows.Forms.HelpProvider();
			helpProvider.HelpNamespace = FwApp.App.HelpFile;
			helpProvider.SetHelpKeyword(this, FwApp.App.GetHelpString(s_helpTopic, 0));
			helpProvider.SetHelpNavigator(this, System.Windows.Forms.HelpNavigator.Topic);
		}