Промежуточный.
This commit is contained in:
parent
8c80db4df3
commit
52f2fd6b15
@ -64,16 +64,18 @@ namespace VisualComponentsForm
|
||||
}
|
||||
}
|
||||
|
||||
//запуск основной формы из лабы
|
||||
//запуск формы с лабораторными из предыдущей лабы
|
||||
public Form GetForm(PluginsConventionElement element)
|
||||
{
|
||||
if (element == null)
|
||||
{
|
||||
return new FormMain(_labWorkStorage, _discipline);
|
||||
return new FormCreateLabWork(_labWorkStorage, _discipline);
|
||||
}
|
||||
else
|
||||
{
|
||||
FormMain form = new FormMain(_labWorkStorage, _discipline);
|
||||
FormCreateLabWork form = new FormCreateLabWork(_labWorkStorage, _discipline);
|
||||
|
||||
form.Id = BitConverter.ToInt32(element.Id.ToByteArray(), 0);
|
||||
|
||||
return form;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user