Изменил выбор цвета
This commit is contained in:
parent
9e6472cf47
commit
a5dec11857
@ -102,7 +102,7 @@ public partial class FormGunConfig : Form
|
||||
private void Panel_MouseDown(object? sender, MouseEventArgs e)
|
||||
{
|
||||
// TODO реализовать выбор цвета
|
||||
(sender as Control)?.DoDragDrop((sender as Control).BackColor, DragDropEffects.Move | DragDropEffects.Copy);
|
||||
(sender as Control)?.DoDragDrop((sender as Control)?.BackColor ?? Color.Black, DragDropEffects.Move | DragDropEffects.Copy);
|
||||
}
|
||||
/// <summary>
|
||||
/// Передача объекта
|
||||
|
Loading…
Reference in New Issue
Block a user