Files
mono/mcs/class/System.Windows.Forms/Gtk/Cursor.cs
T
Joel Basson 802417f479 Thu Jan 16 19:20:00 GMT+2 2003 Joel Basson <[email protected]>
* Applied patch from Alberto Fernandez with the following changes...
	Finished ProgressBar (Events?)
	Finished HScrollBar VScrollBar and ScrollBar
	Finished FolderBrowserDialog
	Base ComboBox
	Added DrawMode.cs
	Added ComboBoxStyle.cs
	Added Appearance.cs
	Added CheckState.cs
	Added TabAlignment
	Added TabAppearance.cs
	Added TabDrawMode.cs
	Added TabSizeMode.cs
	Added Panel.cs
	Added TabPage.cs
	Added TabControl.cs
	Added Cursors.cs
	Added MessageBoxDefaultButton.cs
	Added MessageBoxIcon.cs
	Added MessageBoxOptions.cs
	Changes in MessageBoxButtons.cs (Added values)
	Changes in MessageBox (Completed all functions, added return values).
	"Finished" CheckBox.cs
	"Finished" ComboBox.cs
	"Finished" RadioButton
	"Finished" GroupBox
	"Finished" Panel
	Changes in Form to work with new RadioButton.
	Fix double Click reported on MenuItems.
	"Finished" Application

svn path=/trunk/mcs/; revision=22123
2004-01-15 17:19:30 +00:00

116 lines
2.7 KiB
C#

//
// System.Windows.Forms.Cursor
//
// Author:
// Alberto Fernandez ([email protected])
//
namespace System.Windows.Forms{
using System;
using System.Drawing;
using System.Runtime.Serialization;
using System.IO;
public sealed class Cursor : IDisposable, ISerializable {
internal Cursor(){
}
[MonoTODO]
public Cursor (IntPtr handle){
if (handle == IntPtr.Zero){
throw new ArgumentException();
}
}
[MonoTODO]
public Cursor (Stream stream){
}
[MonoTODO]
public Cursor (string fileName){
}
[MonoTODO]
public Cursor (Type type, string resource){
}
[MonoTODO]
public static Rectangle Clip {
// Rectángulo por el que se puede mover el cursor.
// Generalmente toda la pantalla.
get {throw new NotImplementedException();}
set {throw new NotImplementedException();}
}
[MonoTODO]
public static Cursor Current {
// Si se pone en un valor que no sea default, la aplicación
// deja de oir a los eventos de mouse.
// cuando este en Cursor.Default, la aplicación vuelve
// a escuchar los eventos de ratón.
get {throw new NotImplementedException();}
set {throw new NotImplementedException();}
}
[MonoTODO]
public IntPtr Handle {
get {throw new Exception();}
}
[MonoTODO]
public static Point Position{
get {throw new NotImplementedException();}
set {throw new NotImplementedException();}
}
[MonoTODO]
public Size Size{
get {throw new NotImplementedException();}
}
[MonoTODO]
public IntPtr CopyHandle (){
throw new NotImplementedException();
}
[MonoTODO]
public void Dispose (){
throw new NotImplementedException();
}
[MonoTODO]
public void Draw (Graphics g, Rectangle targetRect){
throw new NotImplementedException();
}
[MonoTODO]
public void DrawStretched(Graphics g, Rectangle targetRect){
throw new NotImplementedException();
}
[MonoTODO]
public override bool Equals (Object obj){
throw new NotImplementedException();
}
[MonoTODO]
~Cursor(){
}
[MonoTODO]
public override int GetHashCode(){
throw new NotImplementedException();
}
[MonoTODO]
void ISerializable.GetObjectData (SerializationInfo si, StreamingContext context){
throw new NotImplementedException();
}
[MonoTODO]
public static void Hide(){
throw new NotImplementedException();
}
[MonoTODO]
public static void Show(){
throw new NotImplementedException();
}
[MonoTODO]
public override String ToString(){
return base.ToString();
}
public static bool operator==(Cursor left, Cursor right){
return left.Equals(right);
}
public static bool operator!=(Cursor left, Cursor right) {
return ( !(left == right));
}
}
}