private bool EditConnection(IWin32Window parentWindow) { RabbitMQConnectionManagerUIForm frm = new RabbitMQConnectionManagerUIForm(connectionManager, serviceProvider); var result = frm.ShowDialog(); if (result == DialogResult.OK) return true; return false; }
private bool EditConnection(IWin32Window parentWindow) { RabbitMQConnectionManagerUIForm frm = new RabbitMQConnectionManagerUIForm(connectionManager, serviceProvider); var result = frm.ShowDialog(); if (result == DialogResult.OK) { return(true); } return(false); }