自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+

w92a01n19g的专栏

计算机编程世界

  • 博客(57)
  • 资源 (2)
  • 问答 (1)
  • 收藏
  • 关注

原创 $.messager.alert

使用$.messager.alert要引入jquery.easyui,,,否则失效,他是jquery.easyui的控件

2015-10-15 10:12:37 1236

原创 js获得表格多行数据(多选框)

// 取得table行数据  function get_table_data(tid) {   var t_data = "[";   var flg = true;      var td_data_temp = "";      //tr        $("#" + tid).find("tr").each(function(i) {       if (

2015-09-30 15:48:37 4020

原创 价格输入框的校验(数字,两个小数)

function checkNum(obj){        obj.value = obj.value.replace(/[^\d.]/g,"");                obj.value = obj.value.replace(/^\./g,"");                 obj.value = obj.value.replace(/\.{2,}/g

2015-09-28 18:24:03 1253

原创 Sql表自连接,数据库中查询没问题,Hibernate中查询有问题?

原先的SQL:         SELECT md.repertory,       md.mid,       md.status,       m.pic,       m.name,       m.selling_price,       m.vendor,       mp.property_value,       mp2.property_valu

2015-09-24 10:30:34 474

原创 文件读写

using System;using System.Collections.Generic;using System.ComponentModel;using System.Data;using System.Drawing;using System.Linq;using System.Text;using System.Windows.Forms;using Sy

2013-05-14 20:01:03 648

原创 Fileatream表示文件流,它能够打开和关闭文件,并对文件进行单字节的读写操作。 StreamReader和StreamWriter以文本方式对流进行读写操作。建立一个文本文件,分别使用上面两种方

using System;using System.Collections.Generic;using System.ComponentModel;using System.Data;using System.Drawing;using System.Linq;using System.Text;using System.Windows.Forms;using Sy

2013-05-14 20:00:13 1586

原创 .编写一个Windows应用程序,由给定数据25,15,10,30,20饼图

using System;using System.Collections.Generic;using System.ComponentModel;using System.Data;using System.Drawing;using System.Linq;using System.Text;using System.Windows.Forms;name

2013-05-14 19:58:59 608

原创 绘制文字,。说明:该文字由图片充填,图片自己找

using System;using System.Collections.Generic;using System.ComponentModel;using System.Data;using System.Drawing;using System.Linq;using System.Text;using System.Windows.Forms;name

2013-05-14 19:58:14 669

原创 使用PathGradientBrush类

using System;using System.Collections.Generic;using System.ComponentModel;using System.Data;using System.Drawing;using System.Drawing.Drawing2D;using System.Linq;using System.Text;usin

2013-05-14 19:57:11 3150

原创 使用LinearGradientBrush类

using System;using System.Collections.Generic;using System.ComponentModel;using System.Data;using System.Drawing;using System.Drawing.Drawing2D;using System.Linq;using System.Text;usin

2013-05-14 19:56:20 3090

原创 创建一个如下的窗体,并在窗体上放置两个按钮(button1、button2)、一个标签(label1,用于显示所选图片路径和文件名)、一个图片框(pictureBox1,用于显示所选图片)、一个打开对

using System;using System.Collections.Generic;using System.ComponentModel;using System.Data;using System.Drawing;using System.Linq;using System.Text;using System.Windows.Forms;using Sy

2013-05-08 21:22:56 9036

原创 :创建一个窗体;在窗体上添加一个按钮(text设置为 选择线颜色);向窗体添加一个颜色对话框(colorDialog1)单击按钮,能够打开一个颜色对话框,选择颜色,且更改画笔颜色

using System;using System.Collections.Generic;using System.ComponentModel;using System.Data;using System.Drawing;using System.Linq;using System.Text;using System.Windows.Forms;namespac

2013-05-08 21:19:03 3619

原创 创建一个登录窗体(frmLogin)、一个主窗体(frmMain)、两个子窗体(frm子窗体1、frm子窗体2)。

111111111111111111111111111111111111111using System;using System.Collections.Generic;using System.Linq;using System.Windows.Forms;namespace WindowsFormsApplication11{    static class Pro

2013-05-08 20:46:45 11362

原创 窗体中有一个图片框,显示一副图片。要求:1)在窗体打开时,动态加载图片;2)设置图片显示模式为根据图片框大小缩放图片;3)图片自己找;4)当鼠标停留在图片框时,显示“**风光”提

using System;using System.Collections.Generic;using System.ComponentModel;using System.Data;using System.Drawing;using System.Linq;using System.Text;using System.Windows.Forms;name

2013-04-28 20:32:29 2923

原创 在窗体上增加一个按钮,并设置按钮显示文字为“结束程序”。单击该按钮显示如下消息框,若选择是,则结束程序,否则只是关闭消息框。

