예제 #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();
        }
예제 #2
0
 private void SaveDataFile()
 {
     using (frmRepack frm = new frmRepack(EPackType.SaveUpdates, "", Data))
         frm.ShowDialog();
 }
예제 #3
0
파일: frmMain.cs 프로젝트: GodLesZ/svn-dump
		private void SaveDataFile() {
			using( frmRepack frm = new frmRepack( EPackType.SaveUpdates, "", Data ) )
				frm.ShowDialog();
		}
예제 #4
0
파일: frmMain.cs 프로젝트: GodLesZ/svn-dump
		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();
		}