mirror of
https://github.com/BepInEx/mono.git
synced 2026-11-18 03:51:19 -10:00
* 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
112 lines
2.9 KiB
C#
112 lines
2.9 KiB
C#
//
|
|
// System.Windows.Forms.TabPage
|
|
//
|
|
// Author:
|
|
// Alberto Fernandez ([email protected])
|
|
//
|
|
|
|
using System;
|
|
using System.Drawing;
|
|
using System.Collections;
|
|
using System.ComponentModel;
|
|
|
|
namespace System.Windows.Forms{
|
|
|
|
public class TabPage : Panel{
|
|
[MonoTODO]
|
|
public TabPage() : this (""){
|
|
}
|
|
[MonoTODO]
|
|
public TabPage(string text){
|
|
this.Text = text;
|
|
}
|
|
[MonoTODO]
|
|
public override AnchorStyles Anchor {
|
|
get { throw new NotImplementedException(); }
|
|
set { throw new NotImplementedException(); }
|
|
}
|
|
[MonoTODO]
|
|
public override DockStyle Dock {
|
|
get { throw new NotImplementedException(); }
|
|
set { throw new NotImplementedException(); }
|
|
}
|
|
[MonoTODO]
|
|
public new bool Enabled {
|
|
get { throw new NotImplementedException(); }
|
|
set { throw new NotImplementedException(); }
|
|
}
|
|
[MonoTODO]
|
|
public int ImageIndex {
|
|
get { throw new NotImplementedException(); }
|
|
set { throw new NotImplementedException(); }
|
|
}
|
|
|
|
//No usar
|
|
public new int TabIndex {
|
|
get { throw new NotImplementedException(); }
|
|
set { throw new NotImplementedException(); }
|
|
}
|
|
public new bool TabStop {
|
|
get { throw new NotImplementedException(); }
|
|
set { throw new NotImplementedException(); }
|
|
}
|
|
|
|
[MonoTODO]
|
|
public override string Text {
|
|
get { throw new NotImplementedException(); }
|
|
set { throw new NotImplementedException(); }
|
|
}
|
|
[MonoTODO]
|
|
public string ToolTipText {
|
|
get { throw new NotImplementedException(); }
|
|
set { throw new NotImplementedException(); }
|
|
}
|
|
|
|
//No usar
|
|
public new bool Visible {
|
|
get { throw new NotImplementedException(); }
|
|
set { throw new NotImplementedException(); }
|
|
}
|
|
|
|
[MonoTODO]
|
|
protected override ControlCollection CreateControlsInstance(){
|
|
return new TabPageControlCollection(this);
|
|
}
|
|
[MonoTODO]
|
|
public static TabPage GetTabPageOfComponent(object comp){
|
|
throw new NotImplementedException();
|
|
}
|
|
[MonoTODO]
|
|
protected override void SetBoundsCore(int x, int y, int width, int height, BoundsSpecified specified){
|
|
throw new NotImplementedException();
|
|
}
|
|
public override string ToString(){
|
|
return "TabPage: {" + Text + "}";
|
|
}
|
|
|
|
public new event EventHandler DockChanged;
|
|
public new event EventHandler EnabledChanged;
|
|
public new event EventHandler TabIndexChanged;
|
|
public new event EventHandler TabStopChanged;
|
|
public new event EventHandler VisibleChanged;
|
|
|
|
public class TabPageControlCollection : ControlCollection {
|
|
public TabPageControlCollection ( Control owner ): base( owner ){ }
|
|
|
|
public override void Add( Control c ) {
|
|
if ( c is TabPage ) {
|
|
throw new ArgumentException();
|
|
}
|
|
base.Add(c);
|
|
}
|
|
}
|
|
|
|
|
|
/*[MonoTODO]
|
|
public class TabPage.TabPageControlCollection : Control.ControlCollection{
|
|
public TabPage.TabPageControlCollection( TabPage owner);
|
|
public override void Add(Control value);
|
|
}*/
|
|
}
|
|
}
|