public void Formate()
        {
            Can = false;
            SettingValue.InputFile  = MyFileDialog.GetOpenFile();;
            SettingValue.OutputFile = MyFileDialog.GetSaveFile();
            if (string.IsNullOrEmpty(SettingValue.InputFile) || string.IsNullOrEmpty(SettingValue.OutputFile))
            {
                Can = true;
                return;
            }
            var f = new FileFormater(SettingValue);

            f.Formate();
            Can = true;
        }
Ejemplo n.º 2
0
 private void FileBrowseButton_Click(object sender, EventArgs e)
 {
     MyFileDialog.ShowDialog();
     FilePath.Text = MyFileDialog.FileName;
 }