public PatchDialog()
 {
     InitializeComponent();
     this.StyleManager = MainPanel.GetStyle();
 }