public void Begin(IScriptableApp app) { Form1 theForm = new Form1(); theForm.InitializeComponent(); theForm.addSfApp(app); theForm.ShowDialog(); //Perform script operations here. }