In the WinForm C/S program, where the control is often updated in a child thread, the desktop program UI thread is the main thread, and an exception prompt "Access it from a thread that is not a control" appears when attempting to modify a control property directly from a child thread.There are two common ways to update UI controls across threads:1. Using the Invoke/begininvoke method of the control itself2
Recently in the use of a jquery UI dialog plug-ins, feel particularly powerful, but the style settings are more troublesome, studied two days finally finished.
To run the plug-in, you need the following environment
Jquery.ui.all.css for the start style of CSS, with Firefox open view, floating layer title below,
is actually a span, then according to this class Ui-dialog-title we go to the official
The main thread of the desktop client program is the UI thread, and we often have to show the data in the network to the interface, usually in both synchronous and asynchronous ways, the synchronization will block the UI, so this way can be ignored (special cases can be used). Most asynchronous methods are requested to return data in a child thread, where we cannot directly manipulate the
Why do I write this article
Do you often see a lot of books saying: You can't manipulate the UI in a child thread, or you'll get an error. Do you also encounter the following puzzle (see the code below):
(Bundle savedinstancestate) {
. onCreate (savedinstancestate);
Setcontentview (r.layout.activity_main);
TV = (TextView) Findviewbyid (r.id.tv);
Thread.CurrentThread (). SetName ();
Loopert
UI design specifications and production specifications for adaptive resolution
Benchmark Device: iphone 4s
Benchmark screen resolution: 960*640 (iOS), 800*480 (Android), 854*480 (Android)
Reference parameter 3.5inc + 330ppi
Standard Height: 768
1.333 (4:3), 1.8 (16:9)
UI Height = 768
Design size= 1024/768
Phone Resource Size = 1024/768
HD Resource Size = 2048/1536
In this case, the most important is the pi
Children's shoes that write WPF may encounter problems accessing UI exceptions in child threads. This is a security restriction to prevent data inconsistencies.It is troublesome to update the UI in a child thread and give the main thread an update.Next, we introduce a solution that can be called a framework (tap the brick when it's tapped).One: Solve the problem of judging the current thread is the main lin
As a beginner unity3d one months of small rookie, want to build a UI library is also quite crazy, but the eldest brother not to use Ngui, Then at that time Unity4.6 official version has not yet released (or I do not know that Unity4.6 has its own UI), and then the fearless write down, at present, although the function is very simple, the implementation of the control is very small, but as the purpose of pra
Give your illustrator software users a detailed explanation to share the tutorial on making the UI design series.
Tutorial Sharing:
The strength of AI lies in the processing of vector graphs. The Sage has a cloud: "If you want to" generate "an image from scratch in your computer, vector graphic authoring software is usually more suitable, except for special occasions like the use of digital hand-painted. Especially in the field of
design, but adds some simple effects, such as simple projections, basic gradients.
"Long projection Design" icon design more use, is generally a 45-degree angle of the shadow from the extension from the icon, the most recent icon design, most of the use of "long projection design."
Efficient application of Flat UI suite (UI kits)
Through the UI suite, we can
In just a few years the Android platform has formed a large and active developer community. Many community-developed projects are already at maturity and can even be used in commercial software production without worrying about quality issues.This article is compiled from Androiduipatterns to share some free, open source Android UI libraries and component resources.
1. Greendroid
The project can implement the following
, smooth operation, but also feel the whole team contains planning staff's intentions.
"At best, it is a barely usable product that stands out from a group of rubbish in a rotten environment." 」
It is true that my view of Taiwan's UI design is now, but I have no guts to talk about it. People pay for all the rubbish. Sometimes think about, in the process of "aesthetic education" is most often borrowed from the class to the British number, make everyo
There are often problems with Android projects that update the UI after a time-consuming operation in a child thread, and then summarize the updated methods for some of the projects that you have experienced:Look at the message mechanism in Android before looking at the method:ReferenceMessage: Messages that contain the message ID, the message Processing object, and the processed data are queued by MessageQueue and processed by handler.Handler: Handle
I do not know what is recognized as a standard of evaluation, here I do a belongs of their own ideas, not only to evaluate other people's UI design works, but also to their own UI design works of reflection and evaluation. For reference only, I hope to like the design, like the UI, attention to the details of children's shoes have a certain role.
A complete set
At the SAP User Conference in Orlando recently, SAP released an impressive set of applications ' Fiori ', based on SAP's new HTML5 framework (i.e. SAPUI5). SAPUI5 (based on Html/css/javascript, on top of jquery, etc.) has been around for more than a year, but last week the Fiori application released by SAP has shown that SAP is very serious about SAPUI5 as a tool set for future UI development. DJ Adams a year ago in his blog has foreseen the transfer
SharePoint 2010 supports the same Web site presenting a different language UI. For example, a Chinese version of the SharePoint 2010 system, the administrator can install the SharePoint 2010 English Language pack on the server, and then in the language settings of the site settings, select English as the alternate language.
Users can then use the user's menu in the upper-right corner of the page to toggle the current site's display
Writing a GUI with programming code often leads to confusing design, which in turn leads to confusion between business logic and UI code. This article explores how to create a collection of declarative XML UI tags with a companion Java™ framework that resolves, constructs, and ultimately binds a declared GUI component to the business logic at run time.
Brief introduction
GUI development can be a daunting
example, if you try to connect logical_reads and database_id, it displays logical_reads. After you have customized the viewer based on the required fields, you can save the configuration via the Extended events menu, or through the Display Settings button, if needed. Figure 13 The configuration file is saved in the. viewsetting file format, which is then opened by the same menu when you need to view or analyze the Event_file target later. This file can be shared or stored in a network address
Some time ago, there was a problem. jquery UI dialog pop-up layer pops up a plurality of layers, such as a pop up two layers A and b b layer if the data table shown is too large to reach the outside of the a layer, the part that extends beyond the A is not visible, because B layer is the size of a layer on the B is limited by a
So I found this information and saved it.
-----------------------------------------------------------------------------------
1. Create the UI (Button, Inputfield, etc.) that can be selected in the Hierarchy panel.2. Create C # script Tabcutpichon on the canvas.3. Write the script.1 usingSystem.Collections;2 usingSystem.Collections.Generic;3 usingUnityengine;4 usingUnityengine.eventsystems;5 6 Public classTabcutpitchon:monobehaviour7 {8 //Get EventSystem Components9 PrivateEventSystem system;Ten //Dictionary: Key Game object number, game object One Privatedi
I'm going to bring you 3 very simple and practical UI design techniques that are related to processing pixels, simply manipulating pixels to make your UI design stand out, but now many modern design trends are often using these technologies, and it does have a good effect. It provides a more stereoscopic and palpable sense of design.
1, Pixel Shadow
The UI des
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.