Click here to Skip to main content
15,923,142 members
Home / Discussions / C#
   

C#

 
Questioncheck for updates Button Pin
laziale6-Aug-08 20:33
laziale6-Aug-08 20:33 
AnswerRe: check for updates Button Pin
Programm3r6-Aug-08 20:45
Programm3r6-Aug-08 20:45 
QuestionThread Question Pin
Programm3r6-Aug-08 20:28
Programm3r6-Aug-08 20:28 
AnswerRe: Thread Question Pin
MarkB7776-Aug-08 21:19
MarkB7776-Aug-08 21:19 
QuestionRe: Thread Question Pin
Programm3r6-Aug-08 21:52
Programm3r6-Aug-08 21:52 
AnswerRe: Thread Question Pin
GeorgeBerry7-Aug-08 0:43
GeorgeBerry7-Aug-08 0:43 
AnswerRe: Thread Question Pin
MarkB7776-Aug-08 23:36
MarkB7776-Aug-08 23:36 
QuestionThe .Net C# Give Me the Exeption For Serialisation Pin
Thaer Hamael6-Aug-08 19:53
Thaer Hamael6-Aug-08 19:53 
I Wount To Serialise All Controls In Windows Application
I Put This Code To Serialise the Button
/**************************************************/
/**************************************************/

private void serialize( )
{
Stream stream = File.Open("Thaer.xml",FileMode.Create);
SoapFormatter formatter = new SoapFormatter();
object obj = this.button1;
formatter.AssemblyFormat=System.Runtime.Serialization.Formatters.FormatterAssemblyStyle.Full;
try
{
formatter.Serialize(stream, obj);
}
catch { }
}
/*****************************************************/
/*****************************************************/
But This Code In .Net Give Me This Exeption :-

Type 'System.Windows.Forms.Button' in Assembly 'System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089' is not marked as serializable.

I Wount To Serialise The Button As Object And The TextBox
The Serialisation of it Must Have The Status Of It As Visible Or Hiden And The Size And Colore And and so on But Without Declare The Variable For It ,I wount to Serialise the Button With His Proper........
Who I Can Do It ? Rose | [Rose]

Thaer

AnswerRe: The .Net C# Give Me the Exeption For Serialisation Pin
stancrm6-Aug-08 20:17
stancrm6-Aug-08 20:17 
GeneralRe: The .Net C# Give Me the Exeption For Serialisation Pin
Thaer Hamael6-Aug-08 20:24
Thaer Hamael6-Aug-08 20:24 
GeneralRe: The .Net C# Give Me the Exeption For Serialisation Pin
Thaer Hamael6-Aug-08 20:24
Thaer Hamael6-Aug-08 20:24 
GeneralRe: The .Net C# Give Me the Exeption For Serialisation Pin
leppie6-Aug-08 22:33
leppie6-Aug-08 22:33 
QuestionRead null value(s) from cell of DataGridView Pin
M Riaz Bashir6-Aug-08 19:52
M Riaz Bashir6-Aug-08 19:52 
AnswerRe: Read null value(s) from cell of DataGridView Pin
Judah Gabriel Himango6-Aug-08 19:58
sponsorJudah Gabriel Himango6-Aug-08 19:58 
GeneralRe: Read null value(s) from cell of DataGridView Pin
M Riaz Bashir6-Aug-08 20:10
M Riaz Bashir6-Aug-08 20:10 
GeneralRe: Read null value(s) from cell of DataGridView Pin
Kjetil Svendsen6-Aug-08 22:17
Kjetil Svendsen6-Aug-08 22:17 
GeneralRe: Read null value(s) from cell of DataGridView Pin
leppie7-Aug-08 3:09
leppie7-Aug-08 3:09 
GeneralRe: Read null value(s) from cell of DataGridView Pin
leppie7-Aug-08 2:58
leppie7-Aug-08 2:58 
QuestionGet Default Printer name Pin
magy6-Aug-08 19:50
magy6-Aug-08 19:50 
AnswerRe: Get Default Printer name Pin
Judah Gabriel Himango6-Aug-08 19:57
sponsorJudah Gabriel Himango6-Aug-08 19:57 
QuestionVB.NET over C#.net Pin
alda winnona6-Aug-08 19:36
alda winnona6-Aug-08 19:36 
AnswerRe: VB.NET over C#.net Pin
rah_sin6-Aug-08 19:50
professionalrah_sin6-Aug-08 19:50 
AnswerRe: VB.NET over C#.net Pin
Judah Gabriel Himango6-Aug-08 19:56
sponsorJudah Gabriel Himango6-Aug-08 19:56 
AnswerRe: VB.NET over C#.net Pin
dan!sh 6-Aug-08 22:28
professional dan!sh 6-Aug-08 22:28 
GeneralRe: VB.NET over C#.net Pin
blackjack21506-Aug-08 22:32
blackjack21506-Aug-08 22:32 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.