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;
            }
        }
Esempio n. 2
0
 private void PropertyMenuItem_Click(object sender, RoutedEventArgs e)
 {
     var tpp = new TP_ButtonSetProperty(this);
     tpp.Show();
 }
Esempio n. 3
0
 private void PropertyMenuItemSet_Click(object sender, RoutedEventArgs e)
 {
     tppSet = new TP_ButtonSetProperty(this);
     tppSet.Owner = Common1.MainWin;
     tppSet.Show();
 }