本文整理汇总了C#中System.Windows.Input.MouseButtonEventArgs.ToString方法的典型用法代码示例。如果您正苦于以下问题:C# MouseButtonEventArgs.ToString方法的具体用法?C# MouseButtonEventArgs.ToString怎么用?C# MouseButtonEventArgs.ToString使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类System.Windows.Input.MouseButtonEventArgs
的用法示例。
在下文中一共展示了MouseButtonEventArgs.ToString方法的2个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的C#代码示例。
示例1: setMinValue
/// <summary>
/// sets Personal Stack to min value
/// </summary>
/// <param name="sender"></param>
/// <param name="e"></param>
private void setMinValue(object sender, MouseButtonEventArgs e)
{
log.Debug("setMinValue(object " + sender.ToString() + " MouseButtonEventArgs " + e.ToString() + ") - Begin");
//Update the personal stack
personalStack = kvp.Value[1].amount;
personalStackField_h.Text = personalStack.ToString();
personalStackField_v.Text = personalStack.ToString();
checkCash(kvp.Key.position);
setActionButtonText();
log.Debug("setMinValue() - End");
e.Handled = true;
}
示例2: OnMouseClick
/// <summary>
/// Send send change event when the mouse clicks down the track bar.
/// </summary>
/// <param name="sender">Source object, track.</param>
/// <param name="args">Mouse button args.</param>
private void OnMouseClick(object sender, MouseButtonEventArgs args)
{
Debug.WriteLine("OnMouseDownHorizontal sender=" + sender.ToString() + " args=" + args.ToString());
Value = CalcValue(args);
}