public TP_ButtonSetPropertyEdit(TP_ButtonSetProperty _BaseWindow,OpType mopType)
        {
            InitializeComponent();
            _OpType = mopType;

            _ContentX = _BaseWindow;

            InitProperty();
            if (mopType == OpType.Alert)
            {
                OpItem = (ScreenAddShowName)_ContentX.gvList.SelectedItem;
                txtShowName.Text = OpItem.ScreenShowName;
                cbScreenList.SelectedItem = OpItem.Screen;
            }
        }
Exemple #2
0
 private void PropertyMenuItem_Click(object sender, RoutedEventArgs e)
 {
     var tpp = new TP_ButtonSetProperty(this);
     tpp.Show();
 }
Exemple #3
0
 private void PropertyMenuItemSet_Click(object sender, RoutedEventArgs e)
 {
     tppSet = new TP_ButtonSetProperty(this);
     tppSet.Owner = Common1.MainWin;
     tppSet.Show();
 }