📄 dataexportcondition.cs
字号:
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Text;
using System.Windows.Forms;
namespace DataExport
{
public partial class DataExportCondition : Form
{
private DataExport m_parent = new DataExport();
private int m_currRowIndex;
public DataExportCondition(DataExport de ,int rowIndex)
{
InitializeComponent();
m_parent = de;
m_currRowIndex = rowIndex;
this.ColumnNameLB.Text = this.m_parent.MatchingDG.Rows[m_currRowIndex].Cells["DataBase"].Value.ToString().Trim();
this.ConditionTB.Text = this.m_parent.MatchingDG.Rows[m_currRowIndex].Cells["DataBaseCondition"].Value.ToString().Trim();
}
private void OKBT_Click(object sender, EventArgs e)
{
this.m_parent.MatchingDG.Rows[m_currRowIndex].Cells["DataBaseCondition"].Value = this.ConditionTB.Text.Trim();
this.Close();
}
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -