Esempio n. 1
0
        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();
        }
Esempio n. 2
0
 private void SaveDataFile()
 {
     using (frmRepack frm = new frmRepack(EPackType.SaveUpdates, "", Data))
         frm.ShowDialog();
 }
Esempio n. 3
0
		private void SaveDataFile() {
			using( frmRepack frm = new frmRepack( EPackType.SaveUpdates, "", Data ) )
				frm.ShowDialog();
		}
Esempio n. 4
0
		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();
		}