private void PayloadClick(object sender, RoutedEventArgs e) { MainTool payloadTools = new MainTool(this); payloadTools.Show(); this.Hide(); }