public static void Prompt(string program, string basepath, AuthInfo ai, bool pause, string promptmsg, DebugDelegate deb) { PROGRAM = program; BASEPATH = basepath+"\\"; aip = new AuthInfoPrompt(ai); aip.status(promptmsg); aip.NewAuthInfo += new AuthInfoDelegate(aip_NewAuthInfo); d = deb; if (pause) aip.ShowDialog(); else aip.Show(); }
public static void Prompt(string program, string basepath, AuthInfo ai, bool pause, string promptmsg, DebugDelegate deb) { PROGRAM = program; BASEPATH = basepath + "\\"; aip = new AuthInfoPrompt(ai); aip.status(promptmsg); aip.NewAuthInfo += new AuthInfoDelegate(aip_NewAuthInfo); d = deb; if (pause) { aip.ShowDialog(); } else { aip.Show(); } }