public HitbaseComboBox(MainCDUserControl dlg)
            : base(dlg)
        {
            comboBox = new MyComboBox(this);

            comboBox.IsEditable        = false;
            comboBox.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(comboBox_SelectionChanged);
        }
Beispiel #2
0
        public HitbaseControl(MainCDUserControl dlg)
        {
            hitbaseMainWindowControl = dlg;

            //TODO_WPF!!!!!!!!!!!!!bandControl = new SelectionBandControl(this);
            //TODO_WPF!!!!!!!!!!!!!bandControl.Visible = false;
            //TODO_WPF!!!!!!!!!!!!!dlg.Controls.Add(bandControl);
            //TODO_WPF!!!!!!!!!!!!!dlg.Controls.SetChildIndex(bandControl, 0);

            controlID = IDGenerator.GetNextID();
        }
Beispiel #3
0
        public HitbaseTextBox(MainCDUserControl dlg)
            : base(dlg)
        {
            textBox = new MyTextBox(this);

            textBox.TextChanged += new System.Windows.Controls.TextChangedEventHandler(textBox_TextChanged);
            textBox.LostFocus   += new RoutedEventHandler(textBox_LostFocus);
            if (IsInDesignMode)
            {
                textBox.Cursor = Cursors.Arrow;
            }
        }
Beispiel #4
0
 public HitbaseLabel(MainCDUserControl dlg)
     : base(dlg)
 {
     label = new MyLabel(this);
 }
        public HitbaseMainCDControl(MainCDUserControl mainCDUserControl)
        {
            this.canvas = new Canvas();

            this.hitbaseMainWindowControl = mainCDUserControl;
        }
 public HitbaseRating(MainCDUserControl dlg)
     : base(dlg)
 {
     ratingControl = new MyRatingControl(this);
 }
Beispiel #7
0
 public HitbaseButton(MainCDUserControl dlg)
     : base(dlg)
 {
     button        = new MyButton(this);
     button.Click += new System.Windows.RoutedEventHandler(button_Click);
 }
Beispiel #8
0
 public HitbaseCheckBox(MainCDUserControl dlg) : base(dlg)
 {
     checkBox          = new MyCheckBox(this);
     checkBox.Checked += new System.Windows.RoutedEventHandler(checkBox_Checked);
 }
 public HitbaseSeperator(MainCDUserControl dlg)
     : base(dlg)
 {
     seperator = new MySeperator(this);
 }