Exemplo n.º 1
0
 private void StatusChange(string update, int progress)
 {
     if (InvokeRequired)
     {
         IceCream.Serialization.StatusUpdateHandler handler = new IceCream.Serialization.StatusUpdateHandler(StatusChange);
         Invoke(handler, update, progress);
     }
     else
     {
         progressBarLoading.Value = progress;
         labelLoadingInfo.Text    = update;
     }
 }
Exemplo n.º 2
0
        private void StatusChange(string update, int progress)
        {
            if (InvokeRequired)
            {
                IceCream.Serialization.StatusUpdateHandler handler = new IceCream.Serialization.StatusUpdateHandler(StatusChange);
                Invoke(handler,update,progress);
            }
            else
            {
                progressBarLoading.Value = progress;
                labelLoadingInfo.Text = update;
            }

        }