示例#1
0
        private void FindNameCabinet(PlayerIndex playerIndex, CabinetMode cabinetMode, string sFileName)
        {
            if (!Guide.IsVisible && !_operationPending)
            {
                _operationPending = true;

                if (cabinetMode == CabinetMode.Open)
                {
                    Guide.BeginShowStorageDeviceSelector(playerIndex,
                                                         FindNameStorageDevice, "loadRequest:" + sFileName);
                }
                if (cabinetMode == CabinetMode.Save)
                {
                    Guide.BeginShowStorageDeviceSelector(playerIndex,
                                                         FindNameStorageDevice, "saveRequest:" + sFileName);
                }
            }
        }
示例#2
0
        private void FindNameCabinet(PlayerIndex playerIndex, CabinetMode cabinetMode, string sFileName)
        {
            if (!Guide.IsVisible && !_operationPending)
            {
                _operationPending = true;

                if (cabinetMode == CabinetMode.Open)
                    Guide.BeginShowStorageDeviceSelector(playerIndex,
                        FindNameStorageDevice, "loadRequest:" + sFileName);
                if (cabinetMode == CabinetMode.Save)
                    Guide.BeginShowStorageDeviceSelector(playerIndex,
                        FindNameStorageDevice, "saveRequest:" + sFileName);
            }
        }