public Event() { InitializeComponent(); Header.Font = new Font(MainForm.collection.Families[0], 18, FontStyle.Bold); ColorSettings.SetColors(this); }
public AddWord() { InitializeComponent(); SetFonts(); ColorSettings.SetColors(this); CurrentWord = new Word(); SetCurrentWeight(CurrentWord.Weight); DefaultWeight = CurrentWord.Weight; }
public ChangeWord(Word word) { InitializeComponent(); SetFonts(); ColorSettings.SetColors(this); CurrentWord = word; word_textBox.Focus(); word_textBox.Text = CurrentWord.Value; expl_textbox.Text = CurrentWord.Translate; DefaultWeight = CurrentWord.Weight; SetCurrentWeight(CurrentWord.Weight); }
public MainForm() { InitializeComponent(); this.MouseWheel += Form_MouseWheel; SetFonts(); ColorSettings.SetColors(this); GetControlList(); for (int i = 0; i < PageLength; i++) { Controls_WordValue[i].Text = ""; Controls_WordTranslate[i].Text = ""; } UpdateWordList(); UpdatePage(); CurrentPage = 1; }
public Train() { InitializeComponent(); ColorSettings.SetColors(this); }