Inheritance: System.Windows.Forms.Form
Exemplo n.º 1
0
        /// <summary>
        /// Constructor
        /// </summary>
        /// 
        public DeviceImage(string fPath)
        {
            FileInfo f = new FileInfo(fPath);
            this.FileSize = f.Length;
            this.FileName = f.Name;
            this.FilePath = fPath;
            this.FileDirectory = fPath.Replace(f.Name, "");
            
            TryOpenRom(fPath);

            if (this.CalId == null)
            {
                UndefinedWindow uw = new UndefinedWindow(fPath);
                uw.ShowDialog();
                TryOpenRom(fPath);
            }
        }
Exemplo n.º 2
0
        /// <summary>
        /// Constructor
        /// </summary>
        /// 
        public ECU(SharpTuner st, string fPath)
        {
            sharpTuner = st;
            FileInfo f = new FileInfo(fPath);
            this.FileSize = f.Length;
            this.FileName = f.Name;
            this.FilePath = fPath;
            this.FileDirectory = fPath.Replace(f.Name, "");
            
            TryOpenRom(fPath);

            if (this.CalId == null)
            {
                UndefinedWindow uw = new UndefinedWindow(sharpTuner, fPath);
                uw.ShowDialog();
                TryOpenRom(fPath);
            }
        }