Click here to Skip to main content
15,881,812 members
Home / Discussions / C#
   

C#

 
QuestionImage objects to PDF files Pin
Member 46783511-Jun-09 17:09
Member 46783511-Jun-09 17:09 
AnswerRe: Image objects to PDF files Pin
Christian Graus1-Jun-09 19:38
protectorChristian Graus1-Jun-09 19:38 
QuestionVista file virtualization: Deleting files when uninstalling program Pin
choo_chu1-Jun-09 16:51
choo_chu1-Jun-09 16:51 
QuestionCode for Restart Console Application Pin
Serpendiem1-Jun-09 16:37
Serpendiem1-Jun-09 16:37 
GeneralRe: Code for Restart Console Application Pin
Calla1-Jun-09 19:37
Calla1-Jun-09 19:37 
QuestionHow to store a large number of XML to the MSSQL200 database in a field Pin
cady_4001-Jun-09 15:15
cady_4001-Jun-09 15:15 
AnswerRe: How to store a large number of XML to the MSSQL200 database in a field Pin
Christian Graus1-Jun-09 19:38
protectorChristian Graus1-Jun-09 19:38 
Questionis it bug of the microsoft?(about multilanguage) [modified] Pin
yuwenxiang1-Jun-09 14:59
yuwenxiang1-Jun-09 14:59 
I am developing program of C#,the windows are inherit from another library,such like the propty of the EnableBackgroundImage of buttons,it works well,but now I want to developing the multilanguage of the window,when I change the language of the window,some auto sources will be add to the designer.cs files,suck like "button.EnableBackgroundImage = null; " Is it the bug of the microsoft?is it because the project can not inherit propty of the EnableBackgroundImage well,and consider the EnableBackgroundImage is set nothing? Frown | :(
when I change the language a part of designer.cs change to this ,its right
//
// ocButton1
//
this.ocButton1.FKeyAllocation = Solno.OceanLibrary.Gui.FKeyAllocation.F1Key;


//
// PaMef01000
//
resources.ApplyResources(this, "$this");
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
this.FunctionID = "006MEF010";
this.Name = "PaMef01000";
this.OcFormHelpProvider.SetShowHelp(this, ((bool)(resources.GetObject("$this.ShowHelp"))));
this.SingleDisplay = true;
this.UseSecurity = true;
this.Load += new System.EventHandler(this.PaMef01000_Load);
this.FormClosed += new System.Windows.Forms.FormClosedEventHandler(this.PaMef01000_FormClosed);
this.FormClosing += new System.Windows.Forms.FormClosingEventHandler(this.PaMef01000_FormClosing);
this.mainZone.ResumeLayout(false);
this.formZone.ResumeLayout(false);
this.baseZone.ResumeLayout(false);
this.buttonZone.ResumeLayout(false);
this.buttonZoneShift.ResumeLayout(false);
this.buttonZoneNormal.ResumeLayout(false);
this.ocPanel1.ResumeLayout(false);
this.ocPanel1.PerformLayout();
((System.ComponentModel.ISupportInitialize)(this.OcDataGridViewCassette)).EndInit();
this.ResumeLayout(false);

but when I change the text of button ,and save the windows ,designer.cs became this
//
// ocButton1
//
this.ocButton1.AccessibleDescription = null;
this.ocButton1.AccessibleName = null;
resources.ApplyResources(this.ocButton1, "ocButton1");
this.ocButton1.BackgroundImage = null;
this.ocButton1.DisabledBackgroundImage = null;
this.ocButton1.EnabledBackgroundImage = null;
this.ocButton1.FKeyAllocation = Solno.OceanLibrary.Gui.FKeyAllocation.F1Key;
this.ocButton1.Font = null;
this.OcFormHelpProvider.SetHelpKeyword(this.ocButton1, null);
this.OcFormHelpProvider.SetHelpNavigator(this.ocButton1, ((System.Windows.Forms.HelpNavigator)(resources.GetObject("ocButton1.HelpNavigator"))));
this.OcFormHelpProvider.SetHelpString(this.ocButton1, null);
this.OcFormHelpProvider.SetShowHelp(this.ocButton1, ((bool)(resources.GetObject("ocButton1.ShowHelp"))));
this.OcFormToolTip.SetToolTip(this.ocButton1, resources.GetString("ocButton1.ToolTip"));




