⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 frmsubinfo.cs

📁 财务凭证管理系统,主要是从事公司或部门的财务方面的管理。此系统给会计人员带来很大的帮助!
💻 CS
字号:
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Text;
using System.Windows.Forms;
using property.control.Subject;
namespace property.view.SystemInfo
{
    public partial class frmSubInfo : Form
    {
        public static string G_str_subID;
        public string G_str_add;
        public frmSubInfo()
        {
            InitializeComponent();
        }
       
        private void frmSubInfo_Load(object sender, EventArgs e)
        {
            GetSubject sub = new GetSubject();
            sub.GedListView(this.listView1);

        }

        private void bntEsce_Click(object sender, EventArgs e)
        {
            DialogResult a = MessageBox.Show("是否要退出?", "退出", MessageBoxButtons.YesNo, MessageBoxIcon.Question);
            if (Convert.ToString(a) == "Yes")
            {
                this.Close();
            }// end block 
          
        }
        //确定选取择 
        private void bntCheck_Click(object sender, EventArgs e)
        {
           
            if (G_str_add==null)
            {
                MessageBox.Show("请在上面选择记录", "友情提示", MessageBoxButtons.OK, MessageBoxIcon.Information);
              return;
            }
            if( G_str_add !=null)
            { G_str_subID = G_str_add;
                //this.Close();
            }
            

        }// end block 

        private void listView1_Click(object sender, EventArgs e)
        {
            try
            {
                this.G_str_add=this.listView1.SelectedItems[0].Text.ToString();//填冲件
              
            }
            catch (Exception ee)
            { MessageBox.Show(ee.Message); }
        }

        private void groupBox1_Enter(object sender, EventArgs e)
        {

        }

        private void listView1_SelectedIndexChanged(object sender, EventArgs e)
        {

        }// end block lisv 

     

      
           
    }
}

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -