Displaying 1 result from an estimated 1 matches for "messageboxbutton".
Did you mean:
messageboxbuttons
2012 Jan 24
1
[Problem] C# virDomainShutdown
...DomainIDs)
{
IntPtr domainPtr = Domain.LookupByID(conn, runningDomainID);
if (domainPtr == IntPtr.Zero)
{
MessageBox.Show("Unable to lookup domains by id", "Lookup domain failed", MessageBoxButtons.OK,
MessageBoxIcon.Error);
}
string domainName = Domain.GetName(domainPtr);
Domain.Free(domainPtr);
if (string.IsNullOrEmpty(domainName))
{...