Example #1
0
        private void SelectColor_Load(object sender, EventArgs e)
        {
            var s = new ShiftButton();

            s.Location = new System.Drawing.Point(211, 48);
            s.Text     = "test";
            Controls.Add(s);
        }
 private void ShiftButton_Uncheck(object sender, RoutedEventArgs e)
 {
     ShiftButton.IsChecked = false;
     SetOperatorRowVisibility();
     ShiftButton.Focus(FocusState.Programmatic);
 }
Example #3
0
 public ShiftButtonView(ShiftButton shiftButton)
 {
     InitializeComponent();
     DataContext = this;
     ShiftButton = shiftButton;
 }