예제 #1
0
        private void Button_Click_6(object sender, RoutedEventArgs e)
        {
            this.Hide();
            PlayerSponsorshipWindow playerSponsorshipWindow = new PlayerSponsorshipWindow(this);

            playerSponsorshipWindow.Show();
        }
예제 #2
0
        public PlayerWindow(PlayerSponsorshipWindow playerSponsorshipWindow)
        {
            InitializeComponent();
            string ConnectionString = ConfigurationManager.ConnectionStrings["dataConnection"].ConnectionString;

            connection = new SqlConnection(ConnectionString);
            this.playerSponsorshipWindow = playerSponsorshipWindow;
        }