добавляет отключение кнопки Администрирование
This commit is contained in:
parent
a8ea3fe279
commit
5f3aa8fcd0
@ -15,6 +15,8 @@ namespace AwesomeEmailExtractor
|
|||||||
public MainForm()
|
public MainForm()
|
||||||
{
|
{
|
||||||
InitializeComponent();
|
InitializeComponent();
|
||||||
|
|
||||||
|
administrationToolStripMenuItem.Enabled = Globals.currentUser.Role == UserRoles.ADMIN;
|
||||||
}
|
}
|
||||||
|
|
||||||
private void executeButton_Click(object sender, EventArgs e)
|
private void executeButton_Click(object sender, EventArgs e)
|
||||||
|
Reference in New Issue
Block a user