예제 #1
0
 public AddTeamWindow(MainWindow mainWindow, MyTeam myTeam, MySqlQueryBuilder build)
 {
     this.mainWindow = mainWindow;
     this.myTeam     = myTeam;
     this.build      = build;
     InitializeComponent();
 }
예제 #2
0
        public EditGameWindow(Window callingWindow, MyGame myGame, MySqlQueryBuilder build)
        {
            this.callingWindow = callingWindow;
            this.myGame        = myGame;
            this.build         = build;
            InitializeComponent();

            init();
        }
 public GameProfileWindow(Window callingWindow, MyTeam myTeam, MyGame myGame, MySqlQueryBuilder build)
 {
     this.callingWindow = callingWindow;
     this.myTeam        = myTeam;
     this.myGame        = myGame;
     this.build         = build;
     InitializeComponent();
     init();
 }
예제 #4
0
        public EditTeamWindow(Window callingWindow, MyTeam myTeam, MyPlayer myPlayer, MySqlQueryBuilder build)
        {
            InitializeComponent();
            this.callingWindow = callingWindow;
            this.myTeam        = myTeam;
            this.myPlayer      = myPlayer;
            this.build         = build;

            Load_Table_Data();
        }
        public TeamProfileWindow(Window callingWindow, MyTeam myTeam, MySqlQueryBuilder build)
        {
            this.callingWindow = callingWindow;
            this.myTeam        = myTeam;
            this.build         = build;
            InitializeComponent();

            Load_Gamestat_Table();
            Load_Totalstat_Table();
        }
        public MainWindow()
        {
            InitializeComponent();
            this.con   = new MySqlConnection(CONSTRING);
            this.build = new MySqlQueryBuilder(con);

            this.myPlayer = new MyPlayer();
            this.myTeam   = new MyTeam();

            Load_Table_Data();
        }
예제 #7
0
        public TeamMainWindow(Window callingWindow, MyTeam myTeam, MyPlayer myPlayer, MySqlQueryBuilder build)
        {
            this.callingWindow = callingWindow;
            this.myTeam        = myTeam;
            this.myPlayer      = myPlayer;
            this.build         = build;

            myGame = new MyGame();

            InitializeComponent();
            Load_Player_Table_Data();
            Set_Labels();
        }
        public PlayerProfileWindow(Window callingWindow, MyTeam myTeam, MyPlayer myPlayer, MySqlQueryBuilder build)
        {
            this.callingWindow = callingWindow;
            this.build         = build;
            this.myPlayer      = myPlayer;
            this.myTeam        = myTeam;
            this.editmode      = false;


            InitializeComponent();
            Load_Totalstat_Table();
            Load_StatsPG_Table();
            Load_GameStats_Table();
            Set_Labels();
            Hide_Labels(editmode);
        }