Beispiel #1
0
        private void BeallitasokMentese()
        {
            BeallitasokKepgeneralas b = new BeallitasokKepgeneralas();

            b.ComboBoxKepTipus   = ComboBoxKepTipus.SelectedIndex;
            b.TextBoxPixelWidth  = TextBoxPixelWidth.IntValue.ToString();
            b.TextBoxPixelHeight = TextBoxPixelHeight.IntValue.ToString();
            b.SliderRed          = SliderRed.Value;
            b.SliderGreen        = SliderGreen.Value;
            b.SliderBlue         = SliderBlue.Value;

            b.Mentes();
        }
Beispiel #2
0
        private void BeallitasokBetoltese()
        {
            BeallitasokKepgeneralas b = new BeallitasokKepgeneralas();

            b.Betoltes();

            ComboBoxKepTipus.SelectedIndex = b.ComboBoxKepTipus;
            TextBoxPixelWidth.Text         = b.TextBoxPixelWidth.ToString();
            TextBoxPixelHeight.Text        = b.TextBoxPixelHeight.ToString();
            SliderRed.Value   = b.SliderRed;
            SliderGreen.Value = b.SliderGreen;
            SliderBlue.Value  = b.SliderBlue;
        }