当前路径:OutboundForm.cs using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Data.SqlClient; using System.Drawing; using System.Linq; using System.Runtime.InteropServices; using System.Text; using System.Threading; using System.Threading.Tasks; using System.Windows.Forms; namespace CamtasiaStudio { public partial class OutboundForm : Form { public OutboundForm() { InitializeComponent(); } [DllImportAttribute("user32.dll")] private static extern bool AnimateWindow(IntPtr hwnd, int dwTime, int dwFlags); public const Int32 AW_CENTER = 0x00000010;//从中间向四周出现 private void pictureBox1_Click(object sender, EventArgs e) { this.Close(); } //定义获取当前登录的用户的姓名 public static string UserName; //定义获取当前登录的用户的所属权限 public static string UserPower; private void OutboundForm_Load(object sender, EventArgs e) { AnimateWindow(this.Handle, 300, AW_CENTER);//开始动画 目标窗口、持续时间、动画类型 //显示当前登录的用户名、权限 this.lblUser.Text = UserName + "[" + UserPower + "]"; //显示当前的系统时间 this.timer1.Start(); //绑定下拉框的值 this.cbType.Items.Add("全部选项"); this.cbType.Items.Add("按制单人"); this.cbType.Items.Add("按确认人"); this.cbType.Items.Add("按所属仓库"); this.cbType.Items.Add("按商品名称"); this.cbType.Items.Add("按生产厂家"); this.cbType.Items.Add("按生产日期"); this.cbType.SelectedIndex = 0; //将数据绑定到listview控件中 try { SqlConnection conn = new SqlConnection(DBHelper.ConnString); ...
完整源码文件,请先购买后再查看
相关源码
- 餐馆点餐系统2022-06-13
- 学生管理系统——基础入门版2022-06-04
- 基于OOP设计新体育彩票选号器2022-05-28
- 密码管理器(1PASSWORD)2022-05-06
- 飞行棋小游戏2022-05-06
- 超市积分管理系统2022-04-28
关于我们 | 顾问团队 | 发展历程 | 联系我们 | 源码上传
联系电话(Tel):4008-010-151(免长途)
地址:北京市海淀区大恒科技大厦五层 邮编:100080
Floor 5th,Daheng Building,Zhongguancun,Beijing,China,100080
51Aspx.com 版权所有 CopyRight © 2006-2022. 京ICP备09089570号 | 京公网安备11010702000869号
联系电话(Tel):4008-010-151(免长途)
地址:北京市海淀区大恒科技大厦五层 邮编:100080
Floor 5th,Daheng Building,Zhongguancun,Beijing,China,100080
51Aspx.com 版权所有 CopyRight © 2006-2022. 京ICP备09089570号 | 京公网安备11010702000869号