資源簡介
一個簡單的計算器,雖然很簡單。但是用心做了。對于非數(shù)字的提示與下一步(Tab)和焦點(diǎn)的控制 ,我是北大青鳥S1的學(xué)生
代碼片段和文件信息
using?System;
using?System.Collections.Generic;
using?System.ComponentModel;
using?System.Data;
using?System.Drawing;
using?System.Linq;
using?System.Text;
using?System.Threading.Tasks;
using?System.Windows.Forms;
namespace?課后練習(xí)3
{
????public?partial?class?Form1?:?Form
????{
????????public?Form1()
????????{
????????????InitializeComponent();
????????????this.cmx1.SelectedIndex?=?0;
????????}
????????private?bool?a?=?false;
????????private?bool?b?=?false;
????????private?bool?c?=?false;
????????///?驗(yàn)證是否輸入為數(shù)字方法
????????public?bool?isright(String?numberref?String?value)?
????????{
????????????double?i?=?0;
????????????if?(double.TryParse(numberout?i))
????????????{
????????????????value?=?number;
????????????????return?true;
????????????}
????????????else
?屬性????????????大小?????日期????時間???名稱
-----------?---------??----------?-----??----
?????文件????????187??2015-11-02?13:34??計算器\課后練習(xí)3\App.config
?????文件??????12288??2015-11-16?12:32??計算器\課后練習(xí)3\bin\Debug\課后練習(xí)3.exe
?????文件????????187??2015-11-02?13:34??計算器\課后練習(xí)3\bin\Debug\課后練習(xí)3.exe.config
?????文件??????30208??2015-11-16?12:32??計算器\課后練習(xí)3\bin\Debug\課后練習(xí)3.pdb
?????文件??????24224??2015-11-16?12:33??計算器\課后練習(xí)3\bin\Debug\課后練習(xí)3.vshost.exe
?????文件????????187??2015-11-02?13:34??計算器\課后練習(xí)3\bin\Debug\課后練習(xí)3.vshost.exe.config
?????文件????????490??2010-03-17?22:39??計算器\課后練習(xí)3\bin\Debug\課后練習(xí)3.vshost.exe.manifest
?????文件???????4796??2015-11-04?11:43??計算器\課后練習(xí)3\Form1.cs
?????文件???????8182??2015-11-04?11:34??計算器\課后練習(xí)3\Form1.Designer.cs
?????文件???????6011??2015-11-04?11:34??計算器\課后練習(xí)3\Form1.resx
?????文件???????1453??2015-11-02?16:16??計算器\課后練習(xí)3\obj\Debug\DesignTimeResolveAssemblyReferences.cache
?????文件???????7160??2015-11-02?13:34??計算器\課后練習(xí)3\obj\Debug\DesignTimeResolveAssemblyReferencesInput.cache
?????文件??????????0??2015-11-02?13:34??計算器\課后練習(xí)3\obj\Debug\TemporaryGeneratedFile_036C0B5B-1481-4323-8D20-8F5ADCB23D92.cs
?????文件??????????0??2015-11-02?13:34??計算器\課后練習(xí)3\obj\Debug\TemporaryGeneratedFile_5937a670-0e60-4077-877b-f7221da3dda1.cs
?????文件??????????0??2015-11-02?13:34??計算器\課后練習(xí)3\obj\Debug\TemporaryGeneratedFile_E7A71F73-0F8D-4B9B-B56E-8E70B10BC5D3.cs
?????文件???????1167??2015-11-16?12:33??計算器\課后練習(xí)3\obj\Debug\課后練習(xí)3.csproj.FileListAbsolute.txt
?????文件????????977??2015-11-04?11:34??計算器\課后練習(xí)3\obj\Debug\課后練習(xí)3.csproj.GenerateResource.Cache
?????文件???????2211??2015-11-02?14:59??計算器\課后練習(xí)3\obj\Debug\課后練習(xí)3.csprojResolveAssemblyReference.cache
?????文件??????12288??2015-11-16?12:32??計算器\課后練習(xí)3\obj\Debug\課后練習(xí)3.exe
?????文件????????180??2015-11-04?11:34??計算器\課后練習(xí)3\obj\Debug\課后練習(xí)3.Form1.resources
?????文件??????30208??2015-11-16?12:32??計算器\課后練習(xí)3\obj\Debug\課后練習(xí)3.pdb
?????文件????????180??2015-11-02?13:44??計算器\課后練習(xí)3\obj\Debug\課后練習(xí)3.Properties.Resources.resources
?????文件????????525??2015-11-02?13:34??計算器\課后練習(xí)3\Program.cs
?????文件???????1368??2015-11-02?13:34??計算器\課后練習(xí)3\Properties\AssemblyInfo.cs
?????文件???????2878??2015-11-02?13:34??計算器\課后練習(xí)3\Properties\Resources.Designer.cs
?????文件???????5612??2015-11-02?13:34??計算器\課后練習(xí)3\Properties\Resources.resx
?????文件???????1100??2015-11-02?13:34??計算器\課后練習(xí)3\Properties\Settings.Designer.cs
?????文件????????249??2015-11-02?13:34??計算器\課后練習(xí)3\Properties\Settings.settings
?????文件???????3806??2015-11-02?13:44??計算器\課后練習(xí)3\課后練習(xí)3.csproj
?????文件???????1008??2015-11-02?13:34??計算器\課后練習(xí)3.sln
............此處省略12個文件信息
- 上一篇:資源管理,文件復(fù)制,生成MD5
- 下一篇:QQ的屏幕截圖程序
評論
共有 條評論