private void buttonSelectProfile_Click(object sender, RoutedEventArgs e) { ProfileSelector ps = new ProfileSelector(this.firefoxProxyAction, this.networkId); ps.ShowDialog(); }