Beispiel #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++;
        }
Beispiel #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++;
        }
Beispiel #3
0
 public void InitiateSettings(EIBFormDesigner.Designer.FormDesigner form)
 {
     this.Name = "relationship" + counter;
     if (string.IsNullOrEmpty(this.ControlName))
     {
         this.controlName = this.Name;
     }
     counter++;
 }
Beispiel #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;
 }
 public WorkflowEditorWindow(EIBFormDesigner.Designer.FormDesigner designer)
 {
     form = designer;
     InitializeComponent();
     this.formulaText.Enabled = false;
     initContextMenu();
     formulaText.KeyPress += new KeyPressEventHandler(this.formulaText_Click);
     formulaText.ContextMenu = contextMenu;
 }
Beispiel #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);
 }
Beispiel #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++;
 }
Beispiel #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;
 }
Beispiel #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;
 }
 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;
 }
 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;
 }
Beispiel #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();
 }
Beispiel #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++;
 }
Beispiel #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);
 }
Beispiel #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++;
 }
Beispiel #16
0
 public ToolBox(EIBFormDesigner.Designer.FormDesigner formDesigner)
 {
     eibFormDesigner = formDesigner;
     initTools();
 }
Beispiel #17
0
 public ToolBox(EIBFormDesigner.Designer.FormDesigner formDesigner)
 {
     eibFormDesigner = formDesigner;
     initTools();
 }
Beispiel #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();
 }