|
The TabPages have that methode from one of its base-Classes through inheritance, i guess
|
|
|
|
|
MSDN topic of TabPage Class[^]: TabPage controls are constrained by their container, so some of the properties inherited from the Control base class will have no effect, including Top, Height, Left, Width, Show, and Hide.
"Programming today is a race between software engineers striving to build bigger and better idiot-proof programs, and the Universe trying to produce bigger and better idiots. So far, the Universe is winning." - Rick Cook www.troschuetz.de
|
|
|
|
|
As Stefan and Martin pointed out, the Hide() method is inherited from the base class and doesn't have any meaning to a TabControl . In order to "hide" a tab page at runtime you will need to remove that tab page from the TabPages property.
You need to make sure that you do this after the call to InitializeComponent() , usually in your constructor, and simply call
this.tabControl.TabPages.Remove(this.tabPage1)
-----------------------------
In just two days, tomorrow will be yesterday.
|
|
|
|
|
thank you guys
|
|
|
|
|
hey guyz, does anyone know if there's a possibility to run a programme written in c# on a linux platform??
|
|
|
|
|
|
thanx, i already know this, i wanted another one, may i ask you a question guffa, how are you to always find my posts in this forum??!!
|
|
|
|
|
mono works well but unfortunately a lot of the libraries / add-ons that you use from day to day aren't part of the c# standard and are still Microsoft's IP. I'm thinking especially of things like IIS/ASP.Net and DirectX. I doubt that these are about to get added to the mono project anytime soon. What is it that you need that Mono is lacking?
Russell
|
|
|
|
|
¤ Muammar ¤ wrote: may i ask you a question guffa, how are you to always find my posts in this forum?
I read most posts in some of the forums, and answer quite a few of them, so if you ask a lot of questions I am bound to answer some of them.
---
b { font-weight: normal; }
|
|
|
|
|
right
|
|
|
|
|
I've created an object that implements iBindingList It all seemed to work fine a few days ago and now that i come back to the code on a Monday morning a dataviewgrid attached to the list will only filter in ascending order.
The code in my ApplySort Method couldn't be simpler:
public void ApplySort(PropertyDescriptor property, ListSortDirection direction)<br />
{<br />
_sortOrder = direction;<br />
_sortField = property;<br />
Sort();<br />
}
I've checked the Sort method in a test harness and it works fine, but i always seem to be getting a ListSortDirection of Ascending passed in.
Has anyone seen this behaviour before?
Thanks in advance
Russell
|
|
|
|
|
Hello everybody,
I'm working on a data migration application. Actually I need to map each fields in an existing database to a new application's databse. For this purpose, is it possible to list the fields in the tables (which will be an unknown thing until the program is run.. u'll have only the database name & the table names) of both the databases(both databases being sql server).
I need to permit the user to map the fields like below..
Database1 Database2
OldTable NewTable
firstname ------------> fname
LastName ------------> lname
etc...
Thanks in advance
|
|
|
|
|
You should be able to get the information you required from Information_Schema.Columns
SELECT *
FROM INFORMATION_SCHEMA.COLUMNS
|
|
|
|
|
Erhm, yes this is possible, but I don't think you want to solve the problem this way. Have you tried converting the old db to the new db using DTS packages, it's a SQL Server thing and realy powerfull for converting data in such a manner..
|
|
|
|
|
|
Hi,
I need to create web pages in one application(ASP.NET--C#).
These pages are meant for some other developer who would be using those pages created by me in his application.
How should i give him my pages so that they work properly with his application and I don't want him to see my coding thing.
Can I give my pages in some Component form or Web Control etc and how would he be using these pages.
|
|
|
|
|
Hi everyone.
I have problem like this. I Get data from database to DataSet. The data of database was stored windows 1258. I want to get data as default format of English (Latin I or Windows 1252)
I change Locale of Dataset to "en-US" but it not apply when I fill data to Dataset. Could Anyone help me for this problem ?
How to change locale system in C# ? (Not locale of user in window). I using VS 2005 on windows 2000.
I'm look forward hearing from you. thanks for you help.
|
|
|
|
|
I m using window application, C#, I want resize my window (form) in such way that when i resize my form then control inside it should be resize also...
The controls include a flexgrid,picturebox,labels and a DateTimePicker
I dont want to code in Resize-Event.Resizing should be done only when releasing the control
plz help.. code...
My small attempt...
|
|
|
|
|
Erhm, you can really easy resize controls with your form using the contro's anchor and docking property. You don't need to handle any event...
|
|
|
|
|
how can i use both these................plz help me
I am using an older version
-- modified at 4:35 Monday 27th November, 2006
My small attempt...
|
|
|
|
|
|
You cannot use both, you can use either one, but thei're functionality is diffrent, you should choose one depending on your needs...
|
|
|
|
|
hi i want to send listview data in excel can i do this\
sdfsdfsdfs
|
|
|
|
|
|
Hi,
Can anybody give me some good tutorials links for ADO.NET with C# for beginners.
Thanking you.
|
|
|
|