コード例 #1
0
        private void F_ToolManager_NewFunction_Click(object sender, EventArgs e)
        {
            F_NewFunction NewFunction = new F_NewFunction(_pluginManager);

            Hide();
            F_ToolManager_NI_Taskbar_Close.Enabled = false;
            NewFunction.ShowDialog();
            if (NewFunction.NewFunction != null)
            {
                _functionManager.AddNewFunction(NewFunction.NewFunction);
                _functionManager.Save();

                SetupButtons();
            }
            Show();
            F_ToolManager_NI_Taskbar_Close.Enabled = true;
        }