some more publics
This commit is contained in:
@@ -1,43 +1,49 @@
|
||||
using System.ComponentModel;
|
||||
using System.Diagnostics.CodeAnalysis;
|
||||
using System.Security.Policy;
|
||||
|
||||
namespace Pilz.UI.Dialogs;
|
||||
|
||||
public partial class FlyoutBase : UserControl
|
||||
{
|
||||
private TableLayoutPanel tableLayoutPanel_TitlePanel;
|
||||
private Label label_Title;
|
||||
private TableLayoutPanel tableLayoutPanel_ActionPanel;
|
||||
private Button button_Cancel;
|
||||
private Button button_Accept;
|
||||
protected TableLayoutPanel tableLayoutPanel_TitlePanel;
|
||||
protected Label label_Title;
|
||||
protected TableLayoutPanel tableLayoutPanel_ActionPanel;
|
||||
protected Button button_Cancel;
|
||||
protected Button button_Accept;
|
||||
|
||||
[ReadOnly(true)]
|
||||
public DialogResult Result { get; protected set; }
|
||||
public bool RegisterDialogAccept { get; set; } = true;
|
||||
public bool RegisterDialogCancel { get; set; } = false;
|
||||
|
||||
[DefaultValue(true)]
|
||||
protected bool ActionPanelVisible
|
||||
public bool RegisterDialogAccept { get; set; } = true;
|
||||
|
||||
[DefaultValue(true)]
|
||||
public bool RegisterDialogCancel { get; set; } = true;
|
||||
|
||||
[DefaultValue(true)]
|
||||
public bool ActionPanelVisible
|
||||
{
|
||||
get => tableLayoutPanel_ActionPanel.Visible;
|
||||
set => tableLayoutPanel_ActionPanel.Visible = value;
|
||||
}
|
||||
|
||||
[DefaultValue(true)]
|
||||
protected bool CancelButtonVisible
|
||||
public bool CancelButtonVisible
|
||||
{
|
||||
get => button_Cancel.Visible;
|
||||
set => button_Cancel.Visible = value;
|
||||
}
|
||||
|
||||
[DefaultValue(true)]
|
||||
protected bool CancelButtonEnable
|
||||
public bool CancelButtonEnable
|
||||
{
|
||||
get => button_Cancel.Enabled;
|
||||
set => button_Cancel.Enabled = value;
|
||||
}
|
||||
|
||||
[DefaultValue(true)]
|
||||
protected bool ConfirmButtonEnable
|
||||
public bool ConfirmButtonEnable
|
||||
{
|
||||
get => button_Accept.Enabled;
|
||||
set => button_Accept.Enabled = value;
|
||||
|
||||
Reference in New Issue
Block a user