Ejemplo n.º 1
0
        /// <summary>
        /// Perform initialization.
        /// </summary>
        public StartJobsButton Initialize()
        {
            Text        = "start all";
            ColorScheme = ButtonColorScheme();

            Clicked += async()
                       => await messageBox
                       .Query("start jobs", "send request to host app?")
                       .OnConfirmedAsync(async() => await jobs.StartAllAsync());

            return(this);
        }