public override void OnClick(SourceGrid2.PositionEventArgs e) { base.OnClick(e); StackGrid g = (StackGrid)e.Grid; SourceLocation sl = (SourceLocation)(g[e.Position.Row, 0].Tag); Model.Edit(sl); }
public ExceptionForm(MainModel Model, Exception e) { this.Model = Model; grid = new StackGrid(Model); InitializeComponent(); grid.Model = Model; message.Text = Properties.Resources.ExceptionIntro + " " + e.Message; grid.Reset(e); }