示例#1
0
 public virtual void Fill()
 {
     this.PreFill();
     this.dsDDVRSTEPOSLADataSet1 = new DDVRSTEPOSLADataSet();
     this.m_StartRow             = 0;
     this.Cursor        = Cursors.WaitCursor;
     this.m_GridLoading = true;
     ThreadPool.QueueUserWorkItem(new WaitCallback(this.FillDataThread), Thread.CurrentPrincipal);
 }
示例#2
0
 public void ChangeBinding()
 {
     this.bindingSourceDDVRSTEPOSLA.DataSource = this.DDVRSTEPOSLAController.DataSet;
     this.dsDDVRSTEPOSLADataSet1 = this.DDVRSTEPOSLAController.DataSet;
 }
示例#3
0
        private void InitializeComponent()
        {
            this.components = new Container();
            ResourceManager manager = new ResourceManager(typeof(DDVRSTEPOSLAFormUserControl));

            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.bindingSourceDDVRSTEPOSLA = new BindingSource(this.components);
            ((ISupportInitialize)this.bindingSourceDDVRSTEPOSLA).BeginInit();
            this.layoutManagerformDDVRSTEPOSLA = new TableLayoutPanel();
            this.layoutManagerformDDVRSTEPOSLA.SuspendLayout();
            this.layoutManagerformDDVRSTEPOSLA.AutoSize     = true;
            this.layoutManagerformDDVRSTEPOSLA.Dock         = DockStyle.Fill;
            this.layoutManagerformDDVRSTEPOSLA.AutoSizeMode = AutoSizeMode.GrowAndShrink;
            this.layoutManagerformDDVRSTEPOSLA.AutoScroll   = false;
            System.Drawing.Point point = new System.Drawing.Point(0, 0);
            this.layoutManagerformDDVRSTEPOSLA.Location = point;
            Size size = new System.Drawing.Size(0, 0);

            this.layoutManagerformDDVRSTEPOSLA.Size        = size;
            this.layoutManagerformDDVRSTEPOSLA.ColumnCount = 2;
            this.layoutManagerformDDVRSTEPOSLA.RowCount    = 3;
            this.layoutManagerformDDVRSTEPOSLA.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle());
            this.layoutManagerformDDVRSTEPOSLA.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle());
            this.layoutManagerformDDVRSTEPOSLA.RowStyles.Add(new RowStyle());
            this.layoutManagerformDDVRSTEPOSLA.RowStyles.Add(new RowStyle());
            this.layoutManagerformDDVRSTEPOSLA.RowStyles.Add(new RowStyle());
            this.label1DDIDVRSTAPOSLA    = new UltraLabel();
            this.textDDIDVRSTAPOSLA      = new UltraNumericEditor();
            this.label1DDNAZIVVRSTAPOSLA = new UltraLabel();
            this.textDDNAZIVVRSTAPOSLA   = new UltraTextEditor();
            ((ISupportInitialize)this.textDDIDVRSTAPOSLA).BeginInit();
            ((ISupportInitialize)this.textDDNAZIVVRSTAPOSLA).BeginInit();
            this.dsDDVRSTEPOSLADataSet1 = new DDVRSTEPOSLADataSet();
            this.dsDDVRSTEPOSLADataSet1.BeginInit();
            this.SuspendLayout();
            this.dsDDVRSTEPOSLADataSet1.DataSetName   = "dsDDVRSTEPOSLA";
            this.dsDDVRSTEPOSLADataSet1.Locale        = new CultureInfo("hr-HR");
            this.bindingSourceDDVRSTEPOSLA.DataSource = this.dsDDVRSTEPOSLADataSet1;
            this.bindingSourceDDVRSTEPOSLA.DataMember = "DDVRSTEPOSLA";
            ((ISupportInitialize)this.bindingSourceDDVRSTEPOSLA).BeginInit();
            point = new System.Drawing.Point(0, 0);
            this.label1DDIDVRSTAPOSLA.Location               = point;
            this.label1DDIDVRSTAPOSLA.Name                   = "label1DDIDVRSTAPOSLA";
            this.label1DDIDVRSTAPOSLA.TabIndex               = 1;
            this.label1DDIDVRSTAPOSLA.Tag                    = "labelDDIDVRSTAPOSLA";
            this.label1DDIDVRSTAPOSLA.Text                   = "Šifra:";
            this.label1DDIDVRSTAPOSLA.StyleSetName           = "FieldUltraLabel";
            this.label1DDIDVRSTAPOSLA.AutoSize               = true;
            this.label1DDIDVRSTAPOSLA.Anchor                 = AnchorStyles.Left;
            this.label1DDIDVRSTAPOSLA.Appearance.TextVAlign  = VAlign.Middle;
            this.label1DDIDVRSTAPOSLA.Appearance.Image       = RuntimeHelpers.GetObjectValue(manager.GetObject("pictureBoxKey.Image"));
            this.label1DDIDVRSTAPOSLA.Appearance.ImageHAlign = HAlign.Right;
            size = new System.Drawing.Size(7, 10);
            this.label1DDIDVRSTAPOSLA.ImageSize            = size;
            this.label1DDIDVRSTAPOSLA.Appearance.ForeColor = Color.Black;
            this.label1DDIDVRSTAPOSLA.BackColor            = Color.Transparent;
            this.layoutManagerformDDVRSTEPOSLA.Controls.Add(this.label1DDIDVRSTAPOSLA, 0, 0);
            this.layoutManagerformDDVRSTEPOSLA.SetColumnSpan(this.label1DDIDVRSTAPOSLA, 1);
            this.layoutManagerformDDVRSTEPOSLA.SetRowSpan(this.label1DDIDVRSTAPOSLA, 1);
            Padding padding = new Padding(3, 1, 5, 2);

            this.label1DDIDVRSTAPOSLA.Margin = padding;
            size = new System.Drawing.Size(0, 0);
            this.label1DDIDVRSTAPOSLA.MinimumSize = size;
            size = new System.Drawing.Size(0x2d, 0x17);
            this.label1DDIDVRSTAPOSLA.Size = size;
            point = new System.Drawing.Point(0, 0);
            this.textDDIDVRSTAPOSLA.Location    = point;
            this.textDDIDVRSTAPOSLA.Name        = "textDDIDVRSTAPOSLA";
            this.textDDIDVRSTAPOSLA.Tag         = "DDIDVRSTAPOSLA";
            this.textDDIDVRSTAPOSLA.TabIndex    = 0;
            this.textDDIDVRSTAPOSLA.Anchor      = AnchorStyles.Left;
            this.textDDIDVRSTAPOSLA.MouseEnter += new EventHandler(this.mouseEnter_Text);
            this.textDDIDVRSTAPOSLA.ReadOnly    = false;
            this.textDDIDVRSTAPOSLA.PromptChar  = ' ';
            this.textDDIDVRSTAPOSLA.Enter      += new EventHandler(this.numericEditor_Enter);
            this.textDDIDVRSTAPOSLA.DataBindings.Add(new Binding("Value", this.bindingSourceDDVRSTEPOSLA, "DDIDVRSTAPOSLA"));
            this.textDDIDVRSTAPOSLA.NumericType = NumericType.Integer;
            this.textDDIDVRSTAPOSLA.MaskInput   = "{LOC}-nnnnn";
            this.layoutManagerformDDVRSTEPOSLA.Controls.Add(this.textDDIDVRSTAPOSLA, 1, 0);
            this.layoutManagerformDDVRSTEPOSLA.SetColumnSpan(this.textDDIDVRSTAPOSLA, 1);
            this.layoutManagerformDDVRSTEPOSLA.SetRowSpan(this.textDDIDVRSTAPOSLA, 1);
            padding = new Padding(0, 1, 3, 2);
            this.textDDIDVRSTAPOSLA.Margin = padding;
            size = new System.Drawing.Size(0x33, 0x16);
            this.textDDIDVRSTAPOSLA.MinimumSize = size;
            size = new System.Drawing.Size(0x33, 0x16);
            this.textDDIDVRSTAPOSLA.Size = size;
            point = new System.Drawing.Point(0, 0);
            this.label1DDNAZIVVRSTAPOSLA.Location              = point;
            this.label1DDNAZIVVRSTAPOSLA.Name                  = "label1DDNAZIVVRSTAPOSLA";
            this.label1DDNAZIVVRSTAPOSLA.TabIndex              = 1;
            this.label1DDNAZIVVRSTAPOSLA.Tag                   = "labelDDNAZIVVRSTAPOSLA";
            this.label1DDNAZIVVRSTAPOSLA.Text                  = "Naziv:";
            this.label1DDNAZIVVRSTAPOSLA.StyleSetName          = "FieldUltraLabel";
            this.label1DDNAZIVVRSTAPOSLA.AutoSize              = true;
            this.label1DDNAZIVVRSTAPOSLA.Anchor                = AnchorStyles.Left;
            this.label1DDNAZIVVRSTAPOSLA.Appearance.TextVAlign = VAlign.Middle;
            this.label1DDNAZIVVRSTAPOSLA.Appearance.ForeColor  = Color.Black;
            this.label1DDNAZIVVRSTAPOSLA.BackColor             = Color.Transparent;
            this.layoutManagerformDDVRSTEPOSLA.Controls.Add(this.label1DDNAZIVVRSTAPOSLA, 0, 1);
            this.layoutManagerformDDVRSTEPOSLA.SetColumnSpan(this.label1DDNAZIVVRSTAPOSLA, 1);
            this.layoutManagerformDDVRSTEPOSLA.SetRowSpan(this.label1DDNAZIVVRSTAPOSLA, 1);
            padding = new Padding(3, 1, 5, 2);
            this.label1DDNAZIVVRSTAPOSLA.Margin = padding;
            size = new System.Drawing.Size(0, 0);
            this.label1DDNAZIVVRSTAPOSLA.MinimumSize = size;
            size = new System.Drawing.Size(0x35, 0x17);
            this.label1DDNAZIVVRSTAPOSLA.Size = size;
            point = new System.Drawing.Point(0, 0);
            this.textDDNAZIVVRSTAPOSLA.Location    = point;
            this.textDDNAZIVVRSTAPOSLA.Name        = "textDDNAZIVVRSTAPOSLA";
            this.textDDNAZIVVRSTAPOSLA.Tag         = "DDNAZIVVRSTAPOSLA";
            this.textDDNAZIVVRSTAPOSLA.TabIndex    = 0;
            this.textDDNAZIVVRSTAPOSLA.Anchor      = AnchorStyles.Left;
            this.textDDNAZIVVRSTAPOSLA.MouseEnter += new EventHandler(this.mouseEnter_Text);
            this.textDDNAZIVVRSTAPOSLA.ReadOnly    = false;
            this.textDDNAZIVVRSTAPOSLA.DataBindings.Add(new Binding("Text", this.bindingSourceDDVRSTEPOSLA, "DDNAZIVVRSTAPOSLA"));
            this.textDDNAZIVVRSTAPOSLA.MaxLength = 50;
            this.layoutManagerformDDVRSTEPOSLA.Controls.Add(this.textDDNAZIVVRSTAPOSLA, 1, 1);
            this.layoutManagerformDDVRSTEPOSLA.SetColumnSpan(this.textDDNAZIVVRSTAPOSLA, 1);
            this.layoutManagerformDDVRSTEPOSLA.SetRowSpan(this.textDDNAZIVVRSTAPOSLA, 1);
            padding = new Padding(0, 1, 3, 2);
            this.textDDNAZIVVRSTAPOSLA.Margin = padding;
            size = new System.Drawing.Size(0x16e, 0x16);
            this.textDDNAZIVVRSTAPOSLA.MinimumSize = size;
            size = new System.Drawing.Size(0x16e, 0x16);
            this.textDDNAZIVVRSTAPOSLA.Size = size;
            this.Controls.Add(this.layoutManagerformDDVRSTEPOSLA);
            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.bindingSourceDDVRSTEPOSLA;
            this.errorProviderValidator1.ErrorProvider = this.errorProvider1;
            this.Name       = "DDVRSTEPOSLAFormUserControl";
            this.Text       = "Vrste posla";
            this.AutoSize   = true;
            this.AutoScroll = true;
            this.Load      += new EventHandler(this.DDVRSTEPOSLAFormUserControl_Load);
            this.layoutManagerformDDVRSTEPOSLA.ResumeLayout(false);
            this.layoutManagerformDDVRSTEPOSLA.PerformLayout();
            ((ISupportInitialize)this.bindingSourceDDVRSTEPOSLA).EndInit();
            ((ISupportInitialize)this.textDDIDVRSTAPOSLA).EndInit();
            ((ISupportInitialize)this.textDDNAZIVVRSTAPOSLA).EndInit();
            this.dsDDVRSTEPOSLADataSet1.EndInit();
            this.ResumeLayout(false);
            this.PerformLayout();
        }