- 博客(3)
- 收藏
- 关注
翻译 C# 控制另一个窗体的方法
public partial class Form1 : Form //窗体一{ public Form1() { InitializeComponent(); } private void button1_Click(object sender, EventArgs e) { Form2 frm = new Form2(
2015-06-27 23:54:03 1504
原创 C# 判断字符串是否为数字
函数:private bool IsNumeric(string str){ int output; return int.TryParse(str, out output);}调用例子:string str="12345";if (IsNumeric(str))MessageBox.Show("纯数字");elseMessageBox.Show("不是纯数字"
2015-06-27 21:21:56 1054
原创 蛮力法求解旅行商
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.W
2015-06-27 21:14:38 1363
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人