public CalculateColumnEditorForm(CalculateColumnInfo calcuateColumnInfo)
        {
            //
            // Required for Windows Form Designer support
            //
            InitializeComponent();

            //
            // TODO: Add any constructor code after InitializeComponent call
            //
            //Create table style

            DataGridTableStyle style = new DataGridTableStyle();

            style.PreferredRowHeight = 22;

            style.MappingName = strTableName;

            this.C_DataGrid.TableStyles.Add(style);
            //
            this.Value = calcuateColumnInfo.Copy();

            this.chkDisplayClearSteps.Checked = this.value.DisplayedCalculteStep;

            this.CreateConditionTable();
        }
        //Import
        private void C_BtnImport_Click(object sender, System.EventArgs e)
        {
            this.HideCombo();

            using (OpenFileDialog openFileDialog = new OpenFileDialog())
            {
                openFileDialog.Filter = string.Format("Calculation ExportFile(*{0})|*{0}", CalculateColumnInfo.ExportFileExt);
                if (DialogResult.OK == openFileDialog.ShowDialog())
                {
                    if (System.IO.File.Exists(openFileDialog.FileName))
                    {
                        System.IO.FileStream stream = System.IO.File.Open(openFileDialog.FileName, System.IO.FileMode.Open);

                        try
                        {
                            CalculateColumnInfo calcuateColumnInfo = Webb.Utilities.Serializer.DeserializeObject(stream) as CalculateColumnInfo;

                            if (calcuateColumnInfo != null)
                            {
                                this.value = calcuateColumnInfo.Copy();

                                this.CreateConditionTable();

                                this.chkDisplayClearSteps.Checked = this.value.DisplayedCalculteStep;
                            }
                        }
                        catch (Exception ex)
                        {
                            Webb.Utilities.MessageBoxEx.ShowError("Failed to import filter!\n" + ex.Message);
                        }
                        finally
                        {
                            stream.Close();
                        }
                    }
                }
            }
        }