コード例 #1
0
        /// <summary>
        /// Perform initialization.
        /// </summary>
        public StopJobsButton Initialize()
        {
            Text        = "stop all";
            ColorScheme = ButtonColorScheme();

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

            return(this);
        }