void theSaddleVisual_Saddle_Selected(SaddleBase theSaddleInfo) { try { if (Saddle_Selected != null) { Saddle_Selected(theSaddleInfo.Clone()); } } catch (Exception ex) {} }
void conSaddle_visual_MouseUp(object sender, MouseEventArgs e) { try { if (e.Button == MouseButtons.Right) { if (Saddle_Selected != null) { Saddle_Selected(mySaddleInfo.Clone()); } } else { FrmSaddleMetail FrmSaddleDetail = new FrmSaddleMetail(); FrmSaddleDetail.SaddleInfo = this.mySaddleInfo; FrmSaddleDetail.Show(); } } catch (Exception ex) { } }