单选题You are creating a Windows Forms application for a financial service provider by using the .NET Framework 3.5. You have to implement a multiple document interface (MDI) in the application to allow users to open multiple financial documents simultaneously.You need to ensure that whenever the child MDI form is created, the application displays a message in the title bar of the parent MDI that a child form has received focus. What should you do?()AImplement theActivated eventBImplement the MdiChildActivate eventCOverride the OnParentVisibleChanged methodDOverride the OnParentBindingContextChanged method
单选题
You are creating a Windows Forms application for a financial service provider by using the .NET Framework 3.5. You have to implement a multiple document interface (MDI) in the application to allow users to open multiple financial documents simultaneously.You need to ensure that whenever the child MDI form is created, the application displays a message in the title bar of the parent MDI that a child form has received focus. What should you do?()
A
Implement theActivated event
B
Implement the MdiChildActivate event
C
Override the OnParentVisibleChanged method
D
Override the OnParentBindingContextChanged method
参考解析
解析:
暂无解析
相关考题:
You are developing an application that performs file backups in the background. The background application will host a Windows Communication Foundation (WCF) service and must be active as soon as the machine is running. The background application will not have a user interface. A front-end application will consume the WCF service and will provide the user interface.You need to choose a host environment for the WCF service.Which hosting environment should you choose? ()A. Microsoft Internet Information Services (IIS) 6.0B. Windows Process Activation Services (WAS)C. A Windows Forms applicationD. A Windows Service
You are creating a Windows Forms Application by using the .NET Framework 3.5.Your applciation will be used by a government depertment.You need to ensure that the application meets "accessibilty" requirements.Which three actions should you perform?()A、Expose keyboard focus visually and programmatically.B、Use the NeutralResourceLanguageAttribute attribute in the assembly.C、Provide documented keyboard access to all application features.D、Set all the colors to primary colors when the high contrast mode is on.E、Display all user interface elements by using the system color scheme when high contrast mode is off.F、Either display all visual cues or create sound effects for any information.
You are creating a Windows Forms application by using the .NET Framework 3.5. You plan to develop a new control for the application.You need to ensure that the control extends the TreeView control by adding a custom node tag and a highlight color.What should you do?()A、Override the OnPaint method.B、Write a code segment in the DrawNode event handler to specify the highlight color.C、Set the DrawMode property of the control to OwnerDrawAll, and then implement a custom DrawNode event handler.D、Set the DrawMode property of the control to OwnerDrawText,and then implement a custom DrawNode event handler.
You are creating a Windows Forms application by using the .NET Framework 3.5.You plan to deploy the application in multiple countries and languages.You need to ensure that the application meets the globalization requirements. Which two actions should you perform?()A、Handle server names and URLs as ASCII dataB、Use Unicode strings throughout the applicationC、Use the NumberFormatInfo class for numeric formattingD、Handle strings as a series of individual characters instead of entire stringsE、Avoid usage of the SortKey class and the CompareInfo class for sorting purposes
You are creating a Windows Forms application by using the .NET Framework 3.5.You have resource files in five different languages.You need to test the application in each language. What should you do?()A、Set the CurrentCulture property explicitly to the respective culture for each language.B、Set the CurrentCulture property explicitly to IsNeutralCulture for each language.C、Set the CurrentUICulture property explicitly to IsNeutralCulture for each language.D、Set the CurrentUICulture property explicitly to the respective culture for each language.
You are developing a Windows Presentation Foundation (WPF) application for a travel reservation system You need to ensure that users can select a range of travel dates. What should you do ?()A、Add single DatePicker control to the design surfaceB、Add single Calendar control to the design surfaceC、Add single MediaElement control to the design surface to display a calendarD、Add the appropriate Windows Forms references to the project references. Add a single Windows Forms DateTimePicker control to the design surface
You are creating a Windows Forms Application by using the .NET Framework 3.5.Users use the application to process and approve invoices. A list of recently accessed invoices is stored in the users settings section of the App.config file.You need to maintain the list of invoices from the last persisted state.What should you do?()A、Use the Properties.Settings object during runtime.B、Use the Properties.Settings.Default object during runtime.C、Use the ConfigurationManager.AppSettings object during runtime.D、Use the ConfigurationManager.GetSection method during runtime.
You are creating a Windows Forms application by using the .Net Framework 3.5.You plan to display detailed help instructions for each control in the form.You create a help file.You configure a HelpProvider component on the form.You need to display the help file for the control that is focused when the F1 key is pressed.Which method of the HelpProvider class should you call for each control?()A、SetShowHelpB、SetHelpStringC、SetHelpKeywordD、SetHelpNavigator
You are creating a Windows Forms application by using the .NET Framework 3.5 The application is used by a financial service provider.You discover that the service provider transfers large amounts of data by using XML.You need to read and validate the XMLdocuments in the most time efficient manner.Which technology should you use?()A、The XmlReader classB、The XmlDocument classC、The XmlResolver classD、The LINQ to XML method
单选题You are developing an application that performs file backups in the background. The background application will host a Windows Communication Foundation (WCF) service and must be active as soon as the machine is running. The background application will not have a user interface. A front-end application will consume the WCF service and will provide the user interface.You need to choose a host environment for the WCF service. Which hosting environment should you choose? ()AMicrosoft Internet Information Services (IIS) 6.0BWindows Process Activation Services (WAS)CA Windows Forms applicationDA Windows Service
单选题You create Windows Forms applications by using the .NET Framework 3.5. You plan to use a setup project to deploy a new Windows Forms application.The application uses a component that requires the Microsoft NET Framework 1.1.You need to create a launch condition so that the application can be deployed on client computers. What should you do?()AUse the Depth property.BUse the Version property.CUse the MinVersion property.DUse the ComponentID property.
单选题You are the network administrator for Company. You have been assigned the task to upgrade the 23 Windows NT Workstation 4.0 computers in the accounting department to Windows 2000 Professional. Users in the accounting department run a peer-to-peer financial and credit application on their computers. The application requires that information is passed between the accounting department computers over the network. You upgrade all the computers and configure them to have the default security settings. You want to ensure that network traffic between accounting computers is secure. What should you do? ()ADisable NetBIOS over TCP/IP on the accounting department computers.BApply the Hisecws.inf security template to the local security policy on the accounting department computers.CEnable the Encrypting File System (EFS) on all files used by the financial and credit application on the accounting department computers.DConfigure port filters for each port used by the financial and credit application on the accounting department computers.
单选题You are creating a Windows Forms application by using the .NET Framework 3.5.You plan to develop a custom control for the application. The control will be a composite control.Your need to derive from the class that will create the control by using the minimum amount of development effort.What should you do?()ADerive from the Control class.BDerive from the UserControl class.CDerive from the FrameworkElement class.DDerive from the ContainerControl class.
多选题You are creating a Windows Forms application by using the .NET Framework 3.5.You plan to deploy the application in multiple countries and languages.You need to ensure that the application meets the globalization requirements. Which two actions should you perform?()AHandle server names and URLs as ASCII dataBUse Unicode strings throughout the applicationCUse the NumberFormatInfo class for numeric formattingDHandle strings as a series of individual characters instead of entire stringsEAvoid usage of the SortKey class and the CompareInfo class for sorting purposes
单选题You are creating a Windows Forms Application by using the .NET Framework 3.5.You plan to deploy a new Applciation.You need to ensure that on deployment, the application meets the following requirements; (1)It is executed on the client computer. (2)It is removed from the client computer after the application closed. (3)It is not displayed in the Add/Remove programs panel on the client computer. What sould you do?()ADeploy the application to a central network server.- Access the application by using hte Remote Desktop Connection tool.BDeploy the application by using the ClickOnce technology.- Use the Mage.exe tool to set the Online Only option in the deployment manifest.CDeploy the application by using the ClickOnce technologoy.- Set the Install attiribute of the deployment tag to true in the deployment manifest.DDeploy the application to a CD-ROM by using the ClickOnce technology. - Execute the application from the CD-ROM.
单选题You are creating a Windows Forms application by using the .NET Framework 3.5 The application is used by a financial service provider.You discover that the service provider transfers large amounts of data by using XML.You need to read and validate the XMLdocuments in the most time efficient manner.Which technology should you use?()AThe XmlReader classBThe XmlDocument classCThe XmlResolver classDThe LINQ to XML method
单选题You are creating a new form for the Order Entry application. You define a record group that will be created when the form is executing this built in: CREATE_GROUP(rg_emplist, global_scope) Which form(s) in the application will have access to this record group?()AAll forms in the application. BAny forms opened by the user who initiated the record group. COnly the form issuing the CREATE_GROUP built-in. DAny forms referenced by the form that contains the procedure.
单选题You are creating a Windows Forms Application by using the .NET Framework 3.5.You plan to create a Windows Installer package for a Windows Forms application. The package will be deployed on Windows Vista computers.You need to ensure that during deployment the installation does not elevate privileges of the user installing the application.What should you do?()ACreate a custom action and set the NoImpersonate property to trueBCreate a custom action and set the NoImpersonate property to falseCCreate a manifest and set the RequestedExecutionLevel level attribute to AsInvokerDCreate a manifest and set the RequestedExecutionLevel level attribute to AsAdministrator
单选题You are creating a Windows Forms application by using the .Net Framework 3.5.You plan to design a composite control for the application.You need to derive the control from a base class that supports templates.What should you do?()ADerive from the Control class.BDerive from the UserControl class.CDerive from the ScrollableControl class.DDerive from the ContainerControl class.
单选题You are creating a Windows Forms Application by using the .NET Framework 3.5.You plan to create a Windows Installer package for a Windows Forms application.The package will be deployed on Windows Vista computers.You need to ensure that during deployment the installation does not elevate privileges of the user installing the application.What should you do?()ACreate a custom action and set the NoImpersonate property to trueBCreate a custom action and set the NoImpersonate property to falseCCreate a manifest and set the RequestedExecutionLevel level attribute to AsInvoker.DCreate a manifest and set the RequestedExecutionLevel level attribute to AsAdministrator.
单选题You are creating a Windows Forms application by using the .NET Framework 3.5.You plan to develop a new control for the application. You need to ensure that the control extends the DataGridView control by allowing the cells to contain multicolored text. What should you do?()AOverride the OnPaint method.BWrite a code segment to handle the CellPainting event.CWrite a code segment to handle the CellParsing event.DWrite a code segment to handle the RowPostPaint event.