Ask questions about creating Graphical User Interfaces (GUI) in PowerShell and using WinForms controls.
Forum rules Do not post any licensing information in this forum.
Any code longer than three lines should be added as code using the 'Select Code' dropdown menu or attached as a file.
This topic is 8 years and 5 months old and has exceeded the time allowed for comments. Please begin a new topic or use the search feature to find a similar but newer topic.
#
# place to enable the button in the cell after Job is finished??
# $datagridview1.Rows[$_.RowIndex].Cells[1].Control = $true
#
}
}
But if I want to disable the Button in the cell until the job is finished where it has to be placed?
If the Place is correct, the "method" Control which is used in many examples doesn't exist.
Do you have any hint?
Set the cell to ReadOnly and, n a click, test the readonly property. If it is $true then ignore the click. Set the cell to false when the job completes.
This topic is 8 years and 5 months old and has exceeded the time allowed for comments. Please begin a new topic or use the search feature to find a similar but newer topic.