ATMLCommonLibrary.controls.driver.DriverControl.DataToControls C# (CSharp) 메소드

DataToControls() 보호된 메소드

protected DataToControls ( ) : void
리턴 void
        protected virtual void DataToControls()
        {
            if (_driver != null)
            {
                cmbDriverType.SelectedIndex = (int)_driver.ItemElementName;
                var module = _driver.Item as DriverModule;
                var unified = _driver.Item as DriverUnified;
                if (module != null)
                {
                    driverModuleControl.DriverModule = module;
                    driverModuleControl.DriverItemChoiceType = _driver.ItemElementName;
                }
                if (unified != null)
                {
                    driverUnifiedControl.DriverUnified = unified;
                }
            }
        }