예제 #1
0
        public void InitiateSettings(EIBFormDesigner.Designer.FormDesigner form)
        {
            EIBTabPage tabPage1 = new EIBTabPage();

            tabPage1.InitiateSettings(null);
            EIBTabPage tabPage2 = new EIBTabPage();

            tabPage2.InitiateSettings(null);
            tabPage1.Text = tabPage1.Name;
            tabPage2.Text = tabPage2.Name;
            this.Controls.Add(tabPage1);
            this.Controls.Add(tabPage2);
            this.Size = new Size(width, height);
            this.Name = EIBControlCollection.CheckControlForUniqueness <EIBTabControl>(this.Name);
            if (string.IsNullOrEmpty(this.ControlName))
            {
                this.ControlName = this.Name;
            }
            EIBControlCollection.TabControllist.Add(this.Name, this.Name);

            //EIBTabPage tabPage1 = new EIBTabPage();
            //EIBTabPage tabPage2 = new EIBTabPage();
            //tabPage1.InitiateSettings(null);
            //tabPage2.InitiateSettings(null);
            //tabPage1.Text = "tabPage1";
            //tabPage2.Text = "tabPage2";
            //this.Controls.Add(tabPage1);
            //this.Controls.Add(tabPage2);
            //this.Size = new Size(width, height);
            //this.Name = "tabControl" + counter;
            //this.ControlName = this.Name;
            //this.Margin = new Padding(0, 0, 0, 0);
            //this.Text = "tabControl" + counter.ToString();
            //counter++;
        }
예제 #2
0
        public void InitiateSettings(EIBFormDesigner.Designer.FormDesigner form)
        {
            this.Name = EIBControlCollection.CheckControlForUniqueness <EIBMenuItem>(this.Name);

            this.ControlName = this.Name;
            EIBControlCollection.MenuItemlist.Add(this.Name, this.Name);
            //counter++;
        }
예제 #3
0
 public void InitiateSettings(EIBFormDesigner.Designer.FormDesigner form)
 {
     this.Name = "relationship" + counter;
     if (string.IsNullOrEmpty(this.ControlName))
     {
         this.controlName = this.Name;
     }
     counter++;
 }
예제 #4
0
 public WorkflowEditorWindow(EIBFormDesigner.Designer.FormDesigner designer)
 {
     form = designer;
     InitializeComponent();
     this.formulaText.Enabled = false;
     initContextMenu();
     formulaText.KeyPress   += new KeyPressEventHandler(this.formulaText_Click);
     formulaText.ContextMenu = contextMenu;
 }
예제 #5
0
 public WorkflowEditorWindow(EIBFormDesigner.Designer.FormDesigner designer)
 {
     form = designer;
     InitializeComponent();
     this.formulaText.Enabled = false;
     initContextMenu();
     formulaText.KeyPress += new KeyPressEventHandler(this.formulaText_Click);
     formulaText.ContextMenu = contextMenu;
 }
예제 #6
0
 public void InitiateSettings(EIBFormDesigner.Designer.FormDesigner form)
 {
     this.Name = EIBControlCollection.CheckControlForUniqueness <EIBTabPage>(this.Name);
     if (string.IsNullOrEmpty(this.ControlName))
     {
         this.ControlName = this.Name;
     }
     EIBControlCollection.TabPagelist.Add(this.Name, this.Name);
 }
예제 #7
0
 //public void checkUniqueness(string buttonName)
 //{
 //    if (buttonNames.Contains(buttonName))
 //    {
 //        counter++;
 //        this.Name = "button" + counter;
 //        checkUniqueness(this.Name);
 //    }
 //}
 public void InitiateSettings(EIBFormDesigner.Designer.FormDesigner form)
 {
     this.Size = new Size(width, height);
     //this.Name = "button" + counter;
     this.FlatStyle = FlatStyle.Popup;
     this.Margin    = new Padding(0, 0, 0, 0);
     this.Font      = SystemFonts.DefaultFont;
     this.Dock      = DockStyle.Left;
     counter++;
 }
예제 #8
0
 public void InitiateSettings(EIBFormDesigner.Designer.FormDesigner form)
 {
     this.Name = EIBControlCollection.CheckControlForUniqueness <EIBTextBox>(this.Name);
     if (this.ControlName == null)
     {
         this.ControlName = this.Name;
     }
     EIBControlCollection.TextBoxlist.Add(this.Name, this.Name);
     counter = 0;
 }
