private m_tvMasterList_DoubleClick ( object sender, System e ) : void | ||
sender | object | |
e | System | |
리턴 | void |
private void m_tvMasterList_DoubleClick(object sender, System.EventArgs e)
{
TreeNode tn = m_tvMasterList.GetNodeAt(m_tvMasterList.PointToClient(Cursor.Position));
m_tvMasterList.SelectedNode = tn;
MasterCategory mc = tn.Tag as MasterCategory;
if (!mc.InDatabase)
{
DialogResult = DialogResult.OK;
Close();
}
}