public void showReports() { ReportsWindowViewModel plotEditor = new ReportsWindowViewModel(); plotEditor.loadExperimentBatch(m_batchFilename); CaliburnUtility.showVMDialog(plotEditor, "Plot editor"); }
public ExperimentLogViewModel(string name, string logDescriptorFilePath , string logFilePath, ReportsWindowViewModel parent) { m_parent = parent; m_name = name; m_logDescriptor = new XmlDocument(); logDescriptor.Load(logDescriptorFilePath); processDescriptor(); m_logFilePath = logFilePath; }
/// <summary> /// Class constructor. /// </summary> public MainWindowViewModel() { //Save the instance Instance = this; EditorWindowVM = new EditorWindowViewModel(); MonitorWindowVM = new MonitorWindowViewModel(); ReportWindowVM = new ReportsWindowViewModel(); //set culture as invariant to write numbers as in english System.Threading.Thread.CurrentThread.CurrentCulture = System.Globalization.CultureInfo.InvariantCulture; }
public void setParent(ReportsWindowViewModel parent) { m_parent = parent; }
public LoggedVariableViewModel(string name, ReportsWindowViewModel parent) { m_parent = parent; m_name = name; }
public void showPlotWindow() { ReportsWindowViewModel plotEditor = new ReportsWindowViewModel(); CaliburnUtility.showVMDialog(plotEditor, "Plot editor"); }