...
This commit is contained in:
@@ -9,12 +9,14 @@ namespace FPJ0000
|
||||
public partial class fProjectData : FCOMMON.fBase
|
||||
{
|
||||
dsPRJ.ProjectsRow dr = null;
|
||||
public fProjectData(dsPRJ.ProjectsRow pidx_)
|
||||
bool EditMode = false;
|
||||
public fProjectData(dsPRJ.ProjectsRow pidx_,bool editmode_=true)
|
||||
{
|
||||
InitializeComponent();
|
||||
this.UseFormSetting = false;
|
||||
this.dr = pidx_;
|
||||
this.dsPRJ.ProjectsHistory.TableNewRow += ProjectsHistory_TableNewRow;
|
||||
this.EditMode = editmode_;
|
||||
}
|
||||
|
||||
void ProjectsHistory_TableNewRow(object sender, DataTableNewRowEventArgs e)
|
||||
@@ -152,6 +154,7 @@ namespace FPJ0000
|
||||
btMailAddr.Enabled = btPart.Enabled;
|
||||
btPath.Enabled = btPart.Enabled;
|
||||
btSendMail.Enabled = btPart.Enabled;
|
||||
|
||||
|
||||
//일반사용자의경우에는 상태를 변경하지 못한다.
|
||||
int curLevel = Math.Max(FCOMMON.info.Login.level, FCOMMON.DBM.getAuth(FCOMMON.DBM.eAuthType.project));
|
||||
@@ -164,6 +167,8 @@ namespace FPJ0000
|
||||
tbPath.ReadOnly = true;
|
||||
}
|
||||
|
||||
btSave.Enabled = EditMode;
|
||||
|
||||
}
|
||||
void UpdateUserList()
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user