This repository has been archived on 2022-07-04. You can view files and clone it, but cannot push or open issues or pull requests.
Multichannel-Analyzer/MCA/MCA.rc
YiHui Liu 05dce90378 fix: cumbo box select;
add: combo box for simulation source
2022-06-03 13:30:39 +08:00

474 lines
28 KiB
Plaintext
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

// Microsoft Visual C++ generated resource script.
//
#include "resource.h"
#define APSTUDIO_READONLY_SYMBOLS
/////////////////////////////////////////////////////////////////////////////
//
// Generated from the TEXTINCLUDE 2 resource.
//
#ifndef APSTUDIO_INVOKED
#include "targetver.h"
#endif
#include "afxres.h"
#include "verrsrc.h"
/////////////////////////////////////////////////////////////////////////////
#undef APSTUDIO_READONLY_SYMBOLS
/////////////////////////////////////////////////////////////////////////////
// 中文(简体,中国) resources
#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_CHS)
LANGUAGE LANG_CHINESE, SUBLANG_CHINESE_SIMPLIFIED
/////////////////////////////////////////////////////////////////////////////
//
// Icon
//
// Icon with lowest ID value placed first to ensure application icon
// remains consistent on all systems.
IDR_MAINFRAME ICON "res\\MCA.ico"
IDR_MCATYPE ICON "res\\MCADoc.ico"
IDI_CLOSE ICON "res\\close.ico"
IDI_DOWN ICON "res\\down.ico"
IDI_FOLDER ICON "res\\folder.ico"
IDI_SAVE ICON "res\\save.ico"
IDI_START ICON "res\\start.ico"
IDI_STOP ICON "res\\stop.ico"
IDI_UP ICON "res\\up.ico"
IDI_CLEAR ICON "res\\clear.ico"
IDI_AUTO ICON "res\\auto.ico"
/////////////////////////////////////////////////////////////////////////////
//
// Bitmap
//
IDR_MAINFRAME BITMAP "res\\Toolbar.bmp"
/////////////////////////////////////////////////////////////////////////////
//
// Toolbar
//
IDR_MAINFRAME TOOLBAR 50, 50
BEGIN
BUTTON ID_STA_START
BUTTON ID_STA_STOP
BUTTON ID_STA_CLEAR
SEPARATOR
BUTTON ID_OPT_OPEN
BUTTON ID_OPT_SAVE
SEPARATOR
BUTTON ID_RANGE_M2
BUTTON ID_RANGE_D2
BUTTON ID_RANGE_AUTO
SEPARATOR
BUTTON ID_FILE_CLOSE
END
/////////////////////////////////////////////////////////////////////////////
//
// Menu
//
IDR_MAINFRAME MENU
BEGIN
POPUP " 文件 "
BEGIN
MENUITEM "打开(&O)...\tCtrl+O", ID_OPT_OPEN
MENUITEM "保存(&S)\tCtrl+S", ID_OPT_SAVE
MENUITEM SEPARATOR
MENUITEM "退出(&X)", ID_APP_EXIT
END
POPUP " 采集 "
BEGIN
MENUITEM "开始(&A)\tCtrl+A", ID_STA_START
MENUITEM "停止(&Z)\tCtrl+Z", ID_STA_STOP
MENUITEM "清除(&C)\tCtrl+C", ID_STA_CLEAR
END
POPUP " 能谱 "
BEGIN
POPUP "平滑处理"
BEGIN
MENUITEM "原始数据", ID_DATA_ORIGIN
MENUITEM SEPARATOR
MENUITEM "三点平滑", ID_DATA_3
MENUITEM "五点平滑", ID_DATA_5
END
MENUITEM "寻峰\t(Ctrl+F)", ID_DATA_PEAK
MENUITEM SEPARATOR
POPUP "坐标轴"
BEGIN
MENUITEM "线性", ID_AXIS_LINEAR
MENUITEM "对数", ID_AXIS_LOG
END
POPUP "量程"
BEGIN
MENUITEM "自动", ID_RANGE_AUTO
MENUITEM "×1/4", ID_RANGE_D4
MENUITEM "×1/2", ID_RANGE_D2
MENUITEM "×2", ID_RANGE_M2
MENUITEM "×4", ID_RANGE_M4
END
MENUITEM SEPARATOR
POPUP "模拟数据"
BEGIN
MENUITEM "Co-60", ID_SIMU_CO
MENUITEM "Cs-137", ID_SIMU_CS
MENUITEM "Na-22", ID_SIMU_NA
END
END
POPUP " 显示 "
BEGIN
MENUITEM "工具栏(&T)", ID_VIEW_TOOLBAR
MENUITEM "状态栏(&S)", ID_VIEW_STATUS_BAR
END
POPUP " 帮助 "
BEGIN
MENUITEM "关于 Multichannel Analyzer(&A)...", ID_APP_ABOUT
END
END
/////////////////////////////////////////////////////////////////////////////
//
// Accelerator
//
IDR_MAINFRAME ACCELERATORS
BEGIN
VK_INSERT, ID_EDIT_COPY, VIRTKEY, CONTROL, NOINVERT
VK_DELETE, ID_EDIT_CUT, VIRTKEY, SHIFT, NOINVERT
VK_INSERT, ID_EDIT_PASTE, VIRTKEY, SHIFT, NOINVERT
VK_BACK, ID_EDIT_UNDO, VIRTKEY, ALT, NOINVERT
VK_F6, ID_NEXT_PANE, VIRTKEY, NOINVERT
"O", ID_OPT_OPEN, VIRTKEY, CONTROL, NOINVERT
"S", ID_OPT_SAVE, VIRTKEY, CONTROL, NOINVERT
VK_F6, ID_PREV_PANE, VIRTKEY, SHIFT, NOINVERT
"C", ID_STA_CLEAR, VIRTKEY, CONTROL, NOINVERT
"A", ID_STA_START, VIRTKEY, CONTROL, NOINVERT
"Z", ID_STA_STOP, VIRTKEY, CONTROL, NOINVERT
"F", ID_DATA_PEAK, VIRTKEY, CONTROL, NOINVERT
END
/////////////////////////////////////////////////////////////////////////////
//
// Dialog
//
IDD_ABOUTBOX DIALOGEX 0, 0, 170, 62
STYLE DS_SETFONT | DS_MODALFRAME | DS_FIXEDSYS | WS_POPUP | WS_CAPTION | WS_SYSMENU
CAPTION "关于 Multichannel Analyzer"
FONT 9, "MS Shell Dlg", 0, 0, 0x1
BEGIN
ICON IDR_MAINFRAME,IDC_STATIC,14,14,20,20
LTEXT "Multichannel Analyzer版本 1.0",IDC_STATIC,42,14,114,8,SS_NOPREFIX
LTEXT "Fox 版权所有 (C) 2022",IDC_STATIC,42,26,114,8
DEFPUSHBUTTON "确定",IDOK,113,41,50,14,WS_GROUP
END
IDD_DIALOG_CONTROL DIALOGEX 0, 0, 103, 337
STYLE DS_SETFONT | DS_FIXEDSYS | WS_CHILD | WS_SYSMENU
FONT 8, "MS Shell Dlg", 400, 0, 0x1
BEGIN
LTEXT "模式",IDC_STATIC,18,52,15,8
LTEXT "已测时长",IDC_STATIC,18,97,29,8
LTEXT "已测计数",IDC_STATIC,18,112,29,8
LTEXT "当前量程",IDC_STATIC,18,154,29,8
LTEXT "结束条件",IDC_STATIC,18,67,29,8
GROUPBOX "工作方式",IDC_STATIC,14,23,72,59
GROUPBOX "采集",IDC_STATIC,14,85,72,40
GROUPBOX "计数",IDC_STATIC,14,129,72,54
COMBOBOX IDC_MODE,38,52,45,30,CBS_DROPDOWNLIST | WS_VSCROLL | WS_TABSTOP
EDITTEXT IDC_COND,54,66,29,12,ES_AUTOHSCROLL
EDITTEXT IDC_TIME,54,97,29,12,ES_AUTOHSCROLL | ES_READONLY | NOT WS_BORDER
EDITTEXT IDC_TCOUNT,54,112,29,12,ES_AUTOHSCROLL | ES_READONLY | NOT WS_BORDER
LTEXT "最大计数",IDC_STATIC,18,168,29,8
EDITTEXT IDC_MCOUNT,54,168,29,12,ES_AUTOHSCROLL | ES_READONLY | NOT WS_BORDER
LTEXT "坐标轴",IDC_STATIC,18,140,22,8
COMBOBOX IDC_AXIS,47,139,36,30,CBS_DROPDOWNLIST | WS_VSCROLL | WS_TABSTOP
EDITTEXT IDC_RANGE,54,154,29,12,ES_AUTOHSCROLL | ES_READONLY | NOT WS_BORDER
GROUPBOX "放大区",IDC_STATIC,14,186,72,69
LTEXT "起始道",IDC_STATIC,18,199,22,8
EDITTEXT IDC_CURSOR1,54,199,29,12,ES_AUTOHSCROLL | ES_READONLY | NOT WS_BORDER
LTEXT "终止道",IDC_STATIC,18,213,22,8
GROUPBOX "光标",IDC_STATIC,14,258,72,40
LTEXT "道址",IDC_STATIC,18,270,15,8
EDITTEXT IDC_CURSORROI,54,270,29,12,ES_AUTOHSCROLL | ES_READONLY | NOT WS_BORDER
LTEXT "计数",IDC_STATIC,18,285,15,8
EDITTEXT IDC_CURSORROI_COUNT,54,285,29,12,ES_AUTOHSCROLL | ES_READONLY | NOT WS_BORDER
LTEXT "区域计数",IDC_STATIC,18,241,29,8
EDITTEXT IDC_PCOUNT,54,241,29,12,ES_AUTOHSCROLL | ES_READONLY | NOT WS_BORDER
EDITTEXT IDC_CURSOR2,54,213,29,12,ES_AUTOHSCROLL | ES_READONLY | NOT WS_BORDER
LTEXT "区域宽度",IDC_STATIC,18,227,29,8
EDITTEXT IDC_WIDTH,54,227,29,12,ES_AUTOHSCROLL | ES_READONLY | NOT WS_BORDER
LTEXT "模拟源",IDC_STATIC,18,37,22,8
COMBOBOX IDC_SOURCE,47,37,36,30,CBS_DROPDOWNLIST | WS_VSCROLL | WS_TABSTOP
END
/////////////////////////////////////////////////////////////////////////////
//
// Version
//
VS_VERSION_INFO VERSIONINFO
FILEVERSION 1,0,0,0
PRODUCTVERSION 1,0,0,0
FILEFLAGSMASK 0x3fL
#ifdef _DEBUG
FILEFLAGS 0x1L
#else
FILEFLAGS 0x0L
#endif
FILEOS 0x40004L
FILETYPE 0x1L
FILESUBTYPE 0x0L
BEGIN
BLOCK "StringFileInfo"
BEGIN
BLOCK "080404b0"
BEGIN
VALUE "CompanyName", "YiHui-Liu"
VALUE "FileDescription", "Multichannel Analyzer"
VALUE "FileVersion", "1.0.0.0"
VALUE "InternalName", "MCA.exe"
VALUE "LegalCopyright", "(C) YiHui-Liu 保留所有权利"
VALUE "OriginalFilename", "MCA.exe"
VALUE "ProductName", "Multichannel Analyzer"
VALUE "ProductVersion", "1.0.0.0"
END
END
BLOCK "VarFileInfo"
BEGIN
VALUE "Translation", 0x804, 1200
END
END
/////////////////////////////////////////////////////////////////////////////
//
// DESIGNINFO
//
#ifdef APSTUDIO_INVOKED
GUIDELINES DESIGNINFO
BEGIN
IDD_ABOUTBOX, DIALOG
BEGIN
LEFTMARGIN, 7
RIGHTMARGIN, 163
TOPMARGIN, 7
BOTTOMMARGIN, 55
END
IDD_DIALOG_CONTROL, DIALOG
BEGIN
LEFTMARGIN, 7
RIGHTMARGIN, 96
TOPMARGIN, 7
BOTTOMMARGIN, 330
END
END
#endif // APSTUDIO_INVOKED
/////////////////////////////////////////////////////////////////////////////
//
// AFX_DIALOG_LAYOUT
//
IDD_DIALOG_CONTROL AFX_DIALOG_LAYOUT
BEGIN
0
END
IDD_ABOUTBOX AFX_DIALOG_LAYOUT
BEGIN
0
END
/////////////////////////////////////////////////////////////////////////////
//
// String Table
//
STRINGTABLE
BEGIN
IDP_OLE_INIT_FAILED "OLE 初始化失败。 请确保 OLE 库是正确的版本。"
END
STRINGTABLE
BEGIN
IDR_MAINFRAME "MCA\n\nMCA\n\n\nMCA.Document\nMCA.Document"
END
STRINGTABLE
BEGIN
AFX_IDS_APP_TITLE "Multichannel Analyzer"
AFX_IDS_IDLEMESSAGE "就绪"
END
STRINGTABLE
BEGIN
ID_INDICATOR_EXT "EXT"
ID_INDICATOR_CAPS "CAP"
ID_INDICATOR_NUM "NUM"
ID_INDICATOR_SCRL "SCRL"
ID_INDICATOR_OVR "OVR"
ID_INDICATOR_REC "REC"
END
STRINGTABLE
BEGIN
ID_APP_ABOUT "显示程序信息、版本号和版权信息\n关于"
ID_APP_EXIT "退出应用程序;提示保存文档\n退出"
END
STRINGTABLE
BEGIN
ID_WINDOW_SPLIT "将活动窗口拆分为多个窗格\n拆分"
END
STRINGTABLE
BEGIN
ID_VIEW_TOOLBAR "显示或隐藏工具栏\n切换工具栏"
ID_VIEW_STATUS_BAR "显示或隐藏状态栏\n切换状态栏"
END
STRINGTABLE
BEGIN
AFX_IDS_SCSIZE "更改窗口大小"
AFX_IDS_SCMOVE "更改窗口位置"
AFX_IDS_SCMINIMIZE "将窗口缩小成图标"
AFX_IDS_SCMAXIMIZE "将窗口放大到最大尺寸"
AFX_IDS_SCNEXTWINDOW "切换到下一个文档窗口"
AFX_IDS_SCPREVWINDOW "切换到上一个文档窗口"
AFX_IDS_SCCLOSE "关闭活动窗口并提示保存文档"
END
STRINGTABLE
BEGIN
AFX_IDS_SCRESTORE "将窗口恢复到正常大小"
AFX_IDS_SCTASKLIST "激活任务列表"
END
STRINGTABLE
BEGIN
AFX_IDS_PREVIEW_CLOSE "关闭打印预览模式\n取消预览"
END
STRINGTABLE
BEGIN
ID_ARROW_RIGHT "右移光标一格\n右移"
ID_ARROW_UP "增大量程\n增大量程"
ID_ARROW_DOWN "减小量程\n减小量程"
ID_STA_START "开始采集\n开始"
ID_STA_STOP "停止采集\n停止"
END
STRINGTABLE
BEGIN
ID_ARROW_LEFT "左移光标一格\n左移"
ID_RANGE_AUTO "自动设置量程\n自动"
END
STRINGTABLE
BEGIN
ID_STA_CLEAR "清除数据\n清除"
ID_OPT_SAVE "保存当前数据\n保存"
ID_OPT_OPEN "打开现有数据\n打开"
ID_DATA_PEAK "对ROI进行高斯拟合\n寻峰"
END
#endif // 中文(简体,中国) resources
/////////////////////////////////////////////////////////////////////////////
/////////////////////////////////////////////////////////////////////////////
// 英语(美国) resources
#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU)
LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US
#ifdef APSTUDIO_INVOKED
/////////////////////////////////////////////////////////////////////////////
//
// TEXTINCLUDE
//
1 TEXTINCLUDE
BEGIN
"resource.h\0"
END
2 TEXTINCLUDE
BEGIN
"#ifndef APSTUDIO_INVOKED\r\n"
"#include ""targetver.h""\r\n"
"#endif\r\n"
"#include ""afxres.h""\r\n"
"#include ""verrsrc.h""\r\n"
"\0"
END
3 TEXTINCLUDE
BEGIN
"#define _AFX_NO_OLE_RESOURCES\r\n"
"#define _AFX_NO_TRACKER_RESOURCES\r\n"
"#define _AFX_NO_PROPERTY_RESOURCES\r\n"
"\r\n"
"#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_CHS)\r\n"
"LANGUAGE 4, 2\r\n"
"#include ""res\\MCA.rc2"" // ?????§????§?? Microsoft Visual C++ ?????ì????¨???¨?????¨??????§????§??-|????ì????????ì????¨?|????¨??o???\r\n"
"#include ""l.CHS\\afxres.rc"" // ?????ì????¨???¨?????¨??o?????ì????¨?|??????ì????¨?|????¨??|?t\r\n"
"#include ""l.CHS\\afxprint.rc"" // ??????¨????????¨????/??????¨????????¨??????????ì?????ì?????¨??????§????§?????¨??????§????§??????ì????¨?|????¨??o???\r\n"
"#endif\r\n"
"\0"
END
#endif // APSTUDIO_INVOKED
#endif // 英语(美国) resources
/////////////////////////////////////////////////////////////////////////////
#ifndef APSTUDIO_INVOKED
/////////////////////////////////////////////////////////////////////////////
//
// Generated from the TEXTINCLUDE 3 resource.
//
#define _AFX_NO_OLE_RESOURCES
#define _AFX_NO_TRACKER_RESOURCES
#define _AFX_NO_PROPERTY_RESOURCES
#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_CHS)
LANGUAGE 4, 2
#include "res\MCA.rc2" // ?????¡ì????¡ì?? Microsoft Visual C++ ?????¨¬????¡§???¡§?????¡§??????¡ì????¡ì??-|????¨¬????????¨¬????¡§?|????¡§??o???
#include "l.CHS\afxres.rc" // ?????¨¬????¡§???¡§?????¡§??o?????¨¬????¡§?|??????¨¬????¡§?|????¡§??|?t
#include "l.CHS\afxprint.rc" // ??????¡§????????¡§????/??????¡§????????¡§??????????¨¬?????¨¬?????¡§??????¡ì????¡ì?????¡§??????¡ì????¡ì??????¨¬????¡§?|????¡§??o???
#endif
/////////////////////////////////////////////////////////////////////////////
#endif // not APSTUDIO_INVOKED