登录
首页 » C# » C# 入门级MVC实例源码(用到了NHibernate)

C# 入门级MVC实例源码(用到了NHibernate)

于 2014-11-25 发布
0 183
下载积分: 1 下载次数: 0

代码说明:

C# 入门级MVC实例源码(用到了NHibernate)

下载说明:请别用迅雷下载,失败请重下,重下不扣分!

发表评论

0 个回复

  • C# 套打Demo
    套打Demo 【核心代码】using System;using System.Collections.Generic;using System.ComponentModel;using System.Data;using System.Drawing;using System.Text;using System.Windows.Forms;using System.Drawing.Printing;namespace Print_Demo{ public partial class Form1 : Form { public PrintDocument printDt = new PrintDocument(); //打印文档对象 Font printFont; //打印使用的字体 public Form1() { InitializeComponent(); } void printDt_PrintPage(object sender, PrintPageEventArgs e) { float pointX = 10; float pointY = 10; e.Graphics.DrawString("打印内容", new Font("宋体", 16F), Brushes.Black, pointX 60, pointY); e.Graphics.DrawLine(new Pen(Color.Black), pointX, pointY 26,pointX 300,pointY 26); e.Graphics.DrawString("打印内容", printFont, Brushes.Black, pointX, pointY 35); e.Graphics.DrawLine(new Pen(Color.Black), pointX, pointY 56, pointX 300, pointY 56); e.Graphics.DrawString("打印内容", printFont, Brushes.Black, pointX, pointY 65); e.Graphics.DrawLine(new Pen(Color.Black), pointX, pointY 86, pointX 300, pointY 86); e.Graphics.DrawString("打印内容", printFont, Brushes.Black, pointX, pointY 95); e.Graphics.DrawLine(new Pen(Color.Black), pointX, pointY 116, pointX 300, pointY 116); e.Graphics.DrawString("打印内容", printFont, Brushes.Black, pointX, pointY 125); e.Graphics.DrawLine(new Pen(Color.Black), pointX, pointY 146, pointX 300, pointY 146); e.Graphics.DrawString("打印内容", printFont, Brushes.Black, pointX, pointY 155); e.Graphics.DrawLine(new Pen(Color.Black), pointX, pointY 176, pointX 300, pointY 176); e.Graphics.DrawString("打印内容", printFont, Brushes.Black, pointX, pointY 185); e.Graphics.DrawLine(new Pen(Color.Black), pointX, pointY 206, pointX 300, pointY 206); e.Graphics.DrawString("检测结果", printFont, Brushes.Black, pointX, pointY 233); e.Graphics.DrawString("通过", new Font("宋体",22F,FontStyle.Bold), Brushes.Black, pointX 90, pointY 225); e.Graphics.DrawLine(new Pen(Color.Black), pointX, pointY 265, pointX 300, pointY 265); e.Graphics.DrawString("单位名称", printFont, Brushes.Black, pointX, pointY 275); } private void Form1_Load(object sender, EventArgs e) { printDt.PrintPage = new PrintPageEventHandler(printDt_PrintPage); printFont = new Font("宋体", 12F); } private void btnPrint_Click(object sender, EventArgs e) { //PrintDialog printDlg = new PrintDialog(); //printDlg.Document = printDt; //printDlg.AllowPrintToFile = true; //printDlg.AllowCurrentPage = true; //printDlg.AllowSelection = true; //printDlg.ShowDialog(); //printDlg.ShowDialog(); printDt.Print(); } private void btnLook_Click(object sender, EventArgs e) { PrintPreviewDialog printPreview = new PrintPreviewDialog(); printPreview.PrintPreviewControl.Document = printDt; printPreview.ShowDialog(this); } }}
    2021-05-06下载
    积分:1
  • 房屋出租管理系统
    房屋出租管理系统
    2017-05-22下载
    积分:1
  • 多选的combox
    多选的combox
    2015-03-20下载
    积分:1
  • 通过api获取网易云音乐歌曲信息(获取mp3地址以及在线播放)
    通过api获取网易云音乐歌曲信息(获取mp3地址以及在线播放)
    2018-09-15下载
    积分:1
  • C# Unity 依赖注入例子
    C# Unity 依赖注入例子
    2015-06-10下载
    积分:1
  • 非常酷的悬浮图片文字效果
    非常酷的悬浮图片文字效果,效果非常棒,可以随鼠标移动而移动,支持ASP.NET服务器控件,可以使用在数据展示控件上,通过模板列加载调用,使用非常简单!可以悬浮显示文字和图片,强烈推荐 支持文字和图片
    2013-08-14下载
    积分:1
  • C# 自绘窗体 示例源码
    C# 自绘窗体 示例源码
    2013-10-03下载
    积分:1
  • C++ PC_PC串口通信实例.pdf(图文教程)
    MFC, PC端到PC端 通过串口通信
    2020-04-06下载
    积分:1
  • bitsharp 例子源码下载 bitcoin
    bitsharp 例子源码下载 bitcoin
    2014-10-23下载
    积分:1
  • ProxyHelper IE 代理 操作类 源码
    ProxyHelper IE 代理 操作类 源码
    2013-08-02下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载