private void showNamingWindow() { CameraNamingVM vm = new CameraNamingVM(cameraNameList, CamInfo); namingForm = new CameraNamingForm(vm); namingForm.ShowDialog(); }
public CameraNamingForm(CameraNamingVM model) { InitializeComponent(); DataContext = model; }