예제 #1
0
        public override void OnPageLoad(object sender, EventArgs e)
        {
            base.OnPageLoad(sender, e);


            this.cmbType.ItemsSource   = EnumConverter.GetKeyValuePairs <ReasonCodeType>();
            this.cmbType.SelectedIndex = 0;

            m_facade = new ReasonCodeFacade(this);

            BindDataFromDB();
        }
예제 #2
0
        public UCReasonCodeEdit(int sysNo, int?parentSysNo, string desc, string path, bool isUpdate)
        {
            InitializeComponent();
            this.sysNo       = sysNo;
            this.parentSysNo = parentSysNo;
            this.desc        = desc;
            this.isUpdate    = isUpdate;
            this.path        = path;

            m_facade = new ReasonCodeFacade();

            this.Loaded += new RoutedEventHandler(UCReasonCodeEdit_Load);
        }