Exemplo n.º 1
0
        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();
        }
Exemplo n.º 2
0
 protected override void OnBeforeLoad()
 {
     phoneLayout    = PhoneLayout.Instance;
     phoneConnector = PhoneConnector.Instance;
 }