Click here to Skip to main content
15,894,010 members
Home / Discussions / C#
   

C#

 
AnswerRe: How to get menubar in Grey Color using C#? Pin
Paul Conrad10-May-06 15:38
professionalPaul Conrad10-May-06 15:38 
GeneralRe: How to get menubar in Grey Color using C#? Pin
irumamir10-May-06 15:44
irumamir10-May-06 15:44 
GeneralRe: How to get menubar in Grey Color using C#? Pin
Paul Conrad10-May-06 17:14
professionalPaul Conrad10-May-06 17:14 
GeneralRe: How to get menubar in Grey Color using C#? Pin
irumamir10-May-06 18:21
irumamir10-May-06 18:21 
GeneralRe: How to get menubar in Grey Color using C#? Pin
Paul Conrad10-May-06 19:29
professionalPaul Conrad10-May-06 19:29 
QuestionAutomated login Pin
indimu10-May-06 10:38
indimu10-May-06 10:38 
Questionhow add a [property] as dialogbox Pin
Susuko10-May-06 10:36
Susuko10-May-06 10:36 
AnswerRe: how add a [property] as dialogbox Pin
Office Lineman10-May-06 11:48
Office Lineman10-May-06 11:48 
Use a filtered UI Type Editor:
...
  
// Reference: System.Design.dll
using System.Drawing.Design;
using System.Windows.Forms.Design;
  
...
  
internal class MyFileNameEditor : FileNameEditor
{
  protected override void InitializeDialog(OpenFileDialog openFileDialog)
  {
    base.InitializeDialog (openFileDialog);
    openFileDialog.Filter = "JPEG Files (*.jpg)|*.jpg|All Files (*.*)|*.*";
  }
}
  
...
  
[EditorAttribute(typeof(MyFileNameEditor), typeof(UITypeEditor))]
public string PictureBoxBackgroundImage
{
  get { return m_bgImagePath; }
  set
  {
    m_bgImagePath = value;
    Image bgImage = Image.FromFile(m_bgImagePath);
    // should do some Image creation error checking here
    this.thePictureBox.BackgroundImage = bgImage;
  }
}


--
I've killed again, haven't I?
GeneralRe: how add a [property] as dialogbox Pin
Susuko12-May-06 11:38
Susuko12-May-06 11:38 
Questionagain:Speech sdk 5.1 Pin
TheEagle10-May-06 10:03
TheEagle10-May-06 10:03 
QuestionPainting and saving a PictureBox Pin
anderslundsgard10-May-06 9:06
anderslundsgard10-May-06 9:06 
AnswerRe: Painting and saving a PictureBox Pin
Josh Smith10-May-06 9:56
Josh Smith10-May-06 9:56 
QuestionImport design patterns in C# solutions Pin
kumar.bs10-May-06 8:56
kumar.bs10-May-06 8:56 
AnswerRe: Import design patterns in C# solutions Pin
led mike10-May-06 17:33
led mike10-May-06 17:33 
GeneralRe: Import design patterns in C# solutions Pin
kumar.bs10-May-06 17:56
kumar.bs10-May-06 17:56 
GeneralRe: Import design patterns in C# solutions Pin
led mike10-May-06 18:13
led mike10-May-06 18:13 
GeneralRe: Import design patterns in C# solutions Pin
kumar.bs10-May-06 18:18
kumar.bs10-May-06 18:18 
GeneralRe: Import design patterns in C# solutions Pin
led mike10-May-06 18:49
led mike10-May-06 18:49 
Questionhow does draw inside a textbox? Pin
Susuko10-May-06 8:44
Susuko10-May-06 8:44 
AnswerRe: how does draw inside a textbox? Pin
alexey N10-May-06 17:42
alexey N10-May-06 17:42 
GeneralRe: how does draw inside a textbox? Pin
Sasuko10-May-06 22:58
Sasuko10-May-06 22:58 
GeneralRe: how does draw inside a textbox? Pin
alexey N10-May-06 23:56
alexey N10-May-06 23:56 
QuestionListView scrollbars always required to be visible Pin
desperate for listview solution10-May-06 8:22
desperate for listview solution10-May-06 8:22 
QuestionUsing .vb files in a C# project. Pin
Joe Isenhour10-May-06 7:56
Joe Isenhour10-May-06 7:56 
AnswerRe: Using .vb files in a C# project. Pin
Wjousts10-May-06 8:16
Wjousts10-May-06 8:16 

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.