private void AddeNB(object sender, EventArgs e) { Log.Debug("添加基站"); Log.Info("添加基站"); Log.Warn("添加基站"); AddNodeB.NewInstance(this).Closed += AddNB_Closed; AddNodeB.NewInstance(this).ShowDialog(); }
/// <summary> /// 添加基站按钮事件; /// </summary> /// <param name="sender"></param> /// <param name="e"></param> private void AddNodeB_Click(object sender, RoutedEventArgs e) { AddNodeB.NewInstance(this).Closed += AddNB_Closed; AddNodeB.NewInstance(this).ShowDialog(); }