示例#1
0
        private void RefreshCommandList()
        {
            comboBoxCommands.Items.Clear();

            comboBoxCommands.Items.Add(IrssUtils.Common.UITextRun);
            comboBoxCommands.Items.Add(IrssUtils.Common.UITextPause);
            comboBoxCommands.Items.Add(IrssUtils.Common.UITextSerial);
            comboBoxCommands.Items.Add(IrssUtils.Common.UITextWindowMsg);
            comboBoxCommands.Items.Add(IrssUtils.Common.UITextTcpMsg);
            comboBoxCommands.Items.Add(IrssUtils.Common.UITextHttpMsg);
            comboBoxCommands.Items.Add(IrssUtils.Common.UITextKeys);
            comboBoxCommands.Items.Add(IrssUtils.Common.UITextMouse);
            comboBoxCommands.Items.Add(IrssUtils.Common.UITextEject);
            comboBoxCommands.Items.Add(IrssUtils.Common.UITextPopup);
            comboBoxCommands.Items.Add(IrssUtils.Common.UITextGotoScreen);
            //comboBoxCommands.Items.Add(IrssUtils.Common.UITextWindowState);
            comboBoxCommands.Items.Add(IrssUtils.Common.UITextFocus);
            comboBoxCommands.Items.Add(IrssUtils.Common.UITextExit);
            comboBoxCommands.Items.Add(IrssUtils.Common.UITextSendMPAction);
            comboBoxCommands.Items.Add(IrssUtils.Common.UITextSendMPMsg);
            comboBoxCommands.Items.Add(IrssUtils.Common.UITextVirtualKB);
            comboBoxCommands.Items.Add(IrssUtils.Common.UITextSmsKB);
            comboBoxCommands.Items.Add(IrssUtils.Common.UITextBeep);
            comboBoxCommands.Items.Add(IrssUtils.Common.UITextSound);
            comboBoxCommands.Items.Add(IrssUtils.Common.UITextDisplayMode);
            comboBoxCommands.Items.Add(IrssUtils.Common.UITextStandby);
            comboBoxCommands.Items.Add(IrssUtils.Common.UITextHibernate);
            comboBoxCommands.Items.Add(IrssUtils.Common.UITextReboot);
            comboBoxCommands.Items.Add(IrssUtils.Common.UITextShutdown);

            string[] fileList = MPBlastZonePlugin.GetFileList(true);
            if (fileList != null && fileList.Length > 0)
            {
                comboBoxCommands.Items.AddRange(fileList);
            }
        }
示例#2
0
        private void RefreshCommandsCombo()
        {
            comboBoxCommands.Items.Clear();

            comboBoxCommands.Items.Add(IrssUtils.Common.UITextRun);
            comboBoxCommands.Items.Add(IrssUtils.Common.UITextSerial);
            comboBoxCommands.Items.Add(IrssUtils.Common.UITextWindowMsg);
            comboBoxCommands.Items.Add(IrssUtils.Common.UITextTcpMsg);
            comboBoxCommands.Items.Add(IrssUtils.Common.UITextEject);
            comboBoxCommands.Items.Add(IrssUtils.Common.UITextGotoScreen);
            //comboBoxCommands.Items.Add(IrssUtils.Common.UITextWindowState);
            comboBoxCommands.Items.Add(IrssUtils.Common.UITextExit);
            comboBoxCommands.Items.Add(IrssUtils.Common.UITextStandby);
            comboBoxCommands.Items.Add(IrssUtils.Common.UITextHibernate);
            comboBoxCommands.Items.Add(IrssUtils.Common.UITextReboot);
            comboBoxCommands.Items.Add(IrssUtils.Common.UITextShutdown);

            string[] fileList = MPBlastZonePlugin.GetFileList(true);

            if (fileList != null && fileList.Length > 0)
            {
                comboBoxCommands.Items.AddRange(fileList);
            }
        }