frmsumlook.cs
来自「财务凭证管理系统,主要是从事公司或部门的财务方面的管理。此系统给会计人员带来很大」· CS 代码 · 共 67 行
CS
67 行
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.HinderInfo
{
public partial class frmSumLook : Form
{
public frmSumLook()
{
InitializeComponent();
}
public int P_int_report = 0;
private void bntFind_Click(object sender, EventArgs e)
{
FinSubject fsub = new FinSubject();
//调用函数
string P_str_select = fsub.GetsubjectZhangmu(this.dataGridView1);
if (P_str_select == "NO")
{
MessageBox.Show("当前没有账目\n" + "凭证后才能有账目", "友情提示", MessageBoxButtons.OK);
return;
}//
if (P_str_select == "Error")
{
MessageBox.Show("对不起此次操作出现异常没有成功\n" + "请继续查找", "友情提示", MessageBoxButtons.OK);
return;
}// end block if
P_int_report = 2;//有条件
}
private void button1_Click(object sender, EventArgs e)
{
if (P_int_report != 0)
{
reportSum frmsum = new reportSum(1,"one");
frmsum.Show();
P_int_report = 0;
}
else
{
MessageBox.Show("请先浏览信息\n" + "再打印信息", "友情提示", MessageBoxButtons.OK);
}
}
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 frmSumLook_Load(object sender, EventArgs e)
{
}
}
}
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?