mirror of
https://github.com/bloxstraplabs/bloxstrap.git
synced 2025-04-23 02:51:26 -07:00
- Fixed channel arg not being set when launching game client - Fixed preferences tooltip hiding too early - Fixed last deploy info not showing for the right channel - Last deploy info now shows deploy timestamp according to system timezone
60 lines
1.6 KiB
C#
60 lines
1.6 KiB
C#
using Bloxstrap.Enums;
|
|
|
|
namespace Bloxstrap.Dialogs.BootstrapperStyles
|
|
{
|
|
// basically just the modern dialog
|
|
|
|
public partial class ProgressDialogDark : BootstrapperStyleForm
|
|
{
|
|
protected override string _message
|
|
{
|
|
get => labelMessage.Text;
|
|
set => labelMessage.Text = value;
|
|
}
|
|
|
|
protected override ProgressBarStyle _progressStyle
|
|
{
|
|
get => ProgressBar.Style;
|
|
set => ProgressBar.Style = value;
|
|
}
|
|
|
|
protected override int _progressValue
|
|
{
|
|
get => ProgressBar.Value;
|
|
set => ProgressBar.Value = value;
|
|
}
|
|
|
|
protected override bool _cancelEnabled
|
|
{
|
|
get => this.buttonCancel.Enabled;
|
|
set => this.buttonCancel.Enabled = this.buttonCancel.Visible = value;
|
|
}
|
|
|
|
public ProgressDialogDark(Bootstrapper? bootstrapper = null)
|
|
{
|
|
InitializeComponent();
|
|
|
|
Bootstrapper = bootstrapper;
|
|
|
|
this.IconBox.BackgroundImage = Program.Settings.BootstrapperIcon.GetBitmap();
|
|
|
|
SetupDialog();
|
|
}
|
|
|
|
private void ButtonCancel_MouseEnter(object sender, EventArgs e)
|
|
{
|
|
this.buttonCancel.Image = Properties.Resources.DarkCancelButtonHover;
|
|
}
|
|
|
|
private void ButtonCancel_MouseLeave(object sender, EventArgs e)
|
|
{
|
|
this.buttonCancel.Image = Properties.Resources.DarkCancelButton;
|
|
}
|
|
|
|
private void ProgressDialogDark_Load(object sender, EventArgs e)
|
|
{
|
|
this.Activate();
|
|
}
|
|
}
|
|
}
|