Posts

Showing posts from September, 2014

Converting PHP array to vb.net Array -

($ Reg3 = 0; $ reg3 & lt; strlen ($ str); $ reg3 ++) के लिए {$ reg0 = $ str [$ reg3]; स्विच ($ reg0) {case '0': $ reg1 [] = '0000'; टूटना; मामले '1': $ reg1 [] = '0001'; टूटना; मामले '2': $ reg1 [] = '0010'; टूटना; मामले '3': $ reg1 [] = '0011'; टूटना; मामले '4': $ reg1 [] = '0100'; टूटना; मामले '5': $ reg1 [] = '0101'; टूटना; मामले '6': $ reg1 [] = '0110'; टूटना; मामले '7': $ reg1 [] = '0111'; टूटना; मामले '8': $ reg1 [] = '1000'; टूटना; मामले '9': $ reg1 [] = '1001'; टूटना; मामले 'ए': $ reg1 [] = '1010'; टूटना; मामले 'बी': $ reg1 [] = '1011'; टूटना; मामले 'सी': $ reg1 [] = '1100'; टूटना; मामले 'डी': $ reg1 [] = '1101'; टूटना; मामले 'ई': $ reg1 [] = '1110'; टूटना; मामले 'एफ': $ reg1 [] = '1111'; टूटना; }} $ Reg1 = join ($ re...

java - How is it possible to create a sub class object within it's base class? -

वर्ग arijit {public static void main (स्ट्रिंग अरिज []) {System.out.println ("Base class मुख्य"); Amit ab = new amit (); // यह कैसे संभव है क्योंकि उप-कक्षा ऑब्जेक्ट भी बेस क्लास ab.a () रखती है; ab.ma (); } सार्वजनिक शून्य एम () {System.out.println ("बेस वर्ग विधि"); }} क्लास एमीट अरिजित (सार्वजनिक शून्य ए ()) (System.out.println ("सब क्लास विधि") फैली हुई है; मीटर (); आपके प्रश्न का मुद्दा ऐसा लगता है कि आप एक उदाहरण बना रहे हैं। अमित वर्ग की main विधि के भीतर अपने आधार वर्ग, arijit , और आप सोच रहे हैं कि यह कैसे संभव है। क्यों यह संभव नहीं होगा? आपका मुख्य विधि उप-नाम को नाम से संदर्भित करता है, इसलिए यह उस दृश्य के किसी भी अन्य वर्ग की तरह है। आप इसे गैर-स्थिर सदस्यों में भी कर सकते हैं, यदि आप चाहें तो भी। वास्तुकला , यह आमतौर पर इंगित करता है कि आपकी संरचना में एक समस्या है अगर बेस क्लास अंतरंग विवरण जानता है (जैसे नाम) इसके उपवर्गों की; यह हमेशा की तरह 'चीजों का दौर नहीं है।

android - Retrieving the JSON data into a list view -

I have successfully opened the Httpclient connection. Now I want to select data from JSON and show it in a list. I went from it half a day but got no help. A sample project or code snippet will really be helpful. In the past I have used to parse JSON. The org.json package given in the SDK seems a bit lesser. Now I want to select data from JSON and display it in a list. When you say "select data" do you use the query to get a subset of your data? Looks like an interesting solution if you are displaying the entire JSON data, then you should be able to wrap the GSN output in the adapter. I googled it from half day but could not find any help. The last one would have escalated you, from which you have an exact duplicate. A sample project or code snippet will actually be helpful. The examples are too much! From the above search link:

jquery - DIV onClick in CSS -

For the title of my website, I have the following code with a DIV withclick so that users can click anywhere on the title And refresh the page: & lt; Div class = "title" onClick = "document.location.href = 'xxxx';" & Gt; Although the W3C validator tells me: there is no attribute "onClick" I have to read about doing this in JQuery, but I have not got enough luck in that work, can anyone help me here? Thanks onclick should be lowercase.

CSS :not(:last-child):after selector -

मेरे पास तत्वों की एक सूची है: & lt; ul & gt; & Lt; li & gt; एक & lt; / li & gt; & Lt; li & gt; दो & lt; / li & gt; & Lt; li & gt; तीन & lt; / li & gt; & Lt; li & gt; चार & lt; / li & gt; & Lt; li & gt; पांच & lt; / li & gt; & Lt; / ul & gt; और इस तरह स्टाइल: ul {list-style-type: none; पाठ संरेखित करें: केंद्र; } ली {प्रदर्शन: इनलाइन; } Li: नहीं (: अंतिम-बच्चा): {content: '|'; } आउटपुट वन | दो | तीन | चार | पांच | के बजाय एक | दो | तीन | चार | पांच किसी को पता है कि कैसे सीएसएस सभी का चयन लेकिन पिछले तत्व? आप की परिभाषा देख सकते हैं: नहीं () चयनकर्ता यदि यह चयनकर्ता के साथ कोई समस्या है, तो आप उन सभी को सेट कर सकते हैं और पिछले एक को ओवरराइड कर सकते हैं li: के बाद {सामग्री: '|'; } Li: अंतिम बच्चा: {content: ''; } या यदि आप पहले उपयोग कर सकते हैं, आखिरी बच्चे के लिए कोई ज़रूरत नहीं है li + li: पहले {content: '| '; }

java - How to inject spring injection manually if not done automatically -

My spring dependency is working fine but there is a square CustomUserDetaisls To match the username and password @Autowired Private UserDAO userDAO but my spring injection I'm not working here because it applies class userDetailsSerivce Although injection works if I pulled out the tools. Why have I asked the question to ask, but no one has given me the answer, so I decided to use the DAO with the new operator Personal Usageo Userdao = New user (); But that depends on the session factory, which is a spring bean, in exchange for UserDo . Configure ("Com / Voices / Services / Hibernate Cfg .xml") .buildSessionFactory (); But again I have many beans in the hibernate context, such as data sources, property files, and I am finding it very difficult to rewrite all the things. Can I manually inject the userDAO in any way so that all related spring injection sessions practice work You can take a look at the Spring Java configu...

android - Titanium: navigation from one screen to other -

On the click of my button, I want to navigate to another screen. How to get it in titanium? var Trial button = Titanium.U.Surat Button ({color: 'black', background color: '#FFFFF', title: 'trial mode', top: 55, width: 300, height : 50, range: radius: 5, font: {fontSize: 18, fontfamily: 'helvetia', font wide: 'bold'}}); TrialButton.Edit Listener ('Click', Function () {varNewindo = Titanium.U.Cent Window ({Background: "#FFF", Title: "Trial Demo", URL: "Next Screen .JS"}); New Windows. Open);}); trial button. AddEventListener ('click', function () {var newWindow = Ti.UI.createWindow ({background: "# 000", title: "image view", url: "nextScreen.js"}); newWindow.open (); )}; Here is a checkout example Here are some posts from my blog

javascript - Detect paste in input box -

I have an input box, and I do not use vbscript or javascript (no jquery) to capture paste events Would like to do / P> Use the Open Event to capture the event and what you should do in JavaScript. To disable the paste in the input text field such as: & lt; Input type = "text" onpaste = "return false;" / & Gt;

How to set the environment in which python snippet can run in c++ program? -

मैंने दो फ़ाइलों को embed.py का उपयोग करें embedm.cpp बना दिया है मेरी होम डाइरेक्टरी। embed.py आयात ओएस प्रिंट os.getcwd () उपयोगएम्बीड सीपीपी #include & lt; iostream & gt; #include "Python.h" नामस्थान std का उपयोग कर; Int main () {Py_Initialize (); PyRun_SimpleFile ( "embed.py"); Py_Finalize (); वापसी 0; } कमांड जी ++ उपयोग एंबेडेड सीपीपी -ओ उपयोग एंबेड रिटर्न पायथन एच नहीं मिला , मुझे क्या करने के लिए अगला कदम क्या करना चाहिए । सीपीपी फ़ाइल सफलतापूर्वक संकलित हुई और सही उत्तर वापस लौटाया? UPDATE : दाऊद और अलेक्जेंडर से युक्तियों के लिए धन्यवाद। यह परीक्षण ठीक करने के लिए पर्यावरण कैसे सेट करें, इसके बारे में सुझावों के लिए धन्यवाद। मेरे Fedora लिनक्स में पैकेज अजगर-डेवल को स्थापित करने के बाद समस्या का समाधान किया गया है। लिनक्स पर, आप संकलक झंडे (अजगर-कॉन्फ़िग - cflags) और लिंकर झंडे (पायथन-कॉन्फिग --ldflags) प्राप्त करने के लिए python-config का उपयोग कर सकते हैं। उदाहरण के लिए: # & gt; अजगर-कॉन्फ़िग - ...

What is the groovy way for doing this initialization? -

Hello, what's the way to do this kind of initialization? For (j = 0; j & lt; 20; j ++) ( i ; K & lt; 20; k ++) m [i] [j] [k] = 'a' It can: (0..9) .each {i - & gt; (0..19) .each {j - & gt; (0..19) .each {k - & gt; I [i] [j] [k] = 'a'}}}

Android 2.2: Where is the option for speech input in the emulator? -

Image
This is in my Nexus One: Includes "Voice Identifier Settings" in Settings List of "Voice Input and Output Settings" She has a microphone button in Google search, so when I touch it, a dialog asks me to tell what I want to find. Although the emulator (API level 8, Android 2.2), none of the above is found. Voice over Android 2.2 is not a search part? If so, why does it get on my Nexus One (Froyo) but not on emulator? What do I need to do to provide at least "Voice input and output settings"? Update 1 : I have followed the instructions to create the identifier-enabled AVD as per the following suggestions, but I still get the message "No Identifier Has Not Presented": What do I do more the wanted? Is it possible that Google Inc. Despite installing Google APIs, special AWD is being built with Android API 8, Amendment 2 and its, I still have to install the Voice Search app from the Android Market? Update 2 : I followed Mich...

objective c - sysctl in a NSAutoreleasePool -> bus errors & segfaults -

Thanks to everyone trying to help me here is a big issue here, I have something about sysctl The example code has been found and extended so that I can query the network interface for my in / out data. When I run this code directly in the main (), everything works fine (though no NSUATOrepool), though once I add it to my class and execute it, then I get errors & amp; Segfaults. I have tracked down this issue on NSAIDERIPIPALS Can anyone help? (If you do not believe it, then just keep NSAIDRecipital * pool = [[NSAUT Oraipal Alok]] IIT, before code and keep the whole thing in main () int mib [ ] = {CTL_NET, PF_ROUTE, 0, 0, NET_RT_IFLIST,}} int alloc; Struct if_msghdr * ifm, * nextifm; Struct sockaddr_dl * sdl; char * lim, * next; Size_t requirement; four [32]; four * Buf; if (sysctl (mib, 6, null, & required, zero, 0) & lt; 0) return 0; if (allocation is required) {buf = malloc (required); if (buf == NULL returns 0; Alloc = required;} if (sysctl (mib, 6, buf, and requi...

how to concatenate matrix in Matlab -

I have n dxd matrices in Matlab and I want to add them to get a Dxdxn matrix where (:,: , I) i ^ th matrix (i = 1..n) is i how can i do this? use outside = cat 3, mat1, mat2 , Mat3, ..., Matn); If arrays are elements of a cell array, outside = cat (3, cellar {:});

asp.net - Why I cannot access my website from the internet only from localhost -

I have established the teampulse community, I add my domain name to binding with port 9898 such as it's localhost Along with I can connect via local host, but can not widen the domain. Why? Have you checked the window firewall? You probably have to open TCP Port 9898. I'm pretty sure that it will be blocked by default.

mysql - truncate foreign key constrained table -

क्यों TRUNCATE पर mygroup काम नहीं करता है? हालांकि, मेरे पास पर DELETE CASCADE SET I get: त्रुटि 1701 (42000): किसी विदेशी कुंजी बाधा में संदर्भित तालिका को छोटा नहीं कर सकता ( mytest । उदाहरण , CONSTRAINT example_ibfk_1 विदेशी कुंजी ( GroupID ) संदर्भ mytest । mygroup ( आईडी )) ड्रॉप डेटाबेस mytest; डेटाबेस मैटस्टेस्ट बनाएं; Mytest का उपयोग करें; टेबल मेग्यूट बनाएं (आईडी INT नहीं शुद्ध AutoConnect प्राथमिक कुंजी) इंजन = InnoDB; सारणी उदाहरण बनाएँ (आईडी INT नहीं शुद्ध AutoConnect प्राथमिक कुंजी, समूह IID INT नहीं, दिनांक समय DATETIME DEFAULT शून्य, विदेशी कुंजी (GroupID) संदर्भ DELETE CASCADE, UNIQUE (GroupID) पर mygroup (आईडी) इंजन = InnoDB; आप नहीं कर सकते TRUNCATE एक तालिका जिसके पास एफके की बाधाएं हैं इस पर ( TRUNCATE ऐसा नहीं है DELETE )। इस के आसपास काम करने के लिए, इन समाधानों में से किसी का उपयोग करें डेटा अखंडता को नुकसान पहुंचाने के मौजूदा जोखिम दोनों। विकल्प 1: बाधाओं को निकालें TRUNCATE करें मैन्युअल रूप से पंक्तियों को ह...

asp.net - .NET ServiceModel.Syndication - Changing Encoding on RSS Feed -

I am trying to solve a bug where all RSS feeds are being generated that generate the following error in Internet Explorer (Version 8 and 9): Feed code error Encoding specified from the current encoding is not supported. Line: 1 character: 40 & lt ;? XML version = "1.0" encoding = "UTF-16"? & Gt; The issue is that the actual encoding type to be sent through the actual headers declares the document. Feed the output looks like my code to write HTML: public contentResult Index () {var feed = _syndication.SyndicateIdeas (_repository.GetIdeas (0,15) .Ideas); Var sb = new stringbilder (); (Var Author = XmlWriter.Create (sb, New XmlWriterSettings {encoding = encoding. UTF8, Nulainhandling = New Lainshandling. Antaijet, newline Ontiws = true, indent = true})) {feed. SaveAsRss20 (author); Writer.Close (); } Return content (SB ToString (), "Application / RSS + xml", encoding. UTF8); } And here my code appears to actually create a feed, Sys...

Java - search collection of strings providing the first few characters -

I have a collection of strings, which I only want to search to provide the first few letters. For example, consider the list of wires: [Tom, Tomas, Ellis, Tolstoy, John] will result in [[Tom, Tom's, Tolstoy] results in string []]. Display is a major issue here and this list can be very large. What is the best way to optimize it? Index? Sorting? how? Thanks is a triangular universal solution, as is already suggested But if you want a light and relatively quick solution without dependency, simply put your string in TreeSet and tailSet () prefix, then repeat through tail set again until you find a string that is not match It is. (Note: This can also be the first element, if none of your prefix matches the prefix.) If your list is not larger than two thousand stars, then this method is very much in practice that's good. / P>

javascript - jQuery plugin SimpleModal body onclick close not working -

I have a problem closing the SimpleModel jQuery plugin when I click on. Works for shutting down: $ ('a.modalCloseImg'). Hide (); Here is my code to launch the modelbox. Note that the # login-link is the link that opens the box and # login-forms are hidden model boxes. // Launch Modal Box $ ("# Login-Link"). (Function () {$ ("# login-form"). Modal ();}); I have tried to add I $ ("# login-form"). Modal (overlayclass: true); But this does not work (FII parameter that is seen as a simple model box. Try to launch a model box, an additional parameter like: // launch modal box $ (" # login-link "). Modal ({OverlayClose: true})}}; You can add additional {} Forgot.

android - Access Application Context from class that doesn't extend Activity/Service -

I handle the login in a class for my application which spreads the application. Application is a time when an object of this class Maintains. This means that I can access that specific object from any category which extends the activity or service by calling LoginModeller lm = ((LoginModeller) getApplicationContext ()); However, now I need to reach that object from the object which does not extend the activity or service (nothing is spread). Is there a way to access the app context from a class like this, or do I have to re-do my LoginModeller as a singleton or something else? Who makes this object? In your constructor, you can pass a pass in context and store it as an instance variable: private last reference context; Public MyObject (reference reference) {this.context = context; ...

performance - regex match upto some character -

status updated Often a situation is where you want to remove For example, a letter before some characters (immediately) , for example, suppose you have a text: does not start with a semicolon or period , contains many sentences in it, no ends with a period, and you Sequencing from the beginning to the nearest semicolon or period Received want. Two strategies came into focus: / [^;.] * / /.*? [..] / I look at both ways in some of these ways with a little preference of the other strategies, and the code of others. Which is the better way? Is there a clear reason for liking one over the other, or better ways? I feel personally, the efficiency is one side, which is more complex than doing negation something (as with [^] ). But efficiency can also be a good reason to choose one over the other. I came up with my answer. In my question two regexes were not really speaking the same thing If you want to match up on a specific character, use it /....

Google Chrome Extension: captureVisibleTab problem -

I'm trying to capture the current view tab but I'm getting undefined. When the extension's icon is pressed, the following code is executing. When the warning is called, I see undefined instead of the URL. ChromeBrowser Action .onclicked.addListener (function) {chrome.windows.getCurrent (function) {chrome.tabs.captureVisibleTab (win.id, {"format": "Png"}, function (imgUrl) {warning (imgUrl);});});}); What should I do to get the URL of the captured image? Someone please help me Thank you! I think your code has been taken from the example given on the Chrome extension website and yes, it There is a buggy. Change the permission attribute inside this manifest.json: "Permissions": ["Tab", "& lt; all_urls" ] Cheers, David

Dealing with PHP code stored in database with CakePHP -

I started using php a few hours ago. To begin the study, I decided to bake a small web app focused on the administration of the code snippets, some very simple all CRUD operations are acting like a magic problem is: User application Will add any type of code to It works while adding snippets to any programming language other than PHP. When I use the model :: find () method, the PHP code (from the snippet of the code stored in the database) is replaced with an empty string and I can not display it in the view. Why is this happening and how can I solve it? Thanks for reading. Perhaps you are not seeing output in the browser because the browser is php & lt;? Tries to hand over? & Gt; As HTML tags you will need to avoid code for output in the browser: & lt; Pre & gt; & Lt; Code & gt; & Lt ;? Php echo htmlentities ($ model ['model'] ['code']); ? & Gt; & Lt; / Code & gt; & Lt; / Pre & gt;

osx - Uninstalling MAMP PRO from my mac -

I downloaded and set up the MAMP on my Mac. When I went to launch, he said that a version of the MMP Pro was installed, and that there could be conflict with both. So I tried to run the uninstalling wizard for MMP Pro, but he gave me an error message and said that it had to be canceled. Is there another way to get MAMP supporters from my computer? I tried to drag the folder into the trash and he said that it can not be removed. Thank you for your help Ensure that you are on the administrator account. Download and follow it Instructions on removing this whole application and its related files and folders.

java - How do I deep copy an irregular 2D array threadsafely -

I stumbled over an annoyance because I was writing a Java class; I could not understand how to copy a 2 dimensional array thread safely, it is a simple version of the class: public class frames {private boolean [] [] content; Public frame (boolean [] [] content) {boolean [] [] thread sophie cappoie = deep copy (content); If (! (Thread sap copy! = Null)) {new tap pointer exception ("content should not be empty"); } If ((Thread SAPPP lamp & gt; 0)) (Setting new invalid records exception ("content.length should be greater than 0");} If (! (Thread! SAPPPP [0]! = Null)! (To remove new illegal execution ("The content [0] should not be blank");} If (thread (SAGPP (0) length of gt; 0)) (new material adoption invalid ("content [0] length. Should be greater than 0 ");} (int i = 1, count = threadSafeCopy.length; i private boolean [] [] deep code (boolean [] [] content) is not really the thread. That the array is actively being modified by anoth...

iphone - Sort Array By Sub-Array values in Objective C -

I have a multi-item array in Objective-C where every item has all-array with 4 items. I have to sort The main array based on one of the sub-array values ​​is needed I think (soon) how the array looks like this: (Marly, "Avenida Caracas - Calle 51", "4.637467, -74.0,66,799", one, "10,070.563466"), ("Calleigh 76", "Avenida Caracas - Calle 76 "," 4.6, 62, 9 18, -74.0,61,1 9 8 ", one," 7,250.832506 "), (Profamilia," Avenida Caracas - C Alle 34 "" 4.621341, -74.06, 9 76 ", one," 11,853.104432 "), (" Avenida 39 "," Avenida Caracas - Calle 39 "," 4.6,26,816, -74 .0,68,687 ", one," 11,243.55634 9 ") [array sortUsingComparator: ^ NSComparisonResult (ID A, ID b) {NSString * name1 = [an objectAtIndex: 0]; NSString * name2 = [B ObjectOntIndex: 0]; Return [Name 1 Localized CissIncentive Comper: Name 2]; }]

scala - The elements type of for comprehension in ScalaQuery -

I have found something interesting when I follow the Quilacuri Queries tutorial which I do not know very well. And the query is used here: object main {val database = database .forURL ("jdbc: sqlite: sample.db", driver = "org.sqlite .JDBC ") DEF Main (Args: Array [String]) {Sessions with database {val query1 = for (user & lt; - query (user)) produce user.id ~ user.last val for query2 = (user & Lt; - User if user.id> 5) yield user.id ~ user-end Mm}}} In this case, you can see that some query1 and query2 Use .id , it seems that the user is the type of singleton object user which I have defined above so that all the methods defined on that object are . But if I try to run a direct query without the keyword , for example: (user & lt; - user If user.id> 5) {println ("UserID:" + user.id)} In this case, the compiler complains: [error] src / main / scala / test.scala: 23: value is not a member of id (int, string, ...

c# - ViewModel with Collection of another ViewModel - Can AutoMapper Help Me Here? -

itemprop = "text"> I see a ViewModel that looks like this: public class CreateReviewViewModel {public string Title {received; Set; } Public Decimal Score {get; Set; } Public Iconization & lt; Recommended Visual Circle & gt; Get recommendations { Set; Therefore, the first two basic basic types are - Easy. The third asset is a collection of other view models: public class Recommend ViewModel {Public Recommendation Type Recommended Type {get; Set; } Public Bull isRecommendedFor {get; Set; }} Recommendation type In my domain model there is a enum , which is byte the price is different " Recommendation " On my [HttpGet] action, I do not do this. model = new CreateReviewViewModel {Recommendations = SomeMethodWhichLoopsThroughTheEnumMembersAndCreatesTheModel (); } View return (model); So I end up with RecommendationViewModel , set to bool properties false . ; @ Html.EditorFor (model.Recommendations Model = & gt): Then...

wxpython - How to append content to wxHtmlWindow? -

I know that the Setpage () sets the contents of wxHtmlWindow In my application, I will often attach more material to a similar fashion than a log file, so I would like to avoid repeatedly making the setpage () calls to avoid unnecessary CPU cycles which would be meaningless to parse the same content as max And perform a lot more than playful. I thought about using the wxHtmlListBox, but decided that I did not really like such a solution because users will not be able to select / copy the small part of the text. Example code for adding new content to the body tag will be appreciated. I am also open for other solutions if I have a better idea. Are you against using AppendToPage?

c++ - Boost Installation -

Is there a quick way to run different test files in the Boost Installation directory? The link you provided is old, and there is a great possibility of date. For current instructions, instead of here:

php - multiple user, single website analytics -

I am developing a web application that has many users, it is basically an ecommerce system where many vendors Sell ​​ Now I need to use analytics how customers come, and how they flow. I have to give a separate account (i.e., analytics account) Each vendor can also get that tracking code on the vendor's website so they can track the customers coming from their website. (Like funnel) For example: Land on customer vendor site - & gt; A specific product - & gt; Find product page - & gt; Click the More details button - & gt; Land on eCommerce Application - & gt; See product details - & gt; Decides to buy Now, the seller will place the tracking code on their website, or webpage. The same code will be attached to the eCommerce application. I need to know if such an Analytics Plugin / Application is available or not? Thanks If you have access to a web server, You can use log file analysis differently on each site's logs, then create acc...

iphone - Custom tab bar setting the frame and position -

I'm currently in the process of creating my custom tab bar. It's working fine, the way I did it The default bar was hidden. I have my images ready, they are closed on and it seems that they are being implemented in main concept by: btn3.frame = CGRectMake (240, 430, 80, 50); The number combination is unique, every CGRectMake I have done it, but I'm using 3 buttons on the bar. This tutorial uses four if I'm using 3 buttons and no combination of numbers for each CGRectMake should be set. 4. 4. Because I think comboes are proportional to each other, depending on it That's how many tabs are. That's all, setting the frame size and the position of buttons / tabs. I used them for my tab, but I got a difference between BTN 1.frame = CGRactam (0, 430, 80, 50); BTN 2.frame = CGRactam (160, 430, 80, 50); Btn3.frame = CGRectMake (240, 430, 80, 50); This is in the fourth box on the page. // pseudocode int numButtons = 3; Float Button Width = self.view.fra...

Validate my Sqlite Query? -

Image
I have a table in the slit with these fields: - number, value pressed, time, date, month, year The output should be date, yes, no and mood. My query gives nearly the appropriate results, but the problem is how the total value can be pressed on a specific date. Here the query is using m: "date, year, month, calculation (*) yes from value_table where between date 25 and 30 and value_pressed = 'yes' from the date of the group". is the date 25 and 30 which is in NSstring. The output of this query is: I have already used the Sangh. But it is not returning the desired output. Please help me Please help me ... I really thank you for this .. I'm not sure what you are asking, but if you want total value, then you should use the SUM function instead of the COUNT function: SELECT date, year , Month, SUM (Value_Pressed) AS Yes Value_table Date between 25 and 30 Value_pressed = 'Yes' Group Date

MultiScaleImage (DeepZoom) control on Windows Phone 7 and image collections -

I am developing a WP7 application that shows and organizes images using a MultiScaleImage control. Currently, I do not think my 'output' xml / dzc is correctly formatted to point to all the sub images on the right place. How can I export my Deep Zoom Composer project as a collection of images and access? Single submission in my application? (And of course, the data is local instead of online) Source: Any other suggestions are welcome This project can help you - it includes a WP7 control

How to read a PDF file using PHP? -

संभावित डुप्लिकेट: नमस्कार मेरे पास दो समस्याएं हैं: मेरे पास एक पीडीएफ फाइल है (इसमें लगभग 40 पृष्ठ हैं) और मैं इसे पढ़ना चाहता हूं और ब्राउज़र में सामग्री प्रदर्शित करें। किसी विशेष पृष्ठ की सामग्री को पढ़ें और प्रदर्शित करें (जैसे पृष्ठ संख्या 32) या विशिष्ट पृष्ठों की श्रेणी (जैसे पेज 23-25)। मैं PHP 5 का उपयोग कर रहा हूं, बस मुझे बताओ कि मैं यह कैसे कर सकता हूं? अगर आप उदाहरण के साथ इसे समझाएंगे तो मैं आप सभी के लिए बहुत आभारी हूं। । - धन्यवाद आप एक्सपीडीएफ पैकेज़ को स्थापित कर सकते हैं, फिर exec पीडीएफ और पीडीएफ को टेक्स्ट में अनुवाद करने के लिए पीडीएफटेक्स्ट कॉल करें। उसके बाद बस पाठ फ़ाइल की सामग्री में पढ़ा और स्क्रीन पर तदनुसार प्रदर्शित करें। यदि आपके पास सर्वर और पीडीएफ तक पहुंच है, तो मैन्युअल रूप से अनुवाद करें और पाठ या एचटीएमएल पर अनुवाद अपलोड करें और उस उपयोगकर्ता को प्रदर्शित करें। यदि आपको ब्राउज़र के माध्यम से उपयोगकर्ता को पीडीएफ की सामग्रियों को प्रदर्शित करने की क्षमता की आवश्यकता है, तो अधिकांश उपयोगकर्ताओं के ब्राउज़रों क...

jquery - how to return ajax suceess from user defined function -

इस सवाल का पहले से ही एक उत्तर है: 21 उत्तर मैं bellow समारोह कर रहा हूँ । यहां मैं उपयोगकर्ता परिभाषित फ़ंक्शन से अजाक्स सफलता वापस करना चाहता हूं। ऐसा कैसे करें चेतावनी (अजाक्सकॉल (आईडी_अरे, "डेल")); फ़ंक्शन अजाक्सकॉल (id_array, type) {$ .ajax ({type: "POST", url: "serverpage.php", कैश: गलत, डेटा: ({id: id_array, type: type}), सफलता: कार्य (msg) ) {वापसी msg; // यह कुछ भी नहीं देता}}); चेतावनी (एमएसजी); // यह एक अपरिभाषित} धन्यवाद "ए "एजेक्स" में "एसिंक्रोनस" ("एसिंक्रोनस जावास्क्रिप्ट एंड एक्सएमएल" का मतलब है, हालांकि इन दिनों ज्यादातर लोग एक्सएमएल के बजाय जेसन के साथ इसका इस्तेमाल करते हैं)। तो आपका Ajaxcall फ़ंक्शन एजेक्स कॉल पूर्ण होने से पहले रिटर्न देता है, यही वजह है कि आप रिटर्न वैल्यू के रूप में संदेश नहीं लौटा सकते। सामान्य बात यह है कि कॉलबैक के बजाय इसे पास करना है: अजाक्सकॉल (आईडी_अरे, "डेल", फ़ंक्शन (msg) {चेतावनी (msg);}); फ़ंक्शन अजाक्सकॉल (id_array, type, call...

HTML and CSS: How can the parent div auto resize it's height based on the child's height? -

HTML: & lt; div id = "main" & gt; & Lt; div id = "left" class = "cell" & gt; & Lt; div id = "description" वर्ग = "सेल" & gt; & Lt; / div & gt; & Lt; div id = "निम्नलिखित" वर्ग = "सेल" & gt; & Lt; / div & gt; & Lt; / div & gt; & Lt; div id = "posts" class = "cell" & gt; यहां कुछ सामग्रियां हैं (ऊंचाई ऑटो पर सेट है) & lt; / div & gt; & Lt; / div & gt; सीएसएस: div # main {width: 970px; ऊंचाई: 100 पिक्सेल; पृष्ठभूमि: आरजीबीए (255,0,0,1,1); सीमा: 5 पीएक्स ठोस आरजीबी (251,151,117); मार्जिन: 20px 0px 20px 0px; / * ऊपर सही नीचे वाम * / पैडिंग: 10px} div # left {width: 383px; ऊंचाई: 100%; मार्जिन-दाएं: 5px; पृष्ठभूमि: आरजीबी (0,0,255); फ्लोट: बायां} div # description {width: 100%; ऊंचाई: 50%; पृष्ठभूमि: आरजीबी (0,0,0)} div # निम्नलिखित {चौड़ाई: 100%; ऊंचाई: 50%; पृष्ठभूमि: आरजीबी (0,255,0)} div # posts {width: 577p...

c# - taking more than one cells into one cell -

I have to get your total amount of money to get a list of customers for each monetary unit in its database linq I am using the query (that's right.) when my query's results are displayed with Microsoft report Viewer results of table 1, but I want to do table 2, only the customer name "a" and All monetary unit records The cell; 0. Is there any suggestions? Log It produces table 1 is my code: in var query dB kurToplamlist Krbibig in = kur. Bielpi select 1 equals Kurkkriaigetset on Siaarai cariBilg.ID new {cariBilg.ID, // clientid EUROBAKIYE = cariBilg.HESAPADI, cariBilg.K_FIRMAADI, // other column names cariBilg.K_YETKILIADI, // other column names cariBilg K_FIRMATELEFON, // Other column name cariBilg.K_YETKILITELEFON, // Other column name AUDBAKIYE = cariBilg.B_CEPTELEFON, // Other column name MonetaryUnit = String.Concat (kur.CurToplamMiktarGetSet.ToString (), Kur.dovizTuruGetSet.ToString ()), // "100" and "TL / USA etc." }; What I sh...

how to use the given mono patch -

How to use given mono patches For example, I have patch given below Mono has a patch for a bug First, how do I use it in mono? This patch was clearly made against Mono SVN, which means that it should be very old, because Mono had gone to GIT some time ago. The patch may not apply. But to answer your question, you can not patch your existing installation of mono. You have to download the mono source, apply the patch, and have to make it yourself. If you are a Linux user, this is very important in establishing a source of mono from the installation of your package. Follow these instructions to set up a "parallel" mono environment: After applying your patch, after capturing the mono source code, you must: CD MCS (because this patch is mcs module patch -p0 & lt; download.patch (before applying) before merging in the Code> Mono module Patch file for mcs source for) Then proceed with build instructions, and when you do the test, make sure...

mapreduce - Return unique values by key in CouchDB -

Is there a way to do the following in CouchDB? One way to return specific, different values ​​by a specific key? Select a different area from the table WHERE key = "key1" 'key1' = & gt; 'Somevalue' 'key1' = & gt; 'Somevalue' 'key2' = & gt; '2' of 'avalval' = & gt; 'Andanius' 'Key2' = & gt; For example: "key1" ['somevalue'] will return "key2" ['aval', 'endanath'] , you should place those values ​​that you want to make unique in the key, then the function with group = true To reduce the query. For example, there is an area with values ​​like "code1" and "key2" and standard , your map function may be: function (doc) {// Filter only interesting documents to get: Change if necessary (doc.keyfield & amp; doc.valuefield) {/ * * This important content : * * - In the emitted key, by inserting both the key...

flex - Trying to generate Buttons with a loop, but Icon property causes problem -

I am trying to generate a button with the loop of an array, but I have the icon style and Stylename work: ( (Var x: int = 0; x & lt; smileys.length; x ++) {var emoticon: button = new button (); var label: string = smileys [/ p> X] [0]; emoticon.width = 24; emoticon.height = 24; emoticon.x = position x; emoticon.i = 0; emoticon.txtname ('button emg'); // does not work ... emoticon setStyle ("Icon", "@mp3ed (source = 'smileys'' + smileys [X] [0] + ". Png ')" emoticons group.edbuild (emoticon); conditionx + = 24;} I also tried to include it in the loop but It does not work: [embed (source = "smileys" / smileys [x] [0] + ".png")] // fb does not like that var button Icon: Class; emoticon.setStyle ("icon", button icon); You can not insert variables into an embedding because it is an instruction for the compiler, a runtime rizo L. No n. Now, you can either create as many variables as smiley ...

html - CSS positioning inconsistencies in browsers -

Image
I was just playing with CSS positioning and got some doubts regarding the elements given in the browser? Will someone please explain to me why this is? HTML code & Lt ;; DOCTYPE html public "- // W3C // DTD XHTML 1.0 Strongly //n" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> & Lt; Html & gt; & Lt; Top & gt; & Lt; Title & gt; Untitled document & lt; / Title & gt; & Lt; Meta http-equiv = "content-type" content = "text / html; charset = ISO-885 9-1" & gt; & Lt; / Head & gt; & Lt; Body & gt; & Lt; Div style = "background: #ccc; height: 150px; width: 300px;" & Gt; Parents div & lt; Div style = "background: # fft; height: 50px; condition: complete;" & Gt; Hair divis & lt; / Div & gt; & Lt; / Div & gt; & Lt; / Body & gt; & Lt; / Html & gt; 1. Why the soft divas are displayed in-line with parents' con...

lisp function to concatenate a list of strings -

I have to type a function that will add a list to a string. Example: (concatString (quote ("Hello" "World"))) ==> "Hello World" Here is what I have done so far: (defun concatString (list) "is a non-recursive function that combines a list of strings . "Check that the parameter is a list (if (tap (list)), check which list is in the list tap (no (result (car list) (Dolist (item (CDR list)) (if ( String item) (set result (insert result item))))))) me "error": "hello" and invalid type specifier "I'm getting the message when I try to run it. I have tried several ways to modify this function and I am able to understand it. Anyone have any ideas? add requires sequence type specifier as your second argument To add strings, you should call concatenate : (concatenate 'string' hello "" world ") your Another bug in the code you are not sure whether the list of car is a string...

php - ajax authentication in a div -

O all .. a question from JJ in Holland .. I'm busy in my first AJAX Web programming and really is like the idea where a PHP file (index) is loaded and able to load and refresh the contents of the div without refreshing the XMLhttprequest page. Things are going well so 4 div sections receive different content, depending on which menu you press (via all the gatedata functions and XML). My last step is to integrate an additional orthation device. I try to apply a good jquery fade in the system with a login.php with the input field for the username and pass I am; A process_login.php that compares data with mysql and if someone matches or does not match; And finally a secure page where users can logout if they are successfully authorized. When I use login.php directly in the browser When I use it to load it in a div section at login.dphp on login.php, then this page will work without thinking It looks like I index.html does not work. Because it seems that it can no longer ...

python - XML-RPC connection problem -

I have a simple XML RPC server running on the local host: The server has the following address: ubiquitous = ( "Localhost", 8080) . When I run a client on a different machine, then I have a connection denied error . However, when I type the line servAddr = ("localhost", 8080) to servAddr = ( "Myhostname", 8080) Everything works fine ... Why? How can you know the hostname for the startup script for the machine? 'localhost' This is a nickname at 127.0.0.1 IP address. It only works when the server and client are running on the same machine. When you put the client on another machine, refer to the machine of the local host client - & gt; Not a server machine! More information about localhost.

Retrieving POST data from jQuery in Django without a form -

I am currently using the post method for a view of jQuery '{{Csrf_token}}'}, "mysl" . "" ("/ Myurl", {'value1': value1, 'value2': value2, 'csrftoken'}, function (data) {warning ("data loaded:" + data);}); However, I do not know how to get post data without using a form: def save_user_graph (requested): If request .method == 'POST': return HttpResponse (request.POST.get ('value1'), condition = 201) returns none . If save_user_graph is not back, request.method is not posted. If the save_user_graph is returning the word 'none' to a HTPRPS, then value1 is not being sent correctly. Can you clarify what is the matter? If you have Chrome, try navigating to the page with the Developer toolbar. You can go to the 'console' tab and see AJX's request and see that the data was sent correctly. Similarly, if you have Firefox and Firebug, you can go to the pag...

file - awk result problem -

I use a command to find strings and numbers in a file Awk -F '[=,:]' '{print / uid = /? 4: (/ ^ Telephone N /)? $ 2: $ 3} '1.txt The output is something like this abcdefgt I get this output To a file 2.xml & lt; Xml & gt; I would like to write in & Lt; Name & gt; Aaaa & lt; / Name & gt; & Lt; Surname & gt; Bbbb & lt; / Nickname & gt; ... & lt; / Xml & gt; & Lt; Xml & gt; & Lt; Name & gt; Eeee & lt; / Name & gt; & Lt; Surname & gt; Ffff & lt; / Nickname & gt; ... & lt; / Xml & gt; I do not know how to manage results with strange. Can you help me I would like to see how your actual data looks like, But it shows that your output shows 4 fields and your input shows 4 fields, here's the basic idea. awk 'BEGIN {RS = "" # lines The lines between the sets of data RecordSep FS = "\ n" #Receive each row (like $ 1, $ 2 ...) } {#...

ASP.NET: Adding 'Watermark' to images on the fly -

I have seen very good questions and answers I ASP.NET So here are some questions. How can I do this with ASP? Is this process a great overload for a server? Can I use an image for watermark rather than plain text? Another example from here is that you have many ideas on the image including adding watermarks to the image. can do. I think this process takes CPU power ether, on php, asp.net on ether. Therefore, an image cache schema is required for such actions. Here are some basic codes. In this code you need to change the position of the watermark and the size of the images. A PGG image can be with watermark trampers. Public Zero MakePhoto (... Parameters ...) {bitmap outputImage = null; Graphics G = Faucet; {// Last image output image = try new bitmap (Outview, Outhete, Pixel format.form 24 BPPRGB); G = Graphics FMIM (output image); G.CompositingMode = CompositingMode.SourceCopy; Rectangle = destter = new rectangular (0, 0, outwidth, outheat); // photo (var basic ...

hadoop - Not getting correct output when running standard "WordCount" program using Hadoop0.20.2 -

I'm new to Hadop. I'm trying to run the famous "WordCount" program - the total number of words in a list of files using Hadoop-0.20.2. I am using a single node cluster. Foling is my program: Import java.io.File; Import java.io.IOException; Import java.util. *; Import org.apache.hadoop.fs.Path; Import org.apache.hadoop.conf ; Import org.apache.hadoop.io ; Import org.apache.hadoop.mapreduce *; Import org.apache.hadoop.mapreduce.lib.input.FileInputFormat; Import org.apache.hadoop.mapreduce.lib.input.TextInputFormat; Import org.apache.hadoop.mapreduce.lib.output.FileOutputFormat; Import org.apache.hadoop.mapreduce.lib.output.TextOutputFormat; Public Class WordCount { Public Static Class Map Mapper and Letting; LongVerbable, Text, Text, Intrabate, and GT; {Private Final Static IntWritable A = New IntWritable (1); Private text word = new text (); Public Zero map (long-term appropriate key, text value, reference reference) throws IOException, interrupted; Expr...

Regex in new pattern attr for HTML5 forms -

The first time I am using HTML5 form for the first time and I want to use the new pattern feature. This is a regular expression (which I have not used before) so I have lost a bit. I want the basic rule 'minimum of any character' 5 '. I have tried: pattern = "([0-9] [az]) {5}" But this does not work, so I'm obviously missing something clearly. If someone can help me, then the most grateful. I want the basic rule to be less than 5 ( \ code>) at least 5 times.

Settings in Android -

What's the best way to save settings if I close the app? I know in iOS that you can add entries to your app in the global settings menu. Is Android something similar? Or better solution? I think that would be your best bet. Which you can read more about data collection which gives you a good overview of it, and I think it actually completes the work you are trying to do.

php - How to count number of weeks and days of week any month -

How to count week and week days in any month OK, I think I found you: $ Days = cal_days_in_month (CAL_GREGORIAN, 1, 2011); $ Week_days = date ("n", mktm (0,0,0,1,1,2011)); $ Weeks = seat (($ day + $ week -days) / 7); Echo every week;

hibernate - can not delete the entity using session.delete() -

I have some unit in my application, and some of them are many organizations, when I try to delete them I get this error: "Can not delete or update a base line: A foreign key constraint ....". This example is: class work {@ OneToMany (mapped = "jobs") list & lt; Work & gt; Step; } Classroom work {@ManyToOne (cascade = CascadeType.ALL) Working tasks; @ManyToMany (Cascade = Cascade Type.ALL) list & lt; Operator & gt; Operators} class operator {@ManyToMany (mapped = operator list) & gt; Work & gt; Step; } When I want to delete a task object, I get an exception. Why? I want to delete the related rows in the Tasks object, and T_tscstep_t_parator. How to do it? try it, class work {@OneToMany (cascade = Cascade type.AL) list & gt; Work & gt; Step; } This will also remove the entry related to the workspace.

Minimum hardware requirements to run an HTML5 capable browser -

Which browser is the minimum hardware requirements with full support for HTML5? The app should be able to play video and make some javascript changes. Windows or Linux does not make any difference (but I bet my two cents on Linux as the winner). Thanks in advance. You can put a cart before the horse here. There are a lot of "post PC" devices that have very little hardware specifications (iPod / iPad / iPhone, various Android devices, Blackberry, Windows Mobile devices) that can run lightweight, full-featured HTML5 webkit (Webkit.org) browsers based on projects like

mysql - Stored procedure problem, runs on local but not on server -

मुझे MySQL संग्रहीत कार्यविधि के साथ एक अजीब समस्या हो रही है I मैं एक साधारण संग्रहीत प्रक्रिया लिखा है इस प्रकार है: {delimiter $$ Definer = बनाएँ `username` @` `% प्रक्रिया` sp_create_my_log` (स्रोत पाठ में, आउट my_id INT) - - रिकॉर्ड डालें और प्राथमिक कुंजी दर्ज करें my_log (स्रोत) मूल्यों (स्रोत) में; SET my_id = LAST_INSERT_ID (); COMMIT; END} यह संग्रहित प्रक्रिया मेरे स्थानीय मशीन (MySQL सर्वर 5.1, Windows XP) पर बिल्कुल ठीक चल रही है। लेकिन जब मैं सर्वर पर इसे चलाने के लिए प्रयास करते हैं, मैं निम्नलिखित त्रुटि मिलती है: java.sql.SQLException: 2 के पैरामीटर सूचकांक (0 1) com.mysql पर सीमा से बाहर है .jdbc.SQLError.createSQLException (SQLError.java:1075) com.mysql.jdbc.SQLError.createSQLException (SQLError.java:989) com.mysql.jdbc.SQLError.createSQLException पर (SQLError.java:984) पर com पर। Com.mysql.jdbc.SQLError.createSQLException (SQLError.java:929) पर com.mysql.jdbc.CallableStatement $ कॉलबलस्टेटमेंटपरम इन्फ़ो.चेकबॉल्स (कॉलबलस्टेटमेंट.जावाक्यू 7474) com.mysq...

Pass javascript variable as javascript function parameter from HTML -

The global javascript parameter declared at the top of my script is: param2. I'm calling my work on body weight. I would like to pass my global javascript parameter into a javscript function. & lt; Script language = "javascript" & gt; Var Ultimate 2; ... function tablepad (paramet 1) {...} & lt; / Script & gt; & Lt; Body Onload = "Tablepend ('Ultimate 2');" & Gt; I am far from being professional with Javascript, but I do not think there is a way to "insert" in HTML. Can anyone talk to me right direction? I have seen the answer here about the variables passing through a function, but do not pass the javascript variable. "post-text" itemprop = "text"> I'm stupid, if any Thinking about the answer, you have to remove a single quote from the parameter name!

c# - garbage collection -

If an object has a final method, but still the object is referenced, does the trash garbage object be stacked Removes or simply clears unmanaged resources In GC NET does not automatically clean unmanaged resources. This is what IDisposable is finalized will not be called until all references are required.

linux - top -H option in Macosx -

Unix / Linux has the -H option to give more information about the thread within a process near the top command. There is no H-H option on Macaux! Is MacOSx something similar to? I think there is no such or similar option on top for OS X, But you can try htop that displays the thread to a certain extent htop -h Although OS X does not have HOP binary, you can make it from source and install it (for example, according to this guide)

Passing Items to MSBuild Task -

By crossing some objects, I would like to use the "MSBuild" function in my goal to create another project ( Together with their metadata) will be created. It is possible to pass the properties using properties or properties using additional properties metadata, I could not find a way to pass the item. A possible solution is to write an item in a file and write the file name as an asset, but it will only pass the item without metadata. Any thoughts? Thank you. To write custom metadata to dump items and metadata in one file another process, though raw rather than dump the items in the text, items containing a valid MSBuild project to create the file (items with meta data) and that went import project executed by MSBuild task generated file you Msbluild 4.0 to dump files Inline work Abuse can. (Comment to reply) & lt; Using Task Job Name = "Likenitmavh metadata" Taskfainil = "Kodtskfactor" Asenblifail = "$ (MSBuildToolsPath) \ Micr...

c++ - Hierarchical k-Means in OpenCV without knowledge of "k" -

I'm trying to cluster the set of 4D vectors without having to know in advance how many groups should be in advance. In the past, I have been able to use cvkmeans2 for the cluster, given the knowledge of the number of clusters. I was trawling through the API and came across. It seems like what I want (i.e., k-means, split clusters where necessary, as a result of the division, it's deteriorating, repeating), but I'm actually struggling with the "index parameter". I thought I needed to make one which goes as a second parameter, but I get an error from the following code: cv :: flann :: index fln_idx = cv :: Flan :: Cemans IndieParams :: Createindex (framepoint); Error getting: ../ src / Segmentation_1.cpp: 592: Error: Can not call member function? Virtual Flow :: Index * cv :: flann :: Cmens IndexParams :: Createindex (Const CV :: Matte & amp;) cvmat * framePoints = cvCreateMat (frameTracklets.size ()), 4, without any object framepoint is d...

openlayers kml with external styles -

I'm trying to move my km to an external document for use with open layers. I work styling , When they are directly involved in the kmili file. At first I thought I could use the simple kilogram for this with the style URL tag: However, when I try to do this, the map.kml file is never requested, and markers are not visible. I've verified that the styleUrl url works. I am loading my km L: New open layers.layer.gml ('name', 'kimi l_path' {Format: OpenLayers.Format.KML} , FormatOptions: {extractStyles: true, extractAttributes: true}, projection: map.displayProjection}); OpenLayers.Format.KML API has some commentalising options called 'Styles' and 'Stylebus URL', but I do not get any documentation about them or how to use them is. Does anyone have any experience with these experiences? There can be only one way, with a different SLD external file with styles and it will be your GML layer Apply to Take a look at the SLD Open...

multithreading - Run Java Threads sequentially -

How do you execute three threads sequentially? For example, thread 1, thread 2, thread 3 is not possible to pass another reference to a thread and the run () method is requested. The code should be: thread 1.start (); Thread2.start (); Thread3.start (); and should be excluded printing thread 1 printing thread 2 printing thread 3 using the ThreadPoolExecutor It is possible and even using the blocked queue, but this is also not an acceptable answer. Use the package in java.util.concurrent. Use more accurate executables. NewSingleThreadExecutor ();

WPF: Tab navigation broken with collapsed hyperlink -

समस्या: टैब कुंजी के साथ नेविगेशन संक्षिप्त टेक्स्टब्लॉक / हाइपरलिंक पर रोकता है। प्रजनन: & lt; विंडो x: कक्षा = "टैबटैस्ट.मैनविंडो" xmlns = "http://schemas.microsoft.com/winfx/2006/ Xaml / प्रस्तुति "xmlns: x =" http://schemas.microsoft.com/winfx/2006/xaml "शीर्षक =" मुख्य विंडो "चौड़ाई =" 200 "ऊँचाई =" 200 "& gt; & LT; ग्रिड & gt; & Lt; स्टैकपैनेल ओरिएंटेशन = "लंबवत" & gt; & Lt; पाठ बॉक्स पाठ = "पहले" / & gt; & LT; TextBlock & gt; & LT; TextBlock.Style & gt; & Lt; शैली TargetType = "{x: टाइप टेक्स्टब्लॉक}" & gt; & Lt; सेटर संपदा = "दृश्यता" मान = "ढह गई" / & gt; & Lt; / शैली & gt; & LT; /TextBlock.Style> & Lt; हाइपरलिंक फ़ोकसबल = "False" & gt; & Lt; टेक्स्टब्लॉक टेक्स्ट = "परीक्षण" / & gt; & Lt; / हाइपरलिंक & gt; & Lt; / TextBlock & g...

c# - Waiting for Controls to be Initialized -

My form looks like a three-pane email client There is a grid with the list of people on the left. Extension record [x] cooking [x] window cleaning [x] brain surgery [x]] massage therapy [x] random acts of vandalism [Singing] When the form is opened, the first person listed in the grid on the left side of the Focus Form goes to the person, and Distributing the Foks_oar_aitiwd event fires. For this event, I get the ID of the existing person in the handler, then receives detailed data from that database for that person and populates the records of the extension, and also receives the specialty rows of the person's area and the checkbox It all works well, when the form is opened first, because the custom control with many checkboxes has not yet started. MyCustomControl is empty at that time. if (null! = MyCustomControl) {MyCustomControl.SetCheckedValues ​​(data source); } What is the best practice design to deal with this situation? What do I do when my control has no...