private void _init()
        {
            XCompanyInfo.Visibility = Visibility.Visible;
            XCompanyReg.Visibility = Visibility.Hidden;

            var temp = new PropertyShower("Название: ", _company.Name);
            temp.OnProperyChanged += _OnProperyChanged;
            XCompanyInfoList.Items.Add(temp);

            temp = new PropertyShower("Год основание: ", _company.Founded);
            temp.OnProperyChanged += _OnProperyChanged;
            XCompanyInfoList.Items.Add(temp);

            temp = new PropertyShower("Адрес: ", _company.Name);
            temp.OnProperyChanged += _OnProperyChanged;
            XCompanyInfoList.Items.Add(temp);

            var tem = new PropertyShowerMultiline("Название: ", _company.Name);
            tem.OnProperyChanged += _OnProperyChanged;
            XCompanyInfoList.Items.Add(tem);
        }
Example #2
0
        private void _init()
        {
            XCompanyInfo.Visibility = Visibility.Visible;
            XCompanyReg.Visibility  = Visibility.Hidden;

            var temp = new PropertyShower("Название: ", _company.Name);

            temp.OnProperyChanged += _OnProperyChanged;
            XCompanyInfoList.Items.Add(temp);

            temp = new PropertyShower("Год основание: ", _company.Founded);
            temp.OnProperyChanged += _OnProperyChanged;
            XCompanyInfoList.Items.Add(temp);

            temp = new PropertyShower("Адрес: ", _company.Name);
            temp.OnProperyChanged += _OnProperyChanged;
            XCompanyInfoList.Items.Add(temp);

            var tem = new PropertyShowerMultiline("Название: ", _company.Name);

            tem.OnProperyChanged += _OnProperyChanged;
            XCompanyInfoList.Items.Add(tem);
        }