This commit is contained in:
parent
f9d3af6941
commit
bc923f77a0
@ -51,7 +51,7 @@ namespace VEPROMS
|
||||
if (fld.type.ToLower() == "text")
|
||||
{
|
||||
StepRTB tb = new StepRTB();
|
||||
tb.Font = new Font("Arial", tb.Font.Size);
|
||||
tb.Font = tb.FormatFont = new Font("Arial", 8);
|
||||
string mystr = tb.FontTable;
|
||||
_DicStepRtb.Add(fld.name, tb);
|
||||
tb.MyItemInfo = pi as ItemInfo;
|
||||
|
@ -41,10 +41,12 @@ namespace VEPROMS
|
||||
//this.Text = string.Format("{0} {1} Properties", procedureConfig.Number, procedureConfig.Title);
|
||||
ItemInfo itmInfo = ItemInfo.Get(_ProcedureConfig.MyProcedure.ItemID);
|
||||
this.Text = string.Format("{0} {1} Properties", itmInfo.DisplayNumber, itmInfo.DisplayText);
|
||||
ppProcTitleStpRTB.Font = ppProcTitleStpRTB.FormatFont = new System.Drawing.Font("Microsoft Sans Serif", 10F);
|
||||
ppProcTitleStpRTB.FieldToEdit = E_FieldToEdit.Text;
|
||||
ppProcTitleStpRTB.BorderStyle = BorderStyle.Fixed3D;
|
||||
ppProcTitleStpRTB.MyItemInfo = itmInfo;
|
||||
ppProcTitleStpRTB.RefreshDisplay(true);
|
||||
ppProcNumStpRTB.Font = ppProcNumStpRTB.FormatFont = new System.Drawing.Font("Microsoft Sans Serif", 10F);
|
||||
ppProcNumStpRTB.FieldToEdit = E_FieldToEdit.Number;
|
||||
ppProcNumStpRTB.BorderStyle = BorderStyle.Fixed3D;
|
||||
ppProcNumStpRTB.MyItemInfo = itmInfo;
|
||||
|
Loading…
x
Reference in New Issue
Block a user