コード例 #1
0
        public BasylForm()
        {
            InitializeComponent();
            this.AllowDrop = true;

            this.DragDrop += BasylForm_DragDrop;
            this.DragEnter += BasylForm_DragEnter;

            advancedSettingsForm = new AdvancedSettingsForm();
            //advancedSettingsForm.Import();
        }
コード例 #2
0
        /// <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();
        }