Commit Graph
15 Commits
Author SHA1 Message Date
Gert Driesen 1fa2cb05bd * FileDialog.cs: Removed need for separate fileName field. On 2.0
profile, do not check filename(s) for illegal character if filename(s)
were set non-interactively but always check on 1.0 profile. Fixed NRE
in DefaultExt and only strip off first leading dot. Improve exception
message when invalid Filter is set. Do not ignore InitialDirectory if
it does no exist. Store specified Title, and if empty use default
title (depending on type of dialog). Added an internal DialogTitle
property for retrieving dialog title. Fixed logic of displayed dir to
more closely match MS. Avoid setting ComboBox.Text to a zero-length
string as its buggy.
* OpenFileDialog.cs: In OpenFile, throw ArgumentNullException if
FileName is a zero-length string (it can never be null). Override
DialogTitle property to set default title of dialog box.
* SaveFileDialog.cs: Override DialogTitle property to set default
title of dialog box.
* SaveFileDialogTest.cs: Added tests for SaveFileDialog.
* System.Windows.Forms_test.dll.sources: add SaveFileDialogTest.cs.

svn path=/trunk/mcs/; revision=73090
2007-02-18 19:09:22 +00:00
Alexander Olk c3fdd49027 2006-12-29 Alexander Olk <[email protected]>
* ColorDialog.cs, FileDialog.cs, FolderBrowserDialog.cs,
	FontDialog.cs, Mime.cs, MimeIcon.cs, OpenFileDialog.cs,
	SaveFileDialog.cs, ThemeClearlooks.cs, ThemeNics.cs:
	Corrected copyright and email adress.


svn path=/trunk/mcs/; revision=70207
2006-12-29 14:12:29 +00:00
Chris Toshok b7a17162b6 make another pass at corcompare, mostly attributes on classes/properties/events/etc
svn path=/trunk/mcs/; revision=70171
2006-12-28 17:36:24 +00:00
Alexander Olk f02e2e1bdf 2006-02-10 Alexander Olk <[email protected]>
* MimeIcon.cs: Added some icons
	* FileDialog.cs:
	  - Fixed bug #77477
	  - Got rid of the panel. All controls are now directly added to
	    the dialog form
	  - Changed to mono coding style
	  - On Linux "My Computer" and "My Network" will now show some
	    more usefull information. A new class, MasterMount, gathers
	    this information from /proc/mount. Updated MWFFileView to make
	    use of this information
	  - Fixed a bug that caused FileDialog to crash when
	    ".recently_used" file had a zero size
	  - FilterIndex does now what it should
	  - Some Refactoring
	* OpenFileDialog.cs, SaveFileDialog.cs: Updated to reflect latest
	    FileDialog changes


svn path=/trunk/mcs/; revision=56763
2006-02-10 17:09:27 +00:00
Peter Dennis Bartok a40566f22a 2005-05-24 Peter Bartok <[email protected]>
* OpenFileDialog.cs, Form.cs, Menu.cs, GroupBox.cs, UserControl.cs,
	  Label.cs, DataGridTextBoxColumn.cs, PropertyGrid.cs, ErrorProvider.cs
	  Splitter.cs, Control.cs, FontDialog.cs, TabPage.cs, 
	  FolderBrowserDialog.cs, HelpProvider.cs, DataGridTableStyle.cs,
	  NotifyIcon.cs, FileDialog.cs, ListView.cs, SaveFileDialog.cs,
	  ToolBarButton.cs, ImageList.cs, DataGridBoolColumn.cs, Panel.cs,
	  DataGrid.cs, DataGridTextBox.cs, ListBox.cs, TrackBar.cs,
	  AxHost.cs, TabControl.cs, ScrollableControl.cs, ToolBar.cs,
	  DataGridColumnStyle.cs, PictureBox.cs, DateTimePicker.cs,
	  StatusBar.cs, MonthCalendar.cs, TreeView.cs: Cleanup
	* DataGridPreferredColumnWidthTypeConverter.cs: Added
	* System.Windows.Forms.dll.sources: Added 
	  DataGridPreferredColumnWidthTypeConverter.cs
	* SWF.csproj: Updated

svn path=/trunk/mcs/; revision=44945
2005-05-24 22:19:07 +00:00
Peter Dennis Bartok 9a5e633b32 2005-05-10 Peter Bartok <[email protected]>
* AccessibleObject.cs: 
	  - Removed MonoTODO attribute on help, method is correct
	  - Fixed Bounds property
	* AxHost.cs: Moved MonoTODO
	* ButtonBase.cs: Now setting AccessibleObject properties
	* RadioButton.cs: Setting proper AccessibleObject role
	* CheckBox.cs: Setting proper AccessibleObject role
	* ControlBindingsCollection.cs: Added properties, methods and attributes
	* DataFormats.cs: Fixed awkward internal API, and changed to enable
	  userdefined DataFormats.Format items as well
	* ListControl.cs: Removed data_member from the public eye
	* OpenFileDialog.cs: 
	  - Made class sealed
	  - Added missing attributes
	* SaveFileDialog.cs: Added missing attributes
	* ImageListStreamer.cs: Fixed code that caused warnings
	* LinkLabel.cs: Removed unreachable code
	* TreeView.cs: Fixed code that caused warnings
	* PropertyGridView.cs: Fixed code that caused warnings
	* GridColumnStylesCollection.cs: Added missing attributes
	* GridTableStylesCollection: Added missing attribute
	* PropertyManager: Added .ctor
	* SecurityIDType: Added
	* DataObject.cs: Implemented class



svn path=/trunk/mcs/; revision=44371
2005-05-11 04:42:35 +00:00
Alexander Olk cf86f38262 * FileDialog.cs, SaveFileDialog.cs OpenFileDialog.cs:
- Added ReadOnly CheckBox
	  - Further refactoring: moved some code from Open-/SaveFileDialog
	    to FileDialog

2005-03-28  Alexander Olk  <[email protected]>


svn path=/trunk/mcs/; revision=42309
2005-03-28 16:46:23 +00:00
Alexander Olk f48091efad 2005-03-28 Alexander Olk <[email protected]>
* OpenFileDialog.cs: Fixed CheckFileExists
	* FileDialog.cs:
	  Moved FileView and DirComboBox outside FileDialog class.
	  They can now be used outside FileDialog


svn path=/trunk/mcs/; revision=42303
2005-03-28 10:30:17 +00:00
Alexander Olk cae5119895 * FileDialog.cs: Added a contextmenu to change ShowHiddenFiles
* SaveDialog.cs, OpenFileDialog.cs: Fixes for Reset() method

2005-03-27  Alexander Olk  <[email protected]>


svn path=/trunk/mcs/; revision=42287
2005-03-27 17:57:49 +00:00
Alexander Olk 6499f6d9cc 2005-03-27 Alexander Olk <[email protected]>
* FileDialog.cs, OpenFileDialog.cs, SaveFileDialog.cs:
	  - Added missing CreatePrompt property in SaveDialog
	  - Overall SaveDialog handling should be better now
	  - Added non standard ShowHiddenFiles property
	  - Added extension, CreatePrompt and OverwritePrompt support in SaveDialog
	  - Added InitialDirectory and RestoreDirectory support


svn path=/trunk/mcs/; revision=42286
2005-03-27 17:05:29 +00:00
Alexander Olk f53434530c 2005-03-19 Alexander Olk <[email protected]>
* FileDialog.cs, OpenFileDialog.cs: OpenFileDialog Multiselect now works


svn path=/trunk/mcs/; revision=42031
2005-03-19 13:44:31 +00:00
Alexander Olk cffda3181a 2005-03-16 Alexander Olk <[email protected]>
* FileDialog.cs, OpenFileDialog.cs, SaveFileDialog.cs:
	  - Removed vertical ToolBar and replaced it with a custom panel
	    (desktop and home button already work)
	  - Added Help button (some controls get resized or relocated then)
	  - Draw correct text depending on Open or Save.
	  - Fixed some typos...


svn path=/trunk/mcs/; revision=41913
2005-03-16 17:07:31 +00:00
Alexander Olk 470f866338 - Set correct text for openSaveButton Text property
- Added columns for fileListView Details view and some code that fills the columns with
  file and directory related information
- Added fileListViewBigImageList

svn path=/trunk/mcs/; revision=41767
2005-03-13 18:40:24 +00:00
Alexander Olk d8e101dac4 First basic implementation of FileDialog, Open- and SaveFileDialog
svn path=/trunk/mcs/; revision=41755
2005-03-13 11:11:48 +00:00
Peter Dennis Bartok 2412486138 - Splitter added
- TextBox added
- Various empty classes added to allow switch to MWF

svn path=/trunk/mcs/; revision=38106
2004-12-27 17:25:21 +00:00