Пример #1
0
 public EditorSub(EditorLine el, Sub sub, bool isLine = false)
 {
     EL   = el;
     ESub = sub;
     InitializeComponent();
     if (isLine)
     {
         SetIsLine();
     }
     DisplayReadName();
     DisplayReadInfo();
 }
Пример #2
0
 public EditorSub(EditorLine el, bool isLine = false)
 {
     EL = el;
     InitializeComponent();
     if (isLine)
     {
         SetIsLine();
         ESub = new Sub("Name", "Info");
     }
     else
     {
         ESub = new Sub("LineName", "Info");
     }
     DisplayEditorName();
     DisplayEditorInfo();
 }