Exemplo n.º 1
0
        /// <summary>
        /// Clean up any resources being used.
        /// </summary>
        protected override void Dispose(bool disposing)
        {
            System.Diagnostics.Debug.WriteLineIf(!disposing, "****** Missing Dispose() call for " + GetType().Name + ". ****** ");
            // Must not be run more than once.
            if (IsDisposed)
            {
                return;
            }

            if (disposing)
            {
                if (components != null)
                {
                    components.Dispose();
                }
                if (m_tvMasterList != null)
                {
                    m_tvMasterList.Dispose();
                }
            }
            m_cache        = null;
            m_selFeatDefn  = null;
            m_featureList  = null;
            m_mediator     = null;
            m_tvMasterList = null;

            base.Dispose(disposing);
        }
Exemplo n.º 2
0
 private void InitDlg(string className, GlossListTreeView treeView)
 {
     m_sClassName   = className;
     m_tvMasterList = treeView;
     //
     // Required for Windows Form Designer support
     //
     InitializeComponent();
     AccessibleName = GetType().Name;
     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();
 }
Exemplo n.º 3
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);
        }
Exemplo n.º 4
0
 public MasterListDlg(string className, GlossListTreeView treeView)
 {
     InitDlg(className, treeView);
 }
Exemplo n.º 5
0
        public MasterListDlg()
        {
            GlossListTreeView treeView = new GlossListTreeView();

            InitDlg("FsClosedFeature", treeView);
        }