private void RepackDataFile() { SaveFileDialog dlg = new SaveFileDialog(); dlg.Filter = "Shaiya data.sah (*.sah)|*.sah"; dlg.InitialDirectory = Path.GetDirectoryName(Data.BasePath) + @"\"; dlg.Title = "Shaiya Data File speichern"; if (dlg.ShowDialog() != DialogResult.OK) { return; } using (frmRepack frm = new frmRepack(EPackType.RepackAll, dlg.FileName, Data)) frm.ShowDialog(); }
private void SaveDataFile() { using (frmRepack frm = new frmRepack(EPackType.SaveUpdates, "", Data)) frm.ShowDialog(); }
private void SaveDataFile() { using( frmRepack frm = new frmRepack( EPackType.SaveUpdates, "", Data ) ) frm.ShowDialog(); }
private void RepackDataFile() { SaveFileDialog dlg = new SaveFileDialog(); dlg.Filter = "Shaiya data.sah (*.sah)|*.sah"; dlg.InitialDirectory = Path.GetDirectoryName( Data.BasePath ) + @"\"; dlg.Title = "Shaiya Data File speichern"; if( dlg.ShowDialog() != DialogResult.OK ) return; using( frmRepack frm = new frmRepack( EPackType.RepackAll, dlg.FileName, Data ) ) frm.ShowDialog(); }