//
// PaMef01000
//
this.AccessibleDescription = null;
this.AccessibleName = null;
resources.ApplyResources(this, "$this");
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
this.BackgroundImage = null;
this.Font = null;
this.FunctionID = "006MEF010";
this.OcFormHelpProvider.SetHelpKeyword(this, null);
this.OcFormHelpProvider.SetHelpNavigator(this, ((System.Windows.Forms.HelpNavigator)(resources.GetObject("$this.HelpNavigator"))));
this.OcFormHelpProvider.SetHelpString(this, null);
this.Icon = null;
this.Name = "PaMef01000";
this.OcFormHelpProvider.SetShowHelp(this, ((bool)(resources.GetObject("$this.ShowHelp"))));
this.SingleDisplay = true;
this.OcFormToolTip.SetToolTip(this, resources.GetString("$this.ToolTip"));
this.UseSecurity = true;
this.Load += new System.EventHandler(this.PaMef01000_Load);
this.FormClosed += new System.Windows.Forms.FormClosedEventHandler(this.PaMef01000_FormClosed);
this.FormClosing += new System.Windows.Forms.FormClosingEventHandler(this.PaMef01000_FormClosing);
this.mainZone.ResumeLayout(false);
this.formZone.ResumeLayout(false);
this.baseZone.ResumeLayout(false);
this.buttonZone.ResumeLayout(false);
this.buttonZoneShift.ResumeLayout(false);
this.buttonZoneNormal.ResumeLayout(false);
this.ocPanel1.ResumeLayout(false);
this.ocPanel1.PerformLayout();
((System.ComponentModel.ISupportInitialize)(this.OcDataGridViewCassette)).EndInit();
this.ResumeLayout(false);


modified on Monday, June 1, 2009 9:45 PM

QuestionC# TCP Close Socket Question Pin
Serpendiem1-Jun-09 13:43
Serpendiem1-Jun-09 13:43 
AnswerRe: C# TCP Close Socket Question Pin
Luc Pattyn1-Jun-09 14:41
sitebuilderLuc Pattyn1-Jun-09 14:41 
Question[Message Deleted] Pin
Star091-Jun-09 13:08
Star091-Jun-09 13:08 
AnswerRe: Can't Add a Row ( Access DB) Pin
Christian Graus1-Jun-09 13:10
protectorChristian Graus1-Jun-09 13:10 
AnswerRe: [Message Deleted] Pin
Colin Angus Mackay1-Jun-09 13:21
Colin Angus Mackay1-Jun-09 13:21 
QuestionC# TCP Cycle Pin
Serpendiem1-Jun-09 12:42
Serpendiem1-Jun-09 12:42 
AnswerRe: C# TCP Cycle Pin
Jimmanuel1-Jun-09 14:42
Jimmanuel1-Jun-09 14:42 
Questionpda(push down automata) Pin
chavir1-Jun-09 12:00
chavir1-Jun-09 12:00 
AnswerRe: pda(push down automata) Pin
Christian Graus1-Jun-09 12:22
protectorChristian Graus1-Jun-09 12:22 
Questionpda automata Pin
chavir1-Jun-09 11:57
chavir1-Jun-09 11:57 
AnswerRe: pda automata Pin
Pete O'Hanlon1-Jun-09 12:07
mvePete O'Hanlon1-Jun-09 12:07 
GeneralRe: pda automata Pin
chavir1-Jun-09 12:54
chavir1-Jun-09 12:54 
GeneralRe: pda automata Pin
Christian Graus1-Jun-09 12:59
protectorChristian Graus1-Jun-09 12:59 
GeneralRe: pda automata Pin
Pete O'Hanlon1-Jun-09 21:42
mvePete O'Hanlon1-Jun-09 21:42 
GeneralRe: pda automata Pin
Panorama1416-Jan-10 22:11
Panorama1416-Jan-10 22:11 
AnswerRe: pda automata Pin
Christian Graus1-Jun-09 12:23
protectorChristian Graus1-Jun-09 12:23 
QuestionCreating a Panel from with in a class Pin
Gary Strunk1-Jun-09 11:51
Gary Strunk1-Jun-09 11:51 

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.