ot집계표에 %추가

This commit is contained in:
ChiKyun Kim
2025-07-30 11:33:17 +09:00
parent c0eb33f60a
commit 943fdb2036
14 changed files with 2033 additions and 1011 deletions

View File

@@ -1,16 +1,17 @@
using Microsoft.Owin.Hosting;
using FBS0000;
using FCOMMON;
using Microsoft.Owin.Hosting;
using Project.Dialog;
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;
using System.ServiceModel;
using System.Text;
using System.Web.Services.Description;
using FCOMMON;
using FBS0000;
using System.Windows.Forms;
namespace Project
{
@@ -103,7 +104,7 @@ namespace Project
{
EnsureVisibleAndUsableSize();
this.Text = Application.ProductName + " v" + Application.ProductVersion;
// 실행환경 체크는 fWarning에서 이미 완료됨
setToolbar();
@@ -161,7 +162,7 @@ namespace Project
System.Threading.Thread.Sleep(500); // 1초에서 0.5초로 단축
Application.DoEvents();
}
Console.WriteLine($"WebView2 초기화 상태: {Pub.InitWebView}");
Func_Login();
@@ -227,7 +228,7 @@ namespace Project
//220421
FCOMMON.info.Disable_8hourover = Pub.setting.Disable8HourOver;
if ( FCOMMON.info.Login.level >= 10) btDev.Visible = true;
if (FCOMMON.info.Login.level >= 10) btDev.Visible = true;
sbLogin.Text = string.Format("[{0}] ({1}-{2} T:{3}) - ({5}){4}",
FCOMMON.info.Login.title,
@@ -370,7 +371,7 @@ namespace Project
//if (this.webok && Pub.InitWebView == 1 && System.Diagnostics.Debugger.IsAttached)
// AddForm(formkey, new Dialog.fJobReport());
//else
AddForm(formkey, new FPJ0000.fJobReport());
AddForm(formkey, new FPJ0000.fJobReport());
}
@@ -467,7 +468,7 @@ namespace Project
var f = new FCM0000.fCode();
f.ShowDialog();
}
}
@@ -1453,11 +1454,16 @@ namespace Project
}
Dialog.fDashboard fdashboard = null;
void Menu_Dashboard()
{
string formkey = "DASHBOARD";
if (!ShowForm(formkey))
AddForm(formkey, new Dialog.fDashboard());
{
if (fdashboard == null || fdashboard.IsDisposed)
fdashboard = new Dialog.fDashboard();
AddForm(formkey, fdashboard);
}
}
private void ToolStripMenuItem_Click(object sender, EventArgs e)
@@ -1513,5 +1519,17 @@ namespace Project
f.ShowDialog();
}
private void tabControl1_SelectedIndexChanged(object sender, EventArgs e)
{
if(this.tabControl1.SelectedIndex == 0)
{
if (fdashboard != null)
{
fdashboard.RefreshView();
Console.WriteLine( "view update");
}
}
}
}
}