Esempio n. 1
0
        void ShowSearchBox()
        {
            if (formSearch != null)
            {
                return;
            }
            var editor = configer.GetComponent <Controller.ConfigerComponet.Editor>();

            formSearch             = new FormSearch(editor.GetEditor());
            formSearch.FormClosed += (s, a) => formSearch = null;
        }
Esempio n. 2
0
        public FormConfiger(string originalConfigString = null)
        {
            setting = Service.Setting.Instance;
            servers = Service.Servers.Instance;

            isShowPanel = setting.isShowConfigerToolsPanel;
            formSearch  = null;
            InitializeComponent();
            formTitle = this.Text;
            this.originalConfigString = originalConfigString;

            VgcApis.Libs.UI.AutoSetFormIcon(this);
            this.Show();
        }
Esempio n. 3
0
        public FormConfiger(string originalConfigString = null)
        {
            setting = Service.Setting.Instance;
            servers = Service.Servers.Instance;

            isShowPanel = setting.isShowConfigerToolsPanel;
            formSearch  = null;
            InitializeComponent();
            formTitle = this.Text;
            this.originalConfigString = originalConfigString;

#if DEBUG
            this.Icon = Properties.Resources.icon_light;
#endif

            this.Show();
        }