/// <summary>
        /// Initialization of the GUI
        /// </summary>
        /// <param name="fileTagReader">The FileTagReader width the data of the file</param>
        public WindowsTagAnalyzerDetails(TagReader fileTagReader, regexGUI rx)
        {
            InitializeComponent();

            regex = rx;

            currentTagReader = fileTagReader;

            string path;

            path = fileTagReader.getAbsoluteFilePath();

            //Fill the labels width the name and the path of the file
            FileName.Text = ExtractFileName(path);
            FilePath.Text = path.Substring(0, path.Length - (ExtractFileName(path).Length));

            this.Visible = true;
        }
Ejemplo n.º 2
0
 public addRegexGUI(regexGUI rg)
 {
     InitializeComponent();
     reg = rg;
 }