/// <summary> /// 新建房台 /// </summary> /// <param name="sender"></param> /// <param name="e"></param> /// private void BtAddButton_Click(object sender, RoutedEventArgs e) { W_ButtonAdd WBA = new W_ButtonAdd(null, 2); WBA.ChangC += new ChangeClose(Push); WBA.ChangC -= new ChangeClose(Push); WBA.ShowDialog(); }
/// <summary> /// 那个绿色的加号 /// </summary> /// <param name="sender"></param> /// <param name="e"></param> private void BtAddButton_Click(object sender, RoutedEventArgs e) { W_ButtonAdd w_ButtonAdd = new W_ButtonAdd(null, 1); // w_ButtonAdd.Closed += new EventHandler(w_ButtonAdd.UE_close); w_ButtonAdd.ChangC += new ChangeClose(Push); w_ButtonAdd.ShowDialog(); w_ButtonAdd.ChangC -= new ChangeClose(Push); }