Esempio n. 1
0
        public Event()
        {
            InitializeComponent();

            Header.Font = new Font(MainForm.collection.Families[0], 18, FontStyle.Bold);

            ColorSettings.SetColors(this);
        }
Esempio n. 2
0
        public AddWord()
        {
            InitializeComponent();
            SetFonts();
            ColorSettings.SetColors(this);

            CurrentWord = new Word();

            SetCurrentWeight(CurrentWord.Weight);
            DefaultWeight = CurrentWord.Weight;
        }
Esempio n. 3
0
        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);
        }
Esempio n. 4
0
        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;
        }
Esempio n. 5
0
 public Train()
 {
     InitializeComponent();
     ColorSettings.SetColors(this);
 }