using System;using System.Collections.Generic;using System.ComponentModel;using System.Data;using System.Drawing;using System.Linq;using System.Text;using System.Windows.Forms;name

2013-04-28 20:31:33 3846

原创 在窗体上放置saveFileDialog、openFileDialog两个控件。实现功能:1)程序运行时,在文本框(注意文本框多行、带垂直滚动条)中输入汉字、字符等,单击保存按钮,即可将文本框中内容保

using System;using System.Collections.Generic;using System.ComponentModel;using System.Data;using System.Drawing;using System.Linq;using System.Text;using System.Windows.Forms;using Sy

2013-04-28 20:30:33 3137

原创 创建一个如下的窗体,并在窗体上放置colorDialog控件。实现功能:1)程序运行时,单击打开颜色对话框按钮,可选择颜色,并以所选颜色作为窗体背景色

using System;using System.Collections.Generic;using System.ComponentModel;using System.Data;using System.Drawing;using System.Linq;using System.Text;using System.Windows.Forms;name

2013-04-28 20:29:40 4573

原创 在窗体上放置一个标签、一个按钮、一个fontDialog控件。标签内容改为“烟台大学”。实现功能:1)程序运行时,单击打开字体对话框按钮,可选择字体,并以所选字体作为标签字体。

using System;using System.Collections.Generic;using System.ComponentModel;using System.Data;using System.Drawing;using System.Linq;using System.Text;using System.Windows.Forms;name

2013-04-28 20:28:46 2830

原创 在窗体上放置一个标签、一个treeviw控件。窗体打开时,动态为treeviw控件添加节点,选择某个节点后,标签上显示所选内容。

using System;using System.Collections.Generic;using System.ComponentModel;using System.Data;using System.Drawing;using System.Linq;using System.Text;using System.Windows.Forms;name

2013-04-28 20:28:02 1527

原创 在窗体上放置一个菜单、一个工具栏控件,工具栏上有两个按钮,分别对应“打开文本文件”、“保存文本文件”

using System;using System.Collections.Generic;using System.ComponentModel;using System.Data;using System.Drawing;using System.Linq;using System.Text;using System.Windows.Forms;using Sy

2013-04-28 20:26:40 2064

原创 :1)复选框中文字在左边;2)最下部为水平滚动条。水平滚动条最小值为4、最大值为72;且在窗体Load事件中通过代码设置;3)单击任何复选框,标签上文字样式都发生变化;4)单击任意单选按钮,标签上文字

using System;using System.Collections.Generic;using System.ComponentModel;using System.Data;using System.Drawing;using System.Linq;using System.Text;using System.Windows.Forms;name

2013-04-26 22:18:48 1857

原创 设计一个窗体。窗体上有2个按钮,一个显示文本,一个显示图片。单击上面按钮,或按下alt+B可以弹出右边所示的消息框。单击下面按钮也可以弹出右边所示的消息框

using System;using System.Collections.Generic;using System.ComponentModel;using System.Data;using System.Drawing;using System.Linq;using System.Text;using System.Windows.Forms;name

2013-04-26 22:17:43 4241

原创 设计一个窗体。窗体上有一个文本框,该文本框中只能输入0至9十种数字。

using System;using System.Collections.Generic;using System.ComponentModel;using System.Data;using System.Drawing;using System.Linq;using System.Text;using System.Windows.Forms;name

2013-04-26 22:16:46 2536

原创 窗体上有两个文本框:一个文本框中最多输入字符6个;一个文本框中输入任何内容都显示*号。再添加一个按钮、2个单选按钮。实现单击按钮后,根据单选按钮,将对应文本框中内容显示在标签

using System;using System.Collections.Generic;using System.ComponentModel;using System.Data;using System.Drawing;using System.Linq;using System.Text;using System.Windows.Forms;name

2013-04-26 22:15:55 10240

原创 。窗体上有一个文本框(多行、且带有垂直滚动条)、一个标签(字体颜色红色、字号16)、一个按钮(该按钮被单击时,实现将文本框中选择文本复制至标签。

using System;using System.Collections.Generic;using System.ComponentModel;using System.Data;using System.Drawing;using System.Linq;using System.Text;using System.Windows.Forms;name

2013-04-26 22:14:05 4899

原创 设计一个如下图所示窗体:该窗体自动位于屏幕中央;大小不可调;最小化、最大化按钮不可用;窗体标题为“烟台大学”。在该窗体上,放置一个按钮、一个标签。单击按钮时,在标签上显示当前系统时间。

using System;using System.Collections.Generic;using System.ComponentModel;using System.Data;using System.Drawing;using System.Linq;using System.Text;using System.Windows.Forms;name

2013-04-26 22:10:40 5540

原创 利用Timer和图片框控件,编写一个图片不断向左移动的小动画

using System;using System.Collections.Generic;using System.ComponentModel;using System.Data;using System.Drawing;using System.Linq;using System.Text;using System.Windows.Forms;namespac

2013-04-24 19:55:03 2024

原创 滚动条

using System;using System.Collections.Generic;using System.ComponentModel;using System.Data;using System.Drawing;using System.Linq;using System.Text;using System.Windows.Forms;namespac

2013-04-24 19:54:04 562

原创 利用Random类产生10个[10,99]之间的随机数,并将这10个随机数在列表框中显示出来,每个数占一项。用户选择某项后,在右边标签中显示所选内容。

using System;using System.Collections.Generic;using System.ComponentModel;using System.Data;using System.Drawing;using System.Linq;using System.Text;using System.Windows.Forms;namespac

2013-04-24 19:52:34 8473

原创 利用Timer控件【Timer(6.4.9)】编写C# Windows应用程序,设计一个如下效果电子时钟。

using System;using System.Collections.Generic;using System.ComponentModel;using System.Data;using System.Drawing;using System.Linq;using System.Text;using System.Windows.Forms;namespac

2013-04-24 19:51:41 1689

原创 设计一个windows应用程序,实现不同运算。

using System;using System.Collections.Generic;using System.ComponentModel;using System.Data;using System.Drawing;using System.Linq;using System.Text;using System.Windows.Forms;namespac

2013-04-24 19:50:26 813

原创 1)复选框中文字在左边;2)水平滚动条最小值为4、最大值为72;且在窗体Load事件中通过代码设置;3)单击任何复选框,标签上文字样式都发生变化;4)单击任意单选按钮,标签上文字字体都发生改变;5)拖

using System;using System.Collections.Generic;using System.ComponentModel;using System.Data;using System.Drawing;using System.Linq;using System.Text;using System.Windows.Forms;namespac

2013-04-24 19:49:25 1881

原创 窗体标题为“我文本框实验”;窗体上一个标签,内容如图;窗体上有一个文本框,文本框只能输入0至9这十种数字,且最多输入8个数字;单击结束按钮程序即可结束。

using System;using System.Collections.Generic;using System.ComponentModel;using System.Data;using System.Drawing;using System.Linq;using System.Text;using System.Windows.Forms;namespac

2013-04-24 19:48:12 1869

原创 窗体链接

窗体上有两个标签,其中一个为链接标签,单击该链接可以打开烟大主页;窗体上的两个标签字体宋体,字号16号;单击结束按钮程序即可结束using System;using System.Collections.Generic;using System.ComponentModel;using System.Data;using System.Drawing;using Syste

2013-04-23 20:19:48 644

原创 java版词法分析程序

package com;import java.io.BufferedReader;import java.io.FileReader;import java.io.IOException;public class Wordanalsys {   static int index=0;   static int j=0;   static char  allstr[]=

2013-04-16 21:38:26 1498

原创 实验Sort、Reverse 、Copy、IndexOf、BinarySearch、Clear 、GetLength()、GetLowerBound()、GetUpperBound ()方法;实验Ra

using System;using System.Collections.Generic;using System.Linq;using System.Text;namespace ConsoleApplication9{    class Program    {        //BinarySearch、Clear                 s

2013-04-06 15:19:45 729

原创 实验string类下述方法

using System;using System.Collections.Generic;using System.Linq;using System.Text;namespace ConsoleApplication7{    class Program    {        static void Main(string[] args)        {

2013-04-06 15:18:40 553

原创 设计一个类,该类中有一个方法,该方法使用Random类随机产生10个三位数字(如636)的随机数,并把产生的10个随机数存入数组中。然后在另一个类中输出这10个数

using System;using System.Collections.Generic;using System.Linq;using System.Text;namespace ConsoleApplication6{//设计一个类,该类中有一个方法,该方法使用Random类    //随机产生10个三位数字(如636)的随机数,    //并把产生的10个随机数

2013-04-06 15:17:45 8105 1

原创 、输入某人出生日期(以字符串方式输入,如1987-4-1)使用DateTime和TimeSpan类,(1)计算其人的年龄;(2)计算从现在到其60周岁期间,总共多少天。

using System;using System.Collections.Generic;using System.Linq;using System.Text;namespace ConsoleApplication5{    class Program    {        static void Main(string[] args)        {

2013-04-06 15:16:34 3299

原创 复制文件

package com;import java.io.FileInputStream;import java.io.FileOutputStream;public class demo01{ public static void main(String[] args) throws Exception {  FileInputStream fi=new FileInpu

2013-03-27 18:19:23 467

web 编程 前台

几个web前台编程,简单易懂,中间有几个连接,自己可以再加上后台

2013-06-19

java语言程序设计 英文版课后答案

java语言程序设计 第六版英文版课后答案

2012-12-11

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除