public BasylForm() { InitializeComponent(); this.AllowDrop = true; this.DragDrop += BasylForm_DragDrop; this.DragEnter += BasylForm_DragEnter; advancedSettingsForm = new AdvancedSettingsForm(); //advancedSettingsForm.Import(); }
/// <summary> /// Run this when it is shown, please. /// </summary> /// <param name="form"></param> public void SetSettingsForm(AdvancedSettingsForm form) { this.form = form; if (!Directory.Exists(BESFolder)) { Directory.CreateDirectory(BESFolder); } RefreshElements(); }