roomform.cs
来自「宾馆酒店管理系统 Visual Studio 2005 + SQL Serve」· CS 代码 · 共 33 行
CS
33 行
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Text;
using System.Windows.Forms;
namespace MyHotel
{
public partial class RoomForm : Form
{
public RoomForm()
{
InitializeComponent();
}
private void 酒店房间BindingNavigatorSaveItem_Click(object sender, EventArgs e)
{
this.Validate();
this.酒店房间BindingSource.EndEdit();
this.酒店房间TableAdapter.Update(this.myHotelDataSet.酒店房间);
}
private void RoomForm_Load(object sender, EventArgs e)
{
// TODO: 这行代码将数据加载到表“myHotelDataSet.酒店房间”中。您可以根据需要移动或移除它。
this.酒店房间TableAdapter.Fill(this.myHotelDataSet.酒店房间);
}
}
}
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?