The Service Bus Explorer allows users to connect to a Service Bus namespace and administer messaging entities in an easy manner. The tool provides advanced features like import/export functionality or the ability to test topic, queues, subscriptions, relay services, notification hubs and events hubs.
MIT License
2.02k
stars
588
forks
source link
Second set of changes to enable high DPI in Service Bus Explorer #800
This pull request continues the work started in pull-request: #797 by using TableLayoutPanels across several forms and user controls, to improve the rendering and resizing of the inner controls in a high DPI monitor, so there is no need for custom paint and resize logic in some cases.
Adding a TableLayoutPanel in the TimeSpanControl, to improve the scaling of the controls inside, so they can be displayed better. This also allows the control to have a bigger size in a container, and the controls can expand their size according to the container size.
Updating the HandleTopicControl to use the updated TimeSpanControl.
Changes for the layout, sizes and position of the controls in the HandleTopicControl, HandleSubscriptionControl and HandleRuleControl. The last one has some temporary changes, because the resize of the controls is messy without a TableLayoutPanel.
Adding a TableLayoutPanel to the HandleRuleControl, to improve the scaling and resizing of the child controls.
Changes for showing the grouperCorrelationFilter control in the HandleRuleControl.
Adding a TableLayoutPanel for the grouperCorrelationFilter control in the HandleRuleControl.
Aligning the layout of the rest of Handle controls (HandleConsumerGroup, HandleEventHub, HandleNotificationHub, HandleQueue, HandleRelay, HandleSubscription, HandleTopic), so the groupers and others are in similar positions.
Adding calls to SuspendDrawing, SuspendLayout, ResumeDrawing and ResumeLayout when rendering the groupers in the HandleRuleControl.
Changes for rendering the headers of the list views in the Handle controls, including HandlePartition, ListenerControl, PartitionListenerControl, TestEventHub, TestQueue, TestRelay, TestSubscription, and TestTopic, by calling e.DrawText.
Changes in the HandleNotificationHubControl, to use a table layout panel to improve the layout when rendering the form in a high DPI monitor. Because of this, the HandleNotificationHubControl_Resize method is no longer needed.
Removing the HandleRuleControl_Resize method in the HandleRuleControl.
This pull request continues the work started in pull-request: #797 by using TableLayoutPanels across several forms and user controls, to improve the rendering and resizing of the inner controls in a high DPI monitor, so there is no need for custom paint and resize logic in some cases.