public PhoneFormDesigner(bool isCreatingForFirstTime) { phoneLayout = PhoneLayout.Instance; this.isCreatingForFirstTime = isCreatingForFirstTime; // If we are creating for the first time, then disable the Save button // until they click the pair with phone button. If they have created before // then the save will be enabled. CanSave = beenInConfig; InitializeComponent(); }
protected override void OnBeforeLoad() { phoneLayout = PhoneLayout.Instance; phoneConnector = PhoneConnector.Instance; }