public TreeStructureControl(ContentControl contentControl, AddressControl addressControl) { InitializeComponent(); InitializeTree(); this.contentControl = contentControl; this.addressControl = addressControl; }
public MainWindow() { InitializeComponent(); addressControl = new AddressControl(); contentControl = new ContentControl(addressControl); treeStructureControl = new TreeStructureControl(contentControl, addressControl); InitializeView(); }
public ContentControl(AddressControl addressControl) { InitializeComponent(); this.addressControl = addressControl; }