public Dialog_ResultForSource(string [] mainTree, string[] enumValue, string[] enumName)
        {
            InitializeComponent();

            richs = new List <CRichTextbox>();

            richs.Add(richMainTree);

            richInterface = new CRichTextBoxInterface();
            richInterface.SetInterface(richs);

            richMainTree.Lines = mainTree;
        }
        public Dialog_MappingData(Dialog_Database dlg)
        {
            isInit = false;
            InitializeComponent();

            richs = new List <CRichTextbox>();
            richs.Add(richShortcutName);
            richs.Add(richRecordsetName);
            richs.Add(richSubCode);
            richs.Add(richStructName);

            richInterface = new AutoMainTreeMaker.CRichTextBoxInterface();
            richInterface.SetInterface(richs);

            dlgDatabase   = dlg;
            dlgSourceInfo = new Dialog_SourceInfo(this);
        }
Exemplo n.º 3
0
        public Dialog_ColumnNumberAndRecordset(Tree tree, string [] mainTree, Dialog_ResultForSource dlg)
        {
            InitializeComponent();
            recordsetList      = new Dictionary <string, bool>();
            this.tree          = tree;
            richMainTree.Lines = mainTree;

            richs = new List <CRichTextbox>();
            richs.Add(richMainTree);
            richs.Add(richColumnNumber);
            richs.Add(richRecordsetName);

            richInterface = new CRichTextBoxInterface();
            richInterface.SetInterface(richs);

            comboMethod.SelectedIndex = 0;

            resultDlg = dlg;
        }
        public Dialog_MainTree()
        {
            InitializeComponent();

            isCreatedTree = false;

            richInterface = new CRichTextBoxInterface();

            richs = new List <CRichTextbox>();
            richs.Add(richMainTree);
            richs.Add(richEnum);
            richs.Add(richCol);
            richs.Add(richGubun);
            richs.Add(richLineNumber);
            richs.Add(richEnumName);

            richInterface.SetInterface(richs);

            SetLineNumbers();

            maker = new TreeMaker(this);
        }