public StringEditor(STRBlock str, string path) { this.InitializeComponent(); this.splitContainer1.FixedPanel = FixedPanel.Panel1; this.STR = str; this._strpath = path; this._openforms = new List <Form>(); this._modified = new HashSet <string>(); this.Commands = new List <string>(); this.Text = $"{this.STR.CollectionName} Editor"; this.StrEditorListView.Columns[^ 1].Width = -2;
/// <summary> /// Initializes new instance of <see cref="StringRecord"/>. /// </summary> /// <param name="block"><see cref="STRBlock"/> to which this /// <see cref="StringRecord"/> belongs to.</param> public StringRecord(STRBlock block) { this.Label = String.Empty; this.ThisSTRBlock = block; }