/// <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); }
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(); }
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); }
public MasterListDlg(string className, GlossListTreeView treeView) { InitDlg(className, treeView); }
public MasterListDlg() { GlossListTreeView treeView = new GlossListTreeView(); InitDlg("FsClosedFeature", treeView); }