/// <summary>Raise the MouseLeftClick event.</summary>
 protected virtual void OnMouseLeftClick(HexEventArgs e)
 {
     if (e == null)
     {
         throw new ArgumentNullException("e");
     }
     DataContext.Model.StartHex = e.Coords;
     MouseLeftClick.Raise(this, e);
     Refresh();
 }
示例#2
0
 /// <summary>Raise the MouseLeftClic event.</summary>
 protected virtual void OnMouseLeftClick(HexEventArgs e)
 {
     MouseLeftClick.Raise(this, e);
 }