public AddFixturePopup() : base() { //Establish Border object. Everything will go inside the border. Border brd = new Border(); brd.BorderThickness = new System.Windows.Thickness(1); AddFixturePopupControl ctrl = new AddFixturePopupControl(); brd.Child = ctrl; this.Child = brd; this.CancelAddFixtureClick += new RoutedEventHandler(AddFixturePopup_CancelAddFixtureClick); }
public AddFixturePopup() : base() { //Establish Border object. Everything will go inside the border. Border brd = new Border(); brd.BorderThickness = new System.Windows.Thickness(1); AddFixturePopupControl ctrl = new AddFixturePopupControl(); brd.Child = ctrl; this.Child = brd; this.CancelAddFixtureClick += new RoutedEventHandler(AddFixturePopup_CancelAddFixtureClick); }