Click here to Skip to main content
15,914,160 members
Home / Discussions / C#
   

C#

 
QuestionDataGridView Binding.(Takes along time to load) Pin
Said Ali Jalali12-Sep-09 2:47
Said Ali Jalali12-Sep-09 2:47 
AnswerRe: DataGridView Binding.(Takes along time to load) Pin
Henry Minute12-Sep-09 3:35
Henry Minute12-Sep-09 3:35 
QuestionUpdateProgress Pin
4anusha412-Sep-09 1:02
4anusha412-Sep-09 1:02 
AnswerRe: UpdateProgress Pin
Henry Minute12-Sep-09 1:53
Henry Minute12-Sep-09 1:53 
Questioncheckedlistbox in c# Pin
billy dev12-Sep-09 0:35
billy dev12-Sep-09 0:35 
AnswerRe: checkedlistbox in c# Pin
Eddy Vluggen12-Sep-09 1:48
professionalEddy Vluggen12-Sep-09 1:48 
AnswerRe: checkedlistbox in c# Pin
Henry Minute12-Sep-09 1:50
Henry Minute12-Sep-09 1:50 
AnswerRe: checkedlistbox in c# Pin
Alan N12-Sep-09 3:55
Alan N12-Sep-09 3:55 
Hi,
Confusingly the SelectionMode does not refer the number of items that may be checked but the desired effect is possible through the ItemChecked event.

The new item is checked only after the handler returns and so single selection can be achieved by simply removing all existing checks.
private void CheckedListBox_ItemCheck(object sender, ItemCheckEventArgs e) {
  if (e.NewValue == CheckState.Checked) {
    CheckedListBox clb = sender as CheckedListBox;
    if (clb != null) {
      // remove all current checks
      foreach (Int32 index in clb.CheckedIndices) {
        clb.SetItemCheckState(index, CheckState.Unchecked);
      }
    }
  }
}

Alan.
AnswerRe: checkedlistbox in c# Pin
April Fans22-Sep-09 16:14
April Fans22-Sep-09 16:14 
QuestionApplying Security for the Application Pin
vijaylumar12-Sep-09 0:32
vijaylumar12-Sep-09 0:32 
AnswerRe: Applying Security for the Application Pin
Eddy Vluggen12-Sep-09 1:51
professionalEddy Vluggen12-Sep-09 1:51 
QuestionDirection of increasing a LabelText ? Pin
Mohammad Dayyan12-Sep-09 0:10
Mohammad Dayyan12-Sep-09 0:10 
AnswerRe: Direction of increasing a LabelText ? Pin
Manas Bhardwaj12-Sep-09 0:16
professionalManas Bhardwaj12-Sep-09 0:16 
GeneralRe: Direction of increasing a LabelText ? Pin
Mohammad Dayyan12-Sep-09 0:42
Mohammad Dayyan12-Sep-09 0:42 
AnswerRe: Direction of increasing a LabelText ? Pin
OriginalGriff12-Sep-09 1:02
mveOriginalGriff12-Sep-09 1:02 
QuestionWant to develop Email Creater Pin
xodeblack11-Sep-09 23:19
xodeblack11-Sep-09 23:19 
AnswerRe: Want to develop Email Creater Pin
Parwej Ahamad12-Sep-09 0:14
professionalParwej Ahamad12-Sep-09 0:14 
QuestionWant MapInfo files samples Pin
xodeblack11-Sep-09 23:14
xodeblack11-Sep-09 23:14 
AnswerRe: Want MapInfo files samples Pin
riced11-Sep-09 23:34
riced11-Sep-09 23:34 
QuestionNetwork Server Sockets Pin
CRAZYCRICKET22511-Sep-09 22:45
CRAZYCRICKET22511-Sep-09 22:45 
QuestionMailbox name not allowed. The server response was: sorry, that domain isn't in my list of allowed rcpthosts (#5.7.1) Pin
khosnur11-Sep-09 20:48
khosnur11-Sep-09 20:48 
AnswerRe: Mailbox name not allowed. The server response was: sorry, that domain isn't in my list of allowed rcpthosts (#5.7.1) Pin
Christian Graus11-Sep-09 21:06
protectorChristian Graus11-Sep-09 21:06 
QuestionAdobe ActiveX control highlighting Pin
minnie mouse11-Sep-09 16:55
minnie mouse11-Sep-09 16:55 
AnswerRe: Adobe ActiveX control highlighting Pin
April Fans21-Sep-09 21:04
April Fans21-Sep-09 21:04 
QuestionClickOnceDeployment for a console app to be run as a scheduled task... Pin
ToddHileHoffer11-Sep-09 10:10
ToddHileHoffer11-Sep-09 10:10 

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.