Reference to non-static member function must be called

The problem is that buttonClickedEvent is a member function and you need a pointer to member in order to invoke it. Try this: void (MyClass::*func)(int); func = &MyClass::buttonClickedEvent; And then when you invoke it, you need an object of type MyClass to do so, for example this: (this->*func)(<argument>); http://www.codeguru.com/cpp/cpp/article.php/c17401/C-Tutorial-PointertoMember-Function.htm

Is there a way to specify assembly references based on build configuration in Visual Studio?

There is a way to do this, but you will have to hand edit your project files. The project files can have a Condition attribute applied to them in many of the elements, including the one for references. You can add these to your references to specify when the reference should be used: <Reference Include=”Product, … Read more

Set Custom Path to Referenced DLL’s?

From this page (untested by me): Somewhere in your program’s initialization (before you access any classes from a referenced assembly) do this: AppDomain.CurrentDomain.AppendPrivatePath(@”bin\DLLs”); Edit: This article says AppendPrivatePath is considered obsolete, but also gives a workaround. Edit 2: Looks like the easiest and most kosher way to do this is in the app.config file (see … Read more

Would a Java HashSet’s contains() method test equality of the strings or object identity?

It uses equals() to compare the data. Below is from the javadoc for Set adds the specified element e to this set if the set contains no element e2 such that (e==null ? e2==null : e.equals(e2)). The equals() method for String does a character by character comparison. From the javadoc for String The result is … Read more

Reference a cell using formula?

You can use indirect() to dynamically reference cells Use: indirect(“string that evaluates to a reference”) example: =Indirect(“A”&B2) copies the value of the cell with the row in B2 in column A In your case, it would be (replace [column] with the desired column): indirect(“[column]”&ArrayFormula(MAX(FILTER(ROW(B:B);NOT(ISBLANK(B:B))))))