Exemplo n.º 1
0
 // The ClearButton_Click Method
 // purpose: Clear the textboxes, and put the cursor back in the first text box
 // Parameters: The sending object, and the event arguments
 // Returns: none
 private void ClearButton_Click(object sender, EventArgs e)
 {
     // clear each text box.
     SideA.Clear();
     SideB.Clear();
     AngleC.Clear();
     SideC.Clear();
     AngleA.Clear();
     AngleB.Clear();
     // put the cursor back in the first text box.
     SideA.Select();
 }
Exemplo n.º 2
0
 /// <summary>
 ///
 /// </summary>
 /// <returns></returns>
 public override int GetHashCode()
 {
     return(SideA.GetHashCode() ^ SideB.GetHashCode() ^ SideC.GetHashCode() ^ AngleA.GetHashCode() ^ AngleB.GetHashCode() ^ AngleC.GetHashCode());
 }