internal void InvokeBulkMove(int room)
{
Toggle(false);
int[] indices = new int[AccountsPanel.CheckedIndices.Count];
for (int i = 0; i < indices.Length; i++)
{
indices[i] = AccountsPanel.CheckedIndices[i];
}
BulkMoveHandler d = DoBulkMove;
d.BeginInvoke(indices, room, BulkMoveCallback, d);
}
private void btnAdventuresGo_Click(object sender, EventArgs e) { if (mUI.AccountsPanel.CheckedIndices.Count < 1) { mUI.LogPanel.Log("E: Check the accounts you want to move."); return; } if (FocusedRaid == null) { mUI.LogPanel.Log("E: Choose an adventure to move to."); return; } mUI.InvokeBulkMove(int.Parse(FocusedRaid.SubItems[1].Text)); }