Exemplo n.º 1
0
        private async void _clearModuleButton_Click(object sender, EventArgs e)
        {
            try
            {
                await ModuleWritterController.ClearModule(_moduleInformation);

                NeedRefreshAction?.Invoke(_moduleInformation.ModulePosition);
            }
            catch (Exception exception)
            {
                MessageBox.Show("Не удалось очистить модуль");
                NeedRefreshAction?.Invoke(_moduleInformation.ModulePosition);
            }
        }