예제 #1
0
            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);
            }
예제 #2
0
 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);
 }