Example #1
0
        public static WarnControl genWarmControl(List <WarnVo> lstWarnVo, Form oParent)
        {
            var oWarnControl = new WarnControl(lstWarnVo);

            oParent.Width  = oWarnControl.Width + (WarnControl.SPLIT * 2);
            oParent.Height = oWarnControl.Height + WarnControl.SPLIT;
            oParent.Controls.Clear();
            oParent.Controls.Add(oWarnControl);
            return(oWarnControl);
        }
Example #2
0
 public static void updateView(List <WarnVo> lstWarnVo, WarnControl oWarnControl)
 {
     oWarnControl.updateView(lstWarnVo);
 }