Пример #1
0
 /// <summary>
 /// Called when data loaded.
 /// </summary>
 /// <param name="Result">If set to <c>true</c> operation succeeded; Otherwise some errors found.</param>
 public override void OnDataLoaded(bool Result)
 {
     //Step 5.2.: Serialize
     if (Result)
     {
         ParameterControlRef.SetDialog();
         NoteControlRef.SetDialog();
     }
 }
Пример #2
0
        /// <summary>
        /// Set data on dialogs.
        /// </summary>
        public override void OnSetDialogs()
        {
            //Step 4.5.: Extension class
            base.OnSetDialogs();

            NoteControlRef.SetDialog();
            ParameterControlRef.SetDialog();

            Layout.SelectLayout("Parameters");

            if (ExtensionRef != null)
            {
                ExtensionRef.OnSetDialogs();
            }
        }