diff --git a/ProxySU/TemplateConfiguration.xaml b/ProxySU/TemplateConfiguration.xaml
index ecd90fc..46d9dd1 100644
--- a/ProxySU/TemplateConfiguration.xaml
+++ b/ProxySU/TemplateConfiguration.xaml
@@ -35,34 +35,66 @@
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/ProxySU/TemplateConfiguration.xaml.cs b/ProxySU/TemplateConfiguration.xaml.cs
index 9ad3573..bdf7c90 100644
--- a/ProxySU/TemplateConfiguration.xaml.cs
+++ b/ProxySU/TemplateConfiguration.xaml.cs
@@ -23,10 +23,97 @@ namespace ProxySU
InitializeComponent();
RadioButtonTCP.IsChecked = true;
}
-
+
private void ButtondDecide_Click(object sender, RoutedEventArgs e)
{
+ if (RadioButtonTCP.IsChecked == true)
+ {
+
+ }
+ else if (RadioButtonWebSocketTLS2Web.IsChecked == true)
+ {
+
+ }
+ else if (RadioButtonTCPhttp.IsChecked == true)
+ {
+
+ }
+ else if (RadioButtonMkcpNoCamouflage.IsChecked == true)
+ {
+
+ }
+ else if (RadioButton2mKCP2SRTP.IsChecked == true)
+ {
+
+ }
+ else if (RadioButton2mKCPuTP.IsChecked == true)
+ {
+
+ }
+ else if (RadioButton2mKCP2WechatVideo.IsChecked == true)
+ {
+
+ }
+ else if (RadioButton2mKCP2DTLS.IsChecked == true)
+ {
+
+ }
+ else if (RadioButton2mKCP2WireGuard.IsChecked == true)
+ {
+
+ }
+ else if (RadioButtonHTTP2.IsChecked == true)
+ {
+
+ }
+ else if (RadioButtonTLS.IsChecked == true)
+ {
+
+ }
+ else
+ {
+
+ }
+ }
+
+ private void ButtondCancel_Click(object sender, RoutedEventArgs e) => Close();
+
+ private void RadioButtonTCP_Checked(object sender, RoutedEventArgs e)
+ {
+ TextBlockServerListenPort.Visibility = Visibility.Visible;
+ TextBoxServerListenPort.Visibility = Visibility.Visible;
+ ButtonServerListenPort.Visibility = Visibility.Visible;
+ TextBlockPath.Visibility = Visibility.Collapsed;
+ TextBoxPath.Visibility = Visibility.Collapsed;
+ ButtonPath.Visibility = Visibility.Collapsed;
+ TextBlockDomain.Visibility = Visibility.Collapsed;
+ TextBoxDomain.Visibility = Visibility.Collapsed;
+ ButtonDomain.Visibility = Visibility.Collapsed;
+ Guid uuid = Guid.NewGuid();
+ TextBoxNewUUID.Text = uuid.ToString();
+ }
+
+ private void RadioButtonHTTP2_Checked(object sender, RoutedEventArgs e)
+ {
+ TextBlockServerListenPort.Visibility = Visibility.Visible;
+ TextBoxServerListenPort.Visibility = Visibility.Visible;
+ TextBoxServerListenPort.Text = "443";
+ ButtonServerListenPort.Visibility = Visibility.Visible;
+ TextBlockPath.Visibility = Visibility.Visible;
+ TextBoxPath.Visibility = Visibility.Visible;
+ ButtonPath.Visibility = Visibility.Visible;
+ TextBlockDomain.Visibility = Visibility.Visible;
+ TextBoxDomain.Visibility = Visibility.Visible;
+ ButtonDomain.Visibility = Visibility.Visible;
+ Guid uuid = Guid.NewGuid();
+ TextBoxNewUUID.Text = uuid.ToString();
+ }
+
+ private void ButtonNewUUID_Click(object sender, RoutedEventArgs e)
+ {
+ Guid uuid = Guid.NewGuid();
+ TextBoxNewUUID.Text = uuid.ToString();
}
}
}