public virtual void Fill()
 {
     this.PreFill();
     this.dsRAD1GELEMENTIVEZADataSet1 = new RAD1GELEMENTIVEZADataSet();
     this.m_StartRow    = 0;
     this.Cursor        = Cursors.WaitCursor;
     this.m_GridLoading = true;
     ThreadPool.QueueUserWorkItem(new WaitCallback(this.FillDataThread), Thread.CurrentPrincipal);
 }
Exemple #2
0
 public void ChangeBinding()
 {
     this.bindingSourceRAD1GELEMENTIVEZA.DataSource = this.RAD1GELEMENTIVEZAController.DataSet;
     this.dsRAD1GELEMENTIVEZADataSet1 = this.RAD1GELEMENTIVEZAController.DataSet;
 }
Exemple #3
0
        private void InitializeComponent()
        {
            this.components = new Container();
            ResourceManager manager = new ResourceManager(typeof(RAD1GELEMENTIVEZAFormUserControl));

            this.contextMenu1                   = new ContextMenu();
            this.SetNullItem                    = new MenuItem();
            this.toolTip1                       = new System.Windows.Forms.ToolTip(this.components);
            this.errorProvider1                 = new ErrorProvider();
            this.errorProviderValidator1        = new ErrorProviderValidator(this.components);
            this.bindingSourceRAD1GELEMENTIVEZA = new BindingSource(this.components);
            ((ISupportInitialize)this.bindingSourceRAD1GELEMENTIVEZA).BeginInit();
            this.layoutManagerformRAD1GELEMENTIVEZA = new TableLayoutPanel();
            this.layoutManagerformRAD1GELEMENTIVEZA.SuspendLayout();
            this.layoutManagerformRAD1GELEMENTIVEZA.AutoSize     = true;
            this.layoutManagerformRAD1GELEMENTIVEZA.Dock         = DockStyle.Fill;
            this.layoutManagerformRAD1GELEMENTIVEZA.AutoSizeMode = AutoSizeMode.GrowAndShrink;
            this.layoutManagerformRAD1GELEMENTIVEZA.AutoScroll   = false;
            System.Drawing.Point point = new System.Drawing.Point(0, 0);
            this.layoutManagerformRAD1GELEMENTIVEZA.Location = point;
            Size size = new System.Drawing.Size(0, 0);

            this.layoutManagerformRAD1GELEMENTIVEZA.Size        = size;
            this.layoutManagerformRAD1GELEMENTIVEZA.ColumnCount = 2;
            this.layoutManagerformRAD1GELEMENTIVEZA.RowCount    = 3;
            this.layoutManagerformRAD1GELEMENTIVEZA.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle());
            this.layoutManagerformRAD1GELEMENTIVEZA.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle());
            this.layoutManagerformRAD1GELEMENTIVEZA.RowStyles.Add(new RowStyle());
            this.layoutManagerformRAD1GELEMENTIVEZA.RowStyles.Add(new RowStyle());
            this.layoutManagerformRAD1GELEMENTIVEZA.RowStyles.Add(new RowStyle());
            this.label1RAD1GELEMENTIID       = new UltraLabel();
            this.comboRAD1GELEMENTIID        = new RAD1GELEMENTIComboBox();
            this.label1IDELEMENT             = new UltraLabel();
            this.comboIDELEMENT              = new ELEMENTComboBox();
            this.dsRAD1GELEMENTIVEZADataSet1 = new RAD1GELEMENTIVEZADataSet();
            this.dsRAD1GELEMENTIVEZADataSet1.BeginInit();
            this.SuspendLayout();
            this.dsRAD1GELEMENTIVEZADataSet1.DataSetName   = "dsRAD1GELEMENTIVEZA";
            this.dsRAD1GELEMENTIVEZADataSet1.Locale        = new CultureInfo("hr-HR");
            this.bindingSourceRAD1GELEMENTIVEZA.DataSource = this.dsRAD1GELEMENTIVEZADataSet1;
            this.bindingSourceRAD1GELEMENTIVEZA.DataMember = "RAD1GELEMENTIVEZA";
            ((ISupportInitialize)this.bindingSourceRAD1GELEMENTIVEZA).BeginInit();
            point = new System.Drawing.Point(0, 0);
            this.label1RAD1GELEMENTIID.Location               = point;
            this.label1RAD1GELEMENTIID.Name                   = "label1RAD1GELEMENTIID";
            this.label1RAD1GELEMENTIID.TabIndex               = 1;
            this.label1RAD1GELEMENTIID.Tag                    = "labelRAD1GELEMENTIID";
            this.label1RAD1GELEMENTIID.Text                   = "Element iz RAD1-G Obrasca:";
            this.label1RAD1GELEMENTIID.StyleSetName           = "FieldUltraLabel";
            this.label1RAD1GELEMENTIID.AutoSize               = true;
            this.label1RAD1GELEMENTIID.Anchor                 = AnchorStyles.Left;
            this.label1RAD1GELEMENTIID.Appearance.TextVAlign  = VAlign.Middle;
            this.label1RAD1GELEMENTIID.Appearance.Image       = RuntimeHelpers.GetObjectValue(manager.GetObject("pictureBoxKey.Image"));
            this.label1RAD1GELEMENTIID.Appearance.ImageHAlign = HAlign.Right;
            size = new System.Drawing.Size(7, 10);
            this.label1RAD1GELEMENTIID.ImageSize            = size;
            this.label1RAD1GELEMENTIID.Appearance.ForeColor = Color.Black;
            this.label1RAD1GELEMENTIID.BackColor            = Color.Transparent;
            this.layoutManagerformRAD1GELEMENTIVEZA.Controls.Add(this.label1RAD1GELEMENTIID, 0, 0);
            this.layoutManagerformRAD1GELEMENTIVEZA.SetColumnSpan(this.label1RAD1GELEMENTIID, 1);
            this.layoutManagerformRAD1GELEMENTIVEZA.SetRowSpan(this.label1RAD1GELEMENTIID, 1);
            Padding padding = new Padding(3, 1, 5, 2);

            this.label1RAD1GELEMENTIID.Margin = padding;
            size = new System.Drawing.Size(0, 0);
            this.label1RAD1GELEMENTIID.MinimumSize = size;
            size = new System.Drawing.Size(0xbc, 0x17);
            this.label1RAD1GELEMENTIID.Size = size;
            point = new System.Drawing.Point(0, 0);
            this.comboRAD1GELEMENTIID.Location                  = point;
            this.comboRAD1GELEMENTIID.Name                      = "comboRAD1GELEMENTIID";
            this.comboRAD1GELEMENTIID.Tag                       = "RAD1GELEMENTIID";
            this.comboRAD1GELEMENTIID.TabIndex                  = 0;
            this.comboRAD1GELEMENTIID.Anchor                    = AnchorStyles.Left;
            this.comboRAD1GELEMENTIID.MouseEnter               += new EventHandler(this.mouseEnter_Text);
            this.comboRAD1GELEMENTIID.DropDownStyle             = DropDownStyle.DropDown;
            this.comboRAD1GELEMENTIID.ComboBox.DropDownStyle    = DropDownStyle.DropDown;
            this.comboRAD1GELEMENTIID.ComboBox.AutoCompleteMode = Infragistics.Win.AutoCompleteMode.Suggest;
            this.comboRAD1GELEMENTIID.Enabled                   = true;
            this.comboRAD1GELEMENTIID.DataBindings.Add(new Binding("Value", this.bindingSourceRAD1GELEMENTIVEZA, "RAD1GELEMENTIID"));
            this.comboRAD1GELEMENTIID.ShowPictureBox     = true;
            this.comboRAD1GELEMENTIID.PictureBoxClicked += new EventHandler(this.PictureBoxClickedRAD1GELEMENTIID);
            this.comboRAD1GELEMENTIID.ValueMember        = "RAD1GELEMENTIID";
            this.comboRAD1GELEMENTIID.SelectionChanged  += new EventHandler(this.SelectedIndexChangedRAD1GELEMENTIID);
            this.layoutManagerformRAD1GELEMENTIVEZA.Controls.Add(this.comboRAD1GELEMENTIID, 1, 0);
            this.layoutManagerformRAD1GELEMENTIVEZA.SetColumnSpan(this.comboRAD1GELEMENTIID, 1);
            this.layoutManagerformRAD1GELEMENTIVEZA.SetRowSpan(this.comboRAD1GELEMENTIID, 1);
            padding = new Padding(0, 1, 3, 2);
            this.comboRAD1GELEMENTIID.Margin = padding;
            size = new System.Drawing.Size(0x10a, 0x17);
            this.comboRAD1GELEMENTIID.MinimumSize = size;
            size = new System.Drawing.Size(0x10a, 0x17);
            this.comboRAD1GELEMENTIID.Size = size;
            point = new System.Drawing.Point(0, 0);
            this.label1IDELEMENT.Location               = point;
            this.label1IDELEMENT.Name                   = "label1IDELEMENT";
            this.label1IDELEMENT.TabIndex               = 1;
            this.label1IDELEMENT.Tag                    = "labelIDELEMENT";
            this.label1IDELEMENT.Text                   = "Element u programu plaća:";
            this.label1IDELEMENT.StyleSetName           = "FieldUltraLabel";
            this.label1IDELEMENT.AutoSize               = true;
            this.label1IDELEMENT.Anchor                 = AnchorStyles.Left;
            this.label1IDELEMENT.Appearance.TextVAlign  = VAlign.Middle;
            this.label1IDELEMENT.Appearance.Image       = RuntimeHelpers.GetObjectValue(manager.GetObject("pictureBoxKey.Image"));
            this.label1IDELEMENT.Appearance.ImageHAlign = HAlign.Right;
            size = new System.Drawing.Size(7, 10);
            this.label1IDELEMENT.ImageSize            = size;
            this.label1IDELEMENT.Appearance.ForeColor = Color.Black;
            this.label1IDELEMENT.BackColor            = Color.Transparent;
            this.layoutManagerformRAD1GELEMENTIVEZA.Controls.Add(this.label1IDELEMENT, 0, 1);
            this.layoutManagerformRAD1GELEMENTIVEZA.SetColumnSpan(this.label1IDELEMENT, 1);
            this.layoutManagerformRAD1GELEMENTIVEZA.SetRowSpan(this.label1IDELEMENT, 1);
            padding = new Padding(3, 1, 5, 2);
            this.label1IDELEMENT.Margin = padding;
            size = new System.Drawing.Size(0, 0);
            this.label1IDELEMENT.MinimumSize = size;
            size = new System.Drawing.Size(0xb3, 0x17);
            this.label1IDELEMENT.Size = size;
            point = new System.Drawing.Point(0, 0);
            this.comboIDELEMENT.Location                  = point;
            this.comboIDELEMENT.Name                      = "comboIDELEMENT";
            this.comboIDELEMENT.Tag                       = "IDELEMENT";
            this.comboIDELEMENT.TabIndex                  = 0;
            this.comboIDELEMENT.Anchor                    = AnchorStyles.Left;
            this.comboIDELEMENT.MouseEnter               += new EventHandler(this.mouseEnter_Text);
            this.comboIDELEMENT.DropDownStyle             = DropDownStyle.DropDown;
            this.comboIDELEMENT.ComboBox.DropDownStyle    = DropDownStyle.DropDown;
            this.comboIDELEMENT.ComboBox.AutoCompleteMode = Infragistics.Win.AutoCompleteMode.Suggest;
            this.comboIDELEMENT.Enabled                   = true;
            this.comboIDELEMENT.DataBindings.Add(new Binding("Value", this.bindingSourceRAD1GELEMENTIVEZA, "IDELEMENT"));
            this.comboIDELEMENT.ShowPictureBox     = true;
            this.comboIDELEMENT.PictureBoxClicked += new EventHandler(this.PictureBoxClickedIDELEMENT);
            this.comboIDELEMENT.ValueMember        = "IDELEMENT";
            this.comboIDELEMENT.SelectionChanged  += new EventHandler(this.SelectedIndexChangedIDELEMENT);
            this.layoutManagerformRAD1GELEMENTIVEZA.Controls.Add(this.comboIDELEMENT, 1, 1);
            this.layoutManagerformRAD1GELEMENTIVEZA.SetColumnSpan(this.comboIDELEMENT, 1);
            this.layoutManagerformRAD1GELEMENTIVEZA.SetRowSpan(this.comboIDELEMENT, 1);
            padding = new Padding(0, 1, 3, 2);
            this.comboIDELEMENT.Margin = padding;
            size = new System.Drawing.Size(0x268, 0x17);
            this.comboIDELEMENT.MinimumSize = size;
            size = new System.Drawing.Size(0x268, 0x17);
            this.comboIDELEMENT.Size = size;
            this.Controls.Add(this.layoutManagerformRAD1GELEMENTIVEZA);
            this.SetNullItem.Index   = 0;
            this.SetNullItem.Text    = "Set Null";
            this.SetNullItem.Click  += new EventHandler(this.SetNullItem_Click);
            this.contextMenu1.Popup += new EventHandler(this.contextMenu1_Popup);
            this.contextMenu1.MenuItems.AddRange(new MenuItem[] { this.SetNullItem });
            this.errorProvider1.DataSource             = this.bindingSourceRAD1GELEMENTIVEZA;
            this.errorProviderValidator1.ErrorProvider = this.errorProvider1;
            this.Name       = "RAD1GELEMENTIVEZAFormUserControl";
            this.Text       = "Veza elementi RAD1G i elementi";
            this.AutoSize   = true;
            this.AutoScroll = true;
            this.Load      += new EventHandler(this.RAD1GELEMENTIVEZAFormUserControl_Load);
            this.layoutManagerformRAD1GELEMENTIVEZA.ResumeLayout(false);
            this.layoutManagerformRAD1GELEMENTIVEZA.PerformLayout();
            ((ISupportInitialize)this.bindingSourceRAD1GELEMENTIVEZA).EndInit();
            this.dsRAD1GELEMENTIVEZADataSet1.EndInit();
            this.ResumeLayout(false);
            this.PerformLayout();
        }