⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 mode.cpp

📁 面板显示程序
💻 CPP
📖 第 1 页 / 共 5 页
字号:
		m_static_DG104.RedrawWindow();
		return   TRUE;
	}
	if(index10==4)
	{
		m_static_DG105.GetWindowText(temp1);
		if(temp1=="是")
			m_static_DG105.SetWindowText("否");					
		else
			m_static_DG105.SetWindowText("是");						
		m_static_DG105.RedrawWindow();
		return   TRUE;
	}
	if(index10==5)
	{
		m_static_DG106.GetWindowText(temp1);
		if(temp1=="200%")	
			m_static_DG106.SetWindowText("160%");
		else if(temp1=="160%")
			m_static_DG106.SetWindowText("133%");
		else if(temp1=="133%")
			m_static_DG106.SetWindowText("114%");
		else if(temp1=="114%")
			m_static_DG106.SetWindowText("100%");
		else if(temp1=="100%")
			m_static_DG106.SetWindowText("93%");
		else if(temp1=="93%")
			m_static_DG106.SetWindowText("87%");
		else if(temp1=="87%")
			m_static_DG106.SetWindowText("81%");
		else if(temp1=="81%")
			m_static_DG106.SetWindowText("75%");
		else
			m_static_DG106.SetWindowText("200%");							
		m_static_DG106.RedrawWindow();
		return   TRUE;
	}
	if(index10==6)
	{
		m_static_DG107_M.GetWindowText(temp1);
		if(temp1=="10")
			m_static_DG107_M.SetWindowText("20");					
		else if(temp1=="20")
			m_static_DG107_M.SetWindowText("30");
		else if(temp1=="30")
			m_static_DG107_M.SetWindowText("40");
		else if(temp1=="40")
			m_static_DG107_M.SetWindowText("50");
		else if(temp1=="50")
			m_static_DG107_M.SetWindowText("60");
		else if(temp1=="60")
			m_static_DG107_M.SetWindowText("70");
		else if(temp1=="70")
			m_static_DG107_M.SetWindowText("80");
		else if(temp1=="80")
			m_static_DG107_M.SetWindowText("90");
		else if(temp1=="90")
			m_static_DG107_M.SetWindowText("100");
		else 
			m_static_DG107_M.SetWindowText("10");
		m_static_DG107_M.RedrawWindow();
		return   TRUE;
	}
				}
