I have a class, where I declare it, but that class gets added as an item to another bigger class. Is there a way to call the Init()
method in the same statement as the call? Similar to defining public properties/variables when you call the constructor. I don't want to call the Init()
method in the constructor because it messes with the WPF Designer.
FitsView fv = new FitsView();
fv.Init();