public object GetUiSettings() { if (_webOverlaySettings == null || _webOverlaySettings.IsDisposed) { var filesLocation = WebSocketDataGetter.HttpContentRoot(_saver); var webUrl = WebSocketDataGetter.BaseAddress(_settings); _webOverlaySettings = new WebOverlaySettings(_settings, OverlayConfiguration); _webOverlaySettings.ResetSettings += (_, __) => ResetSettings(); _webOverlaySettings.OpenWebUrl += (_, __) => ProcessExt.OpenUrl(webUrl); _webOverlaySettings.OpenFilesFolder += (_, __) => Process.Start("explorer.exe", filesLocation); _webOverlaySettings.FilesLocation = filesLocation; _webOverlaySettings.WebUrl = webUrl; _webOverlaySettings.RemoteAccessEnabled = WebSocketDataGetter.RemoteAccessEnabled(_settings); _webOverlaySettings.ToggleRemoteAccess += (_, __) => ToggleRemoteAccess(); } return(_webOverlaySettings); }
private void pictureBox2_Click(object sender, System.EventArgs e) { ProcessExt.OpenUrl(@"https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=CX2ZC3JKVAK74"); }
private void richTextBox1_LinkClicked(object sender, LinkClickedEventArgs e) { ProcessExt.OpenUrl(e.LinkText); }
private void button_message_Click(object sender, EventArgs e) { Clipboard.SetText(string.Format(errorTemplate, textBox1.Text)); ProcessExt.OpenUrl(@"https://osu.ppy.sh/forum/ucp.php?i=pm&mode=compose&u=304520"); }
private void linkLabel_UICredit2_LinkClicked(object sender, LinkLabelLinkClickedEventArgs e) { ProcessExt.OpenUrl("https://osu.ppy.sh/users/4944211"); }
private void linkLabel2_LinkClicked(object sender, LinkLabelLinkClickedEventArgs e) { ProcessExt.OpenUrl(@"https://osu.ppy.sh/forum/t/164486"); }
private void linkLabel1_LinkClicked(object sender, LinkLabelLinkClickedEventArgs e) { ProcessExt.OpenUrl(@"http://osupost.givenameplz.de/"); }