public static void GetInput(Browser browser, bool modal, SendResult <BrowseType> sendResult) { BrowserWindow <BrowseType> inputBox = createInputBox(browser, modal, sendResult); inputBox.importButton.Visible = false; }
private static void inputBox_Closed(object sender, EventArgs e) { BrowserWindow <BrowseType> inputBox = (BrowserWindow <BrowseType>)sender; inputBox.Dispose(); }
public virtual void showBrowser <T>(Browser browser, SendResult <T> resultCallback) { BrowserWindow <T> .GetInput(browser, true, resultCallback); }