public void Attach(ProgramPropertiesDialog dlg)
 {
     this.dlg = dlg;
     dlg.Load += dlg_Load;
     dlg.EnableScript.CheckedChanged += delegate { EnableControls(); };
     dlg.OkButton.Click += OkButton_Click;
 }
示例#2
0
 public void Attach(ProgramPropertiesDialog dlg)
 {
     this.dlg  = dlg;
     dlg.Load += dlg_Load;
     dlg.EnableScript.CheckedChanged += delegate { EnableControls(); };
     dlg.OkButton.Click += OkButton_Click;
 }