DCT.UI.CoreUI.InvokeBulkMove C# (CSharp) Method

InvokeBulkMove() private method

private InvokeBulkMove ( int room ) : void
room int
return void
        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);
        }

Usage Example

Example #1
0
 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));
 }
CoreUI