Esempio n. 1
0
        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();
        }
Esempio n. 2
0
 protected override void OnLoadComplete(EventArgs e)
 {
     base.OnLoadComplete(e);
     colours.Focus();
 }