1
Vote

VS 2015

description

Thanks for the speedy response.
I am a hobbyist and currently targetting Desktop WPF MVVM Programs.
I am new to CAG and thought Calcium might simplify things for me.
I have compiled the Core after fixing references to InteraCTIVITY and
ServiceLocation, added a test project with a window:
public MainWindow()

{

InitializeComponent();

var calciumSystem = new CalciumSystem();

calciumSystem.Initialize();

}

but have no idea what to do next... even after reading the examples on Code Project.
Also I have no idea how to start the lovely interface you show on http://www.calciumsdk.net/Source.aspx

Thanks

Gary

comments

DanielVaughan wrote Apr 2, 2016 at 2:11 PM

Please get the latest version. (I fixed a build error) Open the following solution:
\Trunk\Source\Calcium\Calcium\CalciumDesktopClr.sln

That solution is the old desktop client I built a few years ago. It still works, but it uses an old version of Prism. The infrastructure underpinning the examples is sound, but as I wrote the client back when MVVM and even WPF were just starting, there are quite a few things I do differently now.

The Windows Phone template project better reflect how I like to do things now.

For WPF I recommend creating a simple application, with a view. Create a viewmodel for the view by extending ViewModelBase in Calcium. Set the ViewModel to the view's DataContext in the view's constructor.

There's quite a lot of infrastructure that can save you time in Calcium. But it does require that you get to know it.

Cheers,
Daniel

scully wrote Apr 2, 2016 at 4:00 PM

OK
Did that and got the source to compile.
How to I bring up the Calcium interface from my project ?

DanielVaughan wrote Apr 2, 2016 at 5:42 PM

You'll need to look at the source and perhaps read the early articles to see how it fits together.