public MSMQBrowserControl(MSMQProvider queuProvider) : this() { queuePath.Text = queuProvider.Name; _messagingProvider = queuProvider; Submit_Click(null, null); }
/// <summary> /// Creates a <see cref="MSMQBrowserControl"/> for a given connection string. /// </summary> /// <param name="connectionString">The connection string to the MSMQ.</param> /// <returns>A <see cref="MSMQBrowserControl"/>.</returns> public static MSMQBrowserControl Create(string connectionString) { MSMQProvider provider = new MSMQProvider(connectionString); return new MSMQBrowserControl(provider); }