Пример #1
0
 private void ShowContent(string name)
 {
     this.stackpanel.Children.Clear();
     if (mPipeInfo == null) {
         mPipeInfo = new PipeInfo(name);
     }
     this.stackpanel.Children.Add(mPipeInfo);
 }
Пример #2
0
 private void ShowContent(int id)
 {
     this.stackpanel.Children.Clear();
     if (mPipeInfo == null)
     {
         mPipeInfo = new PipeInfo(id);
     }
     this.stackpanel.Children.Add(mPipeInfo);
 }
Пример #3
0
 private void BaseInfo(object sender, RoutedEventArgs e)         //管道基本数据
 {
     this.stackpanel.Children.Clear();
     if (mPipeInfo == null)
     {
         if (mPipeName != null)
             mPipeInfo = new PipeInfo(mPipeName);
         else
             mPipeInfo = new PipeInfo(mId);
     }
     this.stackpanel.Children.Add(mPipeInfo);
 }