Re: [IronPython] changing c# var values in IP

2006-10-09 Thread Kevin Gadd
I suggest making the following changes:Make idL a public memberPlace frmStart in a variable instead of idL itself (I am pretty sure setvariable isn't making a reference to your variable, just to the value of it) So something like...public string idL;...engine.SetVariable("frm", this);...frm.idL = "

[IronPython] changing c# var values in IP

2006-10-09 Thread ANNA CHAPOVALOV
Hi all,I'm a newbee in IP, so sorry if i ask (maybe) dumb questionsI'm using IP for scripting in a c# app. I have something like this:public partial class frmStart : Form    {  string idL;   ..  ..  private void frmStartBatch_Load(object sender, EventArgs e)    {