Пример #1
0
        public InternalTextEditor(AssetTEXT asset, ArchiveEditorFunctions archive)
        {
            InitializeComponent();
            TopMost = true;

            this.asset   = asset;
            this.archive = archive;

            labelAssetName.Text       = $"[{this.asset.AHDR.assetType.ToString()}] {this.asset.ToString()}";
            richTextBoxAssetText.Text = this.asset.Text;
        }
Пример #2
0
        public InternalTextEditor(AssetTEXT asset, ArchiveEditorFunctions archive)
        {
            InitializeComponent();
            TopMost = true;

            this.asset   = asset;
            this.archive = archive;

            Text = $"[{this.asset.assetType}] {this.asset}";
            richTextBoxAssetText.Text = this.asset.Text;
        }