Exemple #1
0
        //创建Grid行列并追加一个控件
        public void CreateUsbInfoControl(WrapPanel panelPage, UsbInfo info)
        {
            this.info = info;

            MonitorUnitCtrl mUnit = new MonitorUnitCtrl(info);
            win.Grid_Container.RegisterName(mUnit.Name, mUnit);
            panelPage.Children.Add(mUnit);
        }
 public MonitorUnitCtrlProcess(MonitorUnitCtrl lordCtrl)
 {
     this.lordCtrl = lordCtrl;
 }