Exemple #1
0
        private void barCheckItem2_CheckedChanged(object sender, DevExpress.XtraBars.ItemClickEventArgs e)
        {
            if (barCheckItem2.Checked)
            {
                barCheckItem1.Checked = !barCheckItem2.Checked;
                User.Language         = barCheckItem2.Tag.ToString();
                LanguageHelp.ReLoadLanguage();

                LanguageHelp.InitControlLanguage(this);
                Form[] mdiChildren = this.MdiChildren;
                foreach (var child in mdiChildren)
                {
                    var form = child as FormPatientEdit;
                    if (form != null)
                    {
                        form.Close();
                        LoadMdiForm(this, typeof(FormPatientEdit));
                    }
                    else
                    {
                        LanguageHelp.InitControlLanguage(child);
                    }
                    child.Refresh();
                }
                SaveLanguage(User.Language);
            }
        }
Exemple #2
0
 private void VideoSettingWifi_Shown(object sender, EventArgs e)
 {
     LanguageHelp.InitControlLanguage(this);
 }
Exemple #3
0
 private void FrmItemDetail_Shown(object sender, EventArgs e)
 {
     LanguageHelp.InitControlLanguage(this);
 }
Exemple #4
0
 private void WifiPassword_Shown(object sender, EventArgs e)
 {
     LanguageHelp.InitControlLanguage(this);
 }
Exemple #5
0
 private void FormPatientEdit_Shown(object sender, EventArgs e)
 {
     LanguageHelp.InitControlLanguage(this);
     除ToolStripMenuItem.Text = GetText(除ToolStripMenuItem.Tag.ToString());
 }
 private void FormToothMap2_Shown(object sender, EventArgs e)
 {
     LanguageHelp.InitControlLanguage(this);
 }
 private void ChannelChoose_Shown(object sender, EventArgs e)
 {
     LanguageHelp.InitControlLanguage(this);
 }
 private void ReportViewerDialog_Shown(object sender, EventArgs e)
 {
     LanguageHelp.InitControlLanguage(this);
 }
Exemple #9
0
 private void FormHistory_Shown(object sender, EventArgs e)
 {
     LanguageHelp.InitControlLanguage(this);
 }
Exemple #10
0
 private void MainForm_Shown(object sender, EventArgs e)
 {
     LanguageHelp.InitControlLanguage(this);
 }
Exemple #11
0
 private void AboutBox_Shown(object sender, EventArgs e)
 {
     LanguageHelp.InitControlLanguage(this);
 }