コード例 #1
0
        private void exportTxt_Click(object sender, RoutedEventArgs e)
        {
            var savingHandler = new SaveHandler("Text files (*.txt)|*.txt|All files (*.*)|*.*");
            var path          = savingHandler.GetPath();

            TextHandler.ExportToTextFile(builder.Array, xDimension, yDimension, path);
        }
コード例 #2
0
        private void exportButton_Click(object sender, RoutedEventArgs e)
        {
            var savingHandler = new SavingHandler("Text files (*.txt)|*.txt|All files (*.*)|*.*");
            var path          = savingHandler.GetPath();

            if (path == null || path == "")
            {
                return;
            }

            TextHandler.ExportToTextFile(processor.Array, xDimension, yDimension, path);
        }