https://bugzilla.novell.com/show_bug.cgi?id=457164
User [EMAIL PROTECTED] added comment https://bugzilla.novell.com/show_bug.cgi?id=457164#c4 --- Comment #4 from suneetha_g Gunisetti <[EMAIL PROTECTED]> 2008-12-08 05:27:58 MST --- Please find the attached functionality from SelectedIndexChanged eveny handler. if (cbGPOStatus.SelectedIndex != nFlags) { if (cbGPOStatus.SelectedIndex == -1) { return; } try { int idx = cbGPOStatus.SelectedIndex; string sMsg = "Do you want to change the status for this GPO to " + cbGPOStatus.SelectedItem.ToString(); DialogResult dlg = MessageBox.Show(this, sMsg, CommonResources.GetString("Caption_Console"), MessageBoxButtons.OKCancel, MessageBoxIcon.Exclamation); if (dlg == DialogResult.OK) { int ret = Modify(cbGPOStatus.SelectedIndex); //Is a user definded function to read selected index and modify the data. if (ret == 0) { container.ShowMessage("GPO Status successfull"); } else { sMsg = ErrorCodes.LDAPString(ret); container.ShowError(sMsg); } } else { cbGPOStatus.Text = sGPOStatus; } } catch (Exception ex) { Logger.LogException("cbGPOStatus_SelectedIndexChanged", ex); } } -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the QA contact for the bug. You are the assignee for the bug. _______________________________________________ mono-bugs maillist - [email protected] http://lists.ximian.com/mailman/listinfo/mono-bugs
