Description: Dijkstra算法求最短路径(C#版) using System
using System.Collections
using System.Text
namespace Greedy
{
class Marx
{
private int[] distance
private int row
private ArrayList ways = new ArrayList()
public Marx(int n,params int[] d)
{
this.row = n
distance = new int[row * row]
for (int i = 0 i < row * row i++)
{
this.distance[i] = d[i]
Platform: |
Size: 210319 |
Author:wwf |
Hits:
Description: using System
using System.Collections.Generic
using System.Text
using DataAccess
using System.Data
namespace Business
{
public class SalesTable
{
DataOperate temp = new DataOperate(\"server=. uid=sa pwd=sa database=pubs\")
public DataTable GetSales()
{
try
{
string sql = \"select * from sales\"
return temp.GetDataBySql(sql, \"sales\").Tables[\"sales\"]
}
catch (Exception ex)
{
throw new Exception(ex.Message)
}
}
}
} Platform: |
Size: 7133 |
Author:兜兜 |
Hits:
Description: 使用正则表达式实现数据验证
using System
using System.Drawing
using System.Collections
using System.ComponentModel
using System.Windows.Forms
using System.Data
using System.Text.RegularExpressions
namespace RegexT
{
/// <summary>
/// Form1 的摘要说明
#region Windows 窗体设计器生成的代码
/// <summary>
/// 设计器支持所需的方法 - 不要使用代码编辑器修改
/// 此方法的内容。 Platform: |
Size: 9190 |
Author:000 |
Hits:
Description: Dijkstra算法求最短路径(C#版) using System
using System.Collections
using System.Text
namespace Greedy
{
class Marx
{
private int[] distance
private int row
private ArrayList ways = new ArrayList()
public Marx(int n,params int[] d)
{
this.row = n
distance = new int[row * row]
for (int i = 0 i < row * row i++)
{
this.distance[i] = d[i]
-Dijkstra algorithm for shortest path (C# Version) using System using System.Collections using System.Text namespace Greedy (class Marx (private int [] distance private int row private ArrayList ways = new ArrayList () public Marx (int n, params int [] d) (this.row = n distance = new int [row* row] for (int i = 0 i Platform: |
Size: 209920 |
Author:wwf |
Hits:
Description: 使用正则表达式实现数据验证
using System
using System.Drawing
using System.Collections
using System.ComponentModel
using System.Windows.Forms
using System.Data
using System.Text.RegularExpressions
namespace RegexT
{
/// <summary>
/// Form1 的摘要说明
#region Windows 窗体设计器生成的代码
/// <summary>
/// 设计器支持所需的方法 - 不要使用代码编辑器修改
/// 此方法的内容。-Use regular expressions for data validation using System using System.Drawing using System.Collections using System.ComponentModel using System.Windows.Forms using System.Data using System.Text.RegularExpressions namespace RegexT (/// <summary>///Form1 s a summary of# region Windows Form Designer generated code///<summary>///Designer to support the required method- Do not use a code editor to modify///the contents of this method. Platform: |
Size: 9216 |
Author:000 |
Hits:
Description: ”青鸟影院”开始营业,需要一个售票系统:
使用XML和TreeView显示影院放映列表
使用泛型集合维护有继承关系的电影票对象
座位数可以在系统中指定
点击座位可购买不同类型的电影票
使用简单工厂模式创建不同类型的电影票
使用多态实现不同类型电影票的价格计算
使用接口实现电影票的打印
使用序列化和反序列化实现销售情况的保存和读取 -" Bluebird Theater" start of business,the need for a ticketing system:
the use of XML and TreeView cinema list shows
the use of generic collections have inherited the maintenance of the relationship between movie ticket object can seat a few clicks in the system designated seating may purchase different types of movie ticket
use simple factory pattern to create different types of movie ticket
using many different types of state implementation of the movie ticket price movie ticket
using the interface of the print
using the serialize and implementation of sales of the preservation and read Platform: |
Size: 6802432 |
Author:廖国锐 |
Hits:
Description: 可以实现多种功能,可以实现在线测试,在线评分等多种功能-using System
using System.Data
using System.Configuration
using System.Collections
using System.Web
using System.Web.Security
using System.Web.UI
using System.Web.UI.WebControls
using System.Web.UI.WebControls.WebParts
using System.Web.UI.HtmlControls
using System.Data.SqlClient Platform: |
Size: 416768 |
Author:zhanghuahua |
Hits:
Description: 客户服务登陆界面的图片显示,如果有不清楚地可以直接询问本人-using System
using System.Collections.Generic
using System.Text
using System.Web.UI.WebControls
using System.Web.UI.Design
using System.Web.UI
using System.Collections.Specialized
using System.ComponentModel
using System.Drawing.Design
using System.Web
using System.Collections
using System.IO
namespace LmsWebControl
{
[ToolboxData("<{0}:BinaryImage runat=server></{0}:BinaryImage>"), Designer(typeof(BinaryImageDesigner)), Description("")]
public class BinaryImage : WebControl
{
private byte[] m_Binary = null
private bool m_FixIsDefault = false
private string m_FixImageSrc = string.Empty
private ImageAlign m_ImageAlign = ImageAlign.NotSet
private const string BINARYIMAGEKEY = "BinaryImage"
protected override void LoadViewState(object savedState)
{
object[] o = savedState as object[]
List<object> list = o[1] as List<object>
Platform: |
Size: 1024 |
Author:刘超 |
Hits:
Description: 锁屏软件代码 using System
using System.Collections.Generic
using System.ComponentModel
using System.Data
using System.Drawing
using System.Text
using System.Windows.Forms
using Microsoft.Win32
namespace 锁屏软件
{
public partial class 全屏 : Form
{
public 全屏(string str)
{
InitializeComponent()
this.textBox2.Text = str
this.TopMost =true
}
private void 全屏_KeyDown(object sender, KeyEventArgs e)
{
if (e.Alt == true && e.KeyCode == Keys.F4)
{
e.Handled = true
}-Screen lock software code using System using System.Collections.Generic using System.ComponentModel using System.Data using System.Drawing using System.Text using System.Windows.Forms using Microsoft.Win32 namespace screen lock software (public partial class full-screen: Form (public full-screen (string str) (InitializeComponent () this.textBox2.Text = str this.TopMost = true ) private void fullscreen _KeyDown (object sender, KeyEventArgs e) ( if (e.Alt == true & & e.KeyCode == Keys.F4) (e.Handled = true ) Platform: |
Size: 87040 |
Author:loveyue |
Hits:
Description: 仿照ArcMap using System
using System.Collections.Generic
using System.ComponentModel
using System.Data
using System.Drawing
using System.Text
using System.Windows.Forms
using ESRI.ArcGIS.esriSystem
using ESRI.ArcGIS.SystemUI
using ESRI.ArcGIS.Geometry
using ESRI.ArcGIS.Display
using ESRI.ArcGIS.Geodatabase
using ESRI.ArcGIS.Carto
using ESRI.ArcGIS.Controls
namespace ArcMap
{
public partial class frmProperty : Form
{
public IMapControl2 pMapControl
public IEnvelope pEnvelop
public frmProperty(IMapControl2 pFMapControl, IEnvelope pFEnvelop)
{
InitializeComponent()
pMapControl = pFMapControl
pEnvelop = pFEnvelop
}
-Modeled ArcMap using System using System.Collections.Generic using System.ComponentModel using System.Data using System.Drawing using System.Text using System.Windows.Forms using ESRI.ArcGIS.esriSystem using ESRI.ArcGIS . SystemUI using ESRI.ArcGIS.Geometry using ESRI.ArcGIS.Display using ESRI.ArcGIS.Geodatabase using ESRI.ArcGIS.Carto using ESRI.ArcGIS.Controls namespace ArcMap (public partial class frmProperty: Form (public IMapControl2 pMapControl public IEnvelope pEnvelop public frmProperty (IMapControl2 pFMapControl, IEnvelope pFEnvelop) (InitializeComponent () pMapControl = pFMapControl pEnvelop = pFEnvelop ) Platform: |
Size: 79872 |
Author:loveyue |
Hits:
Description: Algorithm Collections for Digital Signal Processing Applications using Matlab - E.S. Gopi
This contains good number of algorithms that might be useful while designing any digital system using MATLAB-Algorithm Collections for Digital Signal Processing Applications using Matlab- E.S. Gopi
This contains good number of algorithms that might be useful while designing any digital system using MATLAB Platform: |
Size: 3574784 |
Author:Anoop |
Hits:
Description: using System
using System.Collections
using System.Collections.Generic
using System.Text
using System.Data
using System.Data.SqlClient
using System.Xml
using System.Net
using System.Text.RegularExpressions Platform: |
Size: 73728 |
Author:agod |
Hits:
Description: mahout是一个开源的软件包,对搜索引擎的聚类,分类算法以及推荐系统算法的代码实现-mahout is an open source software package, the search engine clustering, classification and recommendation system algorithm algorithms code Platform: |
Size: 54227968 |
Author:zhaoln |
Hits:
Description: 一旦我们创建了上面的asmx文件,进行编译后,我们就可以编写客户端的代码来进行调用这个Web Services了。
我们先“添加Web引用”,输入:http://localhost/aspxWebCS/GetBinaryFile.asmx。下面,我们编写显示文件的中间文件:GetBinaryFileShow.aspx,这里,我们只需要在后代码里编写代码即可,GetBinaryFileShow.aspx.cs文件内容如下:-using System
using System.Collections
using System.ComponentModel
using System.Data
using System.Drawing
using System.Web
using System.Web.SessionState
using System.Web.UI
Platform: |
Size: 1024 |
Author:fengyeats |
Hits:
Description: using System
using System.Collections.Generic
using System.Linq
using System.Text
using System.Windows
using System.Windows.Controls
using System.Windows.Data
using System.Windows.Documents
using System.Windows.Input
using System.Windows.Media
using System.Windows.Media.Imaging
using System.Windows.Navigation
using System.Windows.Shapes
namespace Test_1
{
/// <summary>
/// Interaction logic for Window1.xaml
/// </summary>
public partial class Window1 : Window
{
public Window1()
{
InitializeComponent()
}
private void Tamam_Click(object sender, RoutedEventArgs e)
{
MessageBox.Show("Naber La " + giris.Text)
}
}
}
-using System
using System.Collections.Generic
using System.Linq
using System.Text
using System.Windows
using System.Windows.Controls
using System.Windows.Data
using System.Windows.Documents
using System.Windows.Input
using System.Windows.Media
using System.Windows.Media.Imaging
using System.Windows.Navigation
using System.Windows.Shapes
namespace Test_1
{
/// <summary>
/// Interaction logic for Window1.xaml
/// </summary>
public partial class Window1 : Window
{
public Window1()
{
InitializeComponent()
}
private void Tamam_Click(object sender, RoutedEventArgs e)
{
MessageBox.Show("Naber La " + giris.Text)
}
}
}
Platform: |
Size: 31744 |
Author:nyoo |
Hits: