'전체보기' 상태일 때만 그룹헤더의 [Null Balance] 팝업 정보가 표시되도록 변경

This commit is contained in:
shark219-hub
2024-12-09 16:30:30 +09:00
parent 0401f1ddd8
commit ac4448e59e
14 changed files with 1241 additions and 1157 deletions

View File

@@ -1721,12 +1721,17 @@ namespace vmsnet.HMI
= 0;
= 0;
}
if (grp.Showinfo) infogrp = grp;
else DrawGroup(g, grp, new Point(0, 0), new SizeF(WINDOW.ITEMWIDTH, WINDOW.ITEMHEIGHT), WindowRect, , , false, visible);
//else
//{
DrawGroup(g, grp, new Point(0, 0), new SizeF(WINDOW.ITEMWIDTH, WINDOW.ITEMHEIGHT), WindowRect, , , false, visible);
//}
idx += 1;
}
if (infogrp != null)
DrawGroup(g, infogrp, new Point(0, 0), new SizeF(WINDOW.ITEMWIDTH, WINDOW.ITEMHEIGHT), WindowRect, infogrp., infogrp., false, true);
if (infogrp != null) DrawGroup(g, infogrp, new Point(0, 0), new SizeF(WINDOW.ITEMWIDTH, WINDOW.ITEMHEIGHT), WindowRect, infogrp., infogrp., false, true);
//end group
//}
@@ -1778,7 +1783,7 @@ namespace vmsnet.HMI
protected override void OnPaint(PaintEventArgs e)
{
base.OnPaint(e);
//this.SuspendLayout();
this.SuspendLayout();
try
{
@@ -2036,26 +2041,29 @@ namespace vmsnet.HMI
else Mouseinfo.Hand = true; //잡은형태
}
//마우스가 현재 그룹헤더에 존재하는지확인 (헤더에 올경우 특정 정보를 표시)
if (!Mouseinfo.Hand && !Mouseinfo.Move)
{
int tpidx = Check_GroupHeader(e, true);
if (tpidx != -1)
if (this.FullScreen)
{ /* 작성자: 이재웅, 작성일: 2024-12-04, 작성내용: '전체보기' 상태일 때만 그룹헤더의 [Null Balance] 팝업 정보가 표시되도록 변경 */
//마우스가 현재 그룹헤더에 존재하는지확인 (헤더에 올경우 특정 정보를 표시)
if (!Mouseinfo.Hand && !Mouseinfo.Move)
{
Mouseinfo.Hand = true;
this.GROUPS[tpidx].Showinfo = true;
//this.showHeaderInfo = true;
int tpidx = Check_GroupHeader(e, true);
if (tpidx != -1)
{
Mouseinfo.Hand = true;
this.GROUPS[tpidx].Showinfo = true;
//this.showHeaderInfo = true;
}
}
}
//마우스가 현재 그룹에 존재하는지?
if (!Mouseinfo.Hand && !Mouseinfo.Move)
{
int tpidx = Check_Group(e);
if (tpidx != -1)
//마우스가 현재 그룹에 존재하는지?
if (!Mouseinfo.Hand && !Mouseinfo.Move)
{
Mouseinfo.Hand = true;
int tpidx = Check_Group(e);
if (tpidx != -1)
{
Mouseinfo.Hand = true;
}
}
}