Exemple #1
0
        void VariantsLoad(object sender, EventArgs e)
        {
            menu menu = new menu();

            if (menu.ShowDialog() == DialogResult.Cancel)
            {
                close = true;
                this.Close();
            }
            else if (menu.DialogResult == DialogResult.OK)
            {
                open_TO_file file = new open_TO_file();
                file.GoToLevel("level.tt");
                file.Znaky(label1.Text);
                //CheckPuzel(file.SL);
            }
        }
        void VariantsLoad(object sender, EventArgs e)
        {
            menu men = new menu();

            if (men.ShowDialog() == DialogResult.Cancel)
            {
                clos = true;
                this.Close();
            }
            else if (men.DialogResult == DialogResult.OK)
            {
                open_TO_file file = new open_TO_file();
                file.Open_ToGoo_mas("YRAven-Slojnosti.tt");
                file.Resojes(label1.Text);
                mas_ok_pz(file.SL);
            }
        }