123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101 |
- 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;
- namespace LYFZ.Software.UI.MembershipManage.SuperSmallForm
- {
- public partial class ServiceRechargeSuperSmallForm : LYFZ.ComponentLibrary.BaseContentsFormMain
- {
- public ServiceRechargeSuperSmallForm()
- {
- InitializeComponent();
- this.Shown += ServiceRechargeSuperSmallForm_Shown;
- this.txtCount.KeyPress += txtCount_KeyPress;
- this.txtCount.Leave += txtCount_Leave;
- this.dgvData.CellMouseDoubleClick += dgvData_CellMouseDoubleClick;
- this.btnOK.Click += btnOK_Click;
- this.btnCancel.Click += btnCancel_Click;
- this.dgvData.MouseDown += dgvData_MouseDown;
- this.contextMenuStrip1.ItemClicked += contextMenuStrip1_ItemClicked;
- }
- /// <summary>
- /// 窗体加载事件
- /// </summary>
- /// <param name="sender"></param>
- /// <param name="e"></param>
- protected virtual void ServiceRechargeSuperSmallForm_Shown(object sender, EventArgs e)
- {
- //throw new NotImplementedException();
- }
- /// <summary>
- /// 服务次数输入限制
- /// </summary>
- /// <param name="sender"></param>
- /// <param name="e"></param>
- protected virtual void txtCount_KeyPress(object sender, KeyPressEventArgs e)
- {
- //throw new NotImplementedException();
- }
- /// <summary>
- /// 服务次数离开事件
- /// </summary>
- /// <param name="sender"></param>
- /// <param name="e"></param>
- protected virtual void txtCount_Leave(object sender, EventArgs e)
- {
- //throw new NotImplementedException();
- }
- /// <summary>
- /// 列表服务次数列双击事件
- /// </summary>
- /// <param name="sender"></param>
- /// <param name="e"></param>
- protected virtual void dgvData_CellMouseDoubleClick(object sender, DataGridViewCellMouseEventArgs e)
- {
- //throw new NotImplementedException();
- }
- /// <summary>
- /// 确定
- /// </summary>
- /// <param name="sender"></param>
- /// <param name="e"></param>
- protected virtual void btnOK_Click(object sender, EventArgs e)
- {
- //throw new NotImplementedException();
- }
- /// <summary>
- /// 取消
- /// </summary>
- /// <param name="sender"></param>
- /// <param name="e"></param>
- protected virtual void btnCancel_Click(object sender, EventArgs e)
- {
- //throw new NotImplementedException();
- }
- /// <summary>
- /// 服务次数列点击事件(右键)
- /// </summary>
- /// <param name="sender"></param>
- /// <param name="e"></param>
- protected virtual void dgvData_MouseDown(object sender, MouseEventArgs e)
- {
- //throw new NotImplementedException();
- }
- /// <summary>
- /// 右键菜单选择项事件
- /// </summary>
- /// <param name="sender"></param>
- /// <param name="e"></param>
- protected virtual void contextMenuStrip1_ItemClicked(object sender, ToolStripItemClickedEventArgs e)
- {
- //throw new NotImplementedException();
- }
- }
- }
|