Esempio n. 1
0
        private void btnNew_Click(object sender, EventArgs e)
        {
            FileInfo fi = new FileInfo(this._directorySource + "\\" + this.SearchNewFileName() + ".xml");

            // we create the file now with the correct format
            o2Mate.Compilateur comp = new o2Mate.Compilateur();
            comp.CreateFile(fi.FullName);
            this._fileName    = fi.Name;
            this.DialogResult = DialogResult.OK;
            this.Close();
        }