public override void Load(string filepath) { using (BinaryReader reader = new BinaryReader(File.OpenRead(filepath))) { _style = new Windowstyle(reader); } _style.Grid = true; InitWindow(); }
public override bool NewDocument() { _style = new Windowstyle { Grid = true }; InitWindow(); return true; }
public RadPanel(Panel preview) { style = new Windowstyle(Application.StartupPath + "\\docs\\RadGui\\windowstyles\\RadGui\\basicwindow.rws"); Preview = preview; preview.Padding = new Padding(4); Preview.Paint += new PaintEventHandler(Preview_Paint); CanResize = true; }