private void customIconTextEdit1_IconClick(object sender, MouseEventArgs e) { CustomIconTextEdit editor = sender as CustomIconTextEdit; if (editor != null) { this.Text = editor.Name + ".Text = " + editor.Text; } }
private void customIconTextEdit1_Properties_OnIconSelection(object sender, OnIconSelectionEventArgs e) { CustomIconTextEdit editor = sender as CustomIconTextEdit; if (editor != null) { if (editor.Enabled) { if (editor.ContainsFocus) { e.ImageIndex = 0; } else { e.ImageIndex = 1; } } else { e.ImageIndex = 2; } } }