private void InitLang() { btnView.Text = LangPack.GetPreview(); btnAdd.Text = LangPack.GetAdd(); btnEdit.Text = LangPack.GetEdit(); btnDel.Text = LangPack.GetDelete(); btnKindAdd.Text = LangPack.GetAdd(); btnKindEdit.Text = LangPack.GetEdit(); btnKindDel.Text = LangPack.GetDelete(); btnClose.Text = LangPack.GetClose(); btnClear.Text = LangPack.GetClear(); if (LangPack.IsEng) { label1.Text = "CG Edit"; tabPage2.Text = "Kind List"; tabPage1.Text = "Text List"; } else { label1.Text = "Текст засварлах"; tabPage2.Text = "Мэдээллийн төрөл"; tabPage1.Text = "Текстийн жагсаалт"; } }
private void InitLang() { btnClose.Text = LangPack.GetClose(); btnSave.Text = LangPack.GetSave(); btnView.Text = LangPack.GetPreview(); cutAddBtn.Text = LangPack.GetCutAdd(); label1.Text = LangPack.GetKind(); label5.Text = LangPack.GetName(); label2.Text = LangPack.GetText(); label7.Text = LangPack.GetCut(); if (LangPack.IsEng) { label6.Text = "CG Edit"; label4.Text = "Byte count : "; } else { label6.Text = "Текст засварлах"; label4.Text = "Бит : "; } }