91av视频/亚洲h视频/操亚洲美女/外国一级黄色毛片 - 国产三级三级三级三级

  • 大小: 1019KB
    文件類型: .rar
    金幣: 2
    下載: 0 次
    發布日期: 2023-11-16
  • 語言: 其他
  • 標簽: 賬單管理??

資源簡介

三層架構家庭賬單管理系統

資源截圖

代碼片段和文件信息

using?System;
using?System.Collections.Generic;
using?System.ComponentModel;
using?System.Data;
using?System.Drawing;
using?System.Linq;
using?System.Text;
using?System.Windows.Forms;
using?BLL;

namespace?AccountBook
{
????public?partial?class?AccountManage?:?Form
????{
????????public?AccountManage()
????????{
????????????InitializeComponent();
????????????dataGridView1.AutoGenerateColumns?=?false;
????????????ShowData();
????????}

????????public?void?ShowData()
????????{
????????????ACCOUNTBLL?bll?=?new?ACCOUNTBLL();
????????????DataTable?dt?=?bll.GetACCOUNT(““);
????????????dataGridView1.DataSource?=?dt;
????????}
????????private?void?btnAdd_Click(object?sender?EventArgs?e)
????????{
????????????FrmAccAdd?frmAccAdd?=?new?FrmAccAdd();
????????????if?(frmAccAdd.ShowDialog()==?DialogResult.OK)
????????????{
????????????????ShowData();
????????????}
????????}

????????private?void?btnModify_Click(object?sender?EventArgs?e)
????????{
????????????int?id?=?Convert.ToInt32(dataGridView1[0?dataGridView1.CurrentRow.Index].Value.ToString().Trim());
????????????string?accName?=?dataGridView1.SelectedRows[0].Cells[1].Value.ToString().Trim();
????????????int?accSort?=Convert.ToInt32(?dataGridView1.SelectedRows[0].Cells[2].Value);
????????????decimal?accbase?=?Convert.ToDecimal(dataGridView1.SelectedRows[0].Cells[3].Value);
????????????string?accMemo?=?dataGridView1.SelectedRows[0].Cells[13].Value.ToString().Trim();
????????????FrmAccAdd?frmAccModify?=?new?FrmAccAdd(accNameaccSortaccbaseaccMemoid);
????????????if?(frmAccModify.ShowDialog()?==?DialogResult.OK)
????????????{
????????????????ShowData();
????????????}
????????}

????????private?void?btnDelete_Click(object?sender?EventArgs?e)
????????{
????????????if?(MessageBox.Show(“是否要刪除這條記錄?“?“刪除“?MessageBoxButtons.YesNo)?==?DialogResult.Yes)
????????????{
????????????????int?id=Convert.ToInt32(dataGridView1[0dataGridView1.CurrentRow.Index].Value.ToString().Trim());
????????????????ACCOUNTBLL?bll?=?new?ACCOUNTBLL();
????????????????if?(bll.DeleteACCOUNT(id))
????????????????{
????????????????????MessageBox.Show(“刪除成功!“?“提示信息“?MessageBoxButtons.OK?MessageBoxIcon.Information);
????????????????????ShowData();
????????????????}
????????????????else
????????????????{
????????????????????MessageBox.Show(“刪除失敗!“);
????????????????}
????????????}
????????}

????????private?void?btnClose_Click(object?sender?EventArgs?e)
????????{
????????????Close();
????????}
????}
}

?屬性????????????大小?????日期????時間???名稱
-----------?---------??----------?-----??----

?????文件???????7394??2012-08-05?19:29??Insigma.AccountBook.Solution\AccountBook\AccountBook.csproj

?????文件???????2583??2012-08-05?19:45??Insigma.AccountBook.Solution\AccountBook\AccountManage.cs

?????文件??????12515??2012-08-05?15:35??Insigma.AccountBook.Solution\AccountBook\AccountManage.Designer.cs

?????文件???????8398??2012-08-05?15:35??Insigma.AccountBook.Solution\AccountBook\AccountManage.resx

?????文件????????329??2012-08-04?15:31??Insigma.AccountBook.Solution\AccountBook\App.config

?????文件?????185856??2012-09-17?16:39??Insigma.AccountBook.Solution\AccountBook\bin\Debug\AccountBook.exe

?????文件????????329??2012-08-04?15:31??Insigma.AccountBook.Solution\AccountBook\bin\Debug\AccountBook.exe.config

?????文件?????118272??2012-09-17?16:39??Insigma.AccountBook.Solution\AccountBook\bin\Debug\AccountBook.pdb

?????文件??????11600??2012-09-28?10:31??Insigma.AccountBook.Solution\AccountBook\bin\Debug\AccountBook.vshost.exe

?????文件????????329??2012-08-04?15:31??Insigma.AccountBook.Solution\AccountBook\bin\Debug\AccountBook.vshost.exe.config

?????文件????????490??2010-03-17?22:39??Insigma.AccountBook.Solution\AccountBook\bin\Debug\AccountBook.vshost.exe.manifest

?????文件???????7680??2012-09-17?16:39??Insigma.AccountBook.Solution\AccountBook\bin\Debug\BLL.dll

?????文件??????26112??2012-09-17?16:39??Insigma.AccountBook.Solution\AccountBook\bin\Debug\BLL.pdb

?????文件???????9216??2012-09-17?16:39??Insigma.AccountBook.Solution\AccountBook\bin\Debug\DAL.dll

?????文件??????36352??2012-09-17?16:39??Insigma.AccountBook.Solution\AccountBook\bin\Debug\DAL.pdb

?????文件???????5120??2012-09-17?16:39??Insigma.AccountBook.Solution\AccountBook\bin\Debug\Factory.dll

?????文件??????15872??2012-09-17?16:39??Insigma.AccountBook.Solution\AccountBook\bin\Debug\Factory.pdb

?????文件???????5120??2012-09-17?16:39??Insigma.AccountBook.Solution\AccountBook\bin\Debug\IDAL.dll

?????文件???????7680??2012-09-17?16:39??Insigma.AccountBook.Solution\AccountBook\bin\Debug\IDAL.pdb

?????文件??????11264??2012-09-17?16:39??Insigma.AccountBook.Solution\AccountBook\bin\Debug\Model.dll

?????文件???????7680??2012-09-17?16:39??Insigma.AccountBook.Solution\AccountBook\bin\Debug\Model.pdb

?????文件???????2317??2012-08-05?19:43??Insigma.AccountBook.Solution\AccountBook\BorrowerManage.cs

?????文件???????9493??2012-08-05?17:33??Insigma.AccountBook.Solution\AccountBook\BorrowerManage.Designer.cs

?????文件???????8393??2012-08-05?17:33??Insigma.AccountBook.Solution\AccountBook\BorrowerManage.resx

?????文件????????911??2012-08-05?10:15??Insigma.AccountBook.Solution\AccountBook\FormLogin.cs

?????文件???????5037??2012-08-05?10:08??Insigma.AccountBook.Solution\AccountBook\FormLogin.Designer.cs

?????文件???????5817??2012-08-05?10:05??Insigma.AccountBook.Solution\AccountBook\FormLogin.resx

?????文件???????1547??2012-08-15?19:16??Insigma.AccountBook.Solution\AccountBook\FormMain.cs

?????文件??????28121??2012-08-15?19:16??Insigma.AccountBook.Solution\AccountBook\FormMain.Designer.cs

?????文件?????219111??2012-08-15?19:16??Insigma.AccountBook.Solution\AccountBook\FormMain.resx

............此處省略179個文件信息

評論

共有 條評論