make all private flyout methods protected virtual
This commit is contained in:
@@ -76,18 +76,18 @@ public partial class FlyoutBase : UserControl
|
||||
return true;
|
||||
}
|
||||
|
||||
private void SetShowTitlePanel()
|
||||
protected virtual void SetShowTitlePanel()
|
||||
{
|
||||
tableLayoutPanel_TitlePanel.Visible = !string.IsNullOrWhiteSpace(label_Title.Text);
|
||||
}
|
||||
|
||||
private void Button_Accept_Click(object sender, System.EventArgs e)
|
||||
protected virtual void Button_Accept_Click(object sender, System.EventArgs e)
|
||||
{
|
||||
if (ValidateOK())
|
||||
Close(DialogResult.OK);
|
||||
}
|
||||
|
||||
private void Button_Cancel_Click(object sender, System.EventArgs e)
|
||||
protected virtual void Button_Cancel_Click(object sender, System.EventArgs e)
|
||||
{
|
||||
Close(DialogResult.Cancel);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user