public OptionWindow(MainController mainController, SettingsBase settings) { InitializeComponent(); this.controller = mainController; this.Icon = ResourceHandler.GetIcon("mono", 16, 16); GetButtonImages(); GuiGeneralSettings genSettings = settings.LoadSettings <GuiGeneralSettings>("General Settings"); MaxConnectionsNumericUpDown.Value = genSettings.GlobalMaxConnections; MaxDownloadSpeedNumericUpDown.Value = genSettings.GlobalMaxDownloadSpeed; HalfOpenConnectionsNumericUpDown.Value = genSettings.GlobalMaxHalfOpenConnections; MaxUploadSpeedNumericUpDown.Value = genSettings.GlobalMaxUploadSpeed; ListenPortNumericUpDown.Value = genSettings.ListenPort; SavePathTextBox.Text = genSettings.SavePath; TorrentPathTextBox.Text = genSettings.TorrentsPath; UseUPnPCheckBox.Checked = genSettings.UsePnP; }
public MainWindow() { InitializeComponent(); this.Icon = ResourceHandler.GetIcon("mono", 16, 16); }
public TorrentSettingWindow() { InitializeComponent(); this.Icon = ResourceHandler.GetIcon("mono", 16, 16); }
public OptionWindow() { InitializeComponent(); this.Icon = ResourceHandler.GetIcon("mono", 16, 16); GetButtonImages(); }
public CreateWindow(MainController controller) { InitializeComponent(); mainController = controller; this.Icon = ResourceHandler.GetIcon("mono", 16, 16); }
public TorrentUrl() { InitializeComponent(); this.Icon = ResourceHandler.GetIcon("mono", 16, 16); }
public MiniWindow(MainController mainController) { InitializeComponent(); this.controller = mainController; this.Icon = ResourceHandler.GetIcon("mono", 16, 16); }
public AboutWindow() { InitializeComponent(); label4.Text += Assembly.GetExecutingAssembly().GetName().Version.ToString(); this.Icon = ResourceHandler.GetIcon("mono", 16, 16); }