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();
}
}