예제 #9
0
 public void InitiateSettings(EIBFormDesigner.Designer.FormDesigner form)
 {
     this.Name = EIBControlCollection.CheckControlForUniqueness <EIBRadioButton>(this.Name);
     if (string.IsNullOrEmpty(this.ControlName))
     {
         this.ControlName = this.Name;
     }
     EIBControlCollection.RadioButtonlist.Add(this.Name, this.Name);
     counter = 0;
 }
예제 #10
0
 public FormulaEditorWindow(EIBFormDesigner.Designer.FormDesigner designer)
 {
     form = designer;
     InitializeComponent();
     this.formulaText.Enabled = false;
     initContextMenu();
     formulaText.KeyPress += new KeyPressEventHandler(this.formulaText_Click);
     formulaText.ContextMenu = contextMenu;
     //TreeView treeControl = (TreeView)sender;
     //selectedNode = treeControl.SelectedNode;
 }
예제 #11
0
 public FormulaEditorWindow(EIBFormDesigner.Designer.FormDesigner designer)
 {
     form = designer;
     InitializeComponent();
     this.formulaText.Enabled = false;
     initContextMenu();
     formulaText.KeyPress   += new KeyPressEventHandler(this.formulaText_Click);
     formulaText.ContextMenu = contextMenu;
     //TreeView treeControl = (TreeView)sender;
     //selectedNode = treeControl.SelectedNode;
 }
예제 #12
0
 public void InitiateSettings(EIBFormDesigner.Designer.FormDesigner form)
 {
     this.Name = EIBControlCollection.CheckControlForUniqueness <EIBTime>(this.Name);
     if (string.IsNullOrEmpty(this.ControlName))
     {
         this.ControlName = this.Name;
     }
     EIBControlCollection.Timelist.Add(this.Name, this.Name);
     this.currentForm = form;
     counter          = 0;
     //ShowTimeSplit();
 }
예제 #13
0
 public void InitiateSettings(EIBFormDesigner.Designer.FormDesigner form)
 {
     this.Size = new Size(width, height);
     this.Name = "search" + counter;
     checkUniqueness(this.Name);
     searchNames.Add(this.Name, this.Name);
     if (string.IsNullOrEmpty(this.ControlName))
     {
         this.ControlName = this.Name;
     }
     this.Margin = new Padding(0, 0, 0, 0);
     this.Text   = "search" + counter.ToString();
     this.Font   = SystemFonts.DefaultFont;
     counter++;
 }
예제 #14
0
 public void InitiateSettings(EIBFormDesigner.Designer.FormDesigner form)
 {
     this.Text = "column" + counter;
     if (string.IsNullOrEmpty(this.Name))
     {
         this.Name = "column" + counter;
     }
     if (string.IsNullOrEmpty(this.ControlName))
     {
         this.ControlName = this.Name;
     }
     counter++;
     this.Margin = new Padding(0, 0, 0, 0);
     this.Size   = new Size(width, height);
 }
예제 #15
0
 public void InitiateSettings(EIBFormDesigner.Designer.FormDesigner form)
 {
     if (form != null)
     {
         EIBTreeNode treeNode = new EIBTreeNode();
         treeNode.InitiateSettings(null);
         //treeNode.ControlName = "treeNode0";
         //treeNode.Text = "treeNode0";
         this.Nodes.Add(treeNode);
     }
     this.Name = EIBControlCollection.CheckControlForUniqueness <EIBTreeView>(this.Name);
     if (string.IsNullOrEmpty(this.ControlName))
     {
         this.ControlName = this.Name;
     }
     EIBControlCollection.TreeViewlist.Add(this.Name, this.Name);
     counter = 0;
     //counter++;
 }
예제 #16
0
 public ToolBox(EIBFormDesigner.Designer.FormDesigner formDesigner)
 {
     eibFormDesigner = formDesigner;
     initTools();
 }
예제 #17
0
 public ToolBox(EIBFormDesigner.Designer.FormDesigner formDesigner)
 {
     eibFormDesigner = formDesigner;
     initTools();
 }
예제 #18
0
 public void InitiateSettings(EIBFormDesigner.Designer.FormDesigner form)
 {
     this.Name = EIBControlCollection.CheckControlForUniqueness<EIBTime>(this.Name);
     if (string.IsNullOrEmpty(this.ControlName))
     {
         this.ControlName = this.Name;
     }
     EIBControlCollection.Timelist.Add(this.Name, this.Name);
     this.currentForm = form;
     counter = 0;
     //ShowTimeSplit();
 }