91av视频/亚洲h视频/操亚洲美女/外国一级黄色毛片 - 国产三级三级三级三级

  • 大小: 178KB
    文件類型: .zip
    金幣: 2
    下載: 0 次
    發布日期: 2021-05-31
  • 語言: C#
  • 標簽: c#??WPF??.net??

資源簡介

cs WPF 井字棋游戲 c#語言 制作游戲的學習范例

資源截圖

代碼片段和文件信息

/******************************?Module?Header?******************************\
*???Module?Name:??
*???Project:
*?Copyright?(c)?Microsoft?Corporation.
*?
*??The?CSWPFMVVMPractice?demo?demonstrates?how?to?implement?the?MVVM?patten?in?a?
*??WPF?application.
*??
*?This?source?is?subject?to?the?Microsoft?Public?License.
*?See?http://www.microsoft.com/opensource/licenses.mspx#Ms-PL.
*?All?other?rights?reserved.
*?
*?THIS?CODE?AND?INFORMATION?IS?PROVIDED?“AS?IS“?WITHOUT?WARRANTY?OF?ANY?KIND?
*?EITHER?EXPRESSED?OR?IMPLIED?INCLUDING?BUT?NOT?LIMITED?TO?THE?IMPLIED?
*?WARRANTIES?OF?MERCHANTABILITY?AND/OR?FITNESS?FOR?A?PARTICULAR?PURPOSE.
\***************************************************************************/

using?System.Windows;

namespace?CSWPFMVVMPractice
{
????public?partial?class?App?:?Application
????{
????????protected?override?void?onstartup(StartupEventArgs?e)
????????{
????????????base.onstartup(e);?????????
????????????//?Create?a?TicTacToeViewModel?object?with?dimension?of?3?and?start?a?new?game????????????
????????????TicTacToeViewModel?game?=?new?TicTacToeViewModel(3);
????????????game.NewGame();
????????????
????????????
????????????//?Create?an?instance?of?the?MainWindow?and?set?the?TicTacToeViewModel?instance?
????????????//?as?the?data?context?of?the?MainWindow????????????
????????????MainWindow?win?=?new?MainWindow();
????????????win.DataContext?=?game;

????????????//?Set?the?attached?GameoverBehavior.ReportResult?property?to?true?on?the?MainWindow????????????
????????????win.SetValue(GameOverBehavior.ReportResultProperty?true);
????????????
????????????//?Show?the?MainWindow????????????
????????????win.Show();
????????}
????}
}

?屬性????????????大小?????日期????時間???名稱
-----------?---------??----------?-----??----
?????目錄???????????0??2012-12-19?11:16??Debug\
?????文件????????1869??2012-12-19?11:16??Debug\CSWPFMVVMPractice.application
?????文件???????46080??2012-12-19?11:16??Debug\CSWPFMVVMPractice.exe
?????文件?????????144??2012-11-28?12:38??Debug\CSWPFMVVMPractice.exe.config
?????文件????????3915??2012-12-19?11:16??Debug\CSWPFMVVMPractice.exe.manifest
?????文件???????71168??2012-12-19?11:16??Debug\CSWPFMVVMPractice.pdb
?????文件????????1869??2012-12-19?11:16??Debug\CSWPFMVVMPractice.vshost.application
?????文件???????22472??2012-12-19?13:35??Debug\CSWPFMVVMPractice.vshost.exe
?????文件?????????144??2012-11-28?12:38??Debug\CSWPFMVVMPractice.vshost.exe.config
?????文件????????3915??2012-12-19?11:16??Debug\CSWPFMVVMPractice.vshost.exe.manifest
?????文件????????2543??2013-01-04?09:42??51Aspx源碼必讀.txt
?????文件?????????941??2012-11-28?12:38??CSWPFMVVMPractice.sln
?????文件?????????256??2012-11-28?12:38??CSWPFMVVMPractice.vssscc
?????文件????????4945??2007-07-18?09:38??from.gif
?????文件?????????123??2011-04-15?09:12??最新Asp.Net源碼下載.url
?????目錄???????????0??2012-12-19?11:16??CSWPFMVVMPractice\
?????文件?????????144??2012-11-28?12:38??CSWPFMVVMPractice\app.config
?????文件?????????271??2012-11-28?12:38??CSWPFMVVMPractice\App.xaml
?????文件????????1755??2012-11-28?12:38??CSWPFMVVMPractice\App.xaml.cs
?????目錄???????????0??2012-12-19?11:16??CSWPFMVVMPractice\AttachedBehavior\
?????文件????????3315??2012-11-28?12:38??CSWPFMVVMPractice\AttachedBehavior\ChangeDimensionBehavior.cs
?????文件????????3462??2012-11-28?12:38??CSWPFMVVMPractice\AttachedBehavior\GameOverBehavior.cs
?????文件????????3756??2012-11-28?12:38??CSWPFMVVMPractice\AttachedBehavior\ShutdownBehavior.cs
?????文件????????8097??2012-11-28?12:38??CSWPFMVVMPractice\CSWPFMVVMPractice.csproj
?????文件?????????257??2012-11-28?12:38??CSWPFMVVMPractice\CSWPFMVVMPractice.csproj.vspscc
?????目錄???????????0??2012-12-19?11:16??CSWPFMVVMPractice\Documentation\
?????文件???????59015??2012-11-28?12:38??CSWPFMVVMPractice\Documentation\ReadMe.htm
?????目錄???????????0??2012-12-19?11:16??CSWPFMVVMPractice\Documentation\ReadMe_files\
?????文件?????????314??2012-11-28?12:38??CSWPFMVVMPractice\Documentation\ReadMe_files\colorschememapping.xml
?????文件?????????304??2012-11-28?12:38??CSWPFMVVMPractice\Documentation\ReadMe_files\filelist.xml
?????文件???????19559??2012-11-28?12:38??CSWPFMVVMPractice\Documentation\ReadMe_files\image001.png
............此處省略48個文件信息

評論

共有 條評論