private void DownloadAction()
        {
            int actionId = GetSelectedActionId();

            if (actionId < 0)
            {
                return;
            }
            char actionCode = UBT.actionTable.action[actionId].actionCode;

            if (MessageConfirm(String.Format("下載動作 {0} 的資料, 當前資料將會被覆蓋", actionCode)))
            {
                StartSystemWork();
                if (UBT.DownloadAction((byte)actionId, true))
                {
                    UpdateInfo(String.Format("動作{0} 成功下載", actionCode));
                }
                else
                {
                    UpdateInfo(String.Format("下載動作{0} 失敗", actionCode), UTIL.InfoType.error);
                }
                RefreshActionInfo();
                EndSystemWork();
            }
        }