public OnlineConfigForm(ShadowsocksController controller) { this.controller = controller; InitializeComponent(); LoadConfig(); Icon = System.Drawing.Icon.FromHandle(Resources.ssw128.GetHicon()); I18N.TranslateForm(this); }
private void UpdateTexts() { I18N.TranslateForm(this); foreach (var item in StatisticsChart.Series) { item.Name = I18N.GetString(item.Name); } }
private void UpdateTexts() { I18N.TranslateForm(this); }
private void UpdateTexts() { I18N.TranslateForm(this); toolTip1.SetToolTip(PortableModeCheckBox, I18N.GetString("Restart required")); }
private void UpdateTexts() { I18N.TranslateForm(this); trafficChart.Series["Inbound"].LegendText = I18N.GetString("Inbound"); trafficChart.Series["Outbound"].LegendText = I18N.GetString("Outbound"); }