if(CMODE::GetFocus() == GetDlgItem(IDC_STATIC_DG111)||
   CMODE::GetFocus() == GetDlgItem(IDC_STATIC_DG112)||
   CMODE::GetFocus() == GetDlgItem(IDC_STATIC_DG113)||
   CMODE::GetFocus() == GetDlgItem(IDC_STATIC_DG114)||
   CMODE::GetFocus() == GetDlgItem(IDC_STATIC_DG115)||
   CMODE::GetFocus() == GetDlgItem(IDC_STATIC_DG116)||
   CMODE::GetFocus() == GetDlgItem(IDC_STATIC_DG117_M))
{
	CString temp1;
	if(index11==0)
	{
		
		m_static_DG111.GetWindowText(temp1);
		if(temp1=="是")
			m_static_DG111.SetWindowText("否");					
		else
			m_static_DG111.SetWindowText("是");						
		m_static_DG111.RedrawWindow();
		return   TRUE;
	}
	if(index11==1)
	{
		m_static_DG112.GetWindowText(temp1);
		if(temp1=="是")
			m_static_DG112.SetWindowText("否");					
		else
			m_static_DG112.SetWindowText("是");						
		m_static_DG112.RedrawWindow();
		return   TRUE;
	}
	if(index11==2)
	{
		m_static_DG113.GetWindowText(temp1);
		if(temp1=="是")
			m_static_DG113.SetWindowText("否");					
		else
			m_static_DG113.SetWindowText("是");						
		m_static_DG113.RedrawWindow();
		return   TRUE;
	}
	if(index11==3)
	{
		m_static_DG114.GetWindowText(temp1);
		if(temp1=="是")
			m_static_DG114.SetWindowText("否");					
		else
			m_static_DG114.SetWindowText("是");						
		m_static_DG114.RedrawWindow();
		return   TRUE;
	}
	if(index11==4)
	{
		m_static_DG115.GetWindowText(temp1);
		if(temp1=="是")
			m_static_DG115.SetWindowText("否");					
		else
			m_static_DG115.SetWindowText("是");						
		m_static_DG115.RedrawWindow();
		return   TRUE;
	}
	if(index11==5)
	{
		m_static_DG116.GetWindowText(temp1);
		if(temp1=="200%")	
			m_static_DG116.SetWindowText("160%");
		else if(temp1=="160%")
			m_static_DG116.SetWindowText("133%");
		else if(temp1=="133%")
			m_static_DG116.SetWindowText("114%");
		else if(temp1=="114%")
			m_static_DG116.SetWindowText("100%");
		else if(temp1=="100%")
			m_static_DG116.SetWindowText("93%");
		else if(temp1=="93%")
			m_static_DG116.SetWindowText("87%");
		else if(temp1=="87%")
			m_static_DG116.SetWindowText("81%");
		else if(temp1=="81%")
			m_static_DG116.SetWindowText("75%");
		else
			m_static_DG116.SetWindowText("200%");							
		m_static_DG116.RedrawWindow();
		return   TRUE;
	}
	if(index11==6)
	{
		m_static_DG117_M.GetWindowText(temp1);
		if(temp1=="10")
			m_static_DG117_M.SetWindowText("20");					
		else if(temp1=="20")
			m_static_DG117_M.SetWindowText("30");
		else if(temp1=="30")
			m_static_DG117_M.SetWindowText("40");
		else if(temp1=="40")
			m_static_DG117_M.SetWindowText("50");
		else if(temp1=="50")
			m_static_DG117_M.SetWindowText("60");
		else if(temp1=="60")
			m_static_DG117_M.SetWindowText("70");
		else if(temp1=="70")
			m_static_DG117_M.SetWindowText("80");
		else if(temp1=="80")
			m_static_DG117_M.SetWindowText("90");
		else if(temp1=="90")
			m_static_DG117_M.SetWindowText("100");
		else 
			m_static_DG117_M.SetWindowText("10");
		m_static_DG117_M.RedrawWindow();
		return   TRUE;
	}
				}
if(CMODE::GetFocus() == GetDlgItem(IDC_STATIC_DG121)||
   CMODE::GetFocus() == GetDlgItem(IDC_STATIC_DG122)||
   CMODE::GetFocus() == GetDlgItem(IDC_STATIC_DG123)||
   CMODE::GetFocus() == GetDlgItem(IDC_STATIC_DG124)||
   CMODE::GetFocus() == GetDlgItem(IDC_STATIC_DG125)||
   CMODE::GetFocus() == GetDlgItem(IDC_STATIC_DG126)||
   CMODE::GetFocus() == GetDlgItem(IDC_STATIC_DG127_M))
{
	CString temp1;
	if(index12==0)
	{
		
		m_static_DG121.GetWindowText(temp1);
		if(temp1=="是")
			m_static_DG121.SetWindowText("否");					
		else
			m_static_DG121.SetWindowText("是");						
		m_static_DG121.RedrawWindow();
		return   TRUE;
	}
	if(index12==1)
	{
		m_static_DG122.GetWindowText(temp1);
		if(temp1=="是")
			m_static_DG122.SetWindowText("否");					
		else
			m_static_DG122.SetWindowText("是");						
		m_static_DG122.RedrawWindow();
		return   TRUE;
	}
	if(index12==2)
	{
		m_static_DG123.GetWindowText(temp1);
		if(temp1=="是")
			m_static_DG123.SetWindowText("否");					
		else
			m_static_DG123.SetWindowText("是");						
		m_static_DG123.RedrawWindow();
		return   TRUE;
	}
	if(index12==3)
	{
		m_static_DG124.GetWindowText(temp1);
		if(temp1=="是")
			m_static_DG124.SetWindowText("否");					
		else
			m_static_DG124.SetWindowText("是");						
		m_static_DG124.RedrawWindow();
		return   TRUE;
	}
	if(index12==4)
	{
		m_static_DG125.GetWindowText(temp1);
		if(temp1=="是")
			m_static_DG125.SetWindowText("否");					
		else
			m_static_DG125.SetWindowText("是");						
		m_static_DG125.RedrawWindow();
		return   TRUE;
	}
	if(index12==5)
	{
		m_static_DG126.GetWindowText(temp1);
		if(temp1=="200%")	
			m_static_DG126.SetWindowText("160%");
		else if(temp1=="160%")
			m_static_DG126.SetWindowText("133%");
		else if(temp1=="133%")
			m_static_DG126.SetWindowText("114%");
		else if(temp1=="114%")
			m_static_DG126.SetWindowText("100%");
		else if(temp1=="100%")
			m_static_DG126.SetWindowText("93%");
		else if(temp1=="93%")
			m_static_DG126.SetWindowText("87%");
		else if(temp1=="87%")
			m_static_DG126.SetWindowText("81%");
		else if(temp1=="81%")
			m_static_DG126.SetWindowText("75%");
		else
			m_static_DG126.SetWindowText("200%");							
		m_static_DG126.RedrawWindow();
		return   TRUE;
	}
	if(index12==6)
	{
		m_static_DG127_M.GetWindowText(temp1);
		if(temp1=="10")
			m_static_DG127_M.SetWindowText("20");					
		else if(temp1=="20")
			m_static_DG127_M.SetWindowText("30");
		else if(temp1=="30")
			m_static_DG127_M.SetWindowText("40");
		else if(temp1=="40")
			m_static_DG127_M.SetWindowText("50");
		else if(temp1=="50")
			m_static_DG127_M.SetWindowText("60");
		else if(temp1=="60")
			m_static_DG127_M.SetWindowText("70");
		else if(temp1=="70")
			m_static_DG127_M.SetWindowText("80");
		else if(temp1=="80")
			m_static_DG127_M.SetWindowText("90");
		else if(temp1=="90")
			m_static_DG127_M.SetWindowText("100");
		else 
			m_static_DG127_M.SetWindowText("10");
		m_static_DG127_M.RedrawWindow();
		return   TRUE;
	}
				}
if(CMODE::GetFocus() == GetDlgItem(IDC_STATIC_DG131)||
   CMODE::GetFocus() == GetDlgItem(IDC_STATIC_DG132)||
   CMODE::GetFocus() == GetDlgItem(IDC_STATIC_DG133)||
   CMODE::GetFocus() == GetDlgItem(IDC_STATIC_DG134)||
   CMODE::GetFocus() == GetDlgItem(IDC_STATIC_DG135)||
   CMODE::GetFocus() == GetDlgItem(IDC_STATIC_DG136)||
   CMODE::GetFocus() == GetDlgItem(IDC_STATIC_DG137_M))
{
	CString temp1;
	if(index13==0)
	{
		
		m_static_DG131.GetWindowText(temp1);
		if(temp1=="是")
			m_static_DG131.SetWindowText("否");					
		else
			m_static_DG131.SetWindowText("是");						
		m_static_DG131.RedrawWindow();
		return   TRUE;
	}
	if(index13==1)
	{
		m_static_DG132.GetWindowText(temp1);
		if(temp1=="是")
			m_static_DG132.SetWindowText("否");					
		else
			m_static_DG132.SetWindowText("是");						
		m_static_DG132.RedrawWindow();
		return   TRUE;
	}
	if(index13==2)
	{
		m_static_DG133.GetWindowText(temp1);
		if(temp1=="是")
			m_static_DG133.SetWindowText("否");					
		else
			m_static_DG133.SetWindowText("是");						
		m_static_DG133.RedrawWindow();
		return   TRUE;
	}
	if(index13==3)
	{
		m_static_DG134.GetWindowText(temp1);
		if(temp1=="是")
			m_static_DG134.SetWindowText("否");					
		else
			m_static_DG134.SetWindowText("是");						
		m_static_DG134.RedrawWindow();
		return   TRUE;
	}
	if(index13==4)
	{
		m_static_DG135.GetWindowText(temp1);
		if(temp1=="是")
			m_static_DG135.SetWindowText("否");					
		else
			m_static_DG135.SetWindowText("是");						
		m_static_DG135.RedrawWindow();
		return   TRUE;
	}
	if(index13==5)
	{
		m_static_DG136.GetWindowText(temp1);
		if(temp1=="200%")	
			m_static_DG136.SetWindowText("160%");
		else if(temp1=="160%")
			m_static_DG136.SetWindowText("133%");
		else if(temp1=="133%")
			m_static_DG136.SetWindowText("114%");
		else if(temp1=="114%")
			m_static_DG136.SetWindowText("100%");
		else if(temp1=="100%")
			m_static_DG136.SetWindowText("93%");
		else if(temp1=="93%")
			m_static_DG136.SetWindowText("87%");
		else if(temp1=="87%")
			m_static_DG136.SetWindowText("81%");
		else if(temp1=="81%")
			m_static_DG136.SetWindowText("75%");
		else
			m_static_DG136.SetWindowText("200%");							
		m_static_DG136.RedrawWindow();
		return   TRUE;
	}
	if(index13==6)
	{
		m_static_DG137_M.GetWindowText(temp1);
		if(temp1=="10")
			m_static_DG137_M.SetWindowText("20");					
		else if(temp1=="20")
			m_static_DG137_M.SetWindowText("30");
		else if(temp1=="30")
			m_static_DG137_M.SetWindowText("40");
		else if(temp1=="40")
			m_static_DG137_M.SetWindowText("50");
		else if(temp1=="50")
			m_static_DG137_M.SetWindowText("60");
		else if(temp1=="60")
			m_static_DG137_M.SetWindowText("70");
		else if(temp1=="70")
			m_static_DG137_M.SetWindowText("80");
		else if(temp1=="80")
			m_static_DG137_M.SetWindowText("90");
		else if(temp1=="90")
			m_static_DG137_M.SetWindowText("100");
		else 
			m_static_DG137_M.SetWindowText("10");
		m_static_DG137_M.RedrawWindow();
		return   TRUE;
	}
				}
if(CMODE::GetFocus() == GetDlgItem(IDC_STATIC_DG141)||
   CMODE::GetFocus() == GetDlgItem(IDC_STATIC_DG142)||
   CMODE::GetFocus() == GetDlgItem(IDC_STATIC_DG143)||
   CMODE::GetFocus() == GetDlgItem(IDC_STATIC_DG144)||
   CMODE::GetFocus() == GetDlgItem(IDC_STATIC_DG145)||
   CMODE::GetFocus() == GetDlgItem(IDC_STATIC_DG146)||
   CMODE::GetFocus() == GetDlgItem(IDC_STATIC_DG147_M))
{
	CString temp1;
	if(index14==0)
	{
		
		m_static_DG141.GetWindowText(temp1);
		if(temp1=="是")
			m_static_DG141.SetWindowText("否");					
		else
			m_static_DG141.SetWindowText("是");						
		m_static_DG141.RedrawWindow();
		return   TRUE;
	}
	if(index14==1)
	{
		m_static_DG142.GetWindowText(temp1);
		if(temp1=="是")
			m_static_DG142.SetWindowText("否");					
		else
			m_static_DG142.SetWindowText("是");						
		m_static_DG142.RedrawWindow();
		return   TRUE;
	}
	if(index14==2)
	{
		m_static_DG143.GetWindowText(temp1);
		if(temp1=="是")
			m_static_DG143.SetWindowText("否");					
		else
			m_static_DG143.SetWindowText("是");						
		m_static_DG143.RedrawWindow();
		return   TRUE;
	}
	if(index14==3)
	{
		m_static_DG144.GetWindowText(temp1);
		if(temp1=="是")
			m_static_DG144.SetWindowText("否");					
		else
			m_static_DG144.SetWindowText("是");						
		m_static_DG144.RedrawWindow();
		return   TRUE;
	}
	if(index14==4)
	{
		m_static_DG145.GetWindowText(temp1);
		if(temp1=="是")
			m_static_DG145.SetWindowText("否");					
		else
			m_static_DG145.SetWindowText("是");						
		m_static_DG145.RedrawWindow();
		return   TRUE;
	}
	if(index14==5)
	{
		m_static_DG146.GetWindowText(temp1);
		if(temp1=="200%")	
			m_static_DG146.SetWindowText("160%");
		else if(temp1=="160%")
			m_static_DG146.SetWindowText("133%");
		else if(temp1=="133%")

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -