public RemoveForm(Adapted_strings Adstrs)
 {
     InitializeComponent();
     nud         = this.ArraySpin;
     nud.Maximum = Adstrs.Length;
     LocalAdstr  = Adstrs.GimmeStrings;
 }
Exemple #2
0
        // Конструктор
        public Form1()
        {
            InitializeComponent();
            NecessaryInRefresh = new object[29];
            MyProgressBar      = new string[11];
            Percents           = new string[11];
            obj          = null;
            subj         = null;
            Array        = new Adapted_strings(); // Перегрузка на загрузку с файла - new Adapted_strings("path");
            Levels       = new Label[15];
            Answers      = new Button[4];
            _Help        = new Label[4];
            _HelpProgBar = new Label[4];
            InitProgressBar();
            InitLevels();
            InitHelps();
            InitPercetns();
            InitNIR();
            Findex = new int[10];
            SoundPlayer player = new SoundPlayer();

            player.SoundLocation = "Sounds/begin.wav";
            player.Play();
        }