void GrhTreeView_GrhMouseDoubleClick(object sender, GrhTreeNodeMouseClickEventArgs e) { if (e.Button == MouseButtons.Left && !(e.GrhData is AutomaticAnimatedGrhData)) { BeginEditGrhData(e.Node); } }
/// <summary> /// Handles the GrhMouseClick event of the gtv control. /// </summary> /// <param name="sender">The source of the event.</param> /// <param name="e">The <see cref="GrhTreeNodeMouseClickEventArgs"/> instance /// containing the event data.</param> void gtv_GrhMouseClick(object sender, GrhTreeNodeMouseClickEventArgs e) { if (e == null || e.GrhData == null) return; _selected = e.GrhData.GrhIndex; Debug.Assert(_selected != GrhIndex.Invalid); }