Exemple #1
0
        public string ShowBrowseDlg(CtrlType ctrlType)
        {
            string resultStr = null;

            _browseDlg = new BrowseDlg(_kernel, _sockTcp, ctrlType);
            _browseDlg.Init();
            if (DialogResult.OK == _browseDlg.ShowDialog())
            {
                resultStr = _browseDlg.Result;
            }
            _browseDlg = null;
            return(resultStr);
        }