private bool ShowUI(System.Windows.Forms.IWin32Window parentWindow)
        {
            HDFSConnectionManagerUIForm frm = new HDFSConnectionManagerUIForm(connectionManager, serviceProvider);

              var result = frm.ShowDialog();

              if (result == DialogResult.OK)
            return true;

              return false;
        }
示例#2
0
        private bool ShowUI(System.Windows.Forms.IWin32Window parentWindow)
        {
            HDFSConnectionManagerUIForm frm = new HDFSConnectionManagerUIForm(connectionManager, serviceProvider);

            var result = frm.ShowDialog();

            if (result == DialogResult.OK)
            {
                return(true);
            }

            return(false);
        }