コード例 #1
0
ファイル: StartForm.cs プロジェクト: naka0405/ALEVEL-Examples
        private void добавитьToolStripMenuItem_Click(object sender, EventArgs e)
        {
            var refereeList = league.RefereeList;

            RefereeListForm.DisplayListReferee(ref refereeList);

            RereshRefereeList();
        }
コード例 #2
0
        public static void DisplayListReferee(ref List <Referee> referreeList)
        {
            RefereeListForm rlf = new RefereeListForm();

            rlf.currentRefereeList = referreeList;
            //rlf.lbxReffereeList.Items.AddRange(referreeList.ToArray<Referee>());
            referreeList.ForEach(x => rlf.lbxReffereeList.Items.Add(x));
            rlf.ShowDialog();
        }