Esempio n. 1
0
 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);
            }
        }
Esempio n. 3
0
 private void UpdateTexts()
 {
     I18N.TranslateForm(this);
 }
 private void UpdateTexts()
 {
     I18N.TranslateForm(this);
     toolTip1.SetToolTip(PortableModeCheckBox, I18N.GetString("Restart required"));
 }
Esempio n. 5
0
 private void UpdateTexts()
 {
     I18N.TranslateForm(this);
     trafficChart.Series["Inbound"].LegendText  = I18N.GetString("Inbound");
     trafficChart.Series["Outbound"].LegendText = I18N.GetString("Outbound");
 }