Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
CODE PROJECT For Those Who Code
  • Home
  • Articles
  • FAQ
Community
D

Darren D

@Darren D
About
Posts
10
Topics
2
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • C# on Linux
    D Darren D

    Not that I completely understand it, but what I think they are doing with this project is creating a Common Language Runtime library for FreeBSD. So in theory your compiled c# code should run on FreeBSD with Rotor installed. FreeBSD is not Linux but it is a free version of Unix that is similar to Linux.

    C# csharp linux question

  • C# on Linux
    D Darren D

    I thought Microsoft was supposed to be working on Linux support. I found this for FreeBSD: http://msdn.microsoft.com/msdnmag/issues/02/07/SharedSourceCLI/ DD

    C# csharp linux question

  • ComboBox Problem
    D Darren D

    Well...I could do this in VB6. Why can't I do it in C#? I am just setting properties on the combobox for everything but saving whatever the user picked from the list. It's not really "codeless." This is just my "View." There will be business rule code in the Model. DD

    C# help tutorial question announcement

  • ComboBox Problem
    D Darren D

    Legend and FollowUpCode are the field names. The list is working fine. I don't seem to be able to bind the property that stores the target of the lookup table. If I bind it then the first item from the list shows up every time I load the form. I can select a value from the list but it never saves. The code I wrote works fine. There should be a way to do this without code I am just not getting it. 'Codeless' programs have less bugs I think. DD

    C# help tutorial question announcement

  • ComboBox Problem
    D Darren D

    Hi, I have a combobox with a dropdownstyle of DropDown. I have my DataSource and DisplayMember set up in the combobox properties like so: DataSource = bindingSourceFollowUpCodes DisplayMember = Legend ValueMember = FollowUpCode I have tried to set the properties to update correctly but I can't figure out how to do it. I have searched all over for an answer. I can do this properly in code. Could someone see if they can figure out what the correct property setting s would be to do this without code? protected override void OnLoad(EventArgs e) { base.OnLoad(e); // Get Groups list CommandGetFollowUpCodes getFollowUpCodes = new CommandGetFollowUpCodes("%"); m_FollowUpCodes = (FollowUpCodeList)m_AppController.ExecuteCommand(getFollowUpCodes); // Bind controls bindingSourceFollowUpCodes.DataSource = m_FollowUpCodes; comboBoxFollowUpCode.SelectedItem = null; GroupItem itmGroup = (GroupItem)bindingSourceDefault.Current; foreach (FollowUpCodeItem itmFollowUpCode in m_FollowUpCodes) { if (itmGroup.FollowUpCode == itmFollowUpCode.FollowUpCode) { comboBoxFollowUpCode.SelectedItem = itmFollowUpCode; } } } private void comboBoxFollowUpCode_SelectedIndexChanged(object sender, EventArgs e) { if (comboBoxFollowUpCode.SelectedItem != null) { GroupItem itmGroup = (GroupItem)bindingSourceDefault.Current; FollowUpCodeItem itmFollowUpCode = (FollowUpCodeItem)comboBoxFollowUpCode.SelectedItem; itmGroup.FollowUpCode = itmFollowUpCode.FollowUpCode; } } Thanks, Darren

    C# help tutorial question announcement

  • DropDownList Problem
    D Darren D

    Hi, I think you just need to set the DisplayMember property. DD

    C# help architecture

  • What's that little ... thingy?
    D Darren D

    Thanks dude! DD

    IT & Infrastructure question

  • What's that little ... thingy?
    D Darren D

    Thanks Pete! Browse button, I couldn't remember that. When I have a browse button inside a textbox, what is that called? Property browsing textbox is a bit too long. Isn't there some sample/example project somewhere that already does this? Thanks, Darren

    IT & Infrastructure question

  • What's that little ... thingy?
    D Darren D

    Hi Dave, Thanks for the reply. Is there an example of how to make a usercontrol that has the button built into a textbox? How about a sample project similar to this? Thanks, Darren

    IT & Infrastructure question

  • What's that little ... thingy?
    D Darren D

    Hi, When you look at the textbox properties of a control there can be a little button with a ... for a caption on it. What is the name of that control and where do I get one? TIA, Darren

    IT & Infrastructure question
  • Login

  • Don't have an account? Register

  • Login or register to search.
  • First post
    Last post
0
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups