protected override void DrawContents(object canvas) { if (m_imageObject != null) { m_imageObject.Draw(canvas); } base.DrawContents(canvas); }
public override void Draw() { if (isBlock) { onBlock.Draw(); } else { offBlock.Draw(); } }
protected override void DrawContents(object canvas) { base.DrawContents(canvas); if (m_label != null) { m_label.Draw(canvas); } if (IsFocused) { m_cursor.Draw(canvas); } }
protected override void DrawContents(object canvas) { base.DrawContents(canvas); if (m_labels != null) { foreach (LabelObject label in m_labels) { label.Draw(canvas); } } if (IsFocused) { m_cursor.Draw(canvas); } }