예제 #1
0
 public virtual void Fill()
 {
     this.PreFill();
     this.dsUCENIKRSMIDENTDataSet1 = new UCENIKRSMIDENTDataSet();
     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.bindingSourceUCENIKRSMIDENT.DataSource = this.UCENIKRSMIDENTController.DataSet;
     this.dsUCENIKRSMIDENTDataSet1 = this.UCENIKRSMIDENTController.DataSet;
 }
예제 #3
0
        private void InitializeComponent()
        {
            this.components = new Container();
            ResourceManager manager = new ResourceManager(typeof(UCENIKRSMIDENTFormUserControl));

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

            this.layoutManagerformUCENIKRSMIDENT.Size        = size;
            this.layoutManagerformUCENIKRSMIDENT.ColumnCount = 2;
            this.layoutManagerformUCENIKRSMIDENT.RowCount    = 2;
            this.layoutManagerformUCENIKRSMIDENT.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle());
            this.layoutManagerformUCENIKRSMIDENT.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle());
            this.layoutManagerformUCENIKRSMIDENT.RowStyles.Add(new RowStyle());
            this.layoutManagerformUCENIKRSMIDENT.RowStyles.Add(new RowStyle());
            this.label1UCENIKRSMIDENT = new UltraLabel();
            this.textUCENIKRSMIDENT   = new UltraTextEditor();
            ((ISupportInitialize)this.textUCENIKRSMIDENT).BeginInit();
            this.dsUCENIKRSMIDENTDataSet1 = new UCENIKRSMIDENTDataSet();
            this.dsUCENIKRSMIDENTDataSet1.BeginInit();
            this.SuspendLayout();
            this.dsUCENIKRSMIDENTDataSet1.DataSetName   = "dsUCENIKRSMIDENT";
            this.dsUCENIKRSMIDENTDataSet1.Locale        = new CultureInfo("hr-HR");
            this.bindingSourceUCENIKRSMIDENT.DataSource = this.dsUCENIKRSMIDENTDataSet1;
            this.bindingSourceUCENIKRSMIDENT.DataMember = "UCENIKRSMIDENT";
            ((ISupportInitialize)this.bindingSourceUCENIKRSMIDENT).BeginInit();
            point = new System.Drawing.Point(0, 0);
            this.label1UCENIKRSMIDENT.Location               = point;
            this.label1UCENIKRSMIDENT.Name                   = "label1UCENIKRSMIDENT";
            this.label1UCENIKRSMIDENT.TabIndex               = 1;
            this.label1UCENIKRSMIDENT.Tag                    = "labelUCENIKRSMIDENT";
            this.label1UCENIKRSMIDENT.Text                   = "UCENIKRSMIDENT:";
            this.label1UCENIKRSMIDENT.StyleSetName           = "FieldUltraLabel";
            this.label1UCENIKRSMIDENT.AutoSize               = true;
            this.label1UCENIKRSMIDENT.Anchor                 = AnchorStyles.Left;
            this.label1UCENIKRSMIDENT.Appearance.TextVAlign  = VAlign.Middle;
            this.label1UCENIKRSMIDENT.Appearance.Image       = RuntimeHelpers.GetObjectValue(manager.GetObject("pictureBoxKey.Image"));
            this.label1UCENIKRSMIDENT.Appearance.ImageHAlign = HAlign.Right;
            size = new System.Drawing.Size(7, 10);
            this.label1UCENIKRSMIDENT.ImageSize            = size;
            this.label1UCENIKRSMIDENT.Appearance.ForeColor = Color.Black;
            this.label1UCENIKRSMIDENT.BackColor            = Color.Transparent;
            this.layoutManagerformUCENIKRSMIDENT.Controls.Add(this.label1UCENIKRSMIDENT, 0, 0);
            this.layoutManagerformUCENIKRSMIDENT.SetColumnSpan(this.label1UCENIKRSMIDENT, 1);
            this.layoutManagerformUCENIKRSMIDENT.SetRowSpan(this.label1UCENIKRSMIDENT, 1);
            Padding padding = new Padding(3, 1, 5, 2);

            this.label1UCENIKRSMIDENT.Margin = padding;
            size = new System.Drawing.Size(0, 0);
            this.label1UCENIKRSMIDENT.MinimumSize = size;
            size = new System.Drawing.Size(0x85, 0x17);
            this.label1UCENIKRSMIDENT.Size = size;
            point = new System.Drawing.Point(0, 0);
            this.textUCENIKRSMIDENT.Location    = point;
            this.textUCENIKRSMIDENT.Name        = "textUCENIKRSMIDENT";
            this.textUCENIKRSMIDENT.Tag         = "UCENIKRSMIDENT";
            this.textUCENIKRSMIDENT.TabIndex    = 0;
            this.textUCENIKRSMIDENT.Anchor      = AnchorStyles.Left;
            this.textUCENIKRSMIDENT.MouseEnter += new EventHandler(this.mouseEnter_Text);
            this.textUCENIKRSMIDENT.ReadOnly    = false;
            this.textUCENIKRSMIDENT.DataBindings.Add(new Binding("Text", this.bindingSourceUCENIKRSMIDENT, "UCENIKRSMIDENT"));
            this.textUCENIKRSMIDENT.MaxLength = 4;
            this.layoutManagerformUCENIKRSMIDENT.Controls.Add(this.textUCENIKRSMIDENT, 1, 0);
            this.layoutManagerformUCENIKRSMIDENT.SetColumnSpan(this.textUCENIKRSMIDENT, 1);
            this.layoutManagerformUCENIKRSMIDENT.SetRowSpan(this.textUCENIKRSMIDENT, 1);
            padding = new Padding(0, 1, 3, 2);
            this.textUCENIKRSMIDENT.Margin = padding;
            size = new System.Drawing.Size(0x2c, 0x16);
            this.textUCENIKRSMIDENT.MinimumSize = size;
            size = new System.Drawing.Size(0x2c, 0x16);
            this.textUCENIKRSMIDENT.Size = size;
            this.Controls.Add(this.layoutManagerformUCENIKRSMIDENT);
            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.bindingSourceUCENIKRSMIDENT;
            this.errorProviderValidator1.ErrorProvider = this.errorProvider1;
            this.Name       = "UCENIKRSMIDENTFormUserControl";
            this.Text       = "UCENIKRSMIDENT";
            this.AutoSize   = true;
            this.AutoScroll = true;
            this.Load      += new EventHandler(this.UCENIKRSMIDENTFormUserControl_Load);
            this.layoutManagerformUCENIKRSMIDENT.ResumeLayout(false);
            this.layoutManagerformUCENIKRSMIDENT.PerformLayout();
            ((ISupportInitialize)this.bindingSourceUCENIKRSMIDENT).EndInit();
            ((ISupportInitialize)this.textUCENIKRSMIDENT).EndInit();
            this.dsUCENIKRSMIDENTDataSet1.EndInit();
            this.ResumeLayout(false);
            this.PerformLayout();
        }