点击回首页
我的浏览记录 | | 帮助?
当前位置:
首页>> 企业应用>> Winform 自定义换肤界面OA管理系统源码>> 源文件浏览
[商业版 150RMB] WinForm,下载次数:5 次 | 关键字: 皮肤 控件 oa

源码截图

源码目录树

;
当前路径:OfficeAutomation/FormWindow.cs
using Cool.Data.SqlClient;
using Cool.Model;
using Cool.Windows.Forms;
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Drawing.Imaging;
using System.IO;
using System.Linq;
using System.Reflection;
using System.Text;
using System.Threading;
using System.Threading.Tasks;
using System.Windows.Forms;

namespace OfficeAutomation
{
    public partial class FormWindow : CoolForm
    {
        public FormWindow()
        {
            InitializeComponent();
            CoolTitleBar.TitleText += " V" + CommonLibrary.AssemblyInfo.AppVersion;
            Commom.Instance.RecursionSetSkin(this, Commom.Instance.SkinColor);
            coolLabel1.ForeColor = Commom.Instance.SkinColor;
        }

        private DataTable menuTable;
        private DataTable fieldTable;
        private MySqlHelper mysqlHelper;
        private void FormWindow_Load(object sender, EventArgs e)
        {
            mysqlHelper = new MySqlHelper();
            coolMenu1.Clear();
            coolbtnUser.Text = (DateTime.Now.Hour > 12) ? "下午好!" : "上午好!";
            coolbtnUser.Text += " Admin";

            ThreadPool.QueueUserWorkItem(o =>
            {
                menuTable = mysqlHelper.GetData("select m1.parent_id,m2.child_id,m1.parent_text,m2.text,m2.tablename from (select * from menu3) m1, menu3 m2 where m1.parent_id=m2.child_id");
                if (menuTable != null)
                {
                    foreach (DataRow row in menuTable.Rows)
                        MenuAddDataRow(row);
                }
   ...
完整源码文件,请先购买后再查看
关于我们 | 顾问团队 | 发展历程 | 联系我们 | 源码上传
联系电话(Tel):4008-010-151(免长途)
地址:北京市海淀区大恒科技大厦五层 邮编:100080
Floor 5th,Daheng Building,Zhongguancun,Beijing,China,100080
51Aspx.com 版权所有 CopyRight © 2006-2022. 京ICP备09089570号 | 京公网安备11010702000869号