资源简介
C#+SQL SERVER耗材管控系统,该系统主板管控耗材入库、出库、退领、档案备份、查询等功能!!
代码片段和文件信息
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.Windows.Forms;
using System.IO;
using System.Drawing.Imaging;
namespace Consumable_Control_System_V1._00
{
public partial class Add_NEW_Item : Form
{
public Add_NEW_Item()
{
InitializeComponent();
}
private void Form1_FormClosing(object sender FormClosingEventArgs e)
{
System.Environment.Exit(1);
}
public String User_Name = String.Empty;
public int User_Grade = 0;
private void Add_NEW_Item_Load(object sender EventArgs e)//区域
{
String Sql_Str = “SELECT * FROM Equipment_Use_Area“;
OperationDatabase GetStorageArea = new OperationDatabase(@“SERVER2\SERVER2“ “E_Material_Control“ “sa“ “adminsystem“ Sql_Str);
if (GetStorageArea.Get_Storage_Area(comboBox1 “Region_For_Use“))
{
comboBox1.Focus();
comboBox1.Enabled = true;
}
Option_Windows ss = (Option_Windows)this.Owner;
User_Name = ss.User_Name;
User_Grade = ss.User_Grade;
textBox6.Text = User_Name;
}
private void comboBox1_SelectedIndexChanged(object sender EventArgs e)//品版
{
if (comboBox1.Text != null && comboBox1.Text != String.Empty)
{
comboBox2.Items.Clear();
String Sql_Str = “SELECT * FROM Trademark_Table“;
OperationDatabase GetTrademark = new OperationDatabase(@“SERVER2\SERVER2“ “E_Material_Control“ “sa“ “adminsystem“ Sql_Str);
if (GetTrademark.Get_Storage_Area(comboBox2 “Trademark_Name“))
{
comboBox1.Enabled = false;
comboBox2.Enabled = true;
comboBox2.Focus();
}
else
{
comboBox1.Focus();
comboBox1.SelectAll();
}
}
else
{
comboBox1.Focus();
comboBox1.SelectAll();
}
}
private void comboBox2_SelectedIndexChanged(object sender EventArgs e)//物品名称
{
if (comboBox2.Text != null && comboBox2.Text != String.Empty)
{
comboBox2.Enabled = false;
textBox1.Enabled = true;
textBox1.Focus();
}
else
{
comboBox2.Focus();
comboBox2.SelectAll();
}
}
private void textBox1_KeyPress(object sender KeyPressEventArgs e)//物品名称
{
if (e.KeyChar == (Char)Keys.Enter)
{
if (text - 上一篇:Linux 下服务器与客户端之间的文件传输
- 下一篇:在线招聘求职系统
相关资源
- SQL Server 2016
- 实验2答案-sql1.sql
- 在线词典项目v1.1.zip
- php mysql经典留言本源码 代码通俗易懂
- SQLTOOLS2.0汉化版(1433连接工具)
- PHP MySQL 物流管理 数据库文件
- PHP MySQL 技术 毕业设计 物流管理系统
- 4秒100万条数据导入SQL数据库
- php mysql 在线作业管理系统
- MySql.data.dll +使用说明
- pb 酒店管理系统(代码、sql数据库)
- 图书管理系统 PHP MYSQL实现
- [PHP MySQL]图书馆管理系统前后台全部代
- sql数据库导出到txt文件
- 人事管理系统数据库文件SQL2000
- sqlserver学习ppt 全套共18个
- 门禁系统论文及数据库sqlserver2005数据
- labview中LABSQL数据库的使用
- C 开发的SQL数据库实现的公司员工信
- 企业人事管理系统【SQLServer数据库+课
- 数据字典导出工具 导出SqlServer数据库
- 通过SqlBulkCopy对象从Excel中批量导入到
- 基于PHP+MYSQL的学生成绩管理系统
- 批处理执行sql语句
- Spring+Struts2+Hibernate人力资源管理系统
- 我自己写php mysql聊天室
- mysql 数据库连接池
- sql server 2000经典范例
- 设备管理系统(SQL体验版)
- 完整的php mysql js用户注册与登陆
川公网安备 51152502000135号
评论
共有 条评论