Esempio n. 1
0
 /// <summary>
 /// Create the progress dialog.
 /// </summary>
 public ProgressDialog()
 {
     mException            = null;
     mOperation            = null;
     mOperation_Cancelable = null;
     m_IsCancelled         = false; //@singleSection
     InitializeComponent();
     helpProvider1.HelpNamespace = Localizer.Message("CHMhelp_file_name");
     helpProvider1.SetHelpNavigator(this, HelpNavigator.Topic);
     helpProvider1.SetHelpKeyword(this, "HTML Files\\Introducing Obi\\Introducing Obi.htm");
 }
Esempio n. 2
0
 /// <summary>
 /// Create a progress dialog with a custom title and operation.
 /// </summary>
 public ProgressDialog(string title, TimeTakingOperation operation, Settings settings)
     : this()
 {
     mOperation          = operation;
     Text                = title;
     this.Size           = new Size(this.Width, 94);
     m_BtnCancel.Visible = false;
     if (settings.ObiFont != this.Font.Name)
     {
         this.Font = new Font(settings.ObiFont, this.Font.Size, FontStyle.Regular);//@fontconfig
     }
 }