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; }
internal TuerOptionsControl(TuerOptions TuerOptions) { InitializeComponent(); _TuerOptions = TuerOptions; FillComponents(); rbnUmfassung.Checked = true; rbnEins.Checked = true; rbnTb4.Checked = true; CheckStaerkeVisible(); }
internal void SetTuerOptions(TuerOptions TuerOptions) { _TuerOptions = TuerOptions; userControl.SetTuerOptions(TuerOptions); }
public TuerOptionsPalette() { _TuerOptions = new TuerOptions(); userControl = new TuerOptionsControl(_TuerOptions); }
internal void SetTuerOptions(TuerOptions tuerOptions) { _TuerOptions = tuerOptions; FillComponents(); }