/// <summary> /// Multi-threaded callback. Don't call this; it's automatic. /// </summary> /// <param name="sender"></param> /// <param name="e"></param> private static void TestLogin(object sender, ArcWaitWindowEventArgs e) { if (e.Arguments.Count == 1) { e.Result = TestLogin(false, (bool)e.Arguments[0]); } }
private static void GetFwVersion(object sender, ArcWaitWindowEventArgs e) { if (e.Arguments.Count == 1) { var silent = (bool)e.Arguments[0]; e.Result = GetFwVersion(false, silent); } }
private void LoadTreeView(object sender, ArcWaitWindowEventArgs e) { if (e.Arguments.Count == 1) { var directory = (string)e.Arguments[0]; LoadTreeView(directory, false); } }
public static void IsArcadyanModem(object sender, ArcWaitWindowEventArgs e) { if (e.Arguments.Count == 1) { var silent = (bool)e.Arguments[0]; e.Result = IsArcadyanModem(false, silent); } }
/// <summary> /// Multi-threaded callback. Don't call this; it's automatic. /// </summary> /// <param name="sender"></param> /// <param name="e"></param> private static void DoLogin(object sender, ArcWaitWindowEventArgs e) { if (e.Arguments.Count == 2) { //credentials var auth = (ArcCredential)e.Arguments[0]; //warning mode var warn = (bool)e.Arguments[1]; //return result from offloaded thread e.Result = DoLogin(auth, false, warn); } }
private static void ExportThis(object sender, ArcWaitWindowEventArgs e) { if (e.Arguments.Count != 4) { return; } var table = (DataTable)e.Arguments[0]; var format = (ExportFormat)e.Arguments[1]; var fileName = (string)e.Arguments[2]; var silent = (bool)e.Arguments[3]; ExportThis(table, format, fileName, silent, false); }
/// <summary> /// What's this?<br /> /// This is the wait window callback for multi-threading /// </summary> /// <param name="sender"></param> /// <param name="e"></param> private void GrabJS(object sender, ArcWaitWindowEventArgs e) { e.Result = GrabJS(false); }
private void Revoke(object sender, ArcWaitWindowEventArgs e) { e.Result = Revoke(false); }
private static void ProcessConfigArchive(object sender, ArcWaitWindowEventArgs e) { var cipherBytes = (byte[])e.Arguments[0]; ProcessConfigArchive(cipherBytes, false); }
private void LoadEntireDatabase(object sender, ArcWaitWindowEventArgs e) { e.Result = LoadEntireDatabase(false); }