Exemple #1
0
        private void PropertyMenuItem_Click(object sender, RoutedEventArgs e)
        {
            tpp = new SetSingleProperty();

            tpp.Closing += new EventHandler<System.ComponentModel.CancelEventArgs>(tpp_Closing);
            tpp.DeviceID = this.ScreenElement.DeviceID.Value;
            tpp.ChanncelID = this.ScreenElement.ChannelNo.Value;
            tpp.LevelNo = this.ScreenElement.LevelNo.Value;
            tpp.ComputeStr = this.ScreenElement.ComputeStr;
            tpp.Init();
            tpp.Show();
        }
Exemple #2
0
 public void PropertyMenuItem_Click(object sender, RoutedEventArgs e)
 {
     tpp = new SetSingleProperty();
     tpp.Owner = Common1.MainWin;
     tpp.Closing += tpp_Closing;
     tpp.DeviceID = this.ScreenElement.DeviceID.Value;
     tpp.ChanncelID = this.ScreenElement.ChannelNo.Value;
     tpp.LevelNo = this.ScreenElement.LevelNo.Value;
     tpp.ComputeStr = this.ScreenElement.ComputeStr;
     tpp.Init();
     tpp.Show();
 }