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