public EditorSub(EditorLine el, Sub sub, bool isLine = false) { EL = el; ESub = sub; InitializeComponent(); if (isLine) { SetIsLine(); } DisplayReadName(); DisplayReadInfo(); }
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(); }