Пример #1
0
void ppModelEvaluation::OnBnClickedRadio3()
   {
   UpdateData(TRUE);
   if (m_singleModelRun==WH_SINGLE_SIMULATION)
      ChangeVisibility(FALSE);  
   else
      ChangeVisibility(TRUE);
   }
Пример #2
0
void ppModelEvaluation::OnBnSetfocusRadiomonte()
   {
   UpdateData(TRUE);
   if (m_singleModelRun==WH_SINGLE_SIMULATION)
      ChangeVisibility(FALSE);
   else
      ChangeVisibility(TRUE);
   }
Пример #3
0
BOOL ppModelEvaluation::OnInitDialog()
{
   CPropertyPage::OnInitDialog();
   ChangeVisibility(FALSE);

   return TRUE;  // return TRUE unless you set the focus to a control
   // EXCEPTION: OCX Property Pages should return FALSE
}
void __fastcall TStylesMultiDemoMainForm::RadioGroupClick(TObject *Sender)
{
  switch (((TcxRadioGroup*)Sender)->ItemIndex) {
    case cNone:
      UpdateGridStyleSheets(NULL);
    case cPredefined:
      SetPredefinedStyleSheets();
    case cUserDefined:
      SetUserDefinedStyleSheets();
  }
  ChangeVisibility(((TcxRadioGroup*)Sender)->ItemIndex);
}
Пример #5
0
int APIENTRY _tWinMain(HINSTANCE hInstance,
                     HINSTANCE hPrevInstance,
                     LPTSTR    lpCmdLine,
                     int       nCmdShow)
{
	CDeskIcon deskIcon;

    if( !_tcsicmp( lpCmdLine, CMD_SMALL ) )
    {
        deskIcon.SetDeskIcon( DeskIconSmall );
    }
    else if( !_tcsicmp( lpCmdLine, CMD_BIG ) )
    {
        deskIcon.SetDeskIcon( DeskIconBig ); 
    }
    else
    {
        ChangeVisibility();
    }
    
	return 0;

}