button 按钮单击事件
private void get(object sender, RoutedEventArgs e)
{
Token.Text = "";
if (Token.Text == "")
{
//在一次触发 get单击事件
}
}
注释里面的代码怎么写
------解决方案--------------------private void get(object sender, RoutedEventArgs e)
{
Token.Text = "";
if (Token.Text == "")
{
get(sender,e)
}
}
------解决方案--------------------private void get(object sender, RoutedEventArgs e)
{
get1();
}
private void get1()
{
Token.Text = "";
if (Token.Text == "")
{
get1();
}
}