• Y
  • All List
  • Feedback
    • This Project
    • All Projects
My profile Account settings Log out
  • Project
  • Groups
Loading...
  • Log in
  • Sign up
sbkim / 한국하우톤_현황판 star
  • Project homeH
  • CodeC
  • IssueI
  • Pull requestP
  • Review R
  • MilestoneM
  • BoardB
  • Files
  • Commit
  • Branches
한국하우톤_현황판KHPANELucTempControl.cs
Download as .zip file
File name
Commit message
Commit date
KHPANEL
초기 커밋.
2022-06-23
.gitattributes
.gitignore 및 .gitattributes를 추가하세요.
2022-06-23
.gitignore
.gitignore 및 .gitattributes를 추가하세요.
2022-06-23
KHPANEL.sln
초기 커밋.
2022-06-23
File name
Commit message
Commit date
Properties
초기 커밋.
2022-06-23
Resources
초기 커밋.
2022-06-23
App.config
초기 커밋.
2022-06-23
CircularProgressBar.cs
초기 커밋.
2022-06-23
DBConnectionSingleton.cs
초기 커밋.
2022-06-23
FormHTPanel_1.Designer.cs
초기 커밋.
2022-06-23
FormHTPanel_1.cs
초기 커밋.
2022-06-23
FormHTPanel_1.resx
초기 커밋.
2022-06-23
Form_Main.Designer.cs
초기 커밋.
2022-06-23
Form_Main.cs
초기 커밋.
2022-06-23
Form_Main.resx
초기 커밋.
2022-06-23
KHPANEL.csproj
초기 커밋.
2022-06-23
Program.cs
초기 커밋.
2022-06-23
ucScreen.Designer.cs
초기 커밋.
2022-06-23
ucScreen.cs
초기 커밋.
2022-06-23
ucScreen.resx
초기 커밋.
2022-06-23
ucTempControl.Designer.cs
초기 커밋.
2022-06-23
ucTempControl.cs
초기 커밋.
2022-06-23
ucTempControl.resx
초기 커밋.
2022-06-23
sbkim 2022-06-23 2c41f58 초기 커밋. UNIX
Raw Open in browser Change history
using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Windows.Forms; namespace KHPANEL { public partial class ucTempControl : UserControl { int m_State = 0; Image m_Stop = Properties.Resources.h_007; Image m_Run = Properties.Resources.h_001; Image m_Warning = Properties.Resources.h_003; Image m_Error = Properties.Resources.h_005; public ucTempControl() { InitializeComponent(); } [Category("설정"), Description("표시 텍스트")] public string LabelText { get { return this.label_Title.Text; } set { this.label_Title.Text = value; this.label_Title.SetBounds(this.panel_Title.Width / 2 - this.label_Title.Width / 2, this.panel_Title.Height / 2 - this.label_Title.Height / 2, this.label_Title.Width, this.label_Title.Height); } } [Category("설정"), Description("상태 설정")] public int State { get { return this.m_State; } set { this.m_State = value; if (m_State == 0) { this.BackgroundImage = m_Stop; } else if (m_State == 1) { this.BackgroundImage = m_Run; } else if (m_State == 2) { this.BackgroundImage = m_Warning; } else if (m_State == 3) { this.BackgroundImage = m_Error; } } } [Category("설정"), Description("상태 설정")] public string Time { get { return this.label_Time.Text; } set { this.label_Time.Text = value; } } [Category("설정"), Description("상태 설정")] public string Temp { get { return this.label_Temp.Text; } set { this.label_Temp.Text = value; } } } }

          
        
    
    
Copyright Yona authors & © NAVER Corp. Supported by D2 Program

or
Sign in with github login with Google Sign in with Google
Reset password | Sign up