public FillDialog(CharacterHandler handler) { this.Handler = handler; #if DESKTOP this.Resizable = true; #endif Title = "Fill Options"; var layout = new DynamicLayout(); layout.Padding = new Padding(10); layout.Add(TopSection(), true, true); layout.AddSeparateRow(null, CancelButton(), OkButton()); Content = layout; UpdateFillMode(); colours.Focus(); }
protected override void OnLoadComplete(EventArgs e) { base.OnLoadComplete(e); colours.Focus(); }