Beispiel #1
0
        private static void CurrentChanged(object sender, ComboBoxCurrentChangedEventArgs args)
        {
            ComboBox cbox      = sender as ComboBox;
            var      combotype = GetComboData(args.Application);

            switch (combotype)
            {
            default:
            case "Brick Pattern":
                SetTB(args.Application, "Width, Height, Grout Width, Grout Height, Steps");
                break;

            case "Herringbone Pattern":
                SetTB(args.Application, "Width, Height");
                break;

            case "Basket Pattern":
                SetTB(args.Application, "Width, Height");
                break;

            case "Plank Pattern":
                SetTB(args.Application, "Width, Height, Grout");
                break;

            case "Drawn Pattern":
                SetTB(args.Application, "Draw Detail Lines");
                break;
            }
        }
Beispiel #2
0
 private void Change(object sender, ComboBoxCurrentChangedEventArgs e)
 {
     TaskDialog.Show("修改", "已修改");
 }
Beispiel #3
0
 private void Closed(object sender, ComboBoxCurrentChangedEventArgs e)
 {
     TaskDialog.Show("关闭", "已关闭");
 }