| 1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768 |
- using System;
- using System.Collections.Generic;
- using System.ComponentModel;
- using System.Drawing;
- using System.Data;
- using System.Linq;
- using System.Text;
- using System.Windows.Forms;
- using DevExpress.XtraEditors;
- namespace UAS_DeviceMonitor.CustomerControl.PictureEditWithText
- {
- public partial class PictureEditWithText : XtraUserControl
- {
- public PictureEdit Picedit
- {
- get
- {
- return UserPictureEdit;
- }
- set
- {
- UserPictureEdit = value;
- }
- }
- public override string Text
- {
- get
- {
- return UserLabelControl.Text;
- }
- set
- {
- UserLabelControl.Text = value;
- }
- }
- public string DeviceName
- {
- get
- {
- return UserLabelControl1.Text;
- }
- set
- {
- UserLabelControl1.Text = value;
- }
- }
- private string deviceName;
- public PictureEditWithText()
- {
- InitializeComponent();
- }
- private void PictureEditWithText_Load(object sender, EventArgs e)
- {
- UserLabelControl.Location = new Point((Width - UserLabelControl.Width) / 2, UserLabelControl.Location.Y);
- UserLabelControl1.Location = new Point((Width - UserLabelControl.Width) / 2, UserLabelControl1.Location.Y);
- }
- }
- }
|