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; }
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); }