예제 #1
0
        private void editFunctionToolStripMenuItem_Click(object sender, EventArgs e)
        {
            AddFunction addFunction = new AddFunction();

            addFunction.InitializeFunction = functionList.FunctionList.Current as Function;
            addFunction.IsEditFunction     = true;
            addFunction.IsValidated        = true;
            addFunction.DataSource         = functionList.FunctionList;
            addFunction.FunctionOK        += this.addFunction_FunctionOK;
            addFunction.ShowDialog(sender as IWin32Window);
        }
예제 #2
0
        private void addFunctionToolStripMenuItem_Click(object sender, EventArgs e)
        {
            AddFunction addFunction = new AddFunction();

            addFunction.IsValidated         = true;
            addFunction.DataSource          = functionList.FunctionList;
            addFunction.BackGroundAxisColor = SettingsForm.BackGroundColor;
            addFunction.FunctionOK         += addFunction_FunctionOK;

            addFunction.ShowDialog(sender as IWin32Window);
        }