;-- RemoteControlWindow -- [RemoteControlWindow] @ = [StyledWidgetWindowT] subst(Body([RemoteControlWindow_Content]) Caption([RemoteControlWindow_Caption]) Top(use(0)) Header(subst(LogoDsc())) BodyEx(mg(0,0,0,3)) Footer(subst(Help(onclick( if(EnablePswrdProtect && AskForRControl, help(), help(18607)) )))) Help(onclick(url($HelpURLManagementConsole))) ) [RemoteControlWindow_Caption] @ = a(lt) sz(p,97) Header = [ProductHeader] sz(p,p) subst(Sep(use(0)) Bg(use(0)) BackBtn(use(1)) _rs(use(0)) Logo(use(1) xy(5,4) bg("titledsc_prot")) LogoDsc(text($Header) xy(-1,0)) ) extprm(1) Logo = $LogoButton Close = $WindowCloseBtn Minimize = $WindowMinimizeBtn enable(1) Status = [RemoteControlWindow_Banner] visible(EnablePswrdProtect && AskForRControl) Sep = a(lb) xy(,2) sz(p,6) bg("Widget_Window_ContentTop") visible(!ctl.Status.visible) Help = $HeaderLink subst(Icon(i("MainInfo"))) a(rt) xy(20,35) onclick(help()) extprm(1) visible(!ctl.Body.Password.visible) Settings = $HeaderLink subst(Icon(i("MainSettings"))) a(ps) xy($Button_Shift) onclick(window("OptionsWindow:Password")) visible(!ctl.Body.Password.visible) [RemoteControlWindow_Banner] @ = sz(p,a) a(lt) xy(,63) rs(100,0) alias(remotestatus) prm(s_RemoteConsoleStateList) ext(1) Bg = bg(s_ProtectionSmallBannerBg(s_RemoteConsoleStateSeverity(StateId))) sz(p,a) Text = [LabelShadow2] subst(B(xy(0,1))) xy(295,8) a(lt) text(s_RemoteConsoleStateText(StateId)) f(s_ProtectionBannerSmBGFont(s_RemoteConsoleStateSeverity(StateId))) [RemoteControlWindow_Content] @ = mg(0,0) sz(p,p) alias(taskview) Dummy = a(la) sz(0,0) Password = [RemoteControlWindow_Password] sz(p,p) a(ss) visible(!(EnablePswrdProtect && AskForRControl)) xy(3,,3) Body = [RemoteControlWindow_Body] sz(p,p) a(ss) visible(EnablePswrdProtect && AskForRControl) [RemoteControlWindow_Password] @ = a(lt) sz(p,p) bg("ColorWindow") Header1 = a(lt) sz(p,a) ta(c) xy(,50) f("SecondWndHeader1") visible(!EnablePswrdProtect) Header2 = a(lt) sz(p,a) ta(c) xy(,80) f("SecondWndHeader1") visible(EnablePswrdProtect) Descr = a(la) sz(p,a) ta(c) xy(,10,,30) f("SecondWndDescription") Warning1 = a(la) sz(p,40) xy(80,,80) bg("WarningBg") ta(cc) f("SecondWndDescription") visible(EnablePswrdProtect) Warning2 = a(la) sz(p,40) xy(80,,80) bg("WarningBg") ta(cc) f("SecondWndDescription") PasswordText = a(la) xy(,30) sz(240,a) ta(r) f("SecondWndDescriptionBold") visible(!EnablePswrdProtect) Password = t(edit) at(password) a(as) xy(12,-2) sz(260) visible(!EnablePswrdProtect) ConfirmText = a(la) xy(,15) sz(240,a) ta(r) f("SecondWndDescriptionBold") visible(!EnablePswrdProtect) Confirm = t(edit) at(password) a(as) xy(12,-2) sz(260) visible(!EnablePswrdProtect) Remember = t(check) a(la) xy(252,11) f("SecondWndDescription") v(PasswordChecked) visible(!EnablePswrdProtect) Create = [MiddleGreenButton] subst(Label(text() sz(240) ta(c))) a(la) xy(252,25) visible(!EnablePswrdProtect) onclick(\ if(!ctl.Password.value,ctl.Password.balloon("ErrNoPasswordEnteredParctl"),\ if(ctl.Password.value != ctl.Confirm.value, ctl.Confirm.balloon("ErrDifferPswrds"),\ (OPEP = hashMD5(ctl.Password.value, true); AskForRControl = 1; AskWhenExitApp = 1; EnablePswrdProtect = 1) ))) Protect = [MiddleGreenButton] subst(Label(text() sz(240) ta(c))) a(la) xy(252,40) visible(EnablePswrdProtect) onclick(if(checkPassword(#pwdc_SaveSettings),AskForRControl=1)) Settings = t(hotlink) a(la) sz(p,a) xy(,15) ta(c) f("SecondWndDescriptionHref") onclick(if(dialog("OptionsWindow:Password"),ctl.top.updatedata())) [RemoteControlWindow_Body] @ = alias(navigator2) pages(Pages) NavPanel = [RemoteControlWindow_NavPanel] sz(p,75) a(la) Pages = sz(p,p) a(la) [RemoteControlWindow_NavPanel] @ = bg("RControlToolbar") Tasks = [RemoteControlWindow_NavPanel_Tasks] sz(240,p) Computers = [RemoteControlWindow_NavPanel_Computers] a(at) xy(2) sz(p,p) [RemoteControlWindow_NetScan] @ = sz(a,a) ext(1) Animation = sz(a,a) a(at) bg(depend(ctl.Computers.List.nNetBrowseProgress) < 100 ? "BackupAnimation" : "") bp(ctl.animate(depend(ctl.Computers.List.nNetBrowseProgress) < 100 ? -1 : 0, 2, true)) ;Scanning = f("KtsHeader1") a(at) xy(7) [RemoteControlWindow_NavPanel_Tasks] @ = mg(15,15) Scan = [RemoteControlWindow_NavPanel_Tasks_Scan] Update = [RemoteControlWindow_NavPanel_Tasks_Updater] xy(,10) [RemoteControlWindow_NavPanel_Tasks_Scan] @ = a(la) sz(a,a) ontimer(1000, ctl.Group.visible = IsGroupTaskRunning("ods") ) Group = a(lt) sz(a,a) xy(,,5) bg("PreloaderWhite16") bp(ctl.animate(-1, 2, true)) Icon = a(lt) i("group_scan_16") visible(!ctl.Group.visible) Link = $LinkKL xy(5) f("SecondWndDescriptionWhite") a(as) onclick(preparesetstateGroup(dialog("RemoteControlWindow_GroupProductOper", p_type("ods")))) [RemoteControlWindow_NavPanel_Tasks_Updater] @ = a(la) sz(a,a) ontimer(1000, ctl.Group.visible = IsGroupTaskRunning("updater") ) Group = a(lt) sz(a,a) xy(,,5) bg("PreloaderWhite16") bp(ctl.animate(-1, 2, true)) Icon = a(lt) i("group_update_16") visible(!ctl.Group.visible) Link = $LinkKL xy(5) f("SecondWndDescriptionWhite") a(as) onclick(preparesetstateGroup(dialog("RemoteControlWindow_GroupProductOper", p_type("updater")))) [RemoteControlWindow_NavPanel_Computers] @ = at(enum) oninit(l_compListInited=0) onshow(ctl.value = ":settings:"; if(productData("selected_computer"), ctl.Group.select(productData("selected_computer"))); l_compListInited=1) onchange(if(l_compListInited,productData("selected_computer") = ctl.value)) List = t(list) alias(vector.RemoteControlComputers) at(noheader,noborder) oninit(ctl.value = strRemoteConsoleNetGroup) visible(0) Add = [RemoteControlWindow_NavPanel_ComputersList_Add] Group = [RemoteControlWindow_NavPanel_ComputersList] a(ab) xy(11) sz(400,73) Prev = at(btnlike) a(sc) sz(11,23) xy(-15,,6) visible(ctl.Group.isScrollEnabled()) enable(ctl.Group.isPrevEnabled()) onclick(ctl.Group.doPrev()) bg(ctl.selected ? "ScrollArrowsLeft,2" : ctl.hotlight ? "ScrollArrowsLeft,1" : ctl.enabled ? "ScrollArrowsLeft,0" : "ScrollArrowsLeft,3") Next = at(btnlike) a(ac) sz(11,23) xy(412,,6) visible(ctl.Group.isScrollEnabled()) enable(ctl.Group.isNextEnabled()) onclick(ctl.Group.doNext()) bg(ctl.selected ? "ScrollArrowsRight,2" : ctl.hotlight ? "ScrollArrowsRight,1" : ctl.enabled ? "ScrollArrowsRight,0" : "ScrollArrowsRight,3") [RemoteControlWindow_NavPanel_ComputersList_Add] @ = at(radiolike) a(lb) sz(80,75) v(":settings:") bg(ctl.selected ? "ComputerSel" : "") Comp = a(cc) bg(ctl.parent.selected ? s_RemoteConsoleSettingsIconSelected(s_RemoteConsoleStateSeverity(StateId)) : s_RemoteConsoleSettingsIcon(s_RemoteConsoleStateSeverity(StateId))) alias(remotestatus) prm(s_RemoteConsoleStateList) [RemoteControlWindow_NavPanel_ComputersList] @ = t(itemsgroup) alias(remotecomputersgroup) v(ctl.List.aComputers) id("sComputerDisplayName") sort("!Local + sComputerDisplayName") filter(RemoteConsoleShowManagedOnly ? "errConnect == 0" : NULL) row = [RemoteControlWindow_NavPanel_ComputersList_Row] [RemoteControlWindow_NavPanel_ComputersList_Row] @ = a(at) at(radiolike) sz(80,75) mg(5,,5) bg(ctl.selected ? "ComputerSel" : "") v(ctl.id) ;onrclick(if(ctl.Comp.enabled,menu("RemoteControlWindow_NavPanel_ComputersList_Menu"))) - TODO: temporarily turn off context menu Comp = a(ct) mg(,15,,4) enable(!errConnect) i(errConnect ? "computer_disabled_lite" : profiles.serbase.find("name == \"Updater\"").settings().UseRetr2 ? "AssignServer.big" : s_RemoteProductComputerStateIcon(s_ProdStateSeverity(nStateId),ctl.parent.selected)) Text = a(ca) text(sComputerDisplayName) f(ctl.parent.selected ? "SecondWndDescriptionSmall" : "SecondWndDescriptionSmallWhite") [RemoteControlWindow_NavPanel_ComputersList_Menu] $GetGeneralPage = ctl.ctlFind("top.Pages." + ctl.parent.parent.parent.id + ".Product.PagesArea.General") Statuses = onclick(var pCtl; pCtl = $GetGeneralPage; if(pCtl, pCtl.ctlFind("Statuses").click())) at(default) Components = onclick(var pCtl; pCtl = $GetGeneralPage; if(pCtl, pCtl.ctlFind("Components").click())) License = onclick(var pCtl; pCtl = $GetGeneralPage; if(pCtl, pCtl.ctlFind("License").click())) [RemoteControlWindow.pageitem] $SettingsPage = ":settings:" @ = ext(1) h(ctl.id == $SettingsPage ? 18608 : errConnect ? 18316 : 0) sz(p,p) ns(ctl.NavPanel.Computers.Group.seldata()) alias(remoteproduct) bp(if(depend(errConnect) == 0, ctl.loadItem("Product", "RemoteControlWindow.pageitem.Product"))) Settings = [RemoteControlWindow.pageitem.Settings] sz(p,p) a(la) use(ctl.parent.id == $SettingsPage) NotConnected = [RemoteControlWindow.pageitem.ProductNotConnected] sz(p,p) a(la) visible(depend(errConnect != 0)) use(ctl.parent.id != $SettingsPage) ontimer(1000,ctl.updatedata()) [RemoteControlWindow.pageitem.ProductNotConnected] Btns = [RemoteControlWindow.pageitem.ProductNotConnected_Btns] Body = [RemoteControlWindow.pageitem.ProductNotConnected_Body] a(at) sz(p,p) [RemoteControlWindow.pageitem.ProductNotConnected_Btns] @ = xy(2,0) sz(a,340) at(enum) Bg = a(lb) bg("SecondWindowNavbtnBg") sz(a,5) Rs = a(lp) bg("SecondWindowNavbtnBgRs") sz(a,p) _btns_pos = a(lt) sz(0,0) rs(0,0) General = [RemoteControlWindow_Navigator_Button] subst(Icon(i("network_info")) Text()) [RemoteControlWindow.pageitem.ProductNotConnected_Body] GeneralPage = [RemoteControlWindow.pageitem.General] sz(p,p) mg(20,20,20,20) subst(Active(use(0)) ) [RemoteControlWindow.pageitem.Product] @ = alias(taskview) sz(p,p) a(la) visible(depend(errConnect == 0)) Body = [RemoteControlWindow.pageitem.Body] [RemoteControlWindow.pageitem.Body] @ = alias(navigator2) pages(PagesArea.Pages) sz(p,p) Btns = [RemoteControlWindow.pageitem.Body_Btns] PagesArea = [RemoteControlWindow.pageitem.Body_PagesArea] sz(p,p) a(at) [RemoteControlWindow.pageitem.Body_PagesArea] Pages = sz(p,p) [RemoteControlWindow.pageitem.Body_Btns] @ = xy(2,0) sz(a,340) at(enum) Bg = a(lb) bg("SecondWindowNavbtnBg") sz(a,5) Rs = a(lp) bg("SecondWindowNavbtnBgRs") sz(a,p) _btns_pos = a(lt) sz(0,0) rs(0,0) General = [RemoteControlWindow_Navigator_Button] subst(Icon(i("network_protection")) Text()) ParCtl = [RemoteControlWindow_Navigator_Button] subst(Icon(i("network_parctl")) Text()) visible(f_isInstalled("ParCtl")) Scan = [RemoteControlWindow_Navigator_Button] subst(Icon(i("network_scan")) Text()) Updater = [RemoteControlWindow_Navigator_Button] subst(Icon(i("network_update")) Text()) Backup = [RemoteControlWindow_Navigator_Button] subst(Icon(i("network_backup")) Text()) visible(f_isInstalled("Backup")) [RemoteControlWindow_Navigator_Button] @ = sz(231,65) a(la) xy(1) mg(18,,,6) at(radiolike) ext(1) bg(ctl.selected ? "SecondWindowNavbtnSelected" : (ctl.hotlight ? "SecondWindowNavbtnHover":"")) Icon = a(lc) extprm(1) Text = a(ac) sz(p,a) xy(10) at(singleline) f("SecondWndNavButton_green") extprm(1) [MainWindow_Info_Panel] @ = t(bmpbutton) sz(p,a) a(la) ia(lt) ext(1) Text = a(lt) sz(p,a) xy(40) extprm(1) f("Header5Lite") Desc = a(sa) sz(p,a) xy(,4,,7) mg(,,4) f("Description") extprm(1) [MainWindow_Info_Panel_Aero] @ = [MainWindow_Info_Panel] a(la) at(btnlike) t() subst(Text(xy(36,0) f("Header6Lite"))) sz(p,a) mg(8,4) bg(ctl.selected ? "HilightBtn_sel" : (ctl.hotlight ? "HilightBtn" : "")) ext(1) [RemoteControlWindow.pageitem.General] @ = sz(p,p) ext(1) h(18316) mg(20,20,20,20) Header = a(lt) f("SecondWndHeader2") Status = a(as) xy(5) f(errConnect ? "SecondWndHeader2Red" : "SecondWndHeader2Green") ComputerName = [Value] subst(Name(xy(,1) f("SecondWndDescription")) Val(a(as) f("SecondWndDescription") text(sComputerDisplayName)) ) a(la) xy(,8) ProductName = [Value] subst(Name(xy(,1) f("SecondWndDescription")) Val(a(as) f("SecondWndDescription") text($ProductNameLong)) ) a(la) visible(depend(errConnect == 0)) Protection = [MainWindow_Body.Protection_Body] a(la) xy(,25) sz(p,p) subst(Header(use(0)) Descr(use(0)) Problems(use(1)) Threats(use(0)) Update(use(0)) License(use(1)) Recommendations(use(0))) visible(depend(errConnect == 0)) [RemoteControlWindow.pageitem.ParCtl] @ = sz(p,p) alias(task) ns(ParCtl) h(18561) mg(,5,5,5) Users = [ParCtlMainWindow_Users] subst(Icon(use(0)) Header(xy(20) f("SecondWndHeader2")) Descr(xy(20,10)) remote(use(1)) ) [RemoteControlWindow.pageitem.Scan] @ = [MainWindow_Body.Scan] a(lt) bg() sz(p,p) rs(0,0) mg(25,15,25,25) subst(DragArea(use(0)) QuickScan(xy(,40)) VulnerabilitiesScan(xy(,40)) ) h(18562) [RemoteControlWindow.pageitem.Updater] @ = sz(p,p) rs(0,0) mg(20,20,20,20) alias(taskview) h(18563) Updater = [MainWindow_Body.Updater] sz(p,a) mg(0) subst(Content(sz(p,a)) VirusWatch(xy(,0)) Description(use(0)) LastState(xy(,15)) Actions(xy(,15)) Action(xy(,0))) Separator = a(la) sz(p,1) xy(,20) bg("Widget_Window_Separator") Header = a(la) xy(,15) f("SecondWndHeader2") Descr = a(la) xy(,5) f("SecondWndDescription") SetAsUpdateSrv = [BtnGlass37] a(la) xy(,20) onclick(if(msg("RemoteControlSetAsUpdateSrvWarning", #m_yesno|#m_warning), f_IfErrThenMsg(ctl.top.Computers.List.setAsUpdateSrv(sComputerNetBIOSName, true), "RemoteControlSetAsUpdateSrvError"))) visible(!UseRetr2) UnsetAsUpdateSrv = [BtnGlass37] a(la) xy(,20) onclick(if(msg("RemoteControlUnsetAsUpdateSrvConfirm", #m_yesno|#m_warning), f_IfErrThenMsg(ctl.top.Computers.List.setAsUpdateSrv(sComputerNetBIOSName, false), "RemoteControlUnsetAsUpdateSrvError"))) visible(!ctl.SetAsUpdateSrv.visible) [RemoteControlWindow.pageitem.Backup] @ = sz(p,p) h(18564) mg(,,5,5) Backup = [MainLauncherWindow.Backup] subst(remote(use(1))) mg(0,20,0,20) [RemoteControlWindow.Backup.Helper] @ = sz(p,p) Header = a(cc) xy(,30) f("Header2_Grey") Descr = a(ca) xy(,15) f("KtsDescriptionGrey") [RemoteControlWindow.Backup.List] @ = t(scrollarea) alias(backup_task_list) Header = a(la) f("KtsHeader1") Descr = a(la) xy(,6) f("KtsDescriptionDGrey") Separator = a(la) sz(542,1) xy(,20) bg("KtsSeparatorLine") row = [MainLauncherWindow.Backup.Row] ; -- RemoteControlWindow_GroupProductOper -- [RemoteControlWindow_GroupProductOper] @ = [StyledWindowT] at(dragable,customfooter,a_close) subst(Body(a(lt) -xy() -bg()) BodyEx([RemoteControlWindow_GroupProductOper.Body])) sz(640,500) i("Main") alias(dataview) h(p_type == "updater" ? 18625 : 18624) [BtmTabLeft_Dark] @ = sz($Tab_ParCtl_Left_CX,$Tab_ParCtl_CY) ext(1) L = bg(ctl.parent.selected? "TabLeftWhite_Dark":"TabLeftGray_Dark") a(lt) sz(24,p) extprm(1) R = bg(ctl.parent.selected? "TabRightWhite_A_Dark":"TabRightGray_A_Dark") a(rt) sz(20,p) extprm(1) M = bg(ctl.parent.selected? "TabMidWhite_Dark":"TabMidGray_Dark") sz(p,p) xy(24,,17) extprm(1) Cont = a(lc) ta(cc) sz(p,p) xy(17,,10) extprm(1) [BtmTabRight_Dark] @ = sz($Tab_ParCtl_Right_CX,$Tab_ParCtl_CY) ext(1) L = bg(ctl.parent.selected? "TabLeftWhite_A_Dark":"TabLeftGray_A_Dark") a(lt) sz(24,p) extprm(1) R = bg(ctl.parent.selected? "TabRightWhite_Dark":"TabRightGray_Dark") a(rt) sz(24,p) extprm(1) M = bg(ctl.parent.selected? "TabMidWhite_Dark":"TabMidGray_Dark") sz(p,p) xy(17,,24) extprm(1) Cont = a(lc) ta(cc) sz(a,p) xy(10,,17) extprm(1) [RemoteControlWindow_GroupProductOper.Body] @ = sz(p,p) a(lt) at(enum) v(strProfileName) FullScan = [BtmTabLeft_Dark] a(lt) xy(200,6) at(radiolike) v("Scan_My_Computer") subst(Cont()) use(p_type == "ods") QuickScan = [BtmTabRight_Dark] sz(a, $Tab_ParCtl_CY) a(as) at(radiolike) v("Scan_Startup") subst(Cont()) use(p_type == "ods") Body = [RemoteControlWindow_GroupProductOper_Body] a(lt) xy(10,90,10,$DialogPanelSizeY_bottom) Header = [BackupWizardPage_Header] subst(Text()) a(lt) xy(10,30,10,0) [RemoteControlWindow_GroupProductOper_Body] @ = $DlgBodyAttr a(lt) oninit(if(p_type == "updater", strProfileName = "Updater")) mg(20,20,20,20) bg("ColorWindow") Computers = [RemoteControlWindow_GroupProductOper_Body_ComputersEx] [RemoteControlWindow_GroupProductOper_Body_ComputersEx] @ = a(la) sz(p,p) ontimer(1000,(aProducts.foreach( "updateStatistics(profiles.serbase.find(\"name == strProfileName\"))" ); ctl.updatedata())) Toolbar = [RemoteControlWindow_GroupProductOper_Body_ComputersToolbar] List = [RemoteControlWindow_GroupProductOper_Body_Computers] a(la) xy(,-1) use(p_type == "ods") List = [RemoteControlWindow_GroupProductOper_Body_Computers_Updater] a(la) xy(,-1) use(p_type == "updater") [RemoteControlWindow_GroupProductOper_Body_ComputersToolbar] @ = a(la) sz(p,a) Left = a(lt) sz(a,a) bg("ToolbarLeft") Right = a(rt) sz(a,a) bg("ToolbarRight") Middle = a(lt) sz(p,a) xy(5,,5) bg("ToolbarMiddle") Start = [BackupMainWindow.Label] a(lt) xy(8,2) subst(Icon(i("ParCtlOptionsIcon,6")) Label(text()) ) onclick(setstateGroup(#TASK_REQUEST_RUN);ctl.top.updatedata()) enable(var p; p=aProducts.find("EnableAction&&f_isProfileExistsStopped(" + toExpr(strProfileName) + ")")) Stop = [BackupMainWindow.Label] a(as) xy(2) subst(Icon(i("ParCtlOptionsIcon,2")) Label(text()) ) onclick(setstateGroup(#TASK_REQUEST_STOP);ctl.top.updatedata()) enable(var p; p=aProducts.find("EnableAction&&f_isProfileExistsRunning(" + toExpr(strProfileName) + ")")) [MainReport_BodyEx_Remote] @ = ns(p_Data) alias(remoteproduct) bp(if(depend(errConnect) == 0, ctl.loadItem("Content", "MainReport_BodyEx_Remote_Content"))) defList = t(list) visible(0) [MainReport_BodyEx_Remote_Content] @ = a(la) sz(p,p) alias(taskview) Body = [MainReport_Body] onshow(ctl.Btns.value = s_Profile2ProfileGroup_Reports(p_ProfileName)) [RemoteControlWindow_GroupProductOper_Body_Computers] @ = $List alias(vector) v(aProducts) onok(if(!aProducts.size("EnableAction"), balloon("ComputersNotSelected"))) f("SecondWndDescription") Name = sz(175) text(sComputerDisplayName) at(checked) i("info") v(EnableAction) f("SecondWndDescription") LastRun = sz(315) text(var pProfile; pProfile = profiles.serbase.find("name == strProfileName"); var pStat; pStat = pProfile.statistics; s_RemoteControl_GroupOper_Status(strProfileName, pProfile, pStat ) ) f("SecondWndDescription") Report = sz(50) text($Report) f("SecondWndDescriptionHref") at(clickable) onclick( f_RemoteProfileHomeReport(ser(sComputerDisplayName), strProfileName) ) row = sz(p,25) [RemoteControlWindow_GroupProductOper_Body_Computers_Updater] @ = $List at(checkall) alias(vector) v(aProducts) onok(if(!aProducts.size("EnableAction"), balloon("ComputersNotSelected"))) f("SecondWndDescription") Check = sz(a) at(checked) v(EnableAction) Name = sz(175) text(sComputerDisplayName) i("info") f("SecondWndDescription") LastRun = sz(315) text(var pProfile; pProfile = profiles.serbase.find("name == strProfileName"); var pStat; pStat = pProfile.statistics; s_RemoteControl_GroupOper_Status(strProfileName, pProfile, pStat ) ) f("SecondWndDescription") Report = sz(50) text($Report) f("SecondWndDescriptionHref") at(clickable) onclick( f_RemoteProfileHomeReport(ser(sComputerDisplayName), strProfileName) ) row = sz(p,25) ;------------- [RemoteControlWizard] ------------- [RemoteControlWindow.pageitem.Settings] @ = $DlgWizardInnerAttr sz(p,p) mg(20,20,20,20) ontimer(2000, (l_scanning = $GetRemoteConsoleEnableAutoScan && ctl.Computers.List.nNetBrowseProgress < 100);ctl.updatedata()) alias(remotestatus) prm(s_RemoteConsoleNetworkStateList) Problem = [RemoteControlWindow.Problem] xy(,,146,20) visible(s_RemoteConsoleNetworkStateSeverity(StateId)) Descr = a(la) f("SecondWndDescription") sz(p,a) xy(,,146) visible(ctl.Networks.count() > 1) Networks = t(combo) f("SecondWndDescription") a(la) sz(p) xy(,6,146,20) onshow(ctl.value = strRemoteConsoleNetGroup) items(vector(ctl.Computers.List.aNetGroups) text(strAdapterId.ser().f_AdapterName()) v(strAdapterId)) onchange(if(ctl.value != strRemoteConsoleNetGroup, ctl.Computers.List.value = strRemoteConsoleNetGroup = ctl.value)) ontimer(2000,updatedata()) visible(ctl.count() > 1) dummy1 = a(la) sz(0,0) Computers = [RemoteControlWizard.Network.Computers] xy(,,146) a(ss) visible(isTrustedNetwork()) Firewall = [RemoteControlWizard.Network.Firewall] xy(,,146) a(ss) visible(!isTrustedNetwork()) Scan = [BigGreyButton] a(rt) subst(Icon(i("network_scan_btn")) Label()) visible(!l_scanning) onclick(enableRCAutoScan(1);l_scanning=$GetRemoteConsoleEnableAutoScan=1) StopScan = [BigGreyButton] a(rt) subst(Icon(sz(a,a) bg("PreloaderWhite32") bp(ctl.animate(-1, 1, true))) Label(xy(,15))) visible(l_scanning) onclick(enableRCAutoScan(0);l_scanning=$GetRemoteConsoleEnableAutoScan=0) Update = [BigGreyButton] a(ra) xy(,20) subst(Icon(i("network_update_btn")) Label()) enable(!l_scanning) onclick(dialog("RemoteControlUpdatesDialog")) [RemoteControlWindow.Problem] @ = sz(p,a) mg(10,10,10,10) b(System) Icon = sz(a,a) a(la) i(s_MainProtStatusIcon(s_RemoteConsoleNetworkStateSeverity(StateId))) Descr = t(richedit) at(readonly,nofocus,noborder) sz(p,a) a(as) f("SecondWndDescription") text(s_RemoteConsoleStateDescriptionText(StateId)) [BigGreyButton] @ = at(btnlike) sz(126,123) mg(10,0,10,10) bg(ctl.selected ? "BigGreyButtonPressed" : ctl.hotlight ? "BigGreyButtonHover" : "BigGreyButton") ext(1) Icon = a(c) xy(,15) extprm(1) Label = a(ca) f("BtnSecondWndF") xy(,15) extprm(1) [RemoteControlWizard.Network.Firewall] @ = sz(p,a) b(System) mg(10,20,10,30) Icon = a(lt) i("warning") Text = a(as) xy(5) sz(p,a) f("SecondWndDescription") Network = a(sa) xy(,20) sz(p,a) f("SecondWndDescription") Name = a(sa) sz(p,a) f("SecondWndDescriptionBold") text(ctl.Networks.value) Trusted = [MiddleGreenButton] subst(Label(text())) a(sa) xy(,20) onclick(f_EditNetwork()) Firewall = [MiddleGreyButton] subst(Label(text())) a(as) xy(15) onclick(f_EditNetwork()) [RemoteControlWizard.Network.Computers] @ = sz(p,p) Check = t(check) f("SecondWndDescription") f1("KtsHeader1Lite") xy(,0) a(lb) onchange(ctl.List.setfilter(ctl.value ? "errConnect == 0" : "", 0)) v(RemoteConsoleShowManagedOnly) ToolbarList = [RemoteControlWizard.Network.ComputersToolbarList] xy(,17) a(lp) [RemoteControlWizard.Network.ComputersToolbarList] @ = a(lt) sz(p,p) Toolbar = [RemoteControlWizard.Network.ComputersToolbar] List = [RemoteControlWizard.Network.ComputersList] a(la) xy(,-1) [RemoteControlWizard.Network.ComputersToolbar] @ = a(la) sz(p,a) Left = a(lt) sz(a,a) bg("ToolbarLeft") Right = a(rt) sz(a,a) bg("ToolbarRight") Middle = a(lt) sz(p,a) xy(5,,5) bg("ToolbarMiddle") AddManual = [BackupMainWindow.Label] a(lt) xy(8,2) subst(Icon(i("EncryptionIcons16,2")) Label(text()) ) onclick(ctl.parent.parent.List.add(dialog("RemoteControl_AddComputer",p_new(true) ));ctl.top.updatedata()) DeleteSel = [BackupMainWindow.Label] a(as) xy(2) subst(Icon(i("EncryptionIcons16,3")) Label(text()) ) onclick(deleteRCComputers(ctl.parent.parent.List,1);ctl.top.updatedata()) enable((ctl.parent.parent.List.totalCount()>1)&&ctl.parent.parent.List.selcount() && !($GetRemoteConsoleEnableAutoScan&&ctl.parent.parent.List.nNetBrowseProgress < 100) ) DeleteAll = [BackupMainWindow.Label] a(as) xy(2) subst(Icon(i("EncryptionIcons16,3")) Label(text()) ) onclick(deleteRCComputers(ctl.parent.parent.List);ctl.top.updatedata()) enable((ctl.parent.parent.List.aComputers.size()>1) && !($GetRemoteConsoleEnableAutoScan&&ctl.parent.parent.List.nNetBrowseProgress < 100)) [RemoteControlWizard.Network.ComputersList] @ = $List f("SecondWndDescription") alias(vector.RemoteControlComputers) onshow(ctl.focus()) oninit(ctl.setfilter(RemoteConsoleShowManagedOnly ? "errConnect == 0" : NULL)) unique(tolower(sComputerDisplayName) == tolower(newItem.sComputerDisplayName),0) Name = text(sComputerDisplayName) f("SecondWndDescription") Status = f(errConnect ? "SecondWndDescription" : "SecondWndDescriptionGreen") text(s_RemoteControlProductStatus(errConnect)) row = at(clickable) sz(p,25) onrclick(menu("RemoteControlWizard.Network.ComputersList.Row.menu")) extprm(1) [RemoteControlWizard.Network.ComputersList.Row.menu] @ = t(menu) bg("MenuIconBg") ext(1) Select = t(menuitem) onclick(ctl.NavPanel.Computers.Group.select(ctl.List.seldata().sComputerDisplayName)) at(default) extprm(1) [RemoteControlUpdatesDialog] @ = [StyledWindowT] at(dragable,customfooter,a_ok,a_cancel) subst(BodyEx([RemoteControlUpdatesDialog_Body])) sz(640,400) i("Main") onok(ctl.Computers.setAsUpdateSrv(l_updateServer, l_useUpdateServer); 1) h(18609) [RemoteControlUpdatesDialog_Body] Header = [BackupWizardPage_Header] subst(Text()) Body = [RemoteControlUpdatesDialog.Body] a(la) [RemoteControlUpdatesDialog.Body] @ = sz(p,p) xy(0) Computers = $List alias(vector.RemoteControlComputers) visible(0) Inner = [RemoteControlWizard.Updates] a(lt) sz(p,p) mg(17,25,17,25) [RemoteControlWizard.Updates] @ = $DlgWizardInnerAttr sz(p,p) oninit(l_updateServer = ctl.Computers.getUpdateSrv(true); l_useUpdateServer = l_updateServer ? true : false) ext(1) UpdatesGroup = a(la) [RemoteControlWizard.Updates.UpdatesGroup] xy(65) Icon = a(ls) i("UpdateServer48") xy(5) [RemoteControlWizard.Updates.UpdatesGroup] @ = at(enum) a(la) v(l_useUpdateServer) sz(p,a) UpdateServer = t(radio) a(la) f("SecondWndDescriptionBold") v(1) Descr1 = a(la) f("SecondWndDescription") xy(20,7) sz(p,a) ServerText = a(la) f("SecondWndDescription") xy(20,20) enable(ctl.UpdatesGroup.value) Server = t(combo) a(as) f("SecondWndDescription") xy(12,-2) sz(150) enable(ctl.UpdatesGroup.value) items(vector(depend(ctl.Computers.aComputers)) v(sComputerNetBIOSName) text(if(!errConnect || sComputerNetBIOSName == l_updateServer, sComputerDisplayName))) v(l_updateServer) UpdateDefault = t(radio) a(la) f("SecondWndDescriptionBold") v(0) xy(,27) Descr2 = a(la) f("SecondWndDescription") xy(20,7) sz(p,a) ;--------- RemoteControl_AddComputer --------- [RemoteControl_AddComputer] @ = [EditSimpleItem] alias(settings) bg("White") subst(Descr(use(1) f("") text() ) Descr2(use(1) text() f("Header2") xy(,7,,7) ) Example() Name(v(sComputerDisplayName) onok(var p; p.serinit(#stFwAddress); p.Address=sComputerDisplayName; p.IP=ComputerAddr; if(!parseAddr(p, ctl.value), balloon("ErrResolvingIp"), (if(p.IP, ComputerAddr = p.IP);initRemoteProduct(ser(ComputerAddr)) ) ) ))) ext(1) h(32928)