업무일지 다른사람거 읽기전용으로 보이게 함, 메인 목록의 하단에미리보기 창은 숨김 처리
This commit is contained in:
@@ -14,10 +14,12 @@ namespace FPJ0000.JobReport_
|
||||
dsPRJ.JobReportRow dr;
|
||||
Boolean copyMOde = false;
|
||||
Boolean bInit = false;
|
||||
public fJobReport_Add(dsPRJ.JobReportRow dr_, Boolean copy = false)
|
||||
bool ReadMode = false;
|
||||
public fJobReport_Add(dsPRJ.JobReportRow dr_, Boolean copy = false, Boolean read = false)
|
||||
{
|
||||
InitializeComponent();
|
||||
dr = dr_;
|
||||
ReadMode = read;
|
||||
this.KeyPreview = true;
|
||||
this.StartPosition = FormStartPosition.CenterScreen;
|
||||
this.KeyDown += (s1, e1) =>
|
||||
@@ -197,7 +199,12 @@ namespace FPJ0000.JobReport_
|
||||
|
||||
//ed.DisplayEditForm(this.panel1);
|
||||
//ed.AllowRtf = true;
|
||||
|
||||
if(ReadMode)
|
||||
{
|
||||
panel1.Enabled = false;
|
||||
this.Text += "(읽기전용)";
|
||||
|
||||
}
|
||||
|
||||
|
||||
bInit = true;
|
||||
|
||||
Reference in New Issue
Block a user