コード例 #1
0
ファイル: Controller.cs プロジェクト: nielssj/GroupCJN-E2011
 /// <summary>
 /// Instantiate default sub-controller.
 /// </summary>
 private void InitDefault()
 {
     VoterSelectionWindow vsView = view.VoterSelectionView;
     vsView.AddVCGClickedHandler(model.OpenSubModel);
     vsView.AddVBMClickedHandler(model.OpenSubModel);
     vsController = new VoterSelectionController(model.VoterSelection, view.VoterSelectionView);
 }
コード例 #2
0
        /// <summary>
        /// Instantiate default sub-controller.
        /// </summary>
        private void InitDefault()
        {
            VoterSelectionWindow vsView = view.VoterSelectionView;

            vsView.AddVCGClickedHandler(model.OpenSubModel);
            vsView.AddVBMClickedHandler(model.OpenSubModel);
            vsController = new VoterSelectionController(model.VoterSelection, view.VoterSelectionView);
        }