/// <summary> /// Displays UserControl with QSet editor (brand new QSet) /// </summary> /// <param name="name">Name of the new QSet</param> /// <param name="path">Path to the file with the new QSet</param> public void ShowQSetEditor(string name, string path) { UserControl editor = new QSetEditorUC(this, QSetsManager, name, path); CurrentUC = editor; }
/// <summary> /// Displays UserControl with QSet editor (editing existing QSet) /// </summary> /// <param name="qSet">QSet to edit</param> /// <param name="index">Index of QSet in original collection</param> public void ShowQSetEditor(QSet qSet, int index) { UserControl editor = new QSetEditorUC(this, QSetsManager, qSet, index); CurrentUC = editor; }