I am trying to initiate a class to use it's attributes and method from another class, but the class has 2 constructors(1 with parameters, and one without). the one without parameters it is finding ok, the one with parameters it is not seeing it. it is because it is a partial class?
this is the code:
public partial class ScenarioEditorView : UserControl, IScreenSelectorSubItem, IActionable, INotifyPropertyChanged
{
string p1 = "";
string fullp = Path.GetFullPath(p1);
ScenarioEditorViewModel viewModel = new ScenarioEditorViewModel(fullp);
}
fullp is unknown.
please help