Beispiel #1
0
 private void metroButton2_Click(object sender, EventArgs e)
 {
     int row = playersGrid.CurrentCell.RowIndex;
     var ID = Int32.Parse(playersGrid[playersGrid.ColumnCount - 1, row].Value.ToString());
     Player handler = repo.GetById(ID);
     var view = new PlayerCreate(handler);
     view.Show();
 }
Beispiel #2
0
        private void metroButton2_Click(object sender, EventArgs e)
        {
            int    row     = playersGrid.CurrentCell.RowIndex;
            var    ID      = Int32.Parse(playersGrid[playersGrid.ColumnCount - 1, row].Value.ToString());
            Player handler = repo.GetById(ID);
            var    view    = new PlayerCreate(handler);

            view.Show();
        }
Beispiel #3
0
        private void addPlayer_Click(object sender, EventArgs e)
        {
            var view = new PlayerCreate();

            view.Show();
        }
Beispiel #4
0
 private void addPlayer_Click(object sender, EventArgs e)
 {
     var view = new PlayerCreate();
     view.Show();
 }