仿QQ的C#源码、仿QQ的C#源码
根据企业对QQ系统的要求,本系统可以实现以下目标:
操作简单方便、界面简洁美观。
每个客户端只能注册一次。
可以在局域网中实现文字及大图片的传输。
可以实现局域网视频。
可以实现多用户的信息通信。
系统运行稳定、安全可靠。
操作注意事项
(1)在一台计算机中,不可以登录两个或两个以上的用户。
(2)在进行视频前,客户端和远程客户端必须打开通信窗口。
(3)在发送大图片的时候,传送的速度较慢。
(4)当用户第一次运行客户端程序时,将会弹出注册窗口进行注册,用户注册后,再次运行客户端程序时,将直接进行登录,无须注册。
网上图书管理系统-简单的图书管理系统
网上图书管理系统-简单的图书管理系统
个人图书管理系统源码
一个非常简单的个人图书管理系统,可以进行用户分级管理及图书借阅、归还登记,采用Asp.net三层开发
用户管理 添加用户 用户维护
书刊管理 添加书刊 书刊维护 高级搜索
个人信息 修改密码
c#的图书管理系统--个人图书管理系统源码
个人图书管理系统源码
一个非常简单的个人图书管理系统,可以进行用户分级管理及图书借阅、归还登记,采用Asp.net三层开发
发帖时上传文件的插件源码
发帖时上传文件的插件源码!不用手写,已经写好的固定插件!很好用!
学生管理系统(我们学校优秀作品)
登陆的代码如下
package denglu;
import java.awt.Color;
import java.awt.Font;
import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;
import java.awt.event.KeyAdapter;
import java.awt.event.KeyEvent;
import javax.swing.ImageIcon;
import javax.swing.JButton;
import javax.swing.JFrame;
import javax.swing.JLabel;
import javax.swing.JPasswordField;
import javax.swing.JTextField;
import javax.swing.SwingConstants;
import javax.swing.plaf.basic.BasicButtonUI;
import com.swtdesigner.SwingResourceManager;
public class DengLu extends JFrame{
private JPasswordField pass;
private static JTextField name;
public void DengLu() {
this.setTitle("登入窗口");
//设置登入窗口的属性参数
getContentPane().setLayout(null);
setSize(453, 317);
final JLabel label = new JLabel();
label.setHorizontalAlignment(SwingConstants.CENTER);
label.setForeground(new Color(128, 128, 0));
label.setFont(new Font("华文彩云", Font.BOLD, 48));
label.setText("学生管理系统");
label.setBounds(0, 0, 447, 77);
getContentPane().add(label);
final JLabel label_1 = new JLabel();
label_1.setForeground(new Color(128, 128, 0));
label_1.setFont(new Font("", Font.BOLD, 22));
label_1.setText("用 户 名:");
label_1.setBounds(56, 101, 122, 32);
getContentPane().add(label_1);
final JLabel label_1_1 = new JLabel();
label_1_1.setForeground(new Color(255, 255, 255));
label_1_1.setFont(new Font("", Font.BOLD, 22));
label_1_1.setText("密 码:");
label_1_1.setBounds(56, 154, 122, 32);
getContentPane().add(label_1_1);
name = new JTextField();//用户名输入框
name.setBounds(205, 105, 155, 32);
getContentPane().add(name);
pass = new JPasswordField();//密码输入框
pass.setBounds(205, 158, 155, 32);
pass.addKeyListener(new Key());//添加键盘监听
getContentPane().add(pass);
final JButton button_1 = new JButton();
button_1.setForeground(new Color(255, 255, 255));
//设置按钮的事件处理
button_1.addActionListener(new ActionListener() {
public void actionPerformed(final ActionEvent arg0) {
/*String s
手机管理系统源代码(虽然简单仅供大家参考)
一个简单的程序,4个人20天的心血.package zhuyemian;
import java.awt.BorderLayout;
import java.awt.Cursor;
import java.awt.Dimension;
import java.awt.Font;
import java.awt.Graphics;
import java.awt.Toolkit;
import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;
import java.io.IOException;
import java.text.SimpleDateFormat;
import java.util.Date;
import javax.swing.ImageIcon;
import javax.swing.JButton;
import javax.swing.JEditorPane;
import javax.swing.JFrame;
import javax.swing.JLabel;
import javax.swing.JMenu;
import javax.swing.JMenuBar;
import javax.swing.JMenuItem;
import javax.swing.JOptionPane;
import javax.swing.JPanel;
import javax.swing.JToolBar;
import javax.swing.UIManager;
import javax.swing.border.EtchedBorder;
//import com.qhit.LandAppend;
//import com.qhit.PasswordAmend;
import Kehuxinxi.Kehumain;
import Shouhoumain.Main;
import Xiaoshouxinxi.Xiaoshoumain;
import Chanpinxinxi.Chanpinmain;
public class Zhuyemian extends JFrame implements Runnable{
MyPanel panel = new MyPanel();
JLabel label;
public Zhuyemian() {
super();
this.setIconImage(new ImageIcon("shoujitubiao.jpg").getImage());//在标题上的图片
this.setTitle("手机销售信息管理");//标题
this.setResizable(false);//大小可否改变
setSize(1024, 768);
getContentPane().setLayout(null);
getContentPane().add(panel);
panel.setBounds(142, 37, 900, 738);
panel.setLayout(null);
final JMenuBar menuBar = new JMenuBar();
menuBar.setCursor(new Cursor(Cursor.DEFAULT_CURSOR));//设置鼠标形状为默认的箭头
setJMenuBar(menuBar);
final JMenu menujibencaozuo = new JMenu();
menujibencaozuo.setText("基本操作");
menuBar.add(menujibencaozuo);
final JMenuItem newItemMenuItem_1 = new JMenuItem();
newItemMenuItem_1.addActionListener(new ActionListener() {
public void actionPerformed(final ActionEvent arg0) {
new Kehumain();
}
});
newItemMenuItem_1.setText("客户信息");
menujibencaozuo.add(newItemMenuItem_1);
final JMenuItem newItemMenuItem = new JMenuItem();
newItemMenuItem.addActionListener(new ActionListener() {
public void actionPerformed(final ActionEvent arg0) {
new Chanpinmain();
}
});
newItemMenuItem.setText("产品信息");
menujibencaozuo.add(newItemMenuItem);
final JMenuItem newItemMenuItemxiaoshouxinxi = new JMenuItem();
newItemMenuItemxiaoshouxinxi.addActionListener(new ActionListener() {
public void actionPerformed(final ActionEvent arg0) {
new Xiaoshoumain();
}
});
newItemMenuItemxiaoshouxinxi.setText("销售信息");
menujibencaozuo.add(newItemMenuItemxiaoshouxinxi);
final JMenuItem newItemMenuItemshouhouxinxi = new JMenuItem();
newItemMenuItemshouhouxinxi.addActionListener(new ActionListener() {
public void actionPerformed(final ActionEvent arg0) {
new Main();
}
});
newItemMenuItemshouhouxinxi.setText("售后信息");
menujibencaozuo.add(newItemMenuItemshouhouxinxi);
final JMenu menugongju = new JMenu();
menugongju.setText("工具");
menuBar.add(menugongju);
final JMenuItem newItemMenuItemjisuanqi = new JMenuItem();
newItemMenuItemjisuanqi.setText("计算器");
newItemMenuItemjisuanqi.addActionListener(new ActionListener() {
public void actionPerformed(ActionEvent arg0) {
try {
Runtime.getRuntime().exec("calc.exe"); //设置运行任何系统可执行的程序----计算器
} catch (IOException e) {
e.printStackTrace();
}
}
});
menugongju.add(newItemMenuItemjisuanqi);
final JMenuItem newItemMenuItemjishiben = new JMenuItem();
newItemMenuItemjishiben.setText("记事本");
newItemMenuItemjishiben.addActionListener(new ActionListener() {
public void actionPerformed(ActionEvent arg0) {
try {
Runtime.getRuntime().exec("notepad.exe"); //设置运行任何系统可执行的程序----记事本
} catch (IOException e) {
e.printStackTrace();
}
}
});
menugongju.add(newItemMenuItemjishiben);
final JMenu menu = new JMenu();
menu.setText("密码设置");
menuBar.add(menu);
final JMenuItem newItemMenuItem_2 = new JMenuItem();
newItemMenuItem_2.addActionListener(new ActionListener() {
public void actionPerformed(final ActionEvent arg0) {
// LandAppend ls = new LandAppend();
}
});
newItemMenuItem_2.setText("注册管理员");
menu.add(newItemMenuItem_2);
final JMenuItem newItemMenuItem_3 = new JMenuItem();
newItemMenuItem_3.addActionListener(new ActionListener() {
public void actionPerformed(final ActionEvent arg0) {
// PasswordAmend frame = new PasswordAmend(null);
}
});
newItemMenuItem_3.setText("修改密码");
menu.add(newItemMenuItem_3);
final JButton xiaishouxinxi = new JButton();
xiaishouxinxi.addActionListener(new ActionListener() {
public void actionPerformed(final ActionEvent arg0) {
Xiaoshoumain xsm =new Xiaoshoumain();
}
});
xiaishouxinxi.setIcon(SwingResourceManager.getIcon(Zhuyemian.class, "/xiaoshouxinxi.jpg"));
xiaishouxinxi.setCursor(new Cursor(Cursor.DEFAULT_CURSOR));//设置鼠标形状为默认的箭头
xiaishouxinxi.setBorder(new EtchedBorder(EtchedBorder.LOWERED));
xiaishouxinxi.setText("");
xiaishouxinxi.setBounds(0, 369, 136, 139);
getContentPane().add(xiaishouxinxi);
final JButton shouhouxinxi = new JButton();
shouhouxinxi.addActionListener(new ActionListener() {
public void actionPerformed(final ActionEvent arg0) {
Main mm=new Main();
}
});
shouhouxinxi.setIcon(SwingResourceManager.getIcon(Zhuyemian.class, "/shouhouxinxi.jpg"));
shouhouxinxi.setCursor(new Cursor(Cursor.DEFAULT_CURSOR));//设置鼠标形状为默认的箭头
shouhouxinxi.setBorder(new EtchedBorder(EtchedBorder.LOWERED));
shouhouxinxi.setText("");
shouhouxinxi.setBounds(0, 537, 136, 139);
getContentPane().add(shouhouxinxi);
final JButton chanpinxinxi = new JButton();
chanpinxinxi.addActionListener(new ActionListener() {
public void actionPerformed(final ActionEvent arg0) {
Chanpinmain cpm=new Chanpinmain();
}
});
chanpinxinxi.setBounds(0, 202, 136, 134);
getContentPane().add(chanpinxinxi);
chanpinxinxi.setBorder(new EtchedBorder(EtchedBorder.LOWERED));
chanpinxinxi.setIcon(SwingResourceManager.getIcon(Zhuyemian.class, "/chanpinxinxi.jpg"));
chanpinxinxi.setCursor(new Cursor(Cursor.DEFAULT_CURSOR));//设置鼠标形状为默认的箭头
chanpinxinxi.setText("");
final JButton kehuxinxi = new JButton();
kehuxinxi.setBounds(0, 37, 136, 134);
getContentPane().add(kehuxinxi);
kehuxinxi.addActionListener(new ActionListener() {
public void actionPerformed(final ActionEvent arg0) {
new Kehumain();
}
});
kehuxinxi.setIcon(SwingResourceManager.getIcon(Zhuyemian.class, "/kehuxinxi.jpg"));
kehuxinxi.setCursor(new Cursor(Cursor.DEFAULT_CURSOR));//设置鼠标形状为默认的箭头
kehuxinxi.setText("");
this.setCursor(new Cursor(Cursor.HAND_CURSOR));//设置鼠标形状为手型
label = new JLabel();
label.setText("");
label.setBounds(805, 0, 213, 36);
getContentPane().add(label);
final JToolBar toolBar = new JToolBar();
toolBar.setBounds(2, 1, 1016, 34);
getContentPane().add(toolBar);
final JButton Bangzhu= new JButton();
toolBar.add(Bangzhu);
Bangzhu.setIcon(SwingResourceManager.getIcon(Zhuyemian.class, "/帮助.png"));
Bangzhu.setCursor(new Cursor(Cursor.DEFAULT_CURSOR));//设置鼠标形状为默认的箭头
Bangzhu.setText("帮助");
final JButton dayin = new JButton();
toolBar.add(dayin);
dayin.setIcon(SwingResourceManager.getIcon(Zhuyemian.class, "/print.png"));
dayin.setCursor(new Cursor(Cursor.DEFAULT_CURSOR));//设置鼠标形状为默认的箭头
dayin.setText("打印");
final JButton tuichu = new JButton();
toolBar.add(tuichu);
tuichu.addActionListener(new ActionListener() {
public void actionPerformed(final ActionEvent arg0) {
int aa=JOptionPane.showConfirmDialog(null, "你确认要退出吗?","确定",2);
if(aa==JOptionPane.YES_OPTION){
dispose();
}
}
});
tuichu.setIcon(SwingResourceManager.getIcon(Zhuyemian.class, "/退出.png"));
tuichu.setCursor(new Cursor(Cursor.DEFAULT_CURSOR));//设置鼠标形状为默认的箭头
tuichu.setText("退出");
/*******************************************设定窗体的位置(居中)*******************************************/
Toolkit kit=Toolkit.getDefaultToolkit();
Dimension screen=kit.getScreenSize();
int height=screen.height;//当前屏幕高度
int width=screen.width;//当前屏幕宽度
this.setLocation((width-this.getWidth())/2,(height-this.getHeight())/3);
this.setVisible(true);
//启动多线程
Thread th =new Thread(this);
th.start();
}
/*******************************************时钟run方法*******************************************/
public void run() {
while(true){
Date d =new Date();
SimpleDateFormat sdf =new SimpleDateFormat("yyyy-M-dd hh:mm:ss");
String str =sdf.format(d);
label.setText(str);
try {
Thread.sleep(1000);
} catch (InterruptedException e) {
// TODO Auto-generated catch block
e.printStackTrace();
}
}
}
public static void main(String[] args) {
//改变观感 //org.jvnet.substance.SubstanceLookAndFeel
try {
UIManager.setLookAndFeel("com.birosoft.liquid.LiquidLookAndFeel");
} catch (Exception e) {
e.printStackTrace();
}
new Zhuyemian();
}
}
/******************************************添加背景图片*******************************************/
class MyPanel extends JPanel{
//1.从写这个方法
public void paintComponent(Graphics g) {
ImageIcon icon = new ImageIcon("zhujiemian.jpg");
g.drawImage(icon.getImage(), 0, 0, this.getWidth(), this.getHeight(), this);
}
}
图书管理系统(现成的小软件)
简单易于操作,可供大家做毕业设计时参考!
JSP的相关资料(基础语法,技术手册,使用教程)
JSP基础和相关的问题处理!JSP的相关资料(基础语法,技术手册,使用教程)。