示例#1
0
void DiscardProgressPanel ( int hProgressHandle )
{
	if ( hProgressHandle > 0 )
	{
		RemovePopup (0);
		DiscardPanel ( hProgressHandle ); 
	}
}
示例#2
0
文件: Remotely.c 项目: jufei/BtsShell
int CVICALLBACK ConfigExit (int panel, int event, void *callbackData,
		int eventData1, int eventData2)
{
	switch (event)
	{
		case EVENT_CLOSE:
			 RemovePopup (configHandle); 
			break;
	}
	return 0;
}
示例#3
0
文件: Remotely.c 项目: jufei/BtsShell
int CVICALLBACK ViewExit (int panel, int event, void *callbackData,
		int eventData1, int eventData2)
{
	switch (event)
	{
		case EVENT_CLOSE:
			RemovePopup (outputHandle);
			if (outputHandle)
		    {
               DiscardPanel (outputHandle);
	        }
			break;
	}
	return 0;
}
示例#4
0
文件: Remotely.c 项目: jufei/BtsShell
int CVICALLBACK Item_Exit (int panel, int event, void *callbackData,
		int eventData1, int eventData2)
{
	switch (event)
	{
		case EVENT_CLOSE:
			 if((Initial(1, 1)>=0) && (Initial(2, 1)>=0) && (Initial(3, 1)>=0))	 // write file type inforamtion to config.ini
			 {
			 	RemovePopup (itemHandle);
			 }
			 else
			 {
			    SetLed("Write file type or filter information from UI to config.ini error,please try again!",0);  
			 }
			break;
	}
	return 0;
}