コード例 #1
0
        public RealtiesAdd(Realties owner)
        {
            InitializeComponent();
            _realties          = owner;
            FormClosing       += RealtiesAdd_FormClosing;
            _realtiesApiClient = new RealtiesApiClient();

            List <RealtyTypeEntity> realtyTypeEntities = _realtiesApiClient.GetTypes();

            type_id.DataSource    = realtyTypeEntities;
            type_id.DisplayMember = "Name";
            type_id.ValueMember   = "Id";
        }
コード例 #2
0
        private void недвижимостьToolStripMenuItem_Click(object sender, EventArgs e)
        {
            Realties f1 = new Realties();

            f1.Show();
        }