Exemple #1
0
        /// <summary>
        /// The initializer of the form.
        /// </summary>
        /// <param name="command"></param>
        public CmdReadJsonForm(CmdReadJson command)
        {
            InitializeComponent();

            ///Disable the start button untile all info is acquired.
            StartModel.Enabled = false;

            ///Data prepare.
            originCommand = command;
            CurrentHouse  = null;
        }
Exemple #2
0
 public void SetInitialProgress(CmdReadJson currentCmd)
 {
     totalWorkLoad   = currentCmd.TotalWorkLoad;
     currentWorkLoad = 0;
 }