You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

70 lines
1.9 KiB
C#

// <copyright file="WaitForm1.cs" company="PlaceholderCompany">
// Copyright (c) PlaceholderCompany. All rights reserved.
// </copyright>
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Text;
using System.Windows.Forms;
using DevExpress.XtraWaitForm;
namespace PcgDrawR
{
/// <summary>
/// The wait form1.
/// </summary>
public partial class WaitForm1 : WaitForm
{
/// <summary>
/// Initializes a new instance of the <see cref="WaitForm1"/> class.
/// </summary>
public WaitForm1()
{
InitializeComponent();
this.progressPanel1.AutoHeight = true;
this.ShowOnTopMode = ShowFormOnTopMode.AboveAll;
}
#region Overrides
/// <summary>
/// Sets the caption.
/// </summary>
/// <param name="caption">The caption.</param>
public override void SetCaption(string caption)
{
base.SetCaption(caption);
this.progressPanel1.Caption = caption;
}
/// <summary>
/// Sets the description.
/// </summary>
/// <param name="description">The description.</param>
public override void SetDescription(string description)
{
base.SetDescription(description);
this.progressPanel1.Description = description;
}
/// <summary>
/// Processes the command.
/// </summary>
/// <param name="cmd">The cmd.</param>
/// <param name="arg">The arg.</param>
public override void ProcessCommand(Enum cmd, object arg)
{
base.ProcessCommand(cmd, arg);
}
#endregion
/// <summary>
/// The wait form command.
/// </summary>
public enum WaitFormCommand
{
}
}
}