Ejemplo n.º 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();
 }
Ejemplo n.º 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();
        }
Ejemplo n.º 3
0
        private void addPlayer_Click(object sender, EventArgs e)
        {
            var view = new PlayerCreate();

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