コード例 #1
0
        public void SavePNGFromDialog(RockSmithTabExplorer.Controls.TabControl tabControl, string fileName)
        {
            var dialog = new Microsoft.Win32.SaveFileDialog();

            dialog.Filter   = "Png image (*.png)|*.png";
            dialog.FileName = fileName;
            if (dialog.ShowDialog() == true)
            {
                ExportToPNG(dialog.FileName, tabControl);
            }
        }
コード例 #2
0
 private void SaveTabImage(TabControl tabControl)
 {
     saveService.SavePNGFromDialog(tabControl, NameFromScore(currentSongService.Score));
 }
コード例 #3
0
 private void PrintTab(TabControl tabControl)
 {
     printService.Print(tabControl, NameFromScore(currentSongService.Score));
 }