Messenger/MSGer.tk/Forms/SettingsPanels/SettingsPanelNetwork.cs

29 lines
771 B
C#
Raw Normal View History

2015-07-06 14:29:34 +00:00
using System; //Copyright (c) NorbiPeti 2015 - See LICENSE file
2015-07-06 11:04:54 +00:00
using System.Collections.Generic;
using System.ComponentModel;
using System.Drawing;
using System.Data;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
namespace MSGer.tk
{
public partial class SettingsPanelNetwork : SettingsPanel
{ //2015.05.24.
public SettingsPanelNetwork()
{
InitializeComponent();
network.Text = Language.Translate(Language.StringID.Settings_Network);
portNum.Value = CurrentUser.Port;
}
public override bool SaveSettings()
{
CurrentUser.Port = (int)portNum.Value;
return false;
}
}
}