/[dotgnu-pnet]/pnetlib/System.Windows.Forms/DataObject.cs
ViewVC logotype

Diff of /pnetlib/System.Windows.Forms/DataObject.cs

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.1 by Rich333, Fri Aug 1 17:53:07 2003 UTC revision 1.2 by drobosson, Sun Aug 7 11:54:27 2005 UTC
# Line 57  public class DataObject : IDataObject Line 57  public class DataObject : IDataObject
57          }          }
58    
59          [TODO]          [TODO]
60          // TODO: Format conversion          // Handle: Format conversion
61          public virtual Object GetData(String s, bool b)          public virtual Object GetData(String s, bool b)
62          {          {
63                  if (s == null)                  if (s == null)
# Line 83  public class DataObject : IDataObject Line 83  public class DataObject : IDataObject
83          }          }
84    
85          [TODO]          [TODO]
86          // TODO: Check if some other format is convertible          // Handle: Check if some other format is convertible
87          public virtual bool GetDataPresent(String s, bool b)          public virtual bool GetDataPresent(String s, bool b)
88          {          {
89                  return objects.ContainsKey(s);                  return objects.ContainsKey(s);
# Line 95  public class DataObject : IDataObject Line 95  public class DataObject : IDataObject
95          }          }
96    
97          [TODO]          [TODO]
98          // TODO: Implement format convertibility          // Handle: Implement format convertibility
99          public virtual String[] GetFormats(bool b)          public virtual String[] GetFormats(bool b)
100          {          {
101                  String[] s;                  String[] s;
# Line 109  public class DataObject : IDataObject Line 109  public class DataObject : IDataObject
109          }          }
110    
111          [TODO]          [TODO]
112          // TODO: This method has to find the format from the class          // Handle: This method has to find the format from the class
113          public virtual void SetData(Object o)          public virtual void SetData(Object o)
114          {          {
115                  SetData(DataFormats.StringFormat, o.ToString());                  SetData(DataFormats.StringFormat, o.ToString());

Legend:
Removed from v.1.1  
changed lines
  Added in v.1.2

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26