本文整理汇总了C#中TreeNodeAdvMouseEventArgs类的典型用法代码示例。如果您正苦于以下问题:C# TreeNodeAdvMouseEventArgs类的具体用法?C# TreeNodeAdvMouseEventArgs怎么用?C# TreeNodeAdvMouseEventArgs使用的例子?那么恭喜您, 这里精选的类代码示例或许可以为您提供帮助。
TreeNodeAdvMouseEventArgs类属于命名空间,在下文中一共展示了TreeNodeAdvMouseEventArgs类的20个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于我们的系统推荐出更棒的C#代码示例。
示例1: MouseDoubleClick
public override void MouseDoubleClick(TreeNodeAdvMouseEventArgs args)
{
MessageBox.Show("stop");
object bla = GetValue(args.Node);
args.Handled = true;
}
开发者ID:zobo,项目名称:xdebugclient,代码行数:8,代码来源:NodeEllipsisButton.cs
示例2: MouseUp
public override void MouseUp(TreeNodeAdvMouseEventArgs args)
{
_pstate = false;
Parent.FullUpdate();
xdc.Forms.PropertyDetailsForm df = new xdc.Forms.PropertyDetailsForm(GetValue(args.Node).ToString());
df.Show();
}
开发者ID:zobo,项目名称:xdebugclient,代码行数:8,代码来源:NodeEllipsisButton.cs
示例3: MouseDown
public override void MouseDown(TreeNodeAdvMouseEventArgs args)
{
if (args.Button == MouseButtons.Left)
{
_pstate = true;
Parent.FullUpdate();
}
}
开发者ID:zobo,项目名称:xdebugclient,代码行数:8,代码来源:NodeEllipsisButton.cs
示例4: MouseDown
public override void MouseDown(TreeNodeAdvMouseEventArgs args)
{
if(args.Button==MouseButtons.Left)
{
args.Handled=true;
if(args.Node.CanExpand)
args.Node.IsExpanded=!args.Node.IsExpanded;
}
}
开发者ID:shintadono,项目名称:Free.Controls.TreeView,代码行数:9,代码来源:NodePlusMinus.cs
示例5: MouseDoubleClick
public override void MouseDoubleClick(TreeNodeAdvMouseEventArgs args)
{
_timer.Stop();
_editFlag = false;
if (Parent.UseColumns)
{
args.Handled = true;
BeginEdit();
}
}
开发者ID:KillerGoldFisch,项目名称:GCharp,代码行数:10,代码来源:EditableControl.cs
示例6: DoMouseOperation
protected override void DoMouseOperation(TreeNodeAdvMouseEventArgs args)
{
if(Tree.SelectionMode==TreeSelectionMode.Single)
{
base.DoMouseOperation(args);
}
else if(CanSelect(args.Node))
{
args.Node.IsSelected=!args.Node.IsSelected;
Tree.SelectionStart=args.Node;
}
}
开发者ID:shintadono,项目名称:Free.Controls.TreeView,代码行数:12,代码来源:InputWithControl.cs
示例7: DoMouseOperation
protected override void DoMouseOperation(TreeNodeAdvMouseEventArgs args)
{
if (Tree.SelectionMode == TreeSelectionMode.Single || Tree.SelectionStart == null)
{
base.DoMouseOperation(args);
}
else if (CanSelect(args.Node))
{
Tree.SuspendSelectionEvent = true;
try
{
SelectAllFromStart(args.Node);
}
finally
{
Tree.SuspendSelectionEvent = false;
}
}
}
开发者ID:Ejik,项目名称:Acotwin,代码行数:19,代码来源:InputWithShift.cs
示例8: MouseUp
public override void MouseUp(TreeNodeAdvMouseEventArgs args)
{
if (args.Node.IsSelected)
{
if (EditOnClick && args.Button == MouseButtons.Left && args.ModifierKeys == Keys.None)
{
Parent.ItemDragMode = false;
BeginEdit();
args.Handled = true;
}
else if (_editFlag && !args.JustGotFocus)// && args.Node.IsSelected)
_timer.Start();
}
}
开发者ID:Andrea,项目名称:duality-withsvn-history,代码行数:14,代码来源:EditableControl.cs
示例9: MouseDown
public override void MouseDown(TreeNodeAdvMouseEventArgs args)
{
_editFlag = (!EditOnClick && args.Button == MouseButtons.Left
&& args.ModifierKeys == Keys.None && args.Node.IsSelected);
}
开发者ID:Andrea,项目名称:duality-withsvn-history,代码行数:5,代码来源:EditableControl.cs
示例10: MouseUp
public override void MouseUp(TreeNodeAdvMouseEventArgs args)
{
FinishResize();
}
开发者ID:Ejik,项目名称:Acotwin,代码行数:4,代码来源:ResizeColumnState.cs
示例11: MouseDown
public override void MouseDown(TreeNodeAdvMouseEventArgs args)
{
}
开发者ID:Ejik,项目名称:Acotwin,代码行数:3,代码来源:ResizeColumnState.cs
示例12: MouseDoubleClick
public virtual void MouseDoubleClick(TreeNodeAdvMouseEventArgs args)
{
}
开发者ID:segafan,项目名称:wme1_jankavan_tlc_edition-repo,代码行数:3,代码来源:NodeControl.cs
示例13: MouseUp
public virtual void MouseUp(TreeNodeAdvMouseEventArgs args)
{
}
开发者ID:segafan,项目名称:wme1_jankavan_tlc_edition-repo,代码行数:3,代码来源:NodeControl.cs
示例14: MouseUp
public override void MouseUp(TreeNodeAdvMouseEventArgs args)
{
if (this.EditOnClick && args.Button == MouseButtons.Left && args.ModifierKeys == Keys.None)
{
BeginEdit();
args.Handled = true;
}
else if (_editFlag && args.Node.IsSelected)
_timer.Start();
}
开发者ID:john-peterson,项目名称:processhacker,代码行数:10,代码来源:EditableControl.cs
示例15: MouseDoubleClick
public override void MouseDoubleClick(TreeNodeAdvMouseEventArgs args)
{
_editFlag = false;
_timer.Stop();
}
开发者ID:Andrea,项目名称:duality-withsvn-history,代码行数:5,代码来源:EditableControl.cs
示例16: MouseDownAtEmptySpace
protected override void MouseDownAtEmptySpace(TreeNodeAdvMouseEventArgs args)
{
}
开发者ID:shintadono,项目名称:Free.Controls.TreeView,代码行数:3,代码来源:InputWithControl.cs
示例17: MouseDown
public override void MouseDown(TreeNodeAdvMouseEventArgs args)
{
if (args.Button == MouseButtons.Left && IsEditEnabled(args.Node))
{
DrawContext context = new DrawContext();
context.Bounds = args.ControlBounds;
Rectangle rect = GetBounds(args.Node, context);
if (rect.Contains(args.ViewLocation))
{
CheckState state = GetCheckState(args.Node);
state = GetNewState(state);
SetCheckState(args.Node, state);
Parent.UpdateView();
args.Handled = true;
}
}
}
开发者ID:zhuangyy,项目名称:Motion,代码行数:17,代码来源:NodeCheckBox.cs
示例18: MouseDoubleClick
public override void MouseDoubleClick(TreeNodeAdvMouseEventArgs args)
{
args.Handled = true;
}
开发者ID:zhuangyy,项目名称:Motion,代码行数:4,代码来源:NodeCheckBox.cs
示例19: MouseUp
public override void MouseUp(TreeNodeAdvMouseEventArgs args)
{
if (_editFlag && args.Node.IsSelected)
_timer.Start();
}
开发者ID:KillerGoldFisch,项目名称:GCharp,代码行数:5,代码来源:EditableControl.cs
示例20: MouseDown
public override void MouseDown(TreeNodeAdvMouseEventArgs args)
{
if (args.Button == MouseButtons.Left && EditEnabled)
{
CheckState state = GetCheckState(args.Node);
state = GetNewState(state);
SetCheckState(args.Node, state);
args.Handled = true;
}
}
开发者ID:KillerGoldFisch,项目名称:GCharp,代码行数:10,代码来源:NodeCheckBox.cs
注:本文中的TreeNodeAdvMouseEventArgs类示例整理自Github/MSDocs等源码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。 |
请发表评论