internal FensterOptionsControl(FensterOptions fensterOptions)
        {
            InitializeComponent();

            _FensterOptions = fensterOptions;

            FillComponents();
        }
Пример #2
0
        internal FensterOptionsControl(FensterOptions fensterOptions)
        {
            InitializeComponent();

            _FensterOptions = fensterOptions;

            FillComponents();

            rbnStandard.Checked = true;
            rbnSprosse0.Checked = true;
        }
Пример #3
0
        private static void GetArgs(ResultBuffer rb, out FensterOptions opts)
        {
            TypedValue[] values = rb.AsArray();

            opts         = new FensterOptions();
            opts.Breite  = (double)values[1].Value;
            opts.Hoehe   = (double)values[2].Value;
            opts.Parapet = (double)values[3].Value;
            opts.OlAb    = (double)values[4].Value;
            opts.Staerke = (double)values[5].Value;
            opts.Stock   = (double)values[6].Value;
        }
Пример #4
0
        private static void GetArgs(ResultBuffer rb, out FensterOptions opts)
        {
            TypedValue[] values = rb.AsArray();

            opts                = new FensterOptions();
            opts.Breite         = (double)values[1].Value;
            opts.Hoehe          = (double)values[2].Value;
            opts.Parapet        = (double)values[3].Value;
            opts.OlAb           = (double)values[4].Value;
            opts.Staerke        = (double)values[5].Value;
            opts.Stock          = (double)values[6].Value;
            opts.SprossenBreite = (double)values[7].Value;
            opts.Sprossen       = (int)(short)values[8].Value;
            opts.TextAbstand    = (double)values[9].Value;
            opts.FluegelStaerke = (double)values[10].Value;
            opts.FensterArt     = FensterOptions.StringToFenArt((string)values[11].Value);
        }
Пример #5
0
 internal void Show(FensterOptions opts)
 {
     this.Show();
 }
Пример #6
0
 internal void SetFensterOptions(FensterOptions fensterOptions)
 {
     _FensterOptions = fensterOptions;
     userControl.SetFensterOptions(fensterOptions);
 }
Пример #7
0
 public FensterOptionsPalette()
 {
     _FensterOptions = new FensterOptions();
     userControl     = new FensterOptionsControl(_FensterOptions);
 }
Пример #8
0
 internal void SetFensterOptions(FensterOptions fensterOptions)
 {
     _FensterOptions = fensterOptions;
     FillComponents();
 }