Im new to C#/.NET . But Ive been doing TDD for quite some time now. I wanted to what is the best framework that can be used for mocking objects while writing tests in c3
I would like to obtain the list of controls under a given point.
There is a method on System.Windows.Form to obtain a control under a point(GetChildAtPoint) but not point(GetChildsAtPoint).
Is there something similar for the list of controls (if borders intersect one other):
I need this because I select the objects when user clicks on the panel(I use Microsoft.VisualBasic.PowerPacks.RectangleShape as label bellow). In case if labels are superposed, user should be asked what object to select.
What is a "Visual Studio SharePoint Package file" (.package)? I am trying to extract some data and this is the only file that looks large enough to contain what I'm after.
I currently have a simple flash Mp3 player on my site which works lovely. The issue is, most cell phones do not support flash and a large portion of my visitors come through via a mobile device. The alternative to this is to replace the flash player with a javascript player. I found a JQuery one but it only works on HTML5 compatible browsers. Does anyone know of a good alternative that would work on mobile devices as well as most desktop web browsers?
This shows how to have a static variable inside an object or context:
http://www.mail-archive.com/[email protected]/msg04764.html
But the scope is too large for some needs, is it possible to have a static variable inside an object function ?
I am a developer a large social network.
Does the protocol OAuth without browser? I plan to write desktop and mobile applications that can not use your browser to get access_token. It worries me step for get Access_token, I can not understand how to implement it.
Give examples of code if possible ...
I have a little problem with adding EventListener to multiple objects on stage. I have above 40 buttons on stage named "Button01","Button02" .. "Button40", and i'm looking for easiest way to add EventListener to all of them.
Creating something like
Button01.addEventListener(MouseEvent.CLICK, doSomething)
Button02.addEventListener(MouseEvent.CLICK, doSomething)
..
Button40.addEventListener(MouseEvent.Click, doSomething)
(Notice the same function).
isn't solution i'm looking for :(.
Thanks in advice.
Hi, I already have my operators for, by example, eat banana problem
[#op{
action = [climb, on, {object}],
preconds = [[at, {place}, {object}], [at, {place}, me],
[on, floor, me], [on, floor, {object}], [large, {object}]],
add_list = [[on, {object}, me]],
del_list = [[on, floor, me]]
},
But how can I use it in the function solve(Problem, depth_first, []). And depth_first (Problem, Start) - search_tree(Problem, container.stack, Start).
I am generating large PNG files from a Scala program. Currently, I am doing it the same way I would do it in java. I am creating a new BufferedImage and setting each pixel to the correct color. This works fine, but I am wondering if there are any good libraries for working with images in Scala? I am looking for something like Ruby's RMagick library.
I'm looking for a list of built in PHP functions that a programmer could use to send an email.
The obvious answer here is mail(), but I'm also looking for a list of functions someone might use to manually open a connection to an MTA, or spawn a process on the local machine which might in turn send an email using sendmail, postfix, etc.
The context here is I want to scan a large, unknown codebase for code that's sending out email (because we already located a call to mail(), and that's not doing it)
Is there a possibility to create any python object that will be not sortable? So that will be an exception when trying to sort a list of that objects?
I created a very simple class, didn't define any comparison methods, but still instances of this class are comparable and thus sortable. Maybe, my class inherits comparison methods from somewhere. But I don't want this behaviour.
i have a java program executing 3 separate sqls with a same inline view - it takes about 20 minutes each time to build the inline view when the sqls are executed - is there a way to cache or reuse it ? - trying to avoid temporary table solution because it needs to be delegated to a plsql since the java program does not have rights to create schema objects.
ps: oracle 10g
I have a function that takes as one of it's arguments a VARRAY of pl/sql Objects. How do I execute this stored procedure and bind the resultset that it returns to a data grid in TOAD for Oracle?
I have a friend who wrote code for a large array with 1,048,576 maximum elements. Everything runs fine when complied using ./make but but when using just ./ we get a segmentation fault. It's obviously not too crucial of a prob to solve. Nonetheless, I am very curious about it. if anyone has seen this or has any Ideas as why...
I want to get, via ajax, a collection of data objects and parse them into JS data.
Currently I have 2 choices:
- Server returns valid javascript code and then I eval it.
- Server returns JSON object and then I eval the json object
What is the fastest of these in Firefox? (I only care about the "parsing" performance, not server or data transfer)
The documentation of delphi says that the WaitFor function for TMutex and others sychronization objects wait until a handle of object is signaled.But this function also guarantee the ownership of the object for the caller?
I have a fairly large makefile that creates a number of targets on the fly by computing names from variables. (eg foo$(VAR) : $(PREREQS)). Is there any way that gnu make can be convinced to spit out a list of targets after it has expanded these variables?
Hi all
I am very much used to .NET and java collection libraries and searching for a similar library in C. I am in need of following
A list data structure for storing generic objects.
and also a Dictionary data structure for key value pairs.
Please let me know if any library exists. Thanks.
I've added a ImageView and a Label to a TableViewRow, I've attached an on click event listener, so I can get the row, but how can I access the label inside of that row?
Is there a way to find the objects added to the row object?
Related question: http://stackoverflow.com/questions/340567/what-is-the-best-webdav-client-for-windows
The pain point for me with Windows Explorer as a WebDAV client (or as an FTP client) is that downloading large amounts of files usually results in Windows calculating transfer times and Explorer freezing.
Given that, what is the best free WebDAV client for Windows?
I think something like Filezilla, but for WebDAV, would be ideal.
when I debug a flex application in the properties of display objects i also see variables that start with a dollar sign, like: $alpha, $width, $x, etc..
what are they?
are they different from the "normal" alpha, width, x properties?
for example the UIPickerView, in the tutorial that i am learning i had to include the datasource and delegate protocols in my project for the pickerview to work. how would i know on other objects?
Hi,
We have quite Large Web Based System, which is recently converted from Website to WebApplication, when it was an Website we not have any classes marked under the standard MyCompany.UI Namespace, now I am planning to move all the classes under the namespace, will I gain anything with doing that?
Thanks,
Manoj
I've just developed a large database, and am trying to put it online. I want to make sure that all the foreign keys, defaults, constraints, views etc, are preserved. When I try to export from my development PC using phpMyAdmin and then import on my hosted server, it errors out on all the views. Is there any other way to clone a database?
Hi,
I'm using unix system() calls to gunzip and gzip files. With very large files sometimes (i.e. on the cluster compute node) these get aborted, while other times (i.e. on the login nodes) they go through. Is there some soft limit on the time a system call may take? What else could it be?