示例#1
0
        private static void GetArgs(ResultBuffer rb, out TuerOptions opts)
        {
            TypedValue[] values = rb.AsArray();

            opts              = new TuerOptions();
            opts.Breite       = (double)values[1].Value;
            opts.Hoehe        = (double)values[2].Value;
            opts.Fluegel      = (int)(short)values[3].Value;
            opts.TuerArt      = TuerOptions.IntToTuerArt((int)(short)values[4].Value);
            opts.TextBlockTyp = TuerOptions.IntToTextBlockTyp((int)(short)values[5].Value);
            opts.StockStaerke = (double)values[6].Value;
        }
示例#2
0
        internal TuerOptionsControl(TuerOptions TuerOptions)
        {
            InitializeComponent();

            _TuerOptions = TuerOptions;

            FillComponents();

            rbnUmfassung.Checked = true;
            rbnEins.Checked      = true;
            rbnTb4.Checked       = true;

            CheckStaerkeVisible();
        }
示例#3
0
 internal void SetTuerOptions(TuerOptions TuerOptions)
 {
     _TuerOptions = TuerOptions;
     userControl.SetTuerOptions(TuerOptions);
 }
示例#4
0
 public TuerOptionsPalette()
 {
     _TuerOptions = new TuerOptions();
     userControl  = new TuerOptionsControl(_TuerOptions);
 }
示例#5
0
 internal void SetTuerOptions(TuerOptions tuerOptions)
 {
     _TuerOptions = tuerOptions;
     FillComponents();
 }