public MarkFailEventArgs(LaserMarkResult fault) { this.Fault = fault; }
void ListBoxResultSelectedIndexChanged(object sender, System.EventArgs e) { string result = (string) this.listBoxResult.Items[this.listBoxResult.SelectedIndex]; this.markResult = (LaserMarkResult) LaserMarkResult.Parse(typeof(LaserMarkResult), result); }