Beispiel #1
0
        public FormMenuInical()
        {
            InitializeComponent();
            Gerenciador = new DataBaseManager("BD_Padrao");


            this.MouseMove += new MouseEventHandler(FormMenuInicial_MouseMove);
            this.MouseDown += new MouseEventHandler(FormMenuInicial_MouseDown);
        }
Beispiel #2
0
        //Construtor
        public FormJogo(string tecnico)
        {
            InitializeComponent();
            gerenciador = new DataBaseManager("BD_Padrao");
            AllTimes    = new List <string>();
            CarregarComboboxes();
            loadBar1.Value = 0;
            CarregarBarrasStamin();
            NomeDoTecnico = tecnico;

            this.MouseMove += new MouseEventHandler(FormMenuInicial_MouseMove);
            this.MouseDown += new MouseEventHandler(FormMenuInicial_MouseDown);
        }
        public PartidaComputador(int id, int timec, int timef)
        {
            GolA = 0;
            GolB = 0;
            TimeA.VoltarTudo();
            TimeB.VoltarTudo();

            gerenciador = new DataBaseManager("BD_Padrao");
            partidaid   = id;
            timecasa    = timec;
            timefora    = timef;
            RealizarPartida();
        }