Пример #1
0
 public AppPopupMenuCommand(string cmdId, CommandMediator mediator, ExecuteCommandHandler executor, string caption, string desciption, int imageIndex) :
     this(cmdId, mediator, executor, caption, desciption)
 {
     Infragistics.Win.Appearance a = new Infragistics.Win.Appearance();
     a.Image = imageIndex;
     base.SharedProps.AppearancesSmall.Appearance = a;
 }
Пример #2
0
        private void InitializeComponent()
        {
            this.userControlDataGridBENEFICIRANI = new BENEFICIRANIDataGrid();
            ((ISupportInitialize)this.userControlDataGridBENEFICIRANI).BeginInit();
            UltraGridBand   band    = new UltraGridBand("BENEFICIRANI", -1);
            UltraGridColumn column2 = new UltraGridColumn("IDBENEFICIRANI");
            UltraGridColumn column3 = new UltraGridColumn("NAZIVBENEFICIRANI");
            UltraGridColumn column  = new UltraGridColumn("BROJPRIZNATIHMJESECI");

            this.SuspendLayout();
            Infragistics.Win.Appearance appearance2 = new Infragistics.Win.Appearance();
            column2.CellActivation     = Activation.NoEdit;
            column2.ButtonDisplayStyle = Infragistics.Win.UltraWinGrid.ButtonDisplayStyle.OnCellActivate;
            column2.Header.Caption     = StringResources.BENEFICIRANIIDBENEFICIRANIDescription;
            column2.Width          = 240;
            column2.Format         = "";
            column2.CellAppearance = appearance2;
            Infragistics.Win.Appearance appearance3 = new Infragistics.Win.Appearance();
            column3.CellActivation     = Activation.NoEdit;
            column3.ButtonDisplayStyle = Infragistics.Win.UltraWinGrid.ButtonDisplayStyle.OnCellActivate;
            column3.Header.Caption     = StringResources.BENEFICIRANINAZIVBENEFICIRANIDescription;
            column3.Width          = 0x128;
            column3.Format         = "";
            column3.CellAppearance = appearance3;
            Infragistics.Win.Appearance appearance = new Infragistics.Win.Appearance();
            column.CellActivation     = Activation.NoEdit;
            column.ButtonDisplayStyle = Infragistics.Win.UltraWinGrid.ButtonDisplayStyle.OnCellActivate;
            column.Header.Caption     = StringResources.BENEFICIRANIBROJPRIZNATIHMJESECIDescription;
            column.Width          = 0x120;
            appearance.TextHAlign = HAlign.Right;
            column.MaskInput      = "{LOC}-nn";
            column.PromptChar     = ' ';
            column.Format         = "";
            column.CellAppearance = appearance;
            band.Columns.Add(column2);
            column2.Header.VisiblePosition = 0;
            band.Columns.Add(column3);
            column3.Header.VisiblePosition = 1;
            band.Columns.Add(column);
            column.Header.VisiblePosition = 2;
            this.userControlDataGridBENEFICIRANI.Visible = true;
            System.Drawing.Point point = new System.Drawing.Point(0, 0);
            this.userControlDataGridBENEFICIRANI.Location = point;
            this.userControlDataGridBENEFICIRANI.Name     = "userControlDataGridBENEFICIRANI";
            this.userControlDataGridBENEFICIRANI.Tag      = "BENEFICIRANI";
            this.userControlDataGridBENEFICIRANI.Size     = new System.Drawing.Size(0x200, 0x144);
            this.userControlDataGridBENEFICIRANI.DisplayLayout.BorderStyle = UIElementBorderStyle.None;
            this.userControlDataGridBENEFICIRANI.Dock          = DockStyle.Fill;
            this.userControlDataGridBENEFICIRANI.FillAtStartup = false;
            this.userControlDataGridBENEFICIRANI.DisplayLayout.Appearance.TextHAlign = HAlign.Left;
            this.userControlDataGridBENEFICIRANI.InitializeRow += new InitializeRowEventHandler(this.BENEFICIRANIUserDataGrid_InitializeRow);
            this.userControlDataGridBENEFICIRANI.DisplayLayout.BandsSerializer.Add(band);
            this.Controls.AddRange(new Control[] { this.userControlDataGridBENEFICIRANI });
            this.Name  = "BENEFICIRANIUserDataGrid";
            this.Size  = new System.Drawing.Size(0x200, 0x144);
            this.Load += new EventHandler(this.BENEFICIRANIUserDataGrid_Load);
            ((ISupportInitialize)this.userControlDataGridBENEFICIRANI).EndInit();
            this.ResumeLayout(false);
        }
Пример #3
0
    private Infragistics.Win.Appearance getItalicAppearance()
    {
      if (m_italicAppearance != null) return m_italicAppearance;

      m_italicAppearance = new Infragistics.Win.Appearance();
      m_italicAppearance.FontData.Italic = DefaultableBoolean.True;
      return m_italicAppearance;
    }
Пример #4
0
 private void InitializeComponent()
 {
     System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(AKTIVNOSTUserDataGrid));
     Infragistics.Win.Appearance appearance1 = new Infragistics.Win.Appearance();
     Infragistics.Win.UltraWinGrid.UltraGridBand   ultraGridBand1   = new Infragistics.Win.UltraWinGrid.UltraGridBand("AKTIVNOST", -1);
     Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn1 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("IDAKTIVNOST");
     Infragistics.Win.Appearance appearance4 = new Infragistics.Win.Appearance();
     Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn2 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("NAZIVAKTIVNOST");
     this.userControlDataGridAKTIVNOST = new NetAdvantage.Controls.AKTIVNOSTDataGrid();
     ((System.ComponentModel.ISupportInitialize)(this.userControlDataGridAKTIVNOST)).BeginInit();
     this.SuspendLayout();
     //
     // userControlDataGridAKTIVNOST
     //
     appearance1.TextHAlignAsString = "Left";
     this.userControlDataGridAKTIVNOST.DisplayLayout.Appearance = appearance1;
     ultraGridColumn1.AutoCompleteMode       = Infragistics.Win.AutoCompleteMode.Append;
     ultraGridColumn1.ButtonDisplayStyle     = Infragistics.Win.UltraWinGrid.ButtonDisplayStyle.OnCellActivate;
     ultraGridColumn1.CellActivation         = Infragistics.Win.UltraWinGrid.Activation.NoEdit;
     appearance4.TextHAlignAsString          = "Right";
     ultraGridColumn1.CellAppearance         = appearance4;
     ultraGridColumn1.Format                 = "";
     ultraGridColumn1.Header.VisiblePosition = 0;
     ultraGridColumn1.MaskInput              = "{LOC}-nnnnnn";
     ultraGridColumn1.PromptChar             = ' ';
     ultraGridColumn1.Width                  = 126;
     ultraGridColumn2.AutoCompleteMode       = Infragistics.Win.AutoCompleteMode.Append;
     ultraGridColumn2.ButtonDisplayStyle     = Infragistics.Win.UltraWinGrid.ButtonDisplayStyle.OnCellActivate;
     ultraGridColumn2.CellActivation         = Infragistics.Win.UltraWinGrid.Activation.NoEdit;
     ultraGridColumn2.Format                 = "";
     ultraGridColumn2.Header.VisiblePosition = 1;
     ultraGridColumn2.Width                  = 296;
     ultraGridBand1.Columns.AddRange(new object[] {
         ultraGridColumn1,
         ultraGridColumn2
     });
     this.userControlDataGridAKTIVNOST.DisplayLayout.BandsSerializer.Add(ultraGridBand1);
     this.userControlDataGridAKTIVNOST.DisplayLayout.BorderStyle = Infragistics.Win.UIElementBorderStyle.None;
     this.userControlDataGridAKTIVNOST.Dock           = System.Windows.Forms.DockStyle.Fill;
     this.userControlDataGridAKTIVNOST.FillAtStartup  = false;
     this.userControlDataGridAKTIVNOST.FillByPage     = false;
     this.userControlDataGridAKTIVNOST.Location       = new System.Drawing.Point(0, 0);
     this.userControlDataGridAKTIVNOST.Name           = "userControlDataGridAKTIVNOST";
     this.userControlDataGridAKTIVNOST.Size           = new System.Drawing.Size(512, 324);
     this.userControlDataGridAKTIVNOST.TabIndex       = 0;
     this.userControlDataGridAKTIVNOST.Tag            = "AKTIVNOST";
     this.userControlDataGridAKTIVNOST.InitializeRow += new Infragistics.Win.UltraWinGrid.InitializeRowEventHandler(this.AKTIVNOSTUserDataGrid_InitializeRow);
     //
     // AKTIVNOSTUserDataGrid
     //
     this.Controls.Add(this.userControlDataGridAKTIVNOST);
     this.Name  = "AKTIVNOSTUserDataGrid";
     this.Size  = new System.Drawing.Size(512, 324);
     this.Load += new System.EventHandler(this.AKTIVNOSTUserDataGrid_Load);
     ((System.ComponentModel.ISupportInitialize)(this.userControlDataGridAKTIVNOST)).EndInit();
     this.ResumeLayout(false);
 }
Пример #5
0
        private void InitializeComponent()
        {
            this.userControlDataGridS_OD_OO_MJESECNO = new S_OD_OO_MJESECNODataGrid();
            ((ISupportInitialize)this.userControlDataGridS_OD_OO_MJESECNO).BeginInit();
            UltraGridBand   band    = new UltraGridBand("S_OD_OO_MJESECNO", -1);
            UltraGridColumn column  = new UltraGridColumn("IDRADNIK");
            UltraGridColumn column2 = new UltraGridColumn("UKUPNOOBRACUNATOOO");

            this.SuspendLayout();
            Infragistics.Win.Appearance appearance = new Infragistics.Win.Appearance();
            column.CellActivation     = Activation.NoEdit;
            column.ButtonDisplayStyle = Infragistics.Win.UltraWinGrid.ButtonDisplayStyle.OnCellActivate;
            column.Header.Caption     = StringResources.S_OD_OO_MJESECNOIDRADNIKDescription;
            column.Width          = 0x69;
            appearance.TextHAlign = HAlign.Right;
            column.MaskInput      = "{LOC}-nnnnnnnn";
            column.PromptChar     = ' ';
            column.Format         = "";
            column.CellAppearance = appearance;
            Infragistics.Win.Appearance appearance2 = new Infragistics.Win.Appearance();
            column2.CellActivation     = Activation.NoEdit;
            column2.ButtonDisplayStyle = Infragistics.Win.UltraWinGrid.ButtonDisplayStyle.OnCellActivate;
            column2.Header.Caption     = StringResources.S_OD_OO_MJESECNOUKUPNOOBRACUNATOOODescription;
            column2.Width          = 0x8f;
            appearance2.TextHAlign = HAlign.Right;
            column2.MaskInput      = "{LOC}-nnnnnnnnnn.nn";
            column2.PromptChar     = ' ';
            column2.Format         = "F2";
            column2.CellAppearance = appearance2;
            band.Columns.Add(column);
            column.Header.VisiblePosition = 0;
            band.Columns.Add(column2);
            column2.Header.VisiblePosition = 1;
            this.userControlDataGridS_OD_OO_MJESECNO.Visible = true;
            System.Drawing.Point point = new System.Drawing.Point(0, 0);
            this.userControlDataGridS_OD_OO_MJESECNO.Location = point;
            this.userControlDataGridS_OD_OO_MJESECNO.Name     = "userControlDataGridS_OD_OO_MJESECNO";
            this.userControlDataGridS_OD_OO_MJESECNO.Tag      = "S_OD_OO_MJESECNO";
            Size size = new System.Drawing.Size(0x200, 0x144);

            this.userControlDataGridS_OD_OO_MJESECNO.Size = size;
            this.userControlDataGridS_OD_OO_MJESECNO.DisplayLayout.BorderStyle = UIElementBorderStyle.None;
            this.userControlDataGridS_OD_OO_MJESECNO.Dock          = DockStyle.Fill;
            this.userControlDataGridS_OD_OO_MJESECNO.FillAtStartup = false;
            this.userControlDataGridS_OD_OO_MJESECNO.DisplayLayout.Appearance.TextHAlign = HAlign.Left;
            this.userControlDataGridS_OD_OO_MJESECNO.InitializeRow += new InitializeRowEventHandler(this.S_OD_OO_MJESECNOUserDataGrid_InitializeRow);
            this.userControlDataGridS_OD_OO_MJESECNO.DisplayLayout.BandsSerializer.Add(band);
            this.Controls.AddRange(new Control[] { this.userControlDataGridS_OD_OO_MJESECNO });
            this.Name  = "S_OD_OO_MJESECNOUserDataGrid";
            size       = new System.Drawing.Size(0x200, 0x144);
            this.Size  = size;
            this.Load += new EventHandler(this.S_OD_OO_MJESECNOUserDataGrid_Load);
            ((ISupportInitialize)this.userControlDataGridS_OD_OO_MJESECNO).EndInit();
            this.ResumeLayout(false);
        }
Пример #6
0
        private void InitializeComponent()
        {
            this.userControlDataGridS_OS_BROJ_I_DATUM = new S_OS_BROJ_I_DATUMDataGrid();
            ((ISupportInitialize)this.userControlDataGridS_OS_BROJ_I_DATUM).BeginInit();
            UltraGridBand   band    = new UltraGridBand("S_OS_BROJ_I_DATUM", -1);
            UltraGridColumn column  = new UltraGridColumn("BROJDOK");
            UltraGridColumn column2 = new UltraGridColumn("ZADNJIDATUM");

            this.SuspendLayout();
            Infragistics.Win.Appearance appearance = new Infragistics.Win.Appearance();
            column.CellActivation     = Activation.NoEdit;
            column.ButtonDisplayStyle = Infragistics.Win.UltraWinGrid.ButtonDisplayStyle.OnCellActivate;
            column.Header.Caption     = StringResources.S_OS_BROJ_I_DATUMBROJDOKDescription;
            column.Width          = 0x48;
            appearance.TextHAlign = HAlign.Right;
            column.MaskInput      = "{LOC}-nnnnnnnn";
            column.PromptChar     = ' ';
            column.Format         = "";
            column.CellAppearance = appearance;
            Infragistics.Win.Appearance appearance2 = new Infragistics.Win.Appearance();
            column2.CellActivation     = Activation.NoEdit;
            column2.ButtonDisplayStyle = Infragistics.Win.UltraWinGrid.ButtonDisplayStyle.OnCellActivate;
            column2.Header.Caption     = StringResources.S_OS_BROJ_I_DATUMZADNJIDATUMDescription;
            column2.Width          = 100;
            column2.MinValue       = DateTime.MinValue;
            column2.MaxValue       = DateTime.MaxValue;
            column2.Format         = "d";
            column2.CellAppearance = appearance2;
            band.Columns.Add(column);
            column.Header.VisiblePosition = 0;
            band.Columns.Add(column2);
            column2.Header.VisiblePosition = 1;
            this.userControlDataGridS_OS_BROJ_I_DATUM.Visible = true;
            System.Drawing.Point point = new System.Drawing.Point(0, 0);
            this.userControlDataGridS_OS_BROJ_I_DATUM.Location = point;
            this.userControlDataGridS_OS_BROJ_I_DATUM.Name     = "userControlDataGridS_OS_BROJ_I_DATUM";
            this.userControlDataGridS_OS_BROJ_I_DATUM.Tag      = "S_OS_BROJ_I_DATUM";
            Size size = new System.Drawing.Size(0x200, 0x144);

            this.userControlDataGridS_OS_BROJ_I_DATUM.Size = size;
            this.userControlDataGridS_OS_BROJ_I_DATUM.DisplayLayout.BorderStyle = UIElementBorderStyle.None;
            this.userControlDataGridS_OS_BROJ_I_DATUM.Dock          = DockStyle.Fill;
            this.userControlDataGridS_OS_BROJ_I_DATUM.FillAtStartup = false;
            this.userControlDataGridS_OS_BROJ_I_DATUM.DisplayLayout.Appearance.TextHAlign = HAlign.Left;
            this.userControlDataGridS_OS_BROJ_I_DATUM.InitializeRow += new InitializeRowEventHandler(this.S_OS_BROJ_I_DATUMUserDataGrid_InitializeRow);
            this.userControlDataGridS_OS_BROJ_I_DATUM.DisplayLayout.BandsSerializer.Add(band);
            this.Controls.AddRange(new Control[] { this.userControlDataGridS_OS_BROJ_I_DATUM });
            this.Name  = "S_OS_BROJ_I_DATUMUserDataGrid";
            size       = new System.Drawing.Size(0x200, 0x144);
            this.Size  = size;
            this.Load += new EventHandler(this.S_OS_BROJ_I_DATUMUserDataGrid_Load);
            ((ISupportInitialize)this.userControlDataGridS_OS_BROJ_I_DATUM).EndInit();
            this.ResumeLayout(false);
        }
Пример #7
0
        private void InitializeComponent()
        {
            this.userControlDataGridIRAVRSTAIZNOSA = new IRAVRSTAIZNOSADataGrid();
            ((ISupportInitialize)this.userControlDataGridIRAVRSTAIZNOSA).BeginInit();
            UltraGridBand   band    = new UltraGridBand("IRAVRSTAIZNOSA", -1);
            UltraGridColumn column  = new UltraGridColumn("IDIRAVRSTAIZNOSA");
            UltraGridColumn column2 = new UltraGridColumn("IRAVRSTAIZNOSANAZIV");

            this.SuspendLayout();
            Infragistics.Win.Appearance appearance = new Infragistics.Win.Appearance();
            column.CellActivation     = Activation.NoEdit;
            column.ButtonDisplayStyle = Infragistics.Win.UltraWinGrid.ButtonDisplayStyle.OnCellActivate;
            column.Header.Caption     = StringResources.IRAVRSTAIZNOSAIDIRAVRSTAIZNOSADescription;
            column.Width          = 0x7e;
            appearance.TextHAlign = HAlign.Right;
            column.MaskInput      = "{LOC}-nnnnn";
            column.PromptChar     = ' ';
            column.Format         = "";
            column.CellAppearance = appearance;
            Infragistics.Win.Appearance appearance2 = new Infragistics.Win.Appearance();
            column2.CellActivation     = Activation.NoEdit;
            column2.ButtonDisplayStyle = Infragistics.Win.UltraWinGrid.ButtonDisplayStyle.OnCellActivate;
            column2.Header.Caption     = StringResources.IRAVRSTAIZNOSAIRAVRSTAIZNOSANAZIVDescription;
            column2.Width          = 0xe2;
            column2.Format         = "";
            column2.CellAppearance = appearance2;
            band.Columns.Add(column);
            column.Header.VisiblePosition = 0;
            band.Columns.Add(column2);
            column2.Header.VisiblePosition = 1;
            this.userControlDataGridIRAVRSTAIZNOSA.Visible = true;
            System.Drawing.Point point = new System.Drawing.Point(0, 0);
            this.userControlDataGridIRAVRSTAIZNOSA.Location = point;
            this.userControlDataGridIRAVRSTAIZNOSA.Name     = "userControlDataGridIRAVRSTAIZNOSA";
            this.userControlDataGridIRAVRSTAIZNOSA.Tag      = "IRAVRSTAIZNOSA";
            Size size = new System.Drawing.Size(0x200, 0x144);

            this.userControlDataGridIRAVRSTAIZNOSA.Size = size;
            this.userControlDataGridIRAVRSTAIZNOSA.DisplayLayout.BorderStyle = UIElementBorderStyle.None;
            this.userControlDataGridIRAVRSTAIZNOSA.Dock          = DockStyle.Fill;
            this.userControlDataGridIRAVRSTAIZNOSA.FillAtStartup = false;
            this.userControlDataGridIRAVRSTAIZNOSA.DisplayLayout.Appearance.TextHAlign = HAlign.Left;
            this.userControlDataGridIRAVRSTAIZNOSA.InitializeRow += new InitializeRowEventHandler(this.IRAVRSTAIZNOSAUserDataGrid_InitializeRow);
            this.userControlDataGridIRAVRSTAIZNOSA.DisplayLayout.BandsSerializer.Add(band);
            this.Controls.AddRange(new Control[] { this.userControlDataGridIRAVRSTAIZNOSA });
            this.Name  = "IRAVRSTAIZNOSAUserDataGrid";
            size       = new System.Drawing.Size(0x200, 0x144);
            this.Size  = size;
            this.Load += new EventHandler(this.IRAVRSTAIZNOSAUserDataGrid_Load);
            ((ISupportInitialize)this.userControlDataGridIRAVRSTAIZNOSA).EndInit();
            this.ResumeLayout(false);
        }
Пример #8
0
        private void InitializeComponent()
        {
            this.userControlDataGridZAPOSLENI = new ZAPOSLENIDataGrid();
            ((ISupportInitialize)this.userControlDataGridZAPOSLENI).BeginInit();
            UltraGridBand   band    = new UltraGridBand("ZAPOSLENI", -1);
            UltraGridColumn column2 = new UltraGridColumn("IDRADNIK");
            UltraGridColumn column  = new UltraGridColumn("DATUMZAPOSLENJA");

            this.SuspendLayout();
            Infragistics.Win.Appearance appearance2 = new Infragistics.Win.Appearance();
            column2.CellActivation     = Activation.NoEdit;
            column2.ButtonDisplayStyle = Infragistics.Win.UltraWinGrid.ButtonDisplayStyle.OnCellActivate;
            column2.Header.Caption     = StringResources.ZAPOSLENIIDRADNIKDescription;
            column2.Width          = 0x69;
            column2.Format         = "";
            column2.CellAppearance = appearance2;
            Infragistics.Win.Appearance appearance = new Infragistics.Win.Appearance();
            column.CellActivation     = Activation.NoEdit;
            column.ButtonDisplayStyle = Infragistics.Win.UltraWinGrid.ButtonDisplayStyle.OnCellActivate;
            column.Header.Caption     = StringResources.ZAPOSLENIDATUMZAPOSLENJADescription;
            column.Width          = 0xe2;
            column.MinValue       = DateTime.MinValue;
            column.MaxValue       = DateTime.MaxValue;
            column.Format         = "d";
            column.CellAppearance = appearance;
            band.Columns.Add(column2);
            column2.Header.VisiblePosition = 0;
            band.Columns.Add(column);
            column.Header.VisiblePosition             = 1;
            this.userControlDataGridZAPOSLENI.Visible = true;
            System.Drawing.Point point = new System.Drawing.Point(0, 0);
            this.userControlDataGridZAPOSLENI.Location = point;
            this.userControlDataGridZAPOSLENI.Name     = "userControlDataGridZAPOSLENI";
            this.userControlDataGridZAPOSLENI.Tag      = "ZAPOSLENI";
            Size size = new System.Drawing.Size(0x200, 0x144);

            this.userControlDataGridZAPOSLENI.Size = size;
            this.userControlDataGridZAPOSLENI.DisplayLayout.BorderStyle = UIElementBorderStyle.None;
            this.userControlDataGridZAPOSLENI.Dock          = DockStyle.Fill;
            this.userControlDataGridZAPOSLENI.FillAtStartup = false;
            this.userControlDataGridZAPOSLENI.DisplayLayout.Appearance.TextHAlign = HAlign.Left;
            this.userControlDataGridZAPOSLENI.InitializeRow += new InitializeRowEventHandler(this.ZAPOSLENIUserDataGrid_InitializeRow);
            this.userControlDataGridZAPOSLENI.DisplayLayout.BandsSerializer.Add(band);
            this.Controls.AddRange(new Control[] { this.userControlDataGridZAPOSLENI });
            this.Name  = "ZAPOSLENIUserDataGrid";
            size       = new System.Drawing.Size(0x200, 0x144);
            this.Size  = size;
            this.Load += new EventHandler(this.ZAPOSLENIUserDataGrid_Load);
            ((ISupportInitialize)this.userControlDataGridZAPOSLENI).EndInit();
            this.ResumeLayout(false);
        }
Пример #9
0
        private void InitializeComponent()
        {
            Infragistics.Win.Appearance appearance = new Infragistics.Win.Appearance();
            this.ultraLabel1 = new Infragistics.Win.Misc.UltraLabel();
            this.button1     = new UltraButton();
            this.panel1      = new Panel();
            this.panel1.SuspendLayout();
            this.SuspendLayout();
            appearance.FontData.UnderlineAsString = "True";
            appearance.ForeColor        = Color.FromArgb(0, 0, 0xc0);
            this.ultraLabel1.Appearance = appearance;
            this.ultraLabel1.AutoSize   = true;
            this.ultraLabel1.Cursor     = Cursors.Hand;
            this.ultraLabel1.Dock       = DockStyle.Bottom;
            System.Drawing.Point point = new System.Drawing.Point(1, 7);
            this.ultraLabel1.Location = point;
            this.ultraLabel1.Name     = "ultraLabel1";
            Size size = new System.Drawing.Size(60, 14);

            this.ultraLabel1.Size     = size;
            this.ultraLabel1.TabIndex = 0;
            this.ultraLabel1.Text     = " ";
            this.button1.Anchor       = AnchorStyles.Right | AnchorStyles.Bottom | AnchorStyles.Top;
            point = new System.Drawing.Point(0x55, 1);
            this.button1.Location      = point;
            this.button1.Name          = "button1";
            this.button1.ShowOutline   = false;
            this.button1.ShowFocusRect = false;
            size = new System.Drawing.Size(20, 20);
            this.button1.Size     = size;
            this.button1.TabIndex = 1;
            this.button1.Text     = "...";
            this.panel1.BackColor = System.Drawing.SystemColors.ControlLightLight;
            this.panel1.Controls.Add(this.button1);
            this.panel1.Controls.Add(this.ultraLabel1);
            this.panel1.Dock            = DockStyle.Fill;
            this.panel1.DockPadding.All = 1;
            point = new System.Drawing.Point(1, 1);
            this.panel1.Location = point;
            this.panel1.Name     = "panel1";
            size                 = new System.Drawing.Size(110, 0x16);
            this.panel1.Size     = size;
            this.panel1.TabIndex = 2;
            this.Controls.Add(this.panel1);
            this.DockPadding.All = 1;
            this.Name            = "LinkUltraLabelPrompt";
            size      = new System.Drawing.Size(0x70, 0x18);
            this.Size = size;
            this.panel1.ResumeLayout(false);
            this.ResumeLayout(false);
        }
Пример #10
0
        private void InitializeComponent()
        {
            this.userControlDataGridRAD1VEZASPOL = new RAD1VEZASPOLDataGrid();
            ((ISupportInitialize)this.userControlDataGridRAD1VEZASPOL).BeginInit();
            UltraGridBand   band    = new UltraGridBand("RAD1VEZASPOL", -1);
            UltraGridColumn column2 = new UltraGridColumn("RAD1SPOLID");
            UltraGridColumn column  = new UltraGridColumn("IDSPOL");

            this.SuspendLayout();
            Infragistics.Win.Appearance appearance2 = new Infragistics.Win.Appearance();
            column2.CellActivation     = Activation.NoEdit;
            column2.ButtonDisplayStyle = Infragistics.Win.UltraWinGrid.ButtonDisplayStyle.OnCellActivate;
            column2.Header.Caption     = StringResources.RAD1VEZASPOLRAD1SPOLIDDescription;
            column2.Width          = 0x92;
            column2.Format         = "";
            column2.CellAppearance = appearance2;
            Infragistics.Win.Appearance appearance = new Infragistics.Win.Appearance();
            column.CellActivation     = Activation.NoEdit;
            column.ButtonDisplayStyle = Infragistics.Win.UltraWinGrid.ButtonDisplayStyle.OnCellActivate;
            column.Header.Caption     = StringResources.RAD1VEZASPOLIDSPOLDescription;
            column.Width          = 0xcf;
            column.Format         = "";
            column.CellAppearance = appearance;
            band.Columns.Add(column2);
            column2.Header.VisiblePosition = 0;
            band.Columns.Add(column);
            column.Header.VisiblePosition = 1;
            this.userControlDataGridRAD1VEZASPOL.Visible = true;
            System.Drawing.Point point = new System.Drawing.Point(0, 0);
            this.userControlDataGridRAD1VEZASPOL.Location = point;
            this.userControlDataGridRAD1VEZASPOL.Name     = "userControlDataGridRAD1VEZASPOL";
            this.userControlDataGridRAD1VEZASPOL.Tag      = "RAD1VEZASPOL";
            Size size = new System.Drawing.Size(0x200, 0x144);

            this.userControlDataGridRAD1VEZASPOL.Size = size;
            this.userControlDataGridRAD1VEZASPOL.DisplayLayout.BorderStyle = UIElementBorderStyle.None;
            this.userControlDataGridRAD1VEZASPOL.Dock          = DockStyle.Fill;
            this.userControlDataGridRAD1VEZASPOL.FillAtStartup = false;
            this.userControlDataGridRAD1VEZASPOL.DisplayLayout.Appearance.TextHAlign = HAlign.Left;
            this.userControlDataGridRAD1VEZASPOL.InitializeRow += new InitializeRowEventHandler(this.RAD1VEZASPOLUserDataGrid_InitializeRow);
            this.userControlDataGridRAD1VEZASPOL.DisplayLayout.BandsSerializer.Add(band);
            this.Controls.AddRange(new Control[] { this.userControlDataGridRAD1VEZASPOL });
            this.Name  = "RAD1VEZASPOLUserDataGrid";
            size       = new System.Drawing.Size(0x200, 0x144);
            this.Size  = size;
            this.Load += new EventHandler(this.RAD1VEZASPOLUserDataGrid_Load);
            ((ISupportInitialize)this.userControlDataGridRAD1VEZASPOL).EndInit();
            this.ResumeLayout(false);
        }
Пример #11
0
		/// <summary>
		/// Required method for Designer support - do not modify
		/// the contents of this method with the code editor.
		/// </summary>
		private void InitializeComponent()
		{
			Infragistics.Win.Appearance appearance1 = new Infragistics.Win.Appearance();
			this.ultraGrid1 = new Infragistics.Win.UltraWinGrid.UltraGrid();
			this.ultraLabel1 = new Infragistics.Win.Misc.UltraLabel();
			((System.ComponentModel.ISupportInitialize)(this.ultraGrid1)).BeginInit();
			this.SuspendLayout();
			// 
			// ultraGrid1
			// 
			this.ultraGrid1.Anchor = (((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) 
				| System.Windows.Forms.AnchorStyles.Left) 
				| System.Windows.Forms.AnchorStyles.Right);
			this.ultraGrid1.Location = new System.Drawing.Point(8, 64);
			this.ultraGrid1.Name = "ultraGrid1";
			this.ultraGrid1.Size = new System.Drawing.Size(520, 200);
			this.ultraGrid1.TabIndex = 0;
			this.ultraGrid1.Text = "ultraGrid1";
			this.ultraGrid1.InitializeLayout += new Infragistics.Win.UltraWinGrid.InitializeLayoutEventHandler(this.ultraGrid1_InitializeLayout);
			// 
			// ultraLabel1
			// 
			this.ultraLabel1.Anchor = ((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) 
				| System.Windows.Forms.AnchorStyles.Right);
			appearance1.BackColor = System.Drawing.Color.White;
			appearance1.BackColor2 = System.Drawing.Color.FromArgb(((System.Byte)(192)), ((System.Byte)(255)), ((System.Byte)(255)));
			appearance1.BackGradientStyle = Infragistics.Win.GradientStyle.Vertical;
			this.ultraLabel1.Appearance = appearance1;
			this.ultraLabel1.Location = new System.Drawing.Point(8, 8);
			this.ultraLabel1.Name = "ultraLabel1";
			this.ultraLabel1.Size = new System.Drawing.Size(520, 56);
			this.ultraLabel1.TabIndex = 1;
			this.ultraLabel1.Text = @"Click a column header to sort the grid. Give the grid focus, but make sure the grid is not in edit mode. If a cell is in edit mode, press F2 to exit edit mode. Then type the characters of the text you want to find. The grid will select the row that matches what you type. The search is performed on the current sorted column. Click a column header to sort by a different column and then type to search that column.";
			// 
			// Form1
			// 
			this.AutoScaleBaseSize = new System.Drawing.Size(5, 13);
			this.ClientSize = new System.Drawing.Size(536, 270);
			this.Controls.AddRange(new System.Windows.Forms.Control[] {
																		  this.ultraLabel1,
																		  this.ultraGrid1});
			this.Name = "Form1";
			this.Text = "Keyboard Searching in WinGrid";
			this.Load += new System.EventHandler(this.Form1_Load);
			this.Closed += new System.EventHandler(this.Form1_Closed);
			((System.ComponentModel.ISupportInitialize)(this.ultraGrid1)).EndInit();
			this.ResumeLayout(false);

		}
Пример #12
0
        private void CreateNewButton(string key)
        {
            // Create a new button with the appropriate appearance.
            UltraButton button = new UltraButton()
            {
                ButtonStyle   = Infragistics.Win.UIElementButtonStyle.Office2013Button,
                DrawFilter    = this,
                ImageSize     = new System.Drawing.Size(200, 150),
                Margin        = new System.Windows.Forms.Padding(20),
                ShowFocusRect = false,
                ShowOutline   = false,
                Size          = new Size(250, 225),
                Tag           = key,
                UseOsThemes   = Infragistics.Win.DefaultableBoolean.False,
            };


            key         = (string.IsNullOrEmpty(key)) ? "BlankDocument" : key.Replace(".xlsx", string.Empty).Split('.').Last();
            button.Text = key;
            Infragistics.Win.Appearance appearance = new Infragistics.Win.Appearance()
            {
                ImageHAlign = HAlign.Center,
                ImageVAlign = VAlign.Middle,
                TextHAlign  = HAlign.Left,
                TextVAlign  = VAlign.Bottom,
            };
            using (Stream stream = Assembly.GetExecutingAssembly().GetManifestResourceStream(string.Format("IGExcel.Images.{0}.png", key)))
            {
                if (stream != null)
                {
                    Image image = Image.FromStream(stream);
                    appearance.Image = image;
                }
            }
            button.Appearance = appearance;

            // Add the button to the FlowLayoutPanel
            this.flowLayoutPanel1.Controls.Add(button);

            // Hook up the event handler
            button.Click += (sender, args) =>
            {
                this.CreateWorkbook(((UltraButton)sender).Tag as string);
            };
        }
Пример #13
0
        /// <summary>
        /// Displays a desktop alert
        /// </summary>
        /// <param name="messageText">string to be displayed in the desktop alert</param>
        public static void ShowDesktopAlert(string messageText)
        {
            Configuration config         = ConfigurationManager.OpenExeConfiguration(Path.Combine(Application.StartupPath, "AuditWizardv8.exe"));
            int           autoCloseDelay = (Convert.ToInt32(config.AppSettings.Settings["DesktopAlertFadeOutSeconds"].Value) * 1000);

            //float alertOpacity = (Convert.ToSingle(config.AppSettings.Settings["DesktopAlertOpacityPercent"].Value) / 100);

            Infragistics.Win.Appearance normalLinkAppearance = new Infragistics.Win.Appearance();
            normalLinkAppearance.ForeColor             = System.Drawing.SystemColors.WindowText;
            normalLinkAppearance.FontData.Name         = "Calibri";
            normalLinkAppearance.FontData.SizeInPoints = 9.5F;

            _desktopAlert.CaptionAppearance    = normalLinkAppearance;
            _desktopAlert.TextAppearance       = normalLinkAppearance;
            _desktopAlert.FooterTextAppearance = normalLinkAppearance;

            _desktopAlert.Opacity            = 0.9F;// alertOpacity;
            _desktopAlert.Visible            = true;
            _desktopAlert.AutoClose          = DefaultableBoolean.True;
            _desktopAlert.AutoCloseDelay     = autoCloseDelay;
            _desktopAlert.ImageSize          = new System.Drawing.Size(32, 32);
            _desktopAlert.AllowMove          = DefaultableBoolean.False;
            _desktopAlert.TreatCaptionAsLink = DefaultableBoolean.False;
            _desktopAlert.TreatTextAsLink    = DefaultableBoolean.False;

            _desktopAlert.FixedSize = new System.Drawing.Size(350, 0);

            _desktopAlert.AnimationSpeed                    = AnimationSpeed.Slow;
            _desktopAlert.AnimationStyleShow                = AnimationStyle.Fade;
            _desktopAlert.AnimationStyleAutoClose           = AnimationStyle.Fade;
            _desktopAlert.AnimationScrollDirectionShow      = AnimationScrollDirection.BottomToTop;
            _desktopAlert.AnimationScrollDirectionAutoClose = AnimationScrollDirection.TopToBottom;
            _desktopAlert.MultipleWindowDisplayStyle        = MultipleWindowDisplayStyle.Tiled;

            //  Create a new instance of the UltraDesktopAlertShowWindowInfo class.
            UltraDesktopAlertShowWindowInfo showInfo = new UltraDesktopAlertShowWindowInfo();

            showInfo.Text    = "<span style=\"text-decoration:none\">" + messageText + "  " + "</span>";
            showInfo.Caption = "<span style=\"text-decoration:none\">AuditWizard notification</span>";
            showInfo.Screen  = Screen.AllScreens[Screen.AllScreens.Length - 1];

            _desktopAlert.Show(showInfo);
        }
Пример #14
0
        private void InitializeComponent()
        {
            Infragistics.Win.Appearance appearance = new Infragistics.Win.Appearance();
            this.ultraPictureBox1 = new Infragistics.Win.UltraWinEditors.UltraPictureBox();
            this.button1          = new System.Windows.Forms.Button();
            this.panel1           = new Panel();
            this.panel1.SuspendLayout();
            this.SuspendLayout();
            appearance.ImageHAlign                  = HAlign.Left;
            appearance.ImageVAlign                  = VAlign.Top;
            this.ultraPictureBox1.Appearance        = appearance;
            this.ultraPictureBox1.BorderShadowColor = Color.Empty;
            this.ultraPictureBox1.Dock              = DockStyle.Fill;
            System.Drawing.Point point = new System.Drawing.Point(0, 0);
            this.ultraPictureBox1.Location = point;
            this.ultraPictureBox1.Name     = "ultraPictureBox1";
            Size size = new System.Drawing.Size(150, 150);

            this.ultraPictureBox1.Size     = size;
            this.ultraPictureBox1.TabIndex = 0;
            this.button1.Dock     = DockStyle.Left;
            point                 = new System.Drawing.Point(0, 0);
            this.button1.Location = point;
            this.button1.Name     = "button1";
            size = new System.Drawing.Size(0x18, 20);
            this.button1.Size     = size;
            this.button1.TabIndex = 1;
            this.button1.Text     = "...";
            this.panel1.Controls.Add(this.button1);
            this.panel1.Dock     = DockStyle.Top;
            point                = new System.Drawing.Point(0, 0);
            this.panel1.Location = point;
            this.panel1.Name     = "panel1";
            size                 = new System.Drawing.Size(150, 20);
            this.panel1.Size     = size;
            this.panel1.TabIndex = 2;
            this.Controls.Add(this.panel1);
            this.Controls.Add(this.ultraPictureBox1);
            this.Name = "ViewImageControl";
            this.panel1.ResumeLayout(false);
            this.ResumeLayout(false);
        }
Пример #15
0
        /// <summary>
        /// Displays a desktop alert for tasks
        /// </summary>
        /// <param name="messageText">string to be displayed in the desktop alert</param>
        public static void ShowDesktopAlertForTasks(string messageText, int aTaskID)
        {
            Infragistics.Win.Appearance normalLinkAppearance = new Infragistics.Win.Appearance();
            normalLinkAppearance.ForeColor             = System.Drawing.SystemColors.WindowText;
            normalLinkAppearance.FontData.Name         = "Verdana";
            normalLinkAppearance.FontData.SizeInPoints = 8;

            _desktopAlert.CaptionAppearance    = normalLinkAppearance;
            _desktopAlert.TextAppearance       = normalLinkAppearance;
            _desktopAlert.FooterTextAppearance = normalLinkAppearance;

            _desktopAlert.Opacity            = 0.9F;// alertOpacity;
            _desktopAlert.Visible            = true;
            _desktopAlert.AutoClose          = DefaultableBoolean.False;
            _desktopAlert.ImageSize          = new System.Drawing.Size(32, 32);
            _desktopAlert.AllowMove          = DefaultableBoolean.False;
            _desktopAlert.TreatCaptionAsLink = DefaultableBoolean.False;
            _desktopAlert.TreatTextAsLink    = DefaultableBoolean.True;

            _desktopAlert.FixedSize = new System.Drawing.Size(350, 0);

            _desktopAlert.AnimationSpeed                    = AnimationSpeed.Slow;
            _desktopAlert.AnimationStyleShow                = AnimationStyle.Fade;
            _desktopAlert.AnimationStyleAutoClose           = AnimationStyle.Fade;
            _desktopAlert.AnimationScrollDirectionShow      = AnimationScrollDirection.BottomToTop;
            _desktopAlert.AnimationScrollDirectionAutoClose = AnimationScrollDirection.TopToBottom;
            _desktopAlert.MultipleWindowDisplayStyle        = MultipleWindowDisplayStyle.Tiled;

            _desktopAlert.DesktopAlertLinkClicked -= new DesktopAlertLinkClickedHandler(_desktopAlert_SupportDesktopAlertLinkClicked);
            _desktopAlert.DesktopAlertLinkClicked += new DesktopAlertLinkClickedHandler(_desktopAlert_DesktopAlertLinkClicked);

            //  Create a new instance of the UltraDesktopAlertShowWindowInfo class.
            UltraDesktopAlertShowWindowInfo showInfo = new UltraDesktopAlertShowWindowInfo();

            showInfo.Text    = "<span style=\"text-decoration:none\">" + messageText + "</span>";
            showInfo.Caption = "<span style=\"text-decoration:none\">AuditWizard notification</span>";
            showInfo.Data    = aTaskID;
            showInfo.Screen  = Screen.AllScreens[Screen.AllScreens.Length - 1];

            _desktopAlert.Show(showInfo);
        }
Пример #16
0
        private void InitializeComponent()
        {
            this.userControlDataGridVW_GODINE_OBRACUNA = new VW_GODINE_OBRACUNADataGrid();
            ((ISupportInitialize)this.userControlDataGridVW_GODINE_OBRACUNA).BeginInit();
            UltraGridBand   band   = new UltraGridBand("VW_GODINE_OBRACUNA", -1);
            UltraGridColumn column = new UltraGridColumn("GODINAOBRACUNA");

            this.SuspendLayout();
            Infragistics.Win.Appearance appearance = new Infragistics.Win.Appearance();
            column.CellActivation     = Activation.NoEdit;
            column.ButtonDisplayStyle = Infragistics.Win.UltraWinGrid.ButtonDisplayStyle.OnCellActivate;
            column.Header.Caption     = StringResources.VW_GODINE_OBRACUNAGODINAOBRACUNADescription;
            column.Width          = 0x79;
            column.Format         = "";
            column.CellAppearance = appearance;
            band.Columns.Add(column);
            column.Header.VisiblePosition = 0;
            this.userControlDataGridVW_GODINE_OBRACUNA.Visible = true;
            System.Drawing.Point point = new System.Drawing.Point(0, 0);
            this.userControlDataGridVW_GODINE_OBRACUNA.Location = point;
            this.userControlDataGridVW_GODINE_OBRACUNA.Name     = "userControlDataGridVW_GODINE_OBRACUNA";
            this.userControlDataGridVW_GODINE_OBRACUNA.Tag      = "VW_GODINE_OBRACUNA";
            Size size = new System.Drawing.Size(0x200, 0x144);

            this.userControlDataGridVW_GODINE_OBRACUNA.Size = size;
            this.userControlDataGridVW_GODINE_OBRACUNA.DisplayLayout.BorderStyle = UIElementBorderStyle.None;
            this.userControlDataGridVW_GODINE_OBRACUNA.Dock          = DockStyle.Fill;
            this.userControlDataGridVW_GODINE_OBRACUNA.FillAtStartup = false;
            this.userControlDataGridVW_GODINE_OBRACUNA.DisplayLayout.Appearance.TextHAlign = HAlign.Left;
            this.userControlDataGridVW_GODINE_OBRACUNA.InitializeRow += new InitializeRowEventHandler(this.VW_GODINE_OBRACUNAUserDataGrid_InitializeRow);
            this.userControlDataGridVW_GODINE_OBRACUNA.DisplayLayout.BandsSerializer.Add(band);
            this.Controls.AddRange(new Control[] { this.userControlDataGridVW_GODINE_OBRACUNA });
            this.Name  = "VW_GODINE_OBRACUNAUserDataGrid";
            size       = new System.Drawing.Size(0x200, 0x144);
            this.Size  = size;
            this.Load += new EventHandler(this.VW_GODINE_OBRACUNAUserDataGrid_Load);
            ((ISupportInitialize)this.userControlDataGridVW_GODINE_OBRACUNA).EndInit();
            this.ResumeLayout(false);
        }
Пример #17
0
        private void InitializeComponent()
        {
            this.userControlDataGridsp_id_detalji = new sp_id_detaljiDataGrid();
            ((ISupportInitialize)this.userControlDataGridsp_id_detalji).BeginInit();
            UltraGridBand   band    = new UltraGridBand("sp_id_detalji", -1);
            UltraGridColumn column  = new UltraGridColumn("ididobrasca");
            UltraGridColumn column7 = new UltraGridColumn("REDNIBROJ");
            UltraGridColumn column2 = new UltraGridColumn("IDOPCINE");
            UltraGridColumn column3 = new UltraGridColumn("NAZIVOPCINE");
            UltraGridColumn column4 = new UltraGridColumn("obracunaniporez");
            UltraGridColumn column5 = new UltraGridColumn("obracunaniprirez");
            UltraGridColumn column6 = new UltraGridColumn("obracunanoukupno");

            this.SuspendLayout();
            Infragistics.Win.Appearance appearance = new Infragistics.Win.Appearance();
            column.CellActivation     = Activation.NoEdit;
            column.ButtonDisplayStyle = Infragistics.Win.UltraWinGrid.ButtonDisplayStyle.OnCellActivate;
            column.Header.Caption     = StringResources.sp_id_detaljiididobrascaDescription;
            column.Width          = 0x5c;
            appearance.TextHAlign = HAlign.Right;
            column.MaskInput      = "{LOC}-nnnnn";
            column.PromptChar     = ' ';
            column.Format         = "";
            column.CellAppearance = appearance;
            Infragistics.Win.Appearance appearance7 = new Infragistics.Win.Appearance();
            column7.CellActivation     = Activation.NoEdit;
            column7.ButtonDisplayStyle = Infragistics.Win.UltraWinGrid.ButtonDisplayStyle.OnCellActivate;
            column7.Header.Caption     = StringResources.sp_id_detaljiREDNIBROJDescription;
            column7.Width          = 0x4f;
            column7.Format         = "";
            column7.CellAppearance = appearance7;
            Infragistics.Win.Appearance appearance2 = new Infragistics.Win.Appearance();
            column2.CellActivation     = Activation.NoEdit;
            column2.ButtonDisplayStyle = Infragistics.Win.UltraWinGrid.ButtonDisplayStyle.OnCellActivate;
            column2.Header.Caption     = StringResources.sp_id_detaljiIDOPCINEDescription;
            column2.Width          = 100;
            column2.Format         = "";
            column2.CellAppearance = appearance2;
            Infragistics.Win.Appearance appearance3 = new Infragistics.Win.Appearance();
            column3.CellActivation     = Activation.NoEdit;
            column3.ButtonDisplayStyle = Infragistics.Win.UltraWinGrid.ButtonDisplayStyle.OnCellActivate;
            column3.Header.Caption     = StringResources.sp_id_detaljiNAZIVOPCINEDescription;
            column3.Width          = 0x128;
            column3.Format         = "";
            column3.CellAppearance = appearance3;
            Infragistics.Win.Appearance appearance4 = new Infragistics.Win.Appearance();
            column4.CellActivation     = Activation.NoEdit;
            column4.ButtonDisplayStyle = Infragistics.Win.UltraWinGrid.ButtonDisplayStyle.OnCellActivate;
            column4.Header.Caption     = StringResources.sp_id_detaljiobracunaniporezDescription;
            column4.Width          = 0x7b;
            appearance4.TextHAlign = HAlign.Right;
            column4.MaskInput      = "{LOC}-nnnnnnnnnn.nn";
            column4.PromptChar     = ' ';
            column4.Format         = "F2";
            column4.CellAppearance = appearance4;
            Infragistics.Win.Appearance appearance5 = new Infragistics.Win.Appearance();
            column5.CellActivation     = Activation.NoEdit;
            column5.ButtonDisplayStyle = Infragistics.Win.UltraWinGrid.ButtonDisplayStyle.OnCellActivate;
            column5.Header.Caption     = StringResources.sp_id_detaljiobracunaniprirezDescription;
            column5.Width          = 0x81;
            appearance5.TextHAlign = HAlign.Right;
            column5.MaskInput      = "{LOC}-nnnnnnnnnn.nn";
            column5.PromptChar     = ' ';
            column5.Format         = "F2";
            column5.CellAppearance = appearance5;
            Infragistics.Win.Appearance appearance6 = new Infragistics.Win.Appearance();
            column6.CellActivation     = Activation.NoEdit;
            column6.ButtonDisplayStyle = Infragistics.Win.UltraWinGrid.ButtonDisplayStyle.OnCellActivate;
            column6.Header.Caption     = StringResources.sp_id_detaljiobracunanoukupnoDescription;
            column6.Width          = 0x81;
            appearance6.TextHAlign = HAlign.Right;
            column6.MaskInput      = "{LOC}-nnnnnnnnnn.nn";
            column6.PromptChar     = ' ';
            column6.Format         = "F2";
            column6.CellAppearance = appearance6;
            band.Columns.Add(column);
            column.Header.VisiblePosition = 0;
            band.Columns.Add(column7);
            column7.Header.VisiblePosition = 1;
            band.Columns.Add(column2);
            column2.Header.VisiblePosition = 2;
            band.Columns.Add(column3);
            column3.Header.VisiblePosition = 3;
            band.Columns.Add(column4);
            column4.Header.VisiblePosition = 4;
            band.Columns.Add(column5);
            column5.Header.VisiblePosition = 5;
            band.Columns.Add(column6);
            column6.Header.VisiblePosition = 6;
            this.userControlDataGridsp_id_detalji.Visible = true;
            System.Drawing.Point point = new System.Drawing.Point(0, 0);
            this.userControlDataGridsp_id_detalji.Location = point;
            this.userControlDataGridsp_id_detalji.Name     = "userControlDataGridsp_id_detalji";
            this.userControlDataGridsp_id_detalji.Tag      = "sp_id_detalji";
            Size size = new System.Drawing.Size(0x200, 0x144);

            this.userControlDataGridsp_id_detalji.Size = size;
            this.userControlDataGridsp_id_detalji.DisplayLayout.BorderStyle = UIElementBorderStyle.None;
            this.userControlDataGridsp_id_detalji.Dock          = DockStyle.Fill;
            this.userControlDataGridsp_id_detalji.FillAtStartup = false;
            this.userControlDataGridsp_id_detalji.DisplayLayout.Appearance.TextHAlign = HAlign.Left;
            this.userControlDataGridsp_id_detalji.InitializeRow += new InitializeRowEventHandler(this.sp_id_detaljiUserDataGrid_InitializeRow);
            this.userControlDataGridsp_id_detalji.DisplayLayout.BandsSerializer.Add(band);
            this.Controls.AddRange(new Control[] { this.userControlDataGridsp_id_detalji });
            this.Name  = "sp_id_detaljiUserDataGrid";
            size       = new System.Drawing.Size(0x200, 0x144);
            this.Size  = size;
            this.Load += new EventHandler(this.sp_id_detaljiUserDataGrid_Load);
            ((ISupportInitialize)this.userControlDataGridsp_id_detalji).EndInit();
            this.ResumeLayout(false);
        }
Пример #18
0
        private void InitializeComponent()
        {
            this.userControlDataGridS_OS_POSTOJECI_DOKUMENTI = new S_OS_POSTOJECI_DOKUMENTIDataGrid();
            ((ISupportInitialize)this.userControlDataGridS_OS_POSTOJECI_DOKUMENTI).BeginInit();
            UltraGridBand   band    = new UltraGridBand("S_OS_POSTOJECI_DOKUMENTI", -1);
            UltraGridColumn column  = new UltraGridColumn("IDOSDOKUMENT");
            UltraGridColumn column3 = new UltraGridColumn("OSDATUMDOK");
            UltraGridColumn column2 = new UltraGridColumn("OSBROJDOKUMENTA");
            UltraGridColumn column4 = new UltraGridColumn("OSOPIS");

            this.SuspendLayout();
            Infragistics.Win.Appearance appearance = new Infragistics.Win.Appearance();
            column.CellActivation     = Activation.NoEdit;
            column.ButtonDisplayStyle = Infragistics.Win.UltraWinGrid.ButtonDisplayStyle.OnCellActivate;
            column.Header.Caption     = StringResources.S_OS_POSTOJECI_DOKUMENTIIDOSDOKUMENTDescription;
            column.Width          = 0x63;
            appearance.TextHAlign = HAlign.Right;
            column.MaskInput      = "{LOC}-nnnnn";
            column.PromptChar     = ' ';
            column.Format         = "";
            column.CellAppearance = appearance;
            Infragistics.Win.Appearance appearance3 = new Infragistics.Win.Appearance();
            column3.CellActivation     = Activation.NoEdit;
            column3.ButtonDisplayStyle = Infragistics.Win.UltraWinGrid.ButtonDisplayStyle.OnCellActivate;
            column3.Header.Caption     = StringResources.S_OS_POSTOJECI_DOKUMENTIOSDATUMDOKDescription;
            column3.Width          = 100;
            column3.MinValue       = DateTime.MinValue;
            column3.MaxValue       = DateTime.MaxValue;
            column3.Format         = "d";
            column3.CellAppearance = appearance3;
            Infragistics.Win.Appearance appearance2 = new Infragistics.Win.Appearance();
            column2.CellActivation     = Activation.NoEdit;
            column2.ButtonDisplayStyle = Infragistics.Win.UltraWinGrid.ButtonDisplayStyle.OnCellActivate;
            column2.Header.Caption     = StringResources.S_OS_POSTOJECI_DOKUMENTIOSBROJDOKUMENTADescription;
            column2.Width          = 0x77;
            appearance2.TextHAlign = HAlign.Right;
            column2.MaskInput      = "{LOC}-nnnnn";
            column2.PromptChar     = ' ';
            column2.Format         = "";
            column2.CellAppearance = appearance2;
            Infragistics.Win.Appearance appearance4 = new Infragistics.Win.Appearance();
            column4.CellActivation     = Activation.NoEdit;
            column4.ButtonDisplayStyle = Infragistics.Win.UltraWinGrid.ButtonDisplayStyle.OnCellActivate;
            column4.Header.Caption     = StringResources.S_OS_POSTOJECI_DOKUMENTIOSOPISDescription;
            column4.Width          = 0x128;
            column4.Format         = "";
            column4.CellAppearance = appearance4;
            band.Columns.Add(column);
            column.Header.VisiblePosition = 0;
            band.Columns.Add(column3);
            column3.Header.VisiblePosition = 1;
            band.Columns.Add(column2);
            column2.Header.VisiblePosition = 2;
            band.Columns.Add(column4);
            column4.Header.VisiblePosition = 3;
            this.userControlDataGridS_OS_POSTOJECI_DOKUMENTI.Visible = true;
            System.Drawing.Point point = new System.Drawing.Point(0, 0);
            this.userControlDataGridS_OS_POSTOJECI_DOKUMENTI.Location = point;
            this.userControlDataGridS_OS_POSTOJECI_DOKUMENTI.Name     = "userControlDataGridS_OS_POSTOJECI_DOKUMENTI";
            this.userControlDataGridS_OS_POSTOJECI_DOKUMENTI.Tag      = "S_OS_POSTOJECI_DOKUMENTI";
            Size size = new System.Drawing.Size(0x200, 0x144);

            this.userControlDataGridS_OS_POSTOJECI_DOKUMENTI.Size = size;
            this.userControlDataGridS_OS_POSTOJECI_DOKUMENTI.DisplayLayout.BorderStyle = UIElementBorderStyle.None;
            this.userControlDataGridS_OS_POSTOJECI_DOKUMENTI.Dock          = DockStyle.Fill;
            this.userControlDataGridS_OS_POSTOJECI_DOKUMENTI.FillAtStartup = false;
            this.userControlDataGridS_OS_POSTOJECI_DOKUMENTI.DisplayLayout.Appearance.TextHAlign = HAlign.Left;
            this.userControlDataGridS_OS_POSTOJECI_DOKUMENTI.InitializeRow += new InitializeRowEventHandler(this.S_OS_POSTOJECI_DOKUMENTIUserDataGrid_InitializeRow);
            this.userControlDataGridS_OS_POSTOJECI_DOKUMENTI.DisplayLayout.BandsSerializer.Add(band);
            this.Controls.AddRange(new Control[] { this.userControlDataGridS_OS_POSTOJECI_DOKUMENTI });
            this.Name  = "S_OS_POSTOJECI_DOKUMENTIUserDataGrid";
            size       = new System.Drawing.Size(0x200, 0x144);
            this.Size  = size;
            this.Load += new EventHandler(this.S_OS_POSTOJECI_DOKUMENTIUserDataGrid_Load);
            ((ISupportInitialize)this.userControlDataGridS_OS_POSTOJECI_DOKUMENTI).EndInit();
            this.ResumeLayout(false);
        }
Пример #19
0
 private void InitializeComponent()
 {
     this.components = new System.ComponentModel.Container();
     Infragistics.Win.Appearance appearance1 = new Infragistics.Win.Appearance();
     Infragistics.Win.Appearance appearance2 = new Infragistics.Win.Appearance();
     Infragistics.Win.Appearance appearance3 = new Infragistics.Win.Appearance();
     this.contextMenu1                  = new System.Windows.Forms.ContextMenu();
     this.SetNullItem                   = new System.Windows.Forms.MenuItem();
     this.toolTip1                      = new System.Windows.Forms.ToolTip(this.components);
     this.errorProvider1                = new System.Windows.Forms.ErrorProvider(this.components);
     this.bindingSourceBENEFICIRANI     = new System.Windows.Forms.BindingSource(this.components);
     this.dsBENEFICIRANIDataSet1        = new Placa.BENEFICIRANIDataSet();
     this.errorProviderValidator1       = new Deklarit.Win.ErrorProviderValidator(this.components);
     this.layoutManagerformBENEFICIRANI = new System.Windows.Forms.TableLayoutPanel();
     this.label1IDBENEFICIRANI          = new Infragistics.Win.Misc.UltraLabel();
     this.textIDBENEFICIRANI            = new Infragistics.Win.UltraWinEditors.UltraTextEditor();
     this.label1NAZIVBENEFICIRANI       = new Infragistics.Win.Misc.UltraLabel();
     this.textNAZIVBENEFICIRANI         = new Infragistics.Win.UltraWinEditors.UltraTextEditor();
     this.label1BROJPRIZNATIHMJESECI    = new Infragistics.Win.Misc.UltraLabel();
     this.textBROJPRIZNATIHMJESECI      = new Infragistics.Win.UltraWinEditors.UltraNumericEditor();
     ((System.ComponentModel.ISupportInitialize)(this.errorProvider1)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.bindingSourceBENEFICIRANI)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.dsBENEFICIRANIDataSet1)).BeginInit();
     this.layoutManagerformBENEFICIRANI.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.textIDBENEFICIRANI)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.textNAZIVBENEFICIRANI)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.textBROJPRIZNATIHMJESECI)).BeginInit();
     this.SuspendLayout();
     //
     // contextMenu1
     //
     this.contextMenu1.MenuItems.AddRange(new System.Windows.Forms.MenuItem[] {
         this.SetNullItem
     });
     this.contextMenu1.Popup += new System.EventHandler(this.contextMenu1_Popup);
     //
     // SetNullItem
     //
     this.SetNullItem.Index  = 0;
     this.SetNullItem.Text   = "Set Null";
     this.SetNullItem.Click += new System.EventHandler(this.SetNullItem_Click);
     //
     // errorProvider1
     //
     this.errorProvider1.ContainerControl = this;
     this.errorProvider1.DataSource       = this.bindingSourceBENEFICIRANI;
     //
     // bindingSourceBENEFICIRANI
     //
     this.bindingSourceBENEFICIRANI.DataMember = "BENEFICIRANI";
     this.bindingSourceBENEFICIRANI.DataSource = this.dsBENEFICIRANIDataSet1;
     //
     // dsBENEFICIRANIDataSet1
     //
     this.dsBENEFICIRANIDataSet1.DataSetName = "dsBENEFICIRANI";
     this.dsBENEFICIRANIDataSet1.Locale      = new System.Globalization.CultureInfo("hr-HR");
     //
     // errorProviderValidator1
     //
     this.errorProviderValidator1.ErrorProvider   = this.errorProvider1;
     this.errorProviderValidator1.ToolTipProvider = null;
     //
     // layoutManagerformBENEFICIRANI
     //
     this.layoutManagerformBENEFICIRANI.AutoSize     = true;
     this.layoutManagerformBENEFICIRANI.AutoSizeMode = System.Windows.Forms.AutoSizeMode.GrowAndShrink;
     this.layoutManagerformBENEFICIRANI.ColumnCount  = 2;
     this.layoutManagerformBENEFICIRANI.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle());
     this.layoutManagerformBENEFICIRANI.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle());
     this.layoutManagerformBENEFICIRANI.Controls.Add(this.label1IDBENEFICIRANI, 0, 0);
     this.layoutManagerformBENEFICIRANI.Controls.Add(this.textIDBENEFICIRANI, 1, 0);
     this.layoutManagerformBENEFICIRANI.Controls.Add(this.label1NAZIVBENEFICIRANI, 0, 1);
     this.layoutManagerformBENEFICIRANI.Controls.Add(this.textNAZIVBENEFICIRANI, 1, 1);
     this.layoutManagerformBENEFICIRANI.Controls.Add(this.label1BROJPRIZNATIHMJESECI, 0, 2);
     this.layoutManagerformBENEFICIRANI.Controls.Add(this.textBROJPRIZNATIHMJESECI, 1, 2);
     this.errorProviderValidator1.SetDisplayName(this.layoutManagerformBENEFICIRANI, "");
     this.layoutManagerformBENEFICIRANI.Dock     = System.Windows.Forms.DockStyle.Fill;
     this.layoutManagerformBENEFICIRANI.Location = new System.Drawing.Point(0, 0);
     this.layoutManagerformBENEFICIRANI.Name     = "layoutManagerformBENEFICIRANI";
     this.errorProviderValidator1.SetRegularExpression(this.layoutManagerformBENEFICIRANI, "");
     this.errorProviderValidator1.SetRegularExpressionMessage(this.layoutManagerformBENEFICIRANI, "");
     this.errorProviderValidator1.SetRequired(this.layoutManagerformBENEFICIRANI, false);
     this.errorProviderValidator1.SetRequiredMessage(this.layoutManagerformBENEFICIRANI, "");
     this.layoutManagerformBENEFICIRANI.RowCount = 4;
     this.layoutManagerformBENEFICIRANI.RowStyles.Add(new System.Windows.Forms.RowStyle());
     this.layoutManagerformBENEFICIRANI.RowStyles.Add(new System.Windows.Forms.RowStyle());
     this.layoutManagerformBENEFICIRANI.RowStyles.Add(new System.Windows.Forms.RowStyle());
     this.layoutManagerformBENEFICIRANI.RowStyles.Add(new System.Windows.Forms.RowStyle());
     this.layoutManagerformBENEFICIRANI.Size     = new System.Drawing.Size(590, 150);
     this.layoutManagerformBENEFICIRANI.TabIndex = 0;
     //
     // label1IDBENEFICIRANI
     //
     this.label1IDBENEFICIRANI.Anchor            = System.Windows.Forms.AnchorStyles.Left;
     appearance1.ForeColor                       = System.Drawing.Color.Black;
     appearance1.ImageHAlign                     = Infragistics.Win.HAlign.Right;
     appearance1.TextVAlignAsString              = "Middle";
     this.label1IDBENEFICIRANI.Appearance        = appearance1;
     this.label1IDBENEFICIRANI.AutoSize          = true;
     this.label1IDBENEFICIRANI.BackColorInternal = System.Drawing.Color.Transparent;
     this.errorProviderValidator1.SetDisplayName(this.label1IDBENEFICIRANI, "");
     this.label1IDBENEFICIRANI.ImageSize = new System.Drawing.Size(7, 10);
     this.label1IDBENEFICIRANI.Location  = new System.Drawing.Point(3, 5);
     this.label1IDBENEFICIRANI.Margin    = new System.Windows.Forms.Padding(3, 1, 5, 2);
     this.label1IDBENEFICIRANI.Name      = "label1IDBENEFICIRANI";
     this.errorProviderValidator1.SetRegularExpression(this.label1IDBENEFICIRANI, "");
     this.errorProviderValidator1.SetRegularExpressionMessage(this.label1IDBENEFICIRANI, "");
     this.errorProviderValidator1.SetRequired(this.label1IDBENEFICIRANI, false);
     this.errorProviderValidator1.SetRequiredMessage(this.label1IDBENEFICIRANI, "");
     this.label1IDBENEFICIRANI.Size         = new System.Drawing.Size(170, 14);
     this.label1IDBENEFICIRANI.StyleSetName = "FieldUltraLabel";
     this.label1IDBENEFICIRANI.TabIndex     = 1;
     this.label1IDBENEFICIRANI.Tag          = "labelIDBENEFICIRANI";
     this.label1IDBENEFICIRANI.Text         = "Šifra beneficiranog radnog staža:";
     //
     // textIDBENEFICIRANI
     //
     this.textIDBENEFICIRANI.Anchor = System.Windows.Forms.AnchorStyles.Left;
     this.textIDBENEFICIRANI.DataBindings.Add(new System.Windows.Forms.Binding("Text", this.bindingSourceBENEFICIRANI, "IDBENEFICIRANI", true));
     this.errorProviderValidator1.SetDisplayName(this.textIDBENEFICIRANI, "");
     this.textIDBENEFICIRANI.Location    = new System.Drawing.Point(221, 1);
     this.textIDBENEFICIRANI.Margin      = new System.Windows.Forms.Padding(0, 1, 3, 2);
     this.textIDBENEFICIRANI.MaxLength   = 1;
     this.textIDBENEFICIRANI.MinimumSize = new System.Drawing.Size(23, 22);
     this.textIDBENEFICIRANI.Name        = "textIDBENEFICIRANI";
     this.errorProviderValidator1.SetRegularExpression(this.textIDBENEFICIRANI, "");
     this.errorProviderValidator1.SetRegularExpressionMessage(this.textIDBENEFICIRANI, "");
     this.errorProviderValidator1.SetRequired(this.textIDBENEFICIRANI, false);
     this.errorProviderValidator1.SetRequiredMessage(this.textIDBENEFICIRANI, "");
     this.textIDBENEFICIRANI.Size        = new System.Drawing.Size(23, 22);
     this.textIDBENEFICIRANI.TabIndex    = 0;
     this.textIDBENEFICIRANI.Tag         = "IDBENEFICIRANI";
     this.textIDBENEFICIRANI.MouseEnter += new System.EventHandler(this.mouseEnter_Text);
     //
     // label1NAZIVBENEFICIRANI
     //
     this.label1NAZIVBENEFICIRANI.Anchor = System.Windows.Forms.AnchorStyles.Left;
     appearance2.ForeColor                          = System.Drawing.Color.Black;
     appearance2.TextVAlignAsString                 = "Middle";
     this.label1NAZIVBENEFICIRANI.Appearance        = appearance2;
     this.label1NAZIVBENEFICIRANI.AutoSize          = true;
     this.label1NAZIVBENEFICIRANI.BackColorInternal = System.Drawing.Color.Transparent;
     this.errorProviderValidator1.SetDisplayName(this.label1NAZIVBENEFICIRANI, "");
     this.label1NAZIVBENEFICIRANI.Location = new System.Drawing.Point(3, 29);
     this.label1NAZIVBENEFICIRANI.Margin   = new System.Windows.Forms.Padding(3, 1, 5, 2);
     this.label1NAZIVBENEFICIRANI.Name     = "label1NAZIVBENEFICIRANI";
     this.errorProviderValidator1.SetRegularExpression(this.label1NAZIVBENEFICIRANI, "");
     this.errorProviderValidator1.SetRegularExpressionMessage(this.label1NAZIVBENEFICIRANI, "");
     this.errorProviderValidator1.SetRequired(this.label1NAZIVBENEFICIRANI, false);
     this.errorProviderValidator1.SetRequiredMessage(this.label1NAZIVBENEFICIRANI, "");
     this.label1NAZIVBENEFICIRANI.Size         = new System.Drawing.Size(175, 14);
     this.label1NAZIVBENEFICIRANI.StyleSetName = "FieldUltraLabel";
     this.label1NAZIVBENEFICIRANI.TabIndex     = 1;
     this.label1NAZIVBENEFICIRANI.Tag          = "labelNAZIVBENEFICIRANI";
     this.label1NAZIVBENEFICIRANI.Text         = "Naziv beneficiranog radnog staža:";
     //
     // textNAZIVBENEFICIRANI
     //
     this.textNAZIVBENEFICIRANI.Anchor = System.Windows.Forms.AnchorStyles.Left;
     this.textNAZIVBENEFICIRANI.DataBindings.Add(new System.Windows.Forms.Binding("Text", this.bindingSourceBENEFICIRANI, "NAZIVBENEFICIRANI", true));
     this.errorProviderValidator1.SetDisplayName(this.textNAZIVBENEFICIRANI, "");
     this.textNAZIVBENEFICIRANI.Location    = new System.Drawing.Point(221, 26);
     this.textNAZIVBENEFICIRANI.Margin      = new System.Windows.Forms.Padding(0, 1, 3, 2);
     this.textNAZIVBENEFICIRANI.MaxLength   = 50;
     this.textNAZIVBENEFICIRANI.MinimumSize = new System.Drawing.Size(366, 22);
     this.textNAZIVBENEFICIRANI.Name        = "textNAZIVBENEFICIRANI";
     this.errorProviderValidator1.SetRegularExpression(this.textNAZIVBENEFICIRANI, "");
     this.errorProviderValidator1.SetRegularExpressionMessage(this.textNAZIVBENEFICIRANI, "");
     this.errorProviderValidator1.SetRequired(this.textNAZIVBENEFICIRANI, false);
     this.errorProviderValidator1.SetRequiredMessage(this.textNAZIVBENEFICIRANI, "");
     this.textNAZIVBENEFICIRANI.Size        = new System.Drawing.Size(366, 22);
     this.textNAZIVBENEFICIRANI.TabIndex    = 0;
     this.textNAZIVBENEFICIRANI.Tag         = "NAZIVBENEFICIRANI";
     this.textNAZIVBENEFICIRANI.MouseEnter += new System.EventHandler(this.mouseEnter_Text);
     //
     // label1BROJPRIZNATIHMJESECI
     //
     this.label1BROJPRIZNATIHMJESECI.Anchor = System.Windows.Forms.AnchorStyles.Left;
     appearance3.ForeColor                             = System.Drawing.Color.Black;
     appearance3.TextVAlignAsString                    = "Middle";
     this.label1BROJPRIZNATIHMJESECI.Appearance        = appearance3;
     this.label1BROJPRIZNATIHMJESECI.AutoSize          = true;
     this.label1BROJPRIZNATIHMJESECI.BackColorInternal = System.Drawing.Color.Transparent;
     this.errorProviderValidator1.SetDisplayName(this.label1BROJPRIZNATIHMJESECI, "");
     this.label1BROJPRIZNATIHMJESECI.Location = new System.Drawing.Point(3, 53);
     this.label1BROJPRIZNATIHMJESECI.Margin   = new System.Windows.Forms.Padding(3, 1, 5, 2);
     this.label1BROJPRIZNATIHMJESECI.Name     = "label1BROJPRIZNATIHMJESECI";
     this.errorProviderValidator1.SetRegularExpression(this.label1BROJPRIZNATIHMJESECI, "");
     this.errorProviderValidator1.SetRegularExpressionMessage(this.label1BROJPRIZNATIHMJESECI, "");
     this.errorProviderValidator1.SetRequired(this.label1BROJPRIZNATIHMJESECI, false);
     this.errorProviderValidator1.SetRequiredMessage(this.label1BROJPRIZNATIHMJESECI, "");
     this.label1BROJPRIZNATIHMJESECI.Size         = new System.Drawing.Size(213, 14);
     this.label1BROJPRIZNATIHMJESECI.StyleSetName = "FieldUltraLabel";
     this.label1BROJPRIZNATIHMJESECI.TabIndex     = 1;
     this.label1BROJPRIZNATIHMJESECI.Tag          = "labelBROJPRIZNATIHMJESECI";
     this.label1BROJPRIZNATIHMJESECI.Text         = "Broj priznatih mjeseci za 12 mjeseci rada:";
     //
     // textBROJPRIZNATIHMJESECI
     //
     this.textBROJPRIZNATIHMJESECI.Anchor = System.Windows.Forms.AnchorStyles.Left;
     this.textBROJPRIZNATIHMJESECI.DataBindings.Add(new System.Windows.Forms.Binding("Value", this.bindingSourceBENEFICIRANI, "BROJPRIZNATIHMJESECI", true));
     this.errorProviderValidator1.SetDisplayName(this.textBROJPRIZNATIHMJESECI, "");
     this.textBROJPRIZNATIHMJESECI.Location    = new System.Drawing.Point(221, 50);
     this.textBROJPRIZNATIHMJESECI.Margin      = new System.Windows.Forms.Padding(0, 1, 3, 2);
     this.textBROJPRIZNATIHMJESECI.MaskInput   = "{LOC}-nn";
     this.textBROJPRIZNATIHMJESECI.MinimumSize = new System.Drawing.Size(31, 22);
     this.textBROJPRIZNATIHMJESECI.Name        = "textBROJPRIZNATIHMJESECI";
     this.textBROJPRIZNATIHMJESECI.PromptChar  = ' ';
     this.errorProviderValidator1.SetRegularExpression(this.textBROJPRIZNATIHMJESECI, "");
     this.errorProviderValidator1.SetRegularExpressionMessage(this.textBROJPRIZNATIHMJESECI, "");
     this.errorProviderValidator1.SetRequired(this.textBROJPRIZNATIHMJESECI, false);
     this.errorProviderValidator1.SetRequiredMessage(this.textBROJPRIZNATIHMJESECI, "");
     this.textBROJPRIZNATIHMJESECI.Size        = new System.Drawing.Size(31, 22);
     this.textBROJPRIZNATIHMJESECI.TabIndex    = 0;
     this.textBROJPRIZNATIHMJESECI.Tag         = "BROJPRIZNATIHMJESECI";
     this.textBROJPRIZNATIHMJESECI.Enter      += new System.EventHandler(this.numericEditor_Enter);
     this.textBROJPRIZNATIHMJESECI.MouseEnter += new System.EventHandler(this.mouseEnter_Text);
     //
     // BENEFICIRANIFormUserControl
     //
     this.AutoScroll = true;
     this.AutoSize   = true;
     this.Controls.Add(this.layoutManagerformBENEFICIRANI);
     this.errorProviderValidator1.SetDisplayName(this, "");
     this.Name = "BENEFICIRANIFormUserControl";
     this.errorProviderValidator1.SetRegularExpression(this, "");
     this.errorProviderValidator1.SetRegularExpressionMessage(this, "");
     this.errorProviderValidator1.SetRequired(this, false);
     this.errorProviderValidator1.SetRequiredMessage(this, "");
     this.Size  = new System.Drawing.Size(590, 150);
     this.Load += new System.EventHandler(this.BENEFICIRANIFormUserControl_Load);
     ((System.ComponentModel.ISupportInitialize)(this.errorProvider1)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.bindingSourceBENEFICIRANI)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.dsBENEFICIRANIDataSet1)).EndInit();
     this.layoutManagerformBENEFICIRANI.ResumeLayout(false);
     this.layoutManagerformBENEFICIRANI.PerformLayout();
     ((System.ComponentModel.ISupportInitialize)(this.textIDBENEFICIRANI)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.textNAZIVBENEFICIRANI)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.textBROJPRIZNATIHMJESECI)).EndInit();
     this.ResumeLayout(false);
     this.PerformLayout();
 }
Пример #20
0
        private void InitializeComponent()
        {
            this.userControlDataGridV_DD_PREGLED_OBRACUNA = new V_DD_PREGLED_OBRACUNADataGrid();
            ((ISupportInitialize)this.userControlDataGridV_DD_PREGLED_OBRACUNA).BeginInit();
            UltraGridBand   band    = new UltraGridBand("V_DD_PREGLED_OBRACUNA", -1);
            UltraGridColumn column2 = new UltraGridColumn("DDOBRACUNIDOBRACUN");
            UltraGridColumn column3 = new UltraGridColumn("DDOPISOBRACUN");
            UltraGridColumn column  = new UltraGridColumn("DDDATUMOBRACUNA");
            UltraGridColumn column5 = new UltraGridColumn("DDZAKLJUCAN");
            UltraGridColumn column4 = new UltraGridColumn("DDRSM");

            this.SuspendLayout();
            Infragistics.Win.Appearance appearance2 = new Infragistics.Win.Appearance();
            column2.CellActivation     = Activation.NoEdit;
            column2.ButtonDisplayStyle = Infragistics.Win.UltraWinGrid.ButtonDisplayStyle.OnCellActivate;
            column2.Header.Caption     = StringResources.V_DD_PREGLED_OBRACUNADDOBRACUNIDOBRACUNDescription;
            column2.Width          = 0x72;
            column2.Format         = "";
            column2.CellAppearance = appearance2;
            Infragistics.Win.Appearance appearance3 = new Infragistics.Win.Appearance();
            column3.CellActivation     = Activation.NoEdit;
            column3.ButtonDisplayStyle = Infragistics.Win.UltraWinGrid.ButtonDisplayStyle.OnCellActivate;
            column3.Header.Caption     = StringResources.V_DD_PREGLED_OBRACUNADDOPISOBRACUNDescription;
            column3.Width          = 0x128;
            column3.Format         = "";
            column3.CellAppearance = appearance3;
            Infragistics.Win.Appearance appearance = new Infragistics.Win.Appearance();
            column.CellActivation     = Activation.NoEdit;
            column.ButtonDisplayStyle = Infragistics.Win.UltraWinGrid.ButtonDisplayStyle.OnCellActivate;
            column.Header.Caption     = StringResources.V_DD_PREGLED_OBRACUNADDDATUMOBRACUNADescription;
            column.Width          = 0x72;
            column.MinValue       = DateTime.MinValue;
            column.MaxValue       = DateTime.MaxValue;
            column.Format         = "d";
            column.CellAppearance = appearance;
            Infragistics.Win.Appearance appearance5 = new Infragistics.Win.Appearance();
            column5.CellActivation     = Activation.NoEdit;
            column5.ButtonDisplayStyle = Infragistics.Win.UltraWinGrid.ButtonDisplayStyle.OnCellActivate;
            column5.Header.Caption     = StringResources.V_DD_PREGLED_OBRACUNADDZAKLJUCANDescription;
            column5.Width          = 0x5d;
            column5.Format         = "";
            column5.CellAppearance = appearance5;
            Infragistics.Win.Appearance appearance4 = new Infragistics.Win.Appearance();
            column4.CellActivation     = Activation.NoEdit;
            column4.ButtonDisplayStyle = Infragistics.Win.UltraWinGrid.ButtonDisplayStyle.OnCellActivate;
            column4.Header.Caption     = StringResources.V_DD_PREGLED_OBRACUNADDRSMDescription;
            column4.Width          = 0x33;
            column4.Format         = "";
            column4.CellAppearance = appearance4;
            band.Columns.Add(column2);
            column2.Header.VisiblePosition = 0;
            band.Columns.Add(column3);
            column3.Header.VisiblePosition = 1;
            band.Columns.Add(column);
            column.Header.VisiblePosition = 2;
            band.Columns.Add(column5);
            column5.Header.VisiblePosition = 3;
            band.Columns.Add(column4);
            column4.Header.VisiblePosition = 4;
            this.userControlDataGridV_DD_PREGLED_OBRACUNA.Visible = true;
            System.Drawing.Point point = new System.Drawing.Point(0, 0);
            this.userControlDataGridV_DD_PREGLED_OBRACUNA.Location = point;
            this.userControlDataGridV_DD_PREGLED_OBRACUNA.Name     = "userControlDataGridV_DD_PREGLED_OBRACUNA";
            this.userControlDataGridV_DD_PREGLED_OBRACUNA.Tag      = "V_DD_PREGLED_OBRACUNA";
            Size size = new System.Drawing.Size(0x200, 0x144);

            this.userControlDataGridV_DD_PREGLED_OBRACUNA.Size = size;
            this.userControlDataGridV_DD_PREGLED_OBRACUNA.DisplayLayout.BorderStyle = UIElementBorderStyle.None;
            this.userControlDataGridV_DD_PREGLED_OBRACUNA.Dock          = DockStyle.Fill;
            this.userControlDataGridV_DD_PREGLED_OBRACUNA.FillAtStartup = false;
            this.userControlDataGridV_DD_PREGLED_OBRACUNA.DisplayLayout.Appearance.TextHAlign = HAlign.Left;
            this.userControlDataGridV_DD_PREGLED_OBRACUNA.InitializeRow += new InitializeRowEventHandler(this.V_DD_PREGLED_OBRACUNAUserDataGrid_InitializeRow);
            this.userControlDataGridV_DD_PREGLED_OBRACUNA.DisplayLayout.BandsSerializer.Add(band);
            this.Controls.AddRange(new Control[] { this.userControlDataGridV_DD_PREGLED_OBRACUNA });
            this.Name  = "V_DD_PREGLED_OBRACUNAUserDataGrid";
            size       = new System.Drawing.Size(0x200, 0x144);
            this.Size  = size;
            this.Load += new EventHandler(this.V_DD_PREGLED_OBRACUNAUserDataGrid_Load);
            ((ISupportInitialize)this.userControlDataGridV_DD_PREGLED_OBRACUNA).EndInit();
            this.ResumeLayout(false);
        }
Пример #21
0
        private void InitializeComponent()
        {
            m_container = (IContainer)new Container();
            Infragistics.Win.Appearance appearance = new Infragistics.Win.Appearance();
            UltraStatusPanel ultraStatusPanel1 = new UltraStatusPanel();
            UltraStatusPanel ultraStatusPanel2 = new UltraStatusPanel();
            UltraStatusPanel ultraStatusPanel3 = new UltraStatusPanel();
            UltraStatusPanel ultraStatusPanel4 = new UltraStatusPanel();
            UltraStatusPanel ultraStatusPanel5 = new UltraStatusPanel();
            UltraStatusPanel ultraStatusPanel6 = new UltraStatusPanel();
            UltraStatusPanel ultraStatusPanel7 = new UltraStatusPanel();
            UltraStatusPanel ultraStatusPanel8 = new UltraStatusPanel();
            this.tableLayoutPanel = new TableLayoutPanel();
            this.pagePanel = new Panel();
            this.customListView = new CustomListView();
            m_timer = new System.Windows.Forms.Timer(m_container);
            menuStrip = new MenuStrip();
            fileToolStripMenuItem = new ToolStripMenuItem();
            exitToolStripMenuItem = new ToolStripMenuItem();
            viewToolStripMenuItem = new ToolStripMenuItem();
            showStatusBarToolStripMenuItem = new ToolStripMenuItem();
            showListViewToolStripMenuItem = new ToolStripMenuItem();
            toolStripSeparator1 = new ToolStripSeparator();
            fullScreenToolStripMenuItem = new ToolStripMenuItem();
            windowToolStripMenuItem = new ToolStripMenuItem();
            setupToolStripMenuItem = new ToolStripMenuItem();
            diagnosticsToolStripMenuItem = new ToolStripMenuItem();
            monitorsToolStripMenuItem = new ToolStripMenuItem();
            dashboardToolStripMenuItem = new ToolStripMenuItem();
            logsToolStripMenuItem = new ToolStripMenuItem();
            connectionToolStripMenuItem = new ToolStripMenuItem();
            connectToolStripMenuItem = new ToolStripMenuItem();
            disconnectToolStripMenuItem = new ToolStripMenuItem();
            toolsToolStripMenuItem = new ToolStripMenuItem();
            vehicleManagerToolStripMenuItem = new ToolStripMenuItem();
            sensorCalibrationToolStripMenuItem = new ToolStripMenuItem();
            userDefinedPIDsToolStripMenuItem = new ToolStripMenuItem();
            pluginManagerToolStripMenuItem = new ToolStripMenuItem();
            toolStripSeparatorToolsMenu = new ToolStripSeparator();
            pidInspectorToolStripMenuItem = new ToolStripMenuItem();
            powerSaveSetupToolStripMenuItem = new ToolStripMenuItem();
            toolStripSeparatorToolsMenu2 = new ToolStripSeparator();
            preferencesToolStripMenuItem = new ToolStripMenuItem();
            toolStripContainer = new ToolStripContainer();
            m_statusPortECU = new UltraStatusBar();
            tableLayoutPanel.SuspendLayout();
            menuStrip.SuspendLayout();
            toolStripContainer.ContentPanel.SuspendLayout();
            toolStripContainer.TopToolStripPanel.SuspendLayout();

            this.toolStripContainer.SuspendLayout();
            ((ISupportInitialize)this.m_statusPortECU).BeginInit();
            this.SuspendLayout();

            this.tableLayoutPanel.CellBorderStyle = TableLayoutPanelCellBorderStyle.Single;
            this.tableLayoutPanel.ColumnCount = 2;
            this.tableLayoutPanel.ColumnStyles.Add(new ColumnStyle(SizeType.Absolute, 84f));
            tableLayoutPanel.ColumnStyles.Add(new ColumnStyle(SizeType.Percent, 100f));
            tableLayoutPanel.Controls.Add(pagePanel, 1, 0);
            tableLayoutPanel.Controls.Add(customListView, 0, 0);
            tableLayoutPanel.Dock = DockStyle.Fill;
            tableLayoutPanel.Location = new Point(0, 0);
            tableLayoutPanel.Margin = new Padding(2);
            tableLayoutPanel.Name = "tableLayoutPanel";
            tableLayoutPanel.RowCount = 1;
            tableLayoutPanel.RowStyles.Add(new RowStyle(SizeType.Percent, 100f));
            tableLayoutPanel.RowStyles.Add(new RowStyle(SizeType.Absolute, 434f));
            tableLayoutPanel.Size = new Size(763, 435);
            tableLayoutPanel.TabIndex = 1;

            pagePanel.Dock = DockStyle.Fill;
            pagePanel.Location = new Point(86, 1);
            pagePanel.Margin = new Padding(0);
            pagePanel.Name = "pagePanel";
            pagePanel.Size = new Size(676, 433);
            pagePanel.TabIndex = 2;

            customListView.Dock = DockStyle.Fill;
            customListView.ItemSpacing = ListViewItemSpacing.f00009d;
            customListView.Location = new Point(3, 3);
            customListView.Margin = new Padding(2);
            customListView.Name = "customListView";
            customListView.Size = new Size(80, 429);
            customListView.TabIndex = 3;

            m_timer.Enabled = true;
            m_timer.Interval = 1000;
            m_timer.Tick += new EventHandler(m_timer_Tick);

            menuStrip.Dock = DockStyle.None;
            menuStrip.Items.AddRange(new ToolStripItem[]
            {
                fileToolStripMenuItem,
                viewToolStripMenuItem,
                windowToolStripMenuItem,
                connectionToolStripMenuItem,
                toolsToolStripMenuItem
            });
            menuStrip.Location = new Point(0, 0);
            menuStrip.Name = "menuStrip";
            menuStrip.Size = new Size(763, 24);
            menuStrip.TabIndex = 0;
            fileToolStripMenuItem.DropDownItems.AddRange(new ToolStripItem[1]
            {
                exitToolStripMenuItem
            });
            fileToolStripMenuItem.Name = "fileToolStripMenuItem";
            fileToolStripMenuItem.Size = new Size(37, 20);
            fileToolStripMenuItem.Text = "&File";
            exitToolStripMenuItem.Image = OCTech.OBD2.Applications.Properties.Resources.p000031;
            exitToolStripMenuItem.Name = "exitToolStripMenuItem";
            exitToolStripMenuItem.Size = new Size(92, 22);
            exitToolStripMenuItem.Text = "E&xit";
            exitToolStripMenuItem.Click += new EventHandler(exitToolStripMenuItem_Click);

            viewToolStripMenuItem.DropDownItems.AddRange(new ToolStripItem[]
            {
                showStatusBarToolStripMenuItem,
                showListViewToolStripMenuItem,
                toolStripSeparator1,
                fullScreenToolStripMenuItem
            });
            viewToolStripMenuItem.Name = "viewToolStripMenuItem";
            viewToolStripMenuItem.Size = new Size(44, 20);
            viewToolStripMenuItem.Text = "&View";
            viewToolStripMenuItem.DropDownOpening += new EventHandler(viewToolStripMenuItem_DropDownOpening);

            showStatusBarToolStripMenuItem.Name = "showStatusBarToolStripMenuItem";
            showStatusBarToolStripMenuItem.Size = new Size(131, 22);
            showStatusBarToolStripMenuItem.Text = "&Status Bar";
            showStatusBarToolStripMenuItem.Click += new EventHandler(showStatusBarToolStripMenuItem_Click);

            showListViewToolStripMenuItem.Name = "showListViewToolStripMenuItem";
            showListViewToolStripMenuItem.Size = new Size(131, 22);
            showListViewToolStripMenuItem.Text = "&List View";
            showListViewToolStripMenuItem.Click += new EventHandler(showListViewToolStripMenuItem_Click);

            toolStripSeparator1.Name = "toolStripSeparator1";
            toolStripSeparator1.Size = new Size(128, 6);

            fullScreenToolStripMenuItem.Name = "fullScreenToolStripMenuItem";
            fullScreenToolStripMenuItem.Size = new Size(131, 22);
            fullScreenToolStripMenuItem.Text = "&Full Screen";
            fullScreenToolStripMenuItem.Click += new EventHandler(fullScreenToolStripMenuItem_Click);

            windowToolStripMenuItem.DropDownItems.AddRange(new ToolStripItem[5]
            {
                setupToolStripMenuItem,
                diagnosticsToolStripMenuItem,
                monitorsToolStripMenuItem,
                dashboardToolStripMenuItem,
                logsToolStripMenuItem
            });
            windowToolStripMenuItem.Name = "windowToolStripMenuItem";
            windowToolStripMenuItem.Size = new Size(63, 20);
            windowToolStripMenuItem.Text = "&Window";

            setupToolStripMenuItem.Image = (Image)OCTech.OBD2.Applications.Properties.Resources.p000074;
            setupToolStripMenuItem.Name = "setupToolStripMenuItem";
            setupToolStripMenuItem.Size = new Size(135, 22);
            setupToolStripMenuItem.Text = "&Setup";
            setupToolStripMenuItem.Click += new EventHandler(setupToolStripMenuItem_Click);

            diagnosticsToolStripMenuItem.Image = (Image)OCTech.OBD2.Applications.Properties.Resources.p000025;
            diagnosticsToolStripMenuItem.Name = "diagnosticsToolStripMenuItem";
            diagnosticsToolStripMenuItem.Size = new Size(135, 22);
            diagnosticsToolStripMenuItem.Text = "&Diagnostics";
            diagnosticsToolStripMenuItem.Click += new EventHandler(diagnosticsToolStripMenuItem_Click);

            monitorsToolStripMenuItem.Image = (Image)OCTech.OBD2.Applications.Properties.Resources.p000044;
            monitorsToolStripMenuItem.Name = "monitorsToolStripMenuItem";
            monitorsToolStripMenuItem.Size = new Size(135, 22);
            monitorsToolStripMenuItem.Text = "&Monitors";
            monitorsToolStripMenuItem.Click += new EventHandler(monitorsToolStripMenuItem_Click);

            dashboardToolStripMenuItem.Image = (Image)OCTech.OBD2.Applications.Properties.Resources.p000014;
            dashboardToolStripMenuItem.Name = "dashboardToolStripMenuItem";
            dashboardToolStripMenuItem.Size = new Size(135, 22);
            dashboardToolStripMenuItem.Text = "&D&ashboard";
            dashboardToolStripMenuItem.Click += new EventHandler(dashboardToolStripMenuItem_Click);

            logsToolStripMenuItem.Image = (Image)OCTech.OBD2.Applications.Properties.Resources.p000042;
            logsToolStripMenuItem.Name = "logsToolStripMenuItem";
            logsToolStripMenuItem.Size = new Size(135, 22);
            logsToolStripMenuItem.Text = "&Logs";
            logsToolStripMenuItem.Click += new EventHandler(logsToolStripMenuItem_Click);

            connectionToolStripMenuItem.DropDownItems.AddRange(new ToolStripItem[2]
            {
                connectToolStripMenuItem,
                disconnectToolStripMenuItem
            });
            connectionToolStripMenuItem.Name = "connectionToolStripMenuItem";
            connectionToolStripMenuItem.Size = new Size(81, 20);
            connectionToolStripMenuItem.Text = "&Connection";

            connectToolStripMenuItem.Image = (Image)OCTech.OBD2.Applications.Properties.Resources.p00000e;
            connectToolStripMenuItem.Name = "connectToolStripMenuItem";
            connectToolStripMenuItem.Size = new Size(133, 22);
            connectToolStripMenuItem.Text = "&Connect";
            connectToolStripMenuItem.Click += new EventHandler(connectToolStripMenuItem_Click);

            disconnectToolStripMenuItem.Image = (Image)OCTech.OBD2.Applications.Properties.Resources.p000027;
            disconnectToolStripMenuItem.Name = "disconnectToolStripMenuItem";
            disconnectToolStripMenuItem.Size = new Size(133, 22);
            disconnectToolStripMenuItem.Text = "&Disconnect";
            disconnectToolStripMenuItem.Click += new EventHandler(disconnectToolStripMenuItem_Click);

            toolsToolStripMenuItem.DropDownItems.AddRange(new ToolStripItem[9]
            {
                vehicleManagerToolStripMenuItem,
                sensorCalibrationToolStripMenuItem,
                userDefinedPIDsToolStripMenuItem,
                pluginManagerToolStripMenuItem,
                toolStripSeparatorToolsMenu,
                pidInspectorToolStripMenuItem,
                powerSaveSetupToolStripMenuItem,
                toolStripSeparatorToolsMenu2,
                preferencesToolStripMenuItem
            });
            toolsToolStripMenuItem.Name = "toolsToolStripMenuItem";
            toolsToolStripMenuItem.Size = new Size(48, 20);
            toolsToolStripMenuItem.Text = "&Tools";

            vehicleManagerToolStripMenuItem.Name = "vehicleManagerToolStripMenuItem";
            vehicleManagerToolStripMenuItem.Size = new Size(179, 22);
            vehicleManagerToolStripMenuItem.Text = "Vehicle &Manager";
            vehicleManagerToolStripMenuItem.Click += new EventHandler(vehicleManagerToolStripMenuItem_Click);

            sensorCalibrationToolStripMenuItem.Name = "sensorCalibrationToolStripMenuItem";
            sensorCalibrationToolStripMenuItem.Size = new Size(179, 22);
            sensorCalibrationToolStripMenuItem.Text = "Sensor &Calibration";
            sensorCalibrationToolStripMenuItem.Click += new EventHandler(sensorCalibrationToolStripMenuItem_Click);

            userDefinedPIDsToolStripMenuItem.Name = "userDefinedPIDsToolStripMenuItem";
            userDefinedPIDsToolStripMenuItem.Size = new Size(179, 22);
            userDefinedPIDsToolStripMenuItem.Text = "&User-Defined PIDs";
            userDefinedPIDsToolStripMenuItem.Click += new EventHandler(userDefinedPIDsToolStripMenuItem_Click);

            pluginManagerToolStripMenuItem.Image = OCTech.OBD2.Applications.Properties.Resources.p00005a;
            pluginManagerToolStripMenuItem.Name = "pluginManagerToolStripMenuItem";
            pluginManagerToolStripMenuItem.Size = new Size(179, 22);
            pluginManagerToolStripMenuItem.Text = "Plugin Manager";
            pluginManagerToolStripMenuItem.Click += new EventHandler(pluginManagerToolStripMenuItem_Click);

            toolStripSeparatorToolsMenu.Name = "toolStripSeparatorToolsMenu";
            toolStripSeparatorToolsMenu.Size = new Size(176, 6);

            pidInspectorToolStripMenuItem.Enabled = false;
            pidInspectorToolStripMenuItem.Image = OCTech.OBD2.Applications.Properties.Resources.p000057;
            pidInspectorToolStripMenuItem.Name = "pidInspectorToolStripMenuItem";
            pidInspectorToolStripMenuItem.Size = new Size(179, 22);
            pidInspectorToolStripMenuItem.Text = "PID Inspector";
            pidInspectorToolStripMenuItem.Click += new EventHandler(pidInspectorToolStripMenuItem_Click);

            powerSaveSetupToolStripMenuItem.Enabled = false;
            powerSaveSetupToolStripMenuItem.Image = OCTech.OBD2.Applications.Properties.Resources.PowerSave16x16;
            powerSaveSetupToolStripMenuItem.Name = "powerSaveSetupToolStripMenuItem";
            powerSaveSetupToolStripMenuItem.Size = new Size(179, 22);
            powerSaveSetupToolStripMenuItem.Text = "Power Save Settings";
            powerSaveSetupToolStripMenuItem.Click += new EventHandler(powerSaveSetupToolStripMenuItem_Click);

            toolStripSeparatorToolsMenu2.Name = "toolStripSeparatorToolsMenu2";
            toolStripSeparatorToolsMenu2.Size = new Size(176, 6);

            preferencesToolStripMenuItem.Image = OCTech.OBD2.Applications.Properties.Resources.p00005d;
            preferencesToolStripMenuItem.Name = "preferencesToolStripMenuItem";
            preferencesToolStripMenuItem.Size = new Size(179, 22);
            preferencesToolStripMenuItem.Text = "&Preferences";
            preferencesToolStripMenuItem.Click += new EventHandler(preferencesToolStripMenuItem_Click);

            toolStripContainer.ContentPanel.Controls.Add(tableLayoutPanel);
            toolStripContainer.ContentPanel.Padding = new Padding(0, 0, 0, 23);
            toolStripContainer.ContentPanel.Size = new Size(763, 458);
            toolStripContainer.Dock = DockStyle.Fill;
            toolStripContainer.Location = new Point(0, 0);
            toolStripContainer.Name = "toolStripContainer";
            toolStripContainer.Size = new Size(763, 482);
            toolStripContainer.TabIndex = 0;
            toolStripContainer.TopToolStripPanel.Controls.Add(menuStrip);

            m_statusPortECU.Location = new Point(0, 459);
            m_statusPortECU.Name = "ultraStatusBar";
            appearance.TextHAlignAsString = "Center";
            m_statusPortECU.PanelAppearance = appearance;

            ultraStatusPanel1.Key = "InterfacePanel";
            ultraStatusPanel1.SizingMode = PanelSizingMode.Automatic;
            ultraStatusPanel1.Style = PanelStyle.ControlContainer;
            ultraStatusPanel1.Width = 90;

            ultraStatusPanel2.Key = "ECUPanel";
            ultraStatusPanel2.SizingMode = PanelSizingMode.Automatic;
            ultraStatusPanel2.Style = PanelStyle.ControlContainer;
            ultraStatusPanel2.Width = 75;

            ultraStatusPanel3.Key = "CurrentOperationPanel";
            ultraStatusPanel3.SizingMode = PanelSizingMode.Automatic;
            ultraStatusPanel3.Visible = false;
            ultraStatusPanel3.Width = 90;

            ultraStatusPanel4.Key = "ErrorPanel";
            ultraStatusPanel4.SizingMode = PanelSizingMode.Spring;

            ultraStatusPanel5.Key = "CalPanel";
            ultraStatusPanel5.SizingMode = PanelSizingMode.Automatic;
            ultraStatusPanel5.Visible = false;

            ultraStatusPanel6.Key = "PlaybackTimePanel";
            ultraStatusPanel6.SizingMode = PanelSizingMode.Automatic;
            ultraStatusPanel6.Visible = false;

            ultraStatusPanel7.Key = "PIDTimingPanel";
            ultraStatusPanel7.Width = 85;

            ultraStatusPanel8.Key = "ClockPanel";
            ultraStatusPanel8.SizingMode = PanelSizingMode.Automatic;
            ultraStatusPanel8.Style = PanelStyle.Time;

            m_statusPortECU.Panels.AddRange(new UltraStatusPanel[]
            {
                ultraStatusPanel1,
                ultraStatusPanel2,
                ultraStatusPanel3,
                ultraStatusPanel4,
                ultraStatusPanel5,
                ultraStatusPanel6,
                ultraStatusPanel7,
                ultraStatusPanel8
            });

            m_statusPortECU.Size = new Size(763, 23);
            m_statusPortECU.SizeGripVisible = DefaultableBoolean.False;
            m_statusPortECU.TabIndex = 1;
            m_statusPortECU.ViewStyle = ViewStyle.VisualStudio2005;
            this.AutoScaleDimensions = new SizeF(6f, 13f);
            AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
            this.ClientSize = new Size(763, 482);
            this.Controls.Add(m_statusPortECU);
            this.Controls.Add(toolStripContainer);
            this.MainMenuStrip = menuStrip;
            this.Margin = new Padding(2);
            this.Name= "MainForm";
            StartPosition = FormStartPosition.CenterScreen;
            this.WindowState = FormWindowState.Maximized;
            tableLayoutPanel.ResumeLayout(false);
            menuStrip.ResumeLayout(false);
            menuStrip.PerformLayout();
            toolStripContainer.ContentPanel.ResumeLayout(false);
            toolStripContainer.TopToolStripPanel.ResumeLayout(false);
            toolStripContainer.TopToolStripPanel.PerformLayout();
            toolStripContainer.ResumeLayout(false);
            toolStripContainer.PerformLayout();
            ((ISupportInitialize)m_statusPortECU).EndInit();
            this.ResumeLayout(false);
        }
Пример #22
0
        private void InitializeComponent()
        {
            this.userControlDataGridSKUPPOREZAIDOPRINOSA = new SKUPPOREZAIDOPRINOSADataGrid();
            ((ISupportInitialize)this.userControlDataGridSKUPPOREZAIDOPRINOSA).BeginInit();
            UltraGridBand   band     = new UltraGridBand("SKUPPOREZAIDOPRINOSA", -1);
            UltraGridColumn column32 = new UltraGridColumn("IDSKUPPOREZAIDOPRINOSA");
            UltraGridColumn column33 = new UltraGridColumn("NAZIVSKUPPOREZAIDOPRINOSA");
            UltraGridBand   band2    = new UltraGridBand("SKUPPOREZAIDOPRINOSA_SKUPPOREZAIDOPRINOSA1", 0);
            UltraGridColumn column2  = new UltraGridColumn("IDSKUPPOREZAIDOPRINOSA");
            UltraGridColumn column   = new UltraGridColumn("IDPOREZ");
            UltraGridColumn column5  = new UltraGridColumn("NAZIVPOREZ");
            UltraGridColumn column8  = new UltraGridColumn("POREZMJESECNO");
            UltraGridColumn column13 = new UltraGridColumn("STOPAPOREZA");
            UltraGridColumn column3  = new UltraGridColumn("MOPOREZ");
            UltraGridColumn column7  = new UltraGridColumn("POPOREZ");
            UltraGridColumn column4  = new UltraGridColumn("MZPOREZ");
            UltraGridColumn column11 = new UltraGridColumn("PZPOREZ");
            UltraGridColumn column9  = new UltraGridColumn("PRIMATELJPOREZ1");
            UltraGridColumn column10 = new UltraGridColumn("PRIMATELJPOREZ2");
            UltraGridColumn column12 = new UltraGridColumn("SIFRAOPISAPLACANJAPOREZ");
            UltraGridColumn column6  = new UltraGridColumn("OPISPLACANJAPOREZ");
            UltraGridBand   band3    = new UltraGridBand("SKUPPOREZAIDOPRINOSA_SKUPPOREZAIDOPRINOSA2", 0);
            UltraGridColumn column15 = new UltraGridColumn("IDSKUPPOREZAIDOPRINOSA");
            UltraGridColumn column14 = new UltraGridColumn("IDDOPRINOS");
            UltraGridColumn column21 = new UltraGridColumn("NAZIVDOPRINOS");
            UltraGridColumn column16 = new UltraGridColumn("IDVRSTADOPRINOS");
            UltraGridColumn column22 = new UltraGridColumn("NAZIVVRSTADOPRINOS");
            UltraGridColumn column19 = new UltraGridColumn("MODOPRINOS");
            UltraGridColumn column24 = new UltraGridColumn("PODOPRINOS");
            UltraGridColumn column20 = new UltraGridColumn("MZDOPRINOS");
            UltraGridColumn column27 = new UltraGridColumn("PZDOPRINOS");
            UltraGridColumn column25 = new UltraGridColumn("PRIMATELJDOPRINOS1");
            UltraGridColumn column26 = new UltraGridColumn("PRIMATELJDOPRINOS2");
            UltraGridColumn column28 = new UltraGridColumn("SIFRAOPISAPLACANJADOPRINOS");
            UltraGridColumn column23 = new UltraGridColumn("OPISPLACANJADOPRINOS");
            UltraGridColumn column30 = new UltraGridColumn("VBDIDOPRINOS");
            UltraGridColumn column31 = new UltraGridColumn("ZRNDOPRINOS");
            UltraGridColumn column18 = new UltraGridColumn("MINDOPRINOS");
            UltraGridColumn column17 = new UltraGridColumn("MAXDOPRINOS");
            UltraGridColumn column29 = new UltraGridColumn("STOPA");

            this.SuspendLayout();
            Infragistics.Win.Appearance appearance32 = new Infragistics.Win.Appearance();
            column32.CellActivation     = Activation.NoEdit;
            column32.ButtonDisplayStyle = Infragistics.Win.UltraWinGrid.ButtonDisplayStyle.OnCellActivate;
            column32.Header.Caption     = StringResources.SKUPPOREZAIDOPRINOSAIDSKUPPOREZAIDOPRINOSADescription;
            column32.Width          = 0xea;
            appearance32.TextHAlign = HAlign.Right;
            column32.MaskInput      = "{LOC}-nnnnn";
            column32.PromptChar     = ' ';
            column32.Format         = "";
            column32.CellAppearance = appearance32;
            Infragistics.Win.Appearance appearance33 = new Infragistics.Win.Appearance();
            column33.CellActivation     = Activation.NoEdit;
            column33.ButtonDisplayStyle = Infragistics.Win.UltraWinGrid.ButtonDisplayStyle.OnCellActivate;
            column33.Header.Caption     = StringResources.SKUPPOREZAIDOPRINOSANAZIVSKUPPOREZAIDOPRINOSADescription;
            column33.Width          = 0x128;
            column33.Format         = "";
            column33.CellAppearance = appearance33;
            Infragistics.Win.Appearance appearance2 = new Infragistics.Win.Appearance();
            column2.CellActivation     = Activation.NoEdit;
            column2.ButtonDisplayStyle = Infragistics.Win.UltraWinGrid.ButtonDisplayStyle.OnCellActivate;
            column2.Header.Caption     = StringResources.SKUPPOREZAIDOPRINOSAIDSKUPPOREZAIDOPRINOSADescription;
            column2.Width          = 0xea;
            appearance2.TextHAlign = HAlign.Right;
            column2.MaskInput      = "{LOC}-nnnnn";
            column2.PromptChar     = ' ';
            column2.Format         = "";
            column2.CellAppearance = appearance2;
            column2.Hidden         = true;
            Infragistics.Win.Appearance appearance = new Infragistics.Win.Appearance();
            column.CellActivation     = Activation.NoEdit;
            column.ButtonDisplayStyle = Infragistics.Win.UltraWinGrid.ButtonDisplayStyle.OnCellActivate;
            column.Header.Caption     = StringResources.SKUPPOREZAIDOPRINOSAIDPOREZDescription;
            column.Width          = 0x63;
            appearance.TextHAlign = HAlign.Right;
            column.MaskInput      = "{LOC}-nnnnn";
            column.PromptChar     = ' ';
            column.Format         = "";
            column.CellAppearance = appearance;
            Infragistics.Win.Appearance appearance5 = new Infragistics.Win.Appearance();
            column5.CellActivation     = Activation.NoEdit;
            column5.ButtonDisplayStyle = Infragistics.Win.UltraWinGrid.ButtonDisplayStyle.OnCellActivate;
            column5.Header.Caption     = StringResources.SKUPPOREZAIDOPRINOSANAZIVPOREZDescription;
            column5.Width          = 0x128;
            column5.Format         = "";
            column5.CellAppearance = appearance5;
            Infragistics.Win.Appearance appearance8 = new Infragistics.Win.Appearance();
            column8.CellActivation     = Activation.NoEdit;
            column8.ButtonDisplayStyle = Infragistics.Win.UltraWinGrid.ButtonDisplayStyle.OnCellActivate;
            column8.Header.Caption     = StringResources.SKUPPOREZAIDOPRINOSAPOREZMJESECNODescription;
            column8.Width          = 0xd9;
            appearance8.TextHAlign = HAlign.Right;
            column8.MaskInput      = "{LOC}-nnnnnnnnnn.nn";
            column8.PromptChar     = ' ';
            column8.Format         = "F2";
            column8.CellAppearance = appearance8;
            Infragistics.Win.Appearance appearance13 = new Infragistics.Win.Appearance();
            column13.CellActivation     = Activation.NoEdit;
            column13.ButtonDisplayStyle = Infragistics.Win.UltraWinGrid.ButtonDisplayStyle.OnCellActivate;
            column13.Header.Caption     = StringResources.SKUPPOREZAIDOPRINOSASTOPAPOREZADescription;
            column13.Width          = 0x66;
            appearance13.TextHAlign = HAlign.Right;
            column13.MaskInput      = "{LOC}-nn.nn";
            column13.PromptChar     = ' ';
            column13.Format         = "F2";
            column13.CellAppearance = appearance13;
            Infragistics.Win.Appearance appearance3 = new Infragistics.Win.Appearance();
            column3.CellActivation     = Activation.NoEdit;
            column3.ButtonDisplayStyle = Infragistics.Win.UltraWinGrid.ButtonDisplayStyle.OnCellActivate;
            column3.Header.Caption     = StringResources.SKUPPOREZAIDOPRINOSAMOPOREZDescription;
            column3.Width          = 170;
            column3.Format         = "";
            column3.CellAppearance = appearance3;
            Infragistics.Win.Appearance appearance7 = new Infragistics.Win.Appearance();
            column7.CellActivation     = Activation.NoEdit;
            column7.ButtonDisplayStyle = Infragistics.Win.UltraWinGrid.ButtonDisplayStyle.OnCellActivate;
            column7.Header.Caption     = StringResources.SKUPPOREZAIDOPRINOSAPOPOREZDescription;
            column7.Width          = 0xe2;
            column7.Format         = "";
            column7.CellAppearance = appearance7;
            Infragistics.Win.Appearance appearance4 = new Infragistics.Win.Appearance();
            column4.CellActivation     = Activation.NoEdit;
            column4.ButtonDisplayStyle = Infragistics.Win.UltraWinGrid.ButtonDisplayStyle.OnCellActivate;
            column4.Header.Caption     = StringResources.SKUPPOREZAIDOPRINOSAMZPOREZDescription;
            column4.Width          = 170;
            column4.Format         = "";
            column4.CellAppearance = appearance4;
            Infragistics.Win.Appearance appearance11 = new Infragistics.Win.Appearance();
            column11.CellActivation     = Activation.NoEdit;
            column11.ButtonDisplayStyle = Infragistics.Win.UltraWinGrid.ButtonDisplayStyle.OnCellActivate;
            column11.Header.Caption     = StringResources.SKUPPOREZAIDOPRINOSAPZPOREZDescription;
            column11.Width          = 0xe2;
            column11.Format         = "";
            column11.CellAppearance = appearance11;
            Infragistics.Win.Appearance appearance9 = new Infragistics.Win.Appearance();
            column9.CellActivation     = Activation.NoEdit;
            column9.ButtonDisplayStyle = Infragistics.Win.UltraWinGrid.ButtonDisplayStyle.OnCellActivate;
            column9.Header.Caption     = StringResources.SKUPPOREZAIDOPRINOSAPRIMATELJPOREZ1Description;
            column9.Width          = 0x9c;
            column9.Format         = "";
            column9.CellAppearance = appearance9;
            Infragistics.Win.Appearance appearance10 = new Infragistics.Win.Appearance();
            column10.CellActivation     = Activation.NoEdit;
            column10.ButtonDisplayStyle = Infragistics.Win.UltraWinGrid.ButtonDisplayStyle.OnCellActivate;
            column10.Header.Caption     = StringResources.SKUPPOREZAIDOPRINOSAPRIMATELJPOREZ2Description;
            column10.Width          = 0x9c;
            column10.Format         = "";
            column10.CellAppearance = appearance10;
            Infragistics.Win.Appearance appearance12 = new Infragistics.Win.Appearance();
            column12.CellActivation     = Activation.NoEdit;
            column12.ButtonDisplayStyle = Infragistics.Win.UltraWinGrid.ButtonDisplayStyle.OnCellActivate;
            column12.Header.Caption     = StringResources.SKUPPOREZAIDOPRINOSASIFRAOPISAPLACANJAPOREZDescription;
            column12.Width          = 0xcd;
            column12.Format         = "";
            column12.CellAppearance = appearance12;
            Infragistics.Win.Appearance appearance6 = new Infragistics.Win.Appearance();
            column6.CellActivation     = Activation.NoEdit;
            column6.ButtonDisplayStyle = Infragistics.Win.UltraWinGrid.ButtonDisplayStyle.OnCellActivate;
            column6.Header.Caption     = StringResources.SKUPPOREZAIDOPRINOSAOPISPLACANJAPOREZDescription;
            column6.Width          = 0x10c;
            column6.Format         = "";
            column6.CellAppearance = appearance6;
            band2.Columns.Add(column2);
            column2.Header.VisiblePosition = 0;
            band2.Columns.Add(column);
            column.Header.VisiblePosition = 1;
            band2.Columns.Add(column5);
            column5.Header.VisiblePosition = 2;
            band2.Columns.Add(column8);
            column8.Header.VisiblePosition = 3;
            band2.Columns.Add(column13);
            column13.Header.VisiblePosition = 4;
            band2.Columns.Add(column3);
            column3.Header.VisiblePosition = 5;
            band2.Columns.Add(column7);
            column7.Header.VisiblePosition = 6;
            band2.Columns.Add(column4);
            column4.Header.VisiblePosition = 7;
            band2.Columns.Add(column11);
            column11.Header.VisiblePosition = 8;
            band2.Columns.Add(column9);
            column9.Header.VisiblePosition = 9;
            band2.Columns.Add(column10);
            column10.Header.VisiblePosition = 10;
            band2.Columns.Add(column12);
            column12.Header.VisiblePosition = 11;
            band2.Columns.Add(column6);
            column6.Header.VisiblePosition = 12;
            Infragistics.Win.Appearance appearance15 = new Infragistics.Win.Appearance();
            column15.CellActivation     = Activation.NoEdit;
            column15.ButtonDisplayStyle = Infragistics.Win.UltraWinGrid.ButtonDisplayStyle.OnCellActivate;
            column15.Header.Caption     = StringResources.SKUPPOREZAIDOPRINOSAIDSKUPPOREZAIDOPRINOSADescription;
            column15.Width          = 0xea;
            appearance15.TextHAlign = HAlign.Right;
            column15.MaskInput      = "{LOC}-nnnnn";
            column15.PromptChar     = ' ';
            column15.Format         = "";
            column15.CellAppearance = appearance15;
            column15.Hidden         = true;
            Infragistics.Win.Appearance appearance14 = new Infragistics.Win.Appearance();
            column14.CellActivation     = Activation.NoEdit;
            column14.ButtonDisplayStyle = Infragistics.Win.UltraWinGrid.ButtonDisplayStyle.OnCellActivate;
            column14.Header.Caption     = StringResources.SKUPPOREZAIDOPRINOSAIDDOPRINOSDescription;
            column14.Width          = 0x77;
            appearance14.TextHAlign = HAlign.Right;
            column14.MaskInput      = "{LOC}-nnnnnnnn";
            column14.PromptChar     = ' ';
            column14.Format         = "";
            column14.CellAppearance = appearance14;
            Infragistics.Win.Appearance appearance21 = new Infragistics.Win.Appearance();
            column21.CellActivation     = Activation.NoEdit;
            column21.ButtonDisplayStyle = Infragistics.Win.UltraWinGrid.ButtonDisplayStyle.OnCellActivate;
            column21.Header.Caption     = StringResources.SKUPPOREZAIDOPRINOSANAZIVDOPRINOSDescription;
            column21.Width          = 0x128;
            column21.Format         = "";
            column21.CellAppearance = appearance21;
            Infragistics.Win.Appearance appearance16 = new Infragistics.Win.Appearance();
            column16.CellActivation     = Activation.NoEdit;
            column16.ButtonDisplayStyle = Infragistics.Win.UltraWinGrid.ButtonDisplayStyle.OnCellActivate;
            column16.Header.Caption     = StringResources.SKUPPOREZAIDOPRINOSAIDVRSTADOPRINOSDescription;
            column16.Width          = 0x9f;
            appearance16.TextHAlign = HAlign.Right;
            column16.MaskInput      = "{LOC}-nnnnn";
            column16.PromptChar     = ' ';
            column16.Format         = "";
            column16.CellAppearance = appearance16;
            Infragistics.Win.Appearance appearance22 = new Infragistics.Win.Appearance();
            column22.CellActivation     = Activation.NoEdit;
            column22.ButtonDisplayStyle = Infragistics.Win.UltraWinGrid.ButtonDisplayStyle.OnCellActivate;
            column22.Header.Caption     = StringResources.SKUPPOREZAIDOPRINOSANAZIVVRSTADOPRINOSDescription;
            column22.Width          = 0x128;
            column22.Format         = "";
            column22.CellAppearance = appearance22;
            Infragistics.Win.Appearance appearance19 = new Infragistics.Win.Appearance();
            column19.CellActivation     = Activation.NoEdit;
            column19.ButtonDisplayStyle = Infragistics.Win.UltraWinGrid.ButtonDisplayStyle.OnCellActivate;
            column19.Header.Caption     = StringResources.SKUPPOREZAIDOPRINOSAMODOPRINOSDescription;
            column19.Width          = 0xbf;
            column19.Format         = "";
            column19.CellAppearance = appearance19;
            Infragistics.Win.Appearance appearance24 = new Infragistics.Win.Appearance();
            column24.CellActivation     = Activation.NoEdit;
            column24.ButtonDisplayStyle = Infragistics.Win.UltraWinGrid.ButtonDisplayStyle.OnCellActivate;
            column24.Header.Caption     = StringResources.SKUPPOREZAIDOPRINOSAPODOPRINOSDescription;
            column24.Width          = 0xbf;
            column24.Format         = "";
            column24.CellAppearance = appearance24;
            Infragistics.Win.Appearance appearance20 = new Infragistics.Win.Appearance();
            column20.CellActivation     = Activation.NoEdit;
            column20.ButtonDisplayStyle = Infragistics.Win.UltraWinGrid.ButtonDisplayStyle.OnCellActivate;
            column20.Header.Caption     = StringResources.SKUPPOREZAIDOPRINOSAMZDOPRINOSDescription;
            column20.Width          = 0xbf;
            column20.Format         = "";
            column20.CellAppearance = appearance20;
            Infragistics.Win.Appearance appearance27 = new Infragistics.Win.Appearance();
            column27.CellActivation     = Activation.NoEdit;
            column27.ButtonDisplayStyle = Infragistics.Win.UltraWinGrid.ButtonDisplayStyle.OnCellActivate;
            column27.Header.Caption     = StringResources.SKUPPOREZAIDOPRINOSAPZDOPRINOSDescription;
            column27.Width          = 0xbf;
            column27.Format         = "";
            column27.CellAppearance = appearance27;
            Infragistics.Win.Appearance appearance25 = new Infragistics.Win.Appearance();
            column25.CellActivation     = Activation.NoEdit;
            column25.ButtonDisplayStyle = Infragistics.Win.UltraWinGrid.ButtonDisplayStyle.OnCellActivate;
            column25.Header.Caption     = StringResources.SKUPPOREZAIDOPRINOSAPRIMATELJDOPRINOS1Description;
            column25.Width          = 0x9c;
            column25.Format         = "";
            column25.CellAppearance = appearance25;
            Infragistics.Win.Appearance appearance26 = new Infragistics.Win.Appearance();
            column26.CellActivation     = Activation.NoEdit;
            column26.ButtonDisplayStyle = Infragistics.Win.UltraWinGrid.ButtonDisplayStyle.OnCellActivate;
            column26.Header.Caption     = StringResources.SKUPPOREZAIDOPRINOSAPRIMATELJDOPRINOS2Description;
            column26.Width          = 0xb1;
            column26.Format         = "";
            column26.CellAppearance = appearance26;
            Infragistics.Win.Appearance appearance28 = new Infragistics.Win.Appearance();
            column28.CellActivation     = Activation.NoEdit;
            column28.ButtonDisplayStyle = Infragistics.Win.UltraWinGrid.ButtonDisplayStyle.OnCellActivate;
            column28.Header.Caption     = StringResources.SKUPPOREZAIDOPRINOSASIFRAOPISAPLACANJADOPRINOSDescription;
            column28.Width          = 0xe2;
            column28.Format         = "";
            column28.CellAppearance = appearance28;
            Infragistics.Win.Appearance appearance23 = new Infragistics.Win.Appearance();
            column23.CellActivation     = Activation.NoEdit;
            column23.ButtonDisplayStyle = Infragistics.Win.UltraWinGrid.ButtonDisplayStyle.OnCellActivate;
            column23.Header.Caption     = StringResources.SKUPPOREZAIDOPRINOSAOPISPLACANJADOPRINOSDescription;
            column23.Width          = 0x10c;
            column23.Format         = "";
            column23.CellAppearance = appearance23;
            Infragistics.Win.Appearance appearance30 = new Infragistics.Win.Appearance();
            column30.CellActivation     = Activation.NoEdit;
            column30.ButtonDisplayStyle = Infragistics.Win.UltraWinGrid.ButtonDisplayStyle.OnCellActivate;
            column30.Header.Caption     = StringResources.SKUPPOREZAIDOPRINOSAVBDIDOPRINOSDescription;
            column30.Width          = 0x80;
            column30.Format         = "";
            column30.CellAppearance = appearance30;
            Infragistics.Win.Appearance appearance31 = new Infragistics.Win.Appearance();
            column31.CellActivation     = Activation.NoEdit;
            column31.ButtonDisplayStyle = Infragistics.Win.UltraWinGrid.ButtonDisplayStyle.OnCellActivate;
            column31.Header.Caption     = StringResources.SKUPPOREZAIDOPRINOSAZRNDOPRINOSDescription;
            column31.Width          = 170;
            column31.Format         = "";
            column31.CellAppearance = appearance31;
            Infragistics.Win.Appearance appearance18 = new Infragistics.Win.Appearance();
            column18.CellActivation     = Activation.NoEdit;
            column18.ButtonDisplayStyle = Infragistics.Win.UltraWinGrid.ButtonDisplayStyle.OnCellActivate;
            column18.Header.Caption     = StringResources.SKUPPOREZAIDOPRINOSAMINDOPRINOSDescription;
            column18.Width          = 0x11d;
            appearance18.TextHAlign = HAlign.Right;
            column18.MaskInput      = "{LOC}-nnnnnnnnnn.nn";
            column18.PromptChar     = ' ';
            column18.Format         = "F2";
            column18.CellAppearance = appearance18;
            Infragistics.Win.Appearance appearance17 = new Infragistics.Win.Appearance();
            column17.CellActivation     = Activation.NoEdit;
            column17.ButtonDisplayStyle = Infragistics.Win.UltraWinGrid.ButtonDisplayStyle.OnCellActivate;
            column17.Header.Caption     = StringResources.SKUPPOREZAIDOPRINOSAMAXDOPRINOSDescription;
            column17.Width          = 0x123;
            appearance17.TextHAlign = HAlign.Right;
            column17.MaskInput      = "{LOC}-nnnnnnnnnn.nn";
            column17.PromptChar     = ' ';
            column17.Format         = "F2";
            column17.CellAppearance = appearance17;
            Infragistics.Win.Appearance appearance29 = new Infragistics.Win.Appearance();
            column29.CellActivation     = Activation.NoEdit;
            column29.ButtonDisplayStyle = Infragistics.Win.UltraWinGrid.ButtonDisplayStyle.OnCellActivate;
            column29.Header.Caption     = StringResources.SKUPPOREZAIDOPRINOSASTOPADescription;
            column29.Width          = 0x37;
            appearance29.TextHAlign = HAlign.Right;
            column29.MaskInput      = "{LOC}-nnn.nn";
            column29.PromptChar     = ' ';
            column29.Format         = "F2";
            column29.CellAppearance = appearance29;
            band3.Columns.Add(column15);
            column15.Header.VisiblePosition = 0;
            band3.Columns.Add(column14);
            column14.Header.VisiblePosition = 1;
            band3.Columns.Add(column21);
            column21.Header.VisiblePosition = 2;
            band3.Columns.Add(column16);
            column16.Header.VisiblePosition = 3;
            band3.Columns.Add(column22);
            column22.Header.VisiblePosition = 4;
            band3.Columns.Add(column19);
            column19.Header.VisiblePosition = 5;
            band3.Columns.Add(column24);
            column24.Header.VisiblePosition = 6;
            band3.Columns.Add(column20);
            column20.Header.VisiblePosition = 7;
            band3.Columns.Add(column27);
            column27.Header.VisiblePosition = 8;
            band3.Columns.Add(column25);
            column25.Header.VisiblePosition = 9;
            band3.Columns.Add(column26);
            column26.Header.VisiblePosition = 10;
            band3.Columns.Add(column28);
            column28.Header.VisiblePosition = 11;
            band3.Columns.Add(column23);
            column23.Header.VisiblePosition = 12;
            band3.Columns.Add(column30);
            column30.Header.VisiblePosition = 13;
            band3.Columns.Add(column31);
            column31.Header.VisiblePosition = 14;
            band3.Columns.Add(column18);
            column18.Header.VisiblePosition = 15;
            band3.Columns.Add(column17);
            column17.Header.VisiblePosition = 0x10;
            band3.Columns.Add(column29);
            column29.Header.VisiblePosition = 0x11;
            band.Columns.Add(column32);
            column32.Header.VisiblePosition = 0;
            band.Columns.Add(column33);
            column33.Header.VisiblePosition = 1;
            this.userControlDataGridSKUPPOREZAIDOPRINOSA.Visible = true;
            System.Drawing.Point point = new System.Drawing.Point(0, 0);
            this.userControlDataGridSKUPPOREZAIDOPRINOSA.Location = point;
            this.userControlDataGridSKUPPOREZAIDOPRINOSA.Name     = "userControlDataGridSKUPPOREZAIDOPRINOSA";
            this.userControlDataGridSKUPPOREZAIDOPRINOSA.Tag      = "SKUPPOREZAIDOPRINOSA";
            Size size = new System.Drawing.Size(0x200, 0x144);

            this.userControlDataGridSKUPPOREZAIDOPRINOSA.Size = size;
            this.userControlDataGridSKUPPOREZAIDOPRINOSA.DisplayLayout.BorderStyle = UIElementBorderStyle.None;
            this.userControlDataGridSKUPPOREZAIDOPRINOSA.Dock          = DockStyle.Fill;
            this.userControlDataGridSKUPPOREZAIDOPRINOSA.FillAtStartup = false;
            this.userControlDataGridSKUPPOREZAIDOPRINOSA.DisplayLayout.Appearance.TextHAlign = HAlign.Left;
            this.userControlDataGridSKUPPOREZAIDOPRINOSA.InitializeRow += new InitializeRowEventHandler(this.SKUPPOREZAIDOPRINOSAUserDataGrid_InitializeRow);
            this.userControlDataGridSKUPPOREZAIDOPRINOSA.DisplayLayout.BandsSerializer.Add(band);
            this.userControlDataGridSKUPPOREZAIDOPRINOSA.DisplayLayout.BandsSerializer.Add(band2);
            this.userControlDataGridSKUPPOREZAIDOPRINOSA.DisplayLayout.BandsSerializer.Add(band3);
            this.Controls.AddRange(new Control[] { this.userControlDataGridSKUPPOREZAIDOPRINOSA });
            this.Name  = "SKUPPOREZAIDOPRINOSAUserDataGrid";
            size       = new System.Drawing.Size(0x200, 0x144);
            this.Size  = size;
            this.Load += new EventHandler(this.SKUPPOREZAIDOPRINOSAUserDataGrid_Load);
            ((ISupportInitialize)this.userControlDataGridSKUPPOREZAIDOPRINOSA).EndInit();
            this.ResumeLayout(false);
        }
Пример #23
0
        private void ultraGrid1_InitializeLayout(object sender, InitializeLayoutEventArgs e)
        {
            e.Layout.Bands[1].Columns["size"].SortComparer = new SizeComparer();
            e.Layout.Bands[1].Columns["size"].SortIndicator = SortIndicator.Ascending;
            //this.ultraGrid1.Rows[0].Height = 25;

            e.Layout.Override.SelectTypeRow = SelectType.Single;
            e.Layout.Override.CellClickAction = CellClickAction.RowSelect;
            //列名
            e.Layout.Bands[0].Columns["cartonNumber"].Header.Caption = "箱号";

            // e.Layout.Bands[0].Columns["cartonNumber"].Layout.Override.DefaultColWidth = 60;
            e.Layout.Bands[0].Columns["qty"].Header.Caption = "开箱双数";
            e.Layout.Bands[0].Columns["qty2"].Header.Caption = "封箱双数";
            e.Layout.Bands[0].Columns["valid"].Header.Caption = "满箱";
            e.Layout.Bands[0].Columns["status"].Header.Caption = "状态";

            //   e.Layout.Bands[0].Columns["valid"].Header.Caption = "是否满箱";
            e.Layout.Bands[1].Columns["cartonNumber"].Header.Caption = "箱号";
            e.Layout.Bands[1].Columns["type"].Header.Caption = "款号";
            e.Layout.Bands[1].Columns["color"].Header.Caption = "颜色";
            e.Layout.Bands[1].Columns["size"].Header.Caption = "尺码";
            e.Layout.Bands[1].Columns["qty"].Header.Caption = "开箱双数";
            e.Layout.Bands[1].Columns["qty2"].Header.Caption = "封箱双数";
            e.Layout.Appearance.FontData.SizeInPoints = 12;
            e.Layout.Appearance.TextVAlign = VAlign.Middle;
            //  grid.DisplayLayout.AutoFitStyle = AutoFitStyle.ResizeAllColumns;
            ConditionValueAppearance cva = new ConditionValueAppearance();
            OperatorCondition oc = new OperatorCondition(ConditionOperator.Contains, "未保存");
            Infragistics.Win.Appearance apce1 = new Infragistics.Win.Appearance("apce1");
            apce1.ForeColor = Color.Red;
            apce1.BackColor = Color.Yellow;
            cva.Add(oc, apce1);
            e.Layout.Bands[0].Columns["status"].ValueBasedAppearance = cva;

            ConditionValueAppearance cva2 = new ConditionValueAppearance();
            OperatorCondition oc2 = new OperatorCondition(ConditionOperator.Contains, "否");
            Infragistics.Win.Appearance apce2 = new Infragistics.Win.Appearance("apce2");
            apce2.ForeColor = Color.Red;
            apce2.BackColor = Color.Yellow;
            cva2.Add(oc2, apce2);
            e.Layout.Bands[0].Columns["valid"].ValueBasedAppearance = cva2;
        }
Пример #24
0
 /// <summary>
 /// Erforderliche Methode für die Designerunterstützung. 
 /// Der Inhalt der Methode darf nicht mit dem Code-Editor geändert werden.
 /// </summary>
 private void InitializeComponent()
 {
     this.components = new System.ComponentModel.Container();
     Infragistics.Win.UltraWinToolbars.UltraToolbar ultraToolbar1 = new Infragistics.Win.UltraWinToolbars.UltraToolbar("editorToolBar");
     Infragistics.Win.UltraWinToolbars.ButtonTool buttonTool1 = new Infragistics.Win.UltraWinToolbars.ButtonTool("bold");
     Infragistics.Win.UltraWinToolbars.ButtonTool buttonTool2 = new Infragistics.Win.UltraWinToolbars.ButtonTool("italic");
     Infragistics.Win.UltraWinToolbars.ButtonTool buttonTool3 = new Infragistics.Win.UltraWinToolbars.ButtonTool("refrain");
     Infragistics.Win.UltraWinToolbars.ButtonTool buttonTool4 = new Infragistics.Win.UltraWinToolbars.ButtonTool("special");
     Infragistics.Win.UltraWinToolbars.ButtonTool buttonTool5 = new Infragistics.Win.UltraWinToolbars.ButtonTool("tab");
     Infragistics.Win.UltraWinToolbars.ButtonTool buttonTool6 = new Infragistics.Win.UltraWinToolbars.ButtonTool("indent");
     Infragistics.Win.UltraWinToolbars.ComboBoxTool comboBoxTool1 = new Infragistics.Win.UltraWinToolbars.ComboBoxTool("indentCombo");
     Infragistics.Win.UltraWinToolbars.ButtonTool buttonTool8 = new Infragistics.Win.UltraWinToolbars.ButtonTool("jumpmark");
     Infragistics.Win.UltraWinToolbars.ButtonTool buttonTool7 = new Infragistics.Win.UltraWinToolbars.ButtonTool("Seitenumbruch");
     Infragistics.Win.UltraWinToolbars.ButtonTool buttonTool17 = new Infragistics.Win.UltraWinToolbars.ButtonTool("undo");
     Infragistics.Win.Appearance appearance14 = new Infragistics.Win.Appearance();
     Infragistics.Win.Appearance appearance16 = new Infragistics.Win.Appearance();
     Infragistics.Win.UltraWinToolbars.ButtonTool buttonTool9 = new Infragistics.Win.UltraWinToolbars.ButtonTool("bold");
     Infragistics.Win.Appearance appearance11 = new Infragistics.Win.Appearance();
     Infragistics.Win.UltraWinToolbars.ButtonTool buttonTool10 = new Infragistics.Win.UltraWinToolbars.ButtonTool("italic");
     Infragistics.Win.Appearance appearance12 = new Infragistics.Win.Appearance();
     Infragistics.Win.UltraWinToolbars.ButtonTool buttonTool11 = new Infragistics.Win.UltraWinToolbars.ButtonTool("refrain");
     Infragistics.Win.Appearance appearance13 = new Infragistics.Win.Appearance();
     Infragistics.Win.UltraWinToolbars.ButtonTool buttonTool12 = new Infragistics.Win.UltraWinToolbars.ButtonTool("special");
     Infragistics.Win.UltraWinToolbars.ButtonTool buttonTool13 = new Infragistics.Win.UltraWinToolbars.ButtonTool("tab");
     Infragistics.Win.UltraWinToolbars.ButtonTool buttonTool14 = new Infragistics.Win.UltraWinToolbars.ButtonTool("indent");
     Infragistics.Win.UltraWinToolbars.ButtonTool buttonTool15 = new Infragistics.Win.UltraWinToolbars.ButtonTool("Seitenumbruch");
     Infragistics.Win.UltraWinToolbars.ButtonTool buttonTool16 = new Infragistics.Win.UltraWinToolbars.ButtonTool("jumpmark");
     Infragistics.Win.UltraWinToolbars.ComboBoxTool comboBoxTool2 = new Infragistics.Win.UltraWinToolbars.ComboBoxTool("indentCombo");
     Infragistics.Win.ValueList valueList1 = new Infragistics.Win.ValueList(0);
     Infragistics.Win.ValueListItem valueListItem1 = new Infragistics.Win.ValueListItem();
     Infragistics.Win.ValueListItem valueListItem2 = new Infragistics.Win.ValueListItem();
     Infragistics.Win.ValueListItem valueListItem3 = new Infragistics.Win.ValueListItem();
     Infragistics.Win.ValueListItem valueListItem4 = new Infragistics.Win.ValueListItem();
     Infragistics.Win.ValueListItem valueListItem5 = new Infragistics.Win.ValueListItem();
     Infragistics.Win.UltraWinToolbars.ButtonTool buttonTool18 = new Infragistics.Win.UltraWinToolbars.ButtonTool("undo");
     Infragistics.Win.Appearance appearance15 = new Infragistics.Win.Appearance();
     System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(Editor));
     this.textBox1 = new System.Windows.Forms.TextBox();
     this.textBox2 = new System.Windows.Forms.TextBox();
     this.label1 = new System.Windows.Forms.Label();
     this.label2 = new System.Windows.Forms.Label();
     this.label3 = new System.Windows.Forms.Label();
     this.label4 = new System.Windows.Forms.Label();
     this.richTextBox1 = new System.Windows.Forms.RichTextBox();
     this.listBox1 = new System.Windows.Forms.ListBox();
     this.label7 = new System.Windows.Forms.Label();
     this.textBox3 = new System.Windows.Forms.TextBox();
     this.checkBox1 = new System.Windows.Forms.CheckBox();
     this.textBox4 = new System.Windows.Forms.TextBox();
     this.label8 = new System.Windows.Forms.Label();
     this.trackBar1 = new System.Windows.Forms.TrackBar();
     this.checkBox2 = new System.Windows.Forms.CheckBox();
     this.label9 = new System.Windows.Forms.Label();
     this.label10 = new System.Windows.Forms.Label();
     this.label11 = new System.Windows.Forms.Label();
     this.toolbars = new Infragistics.Win.UltraWinToolbars.UltraToolbarsManager(this.components);
     this.toolbarPanel = new Infragistics.Win.Misc.UltraPanel();
     this.ClientArea_Fill_Panel = new System.Windows.Forms.Panel();
     this._ClientArea_Toolbars_Dock_Area_Left = new Infragistics.Win.UltraWinToolbars.UltraToolbarsDockArea();
     this._ClientArea_Toolbars_Dock_Area_Right = new Infragistics.Win.UltraWinToolbars.UltraToolbarsDockArea();
     this._ClientArea_Toolbars_Dock_Area_Top = new Infragistics.Win.UltraWinToolbars.UltraToolbarsDockArea();
     this._ClientArea_Toolbars_Dock_Area_Bottom = new Infragistics.Win.UltraWinToolbars.UltraToolbarsDockArea();
     this.Editor_Fill_Panel = new System.Windows.Forms.Panel();
     this.previewBtn = new System.Windows.Forms.PictureBox();
     this.pictureBox1 = new System.Windows.Forms.PictureBox();
     this.button12 = new Lyra2.LyraShell.LyraButtonControl();
     this.button10 = new Lyra2.LyraShell.LyraButtonControl();
     this.button2 = new Lyra2.LyraShell.LyraButtonControl();
     this.button1 = new Lyra2.LyraShell.LyraButtonControl();
     this.button14 = new Lyra2.LyraShell.LyraButtonControl();
     this.button16 = new Lyra2.LyraShell.LyraButtonControl();
     this.button17 = new Lyra2.LyraShell.LyraButtonControl();
     this.button13 = new Lyra2.LyraShell.LyraButtonControl();
     ((System.ComponentModel.ISupportInitialize)(this.trackBar1)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.toolbars)).BeginInit();
     this.toolbarPanel.ClientArea.SuspendLayout();
     this.toolbarPanel.SuspendLayout();
     this.ClientArea_Fill_Panel.SuspendLayout();
     this.Editor_Fill_Panel.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.previewBtn)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.pictureBox1)).BeginInit();
     this.SuspendLayout();
     //
     // textBox1
     //
     this.textBox1.Location = new System.Drawing.Point(240, 38);
     this.textBox1.Name = "textBox1";
     this.textBox1.Size = new System.Drawing.Size(384, 20);
     this.textBox1.TabIndex = 1;
     this.textBox1.Text = "textBox1";
     //
     // textBox2
     //
     this.textBox2.Enabled = false;
     this.textBox2.Location = new System.Drawing.Point(102, 38);
     this.textBox2.MaxLength = 4;
     this.textBox2.Name = "textBox2";
     this.textBox2.Size = new System.Drawing.Size(40, 20);
     this.textBox2.TabIndex = 0;
     this.textBox2.Text = "textBox2";
     //
     // label1
     //
     this.label1.Font = new System.Drawing.Font("Verdana", 9.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.label1.ForeColor = System.Drawing.Color.SlateGray;
     this.label1.Location = new System.Drawing.Point(8, 8);
     this.label1.Name = "label1";
     this.label1.Size = new System.Drawing.Size(160, 16);
     this.label1.TabIndex = 4;
     this.label1.Text = "Lyra Songtext Editor";
     //
     // label2
     //
     this.label2.AutoSize = true;
     this.label2.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.label2.Location = new System.Drawing.Point(24, 40);
     this.label2.Name = "label2";
     this.label2.Size = new System.Drawing.Size(78, 13);
     this.label2.TabIndex = 5;
     this.label2.Text = "Liednummer:";
     //
     // label3
     //
     this.label3.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.label3.Location = new System.Drawing.Point(206, 40);
     this.label3.Name = "label3";
     this.label3.Size = new System.Drawing.Size(32, 16);
     this.label3.TabIndex = 6;
     this.label3.Text = "Titel:";
     //
     // label4
     //
     this.label4.AutoSize = true;
     this.label4.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.label4.Location = new System.Drawing.Point(24, 72);
     this.label4.Name = "label4";
     this.label4.Size = new System.Drawing.Size(36, 13);
     this.label4.TabIndex = 7;
     this.label4.Text = "Text:";
     //
     // richTextBox1
     //
     this.richTextBox1.Dock = System.Windows.Forms.DockStyle.Fill;
     this.richTextBox1.Location = new System.Drawing.Point(0, 0);
     this.richTextBox1.Name = "richTextBox1";
     this.richTextBox1.Size = new System.Drawing.Size(685, 209);
     this.richTextBox1.TabIndex = 2;
     this.richTextBox1.Text = "richTextBox1";
     //
     // listBox1
     //
     this.listBox1.Location = new System.Drawing.Point(24, 465);
     this.listBox1.Name = "listBox1";
     this.listBox1.Size = new System.Drawing.Size(600, 69);
     this.listBox1.TabIndex = 25;
     //
     // label7
     //
     this.label7.AutoSize = true;
     this.label7.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.label7.ForeColor = System.Drawing.Color.Black;
     this.label7.Location = new System.Drawing.Point(24, 441);
     this.label7.Name = "label7";
     this.label7.Size = new System.Drawing.Size(92, 13);
     this.label7.TabIndex = 12;
     this.label7.Text = "Übersetzungen";
     //
     // textBox3
     //
     this.textBox3.Enabled = false;
     this.textBox3.Location = new System.Drawing.Point(200, 64);
     this.textBox3.MaxLength = 3;
     this.textBox3.Name = "textBox3";
     this.textBox3.Size = new System.Drawing.Size(40, 20);
     this.textBox3.TabIndex = 28;
     this.textBox3.Text = "---";
     //
     // checkBox1
     //
     this.checkBox1.Location = new System.Drawing.Point(104, 65);
     this.checkBox1.Name = "checkBox1";
     this.checkBox1.Size = new System.Drawing.Size(104, 16);
     this.checkBox1.TabIndex = 29;
     this.checkBox1.Text = "Bemerkungen:";
     this.checkBox1.CheckedChanged += new System.EventHandler(this.checkBox1_CheckedChanged);
     //
     // textBox4
     //
     this.textBox4.Location = new System.Drawing.Point(117, 341);
     this.textBox4.Name = "textBox4";
     this.textBox4.Size = new System.Drawing.Size(384, 20);
     this.textBox4.TabIndex = 1;
     this.textBox4.TextChanged += new System.EventHandler(this.textBox4_TextChanged);
     //
     // label8
     //
     this.label8.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.label8.Location = new System.Drawing.Point(24, 344);
     this.label8.Name = "label8";
     this.label8.Size = new System.Drawing.Size(168, 16);
     this.label8.TabIndex = 6;
     this.label8.Text = "Hintergrundbild:";
     //
     // trackBar1
     //
     this.trackBar1.AutoSize = false;
     this.trackBar1.Enabled = false;
     this.trackBar1.LargeChange = 10;
     this.trackBar1.Location = new System.Drawing.Point(304, 368);
     this.trackBar1.Maximum = 100;
     this.trackBar1.Name = "trackBar1";
     this.trackBar1.Size = new System.Drawing.Size(104, 16);
     this.trackBar1.TabIndex = 30;
     this.trackBar1.TickFrequency = 25;
     this.trackBar1.ValueChanged += new System.EventHandler(this.trackBar1_ValueChanged);
     //
     // checkBox2
     //
     this.checkBox2.Enabled = false;
     this.checkBox2.Location = new System.Drawing.Point(116, 368);
     this.checkBox2.Name = "checkBox2";
     this.checkBox2.Size = new System.Drawing.Size(104, 16);
     this.checkBox2.TabIndex = 29;
     this.checkBox2.Text = "Bild strecken";
     //
     // label9
     //
     this.label9.Enabled = false;
     this.label9.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.label9.Location = new System.Drawing.Point(232, 368);
     this.label9.Name = "label9";
     this.label9.Size = new System.Drawing.Size(168, 16);
     this.label9.TabIndex = 6;
     this.label9.Text = "Transparenz:";
     //
     // label10
     //
     this.label10.Enabled = false;
     this.label10.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.label10.Location = new System.Drawing.Point(305, 388);
     this.label10.Name = "label10";
     this.label10.Size = new System.Drawing.Size(168, 16);
     this.label10.TabIndex = 6;
     this.label10.Text = "0%         50%       100%";
     //
     // label11
     //
     this.label11.AutoSize = true;
     this.label11.BackColor = System.Drawing.Color.Transparent;
     this.label11.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.label11.ForeColor = System.Drawing.Color.DimGray;
     this.label11.Location = new System.Drawing.Point(653, 68);
     this.label11.Name = "label11";
     this.label11.Size = new System.Drawing.Size(52, 13);
     this.label11.TabIndex = 5;
     this.label11.Text = "Vorschau";
     //
     // toolbars
     //
     this.toolbars.DesignerFlags = 1;
     this.toolbars.DockWithinContainer = this.toolbarPanel.ClientArea;
     this.toolbars.ShowFullMenusDelay = 500;
     ultraToolbar1.DockedColumn = 0;
     ultraToolbar1.DockedRow = 0;
     buttonTool3.InstanceProps.IsFirstInGroup = true;
     buttonTool5.InstanceProps.IsFirstInGroup = true;
     buttonTool8.InstanceProps.IsFirstInGroup = true;
     buttonTool17.InstanceProps.IsFirstInGroup = true;
     ultraToolbar1.NonInheritedTools.AddRange(new Infragistics.Win.UltraWinToolbars.ToolBase[] {
     buttonTool1,
     buttonTool2,
     buttonTool3,
     buttonTool4,
     buttonTool5,
     buttonTool6,
     comboBoxTool1,
     buttonTool8,
     buttonTool7,
     buttonTool17});
     ultraToolbar1.Settings.AllowCustomize = Infragistics.Win.DefaultableBoolean.False;
     ultraToolbar1.Settings.AllowDockBottom = Infragistics.Win.DefaultableBoolean.False;
     ultraToolbar1.Settings.AllowDockLeft = Infragistics.Win.DefaultableBoolean.False;
     ultraToolbar1.Settings.AllowDockRight = Infragistics.Win.DefaultableBoolean.False;
     ultraToolbar1.Settings.AllowFloating = Infragistics.Win.DefaultableBoolean.False;
     ultraToolbar1.Settings.AllowHiding = Infragistics.Win.DefaultableBoolean.False;
     ultraToolbar1.Settings.FillEntireRow = Infragistics.Win.DefaultableBoolean.True;
     ultraToolbar1.Settings.GrabHandleStyle = Infragistics.Win.UltraWinToolbars.GrabHandleStyle.NoGlyph;
     ultraToolbar1.Settings.ToolDisplayStyle = Infragistics.Win.UltraWinToolbars.ToolDisplayStyle.TextOnlyAlways;
     ultraToolbar1.Text = "editorToolBar";
     this.toolbars.Toolbars.AddRange(new Infragistics.Win.UltraWinToolbars.UltraToolbar[] {
     ultraToolbar1});
     this.toolbars.ToolbarSettings.BorderStyleDocked = Infragistics.Win.UIElementBorderStyle.Etched;
     appearance14.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(224)))), ((int)(((byte)(224)))), ((int)(((byte)(224)))));
     appearance14.BackColor2 = System.Drawing.Color.Silver;
     appearance14.BackGradientStyle = Infragistics.Win.GradientStyle.GlassTop37;
     appearance14.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(64)))), ((int)(((byte)(64)))), ((int)(((byte)(64)))));
     this.toolbars.ToolbarSettings.DockedAppearance = appearance14;
     appearance16.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(255)))), ((int)(((byte)(178)))));
     appearance16.BackColor2 = System.Drawing.Color.Silver;
     appearance16.BackGradientStyle = Infragistics.Win.GradientStyle.VerticalWithGlassLeft50;
     appearance16.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(64)))), ((int)(((byte)(64)))), ((int)(((byte)(64)))));
     this.toolbars.ToolbarSettings.HotTrackAppearance = appearance16;
     appearance11.FontData.BoldAsString = "True";
     buttonTool9.SharedPropsInternal.AppearancesSmall.Appearance = appearance11;
     buttonTool9.SharedPropsInternal.Caption = "F";
     appearance12.FontData.ItalicAsString = "True";
     buttonTool10.SharedPropsInternal.AppearancesSmall.Appearance = appearance12;
     buttonTool10.SharedPropsInternal.Caption = "K";
     appearance13.FontData.BoldAsString = "True";
     appearance13.FontData.ItalicAsString = "True";
     appearance13.FontData.Name = "Times New Roman";
     buttonTool11.SharedPropsInternal.AppearancesSmall.Appearance = appearance13;
     buttonTool11.SharedPropsInternal.Caption = "Refrain";
     buttonTool12.SharedPropsInternal.Caption = "Spezial";
     buttonTool13.SharedPropsInternal.Caption = "Tab";
     buttonTool14.SharedPropsInternal.Caption = "Einrücken um";
     buttonTool15.SharedPropsInternal.Caption = "Seitenumbruch";
     buttonTool16.SharedPropsInternal.Caption = "Sprungmarke";
     comboBoxTool2.SharedPropsInternal.Width = 50;
     valueList1.DisplayStyle = Infragistics.Win.ValueListDisplayStyle.DisplayText;
     valueListItem1.DataValue = "ValueListItem0";
     valueListItem1.DisplayText = "8";
     valueListItem2.DataValue = "ValueListItem1";
     valueListItem2.DisplayText = "16";
     valueListItem3.DataValue = "ValueListItem2";
     valueListItem3.DisplayText = "24";
     valueListItem4.DataValue = "ValueListItem3";
     valueListItem4.DisplayText = "32";
     valueListItem5.DataValue = "ValueListItem4";
     valueListItem5.DisplayText = "40";
     valueList1.ValueListItems.AddRange(new Infragistics.Win.ValueListItem[] {
     valueListItem1,
     valueListItem2,
     valueListItem3,
     valueListItem4,
     valueListItem5});
     comboBoxTool2.ValueList = valueList1;
     appearance15.Image = global::Lyra2.LyraShell.Properties.Resources.undo_icon;
     buttonTool18.SharedPropsInternal.AppearancesSmall.Appearance = appearance15;
     buttonTool18.SharedPropsInternal.Caption = "Undo";
     buttonTool18.SharedPropsInternal.DisplayStyle = Infragistics.Win.UltraWinToolbars.ToolDisplayStyle.DefaultForToolType;
     this.toolbars.Tools.AddRange(new Infragistics.Win.UltraWinToolbars.ToolBase[] {
     buttonTool9,
     buttonTool10,
     buttonTool11,
     buttonTool12,
     buttonTool13,
     buttonTool14,
     buttonTool15,
     buttonTool16,
     comboBoxTool2,
     buttonTool18});
     //
     // toolbarPanel
     //
     //
     // toolbarPanel.ClientArea
     //
     this.toolbarPanel.ClientArea.Controls.Add(this.ClientArea_Fill_Panel);
     this.toolbarPanel.ClientArea.Controls.Add(this._ClientArea_Toolbars_Dock_Area_Left);
     this.toolbarPanel.ClientArea.Controls.Add(this._ClientArea_Toolbars_Dock_Area_Right);
     this.toolbarPanel.ClientArea.Controls.Add(this._ClientArea_Toolbars_Dock_Area_Top);
     this.toolbarPanel.ClientArea.Controls.Add(this._ClientArea_Toolbars_Dock_Area_Bottom);
     this.toolbarPanel.Location = new System.Drawing.Point(27, 88);
     this.toolbarPanel.Name = "toolbarPanel";
     this.toolbarPanel.Size = new System.Drawing.Size(685, 240);
     this.toolbarPanel.TabIndex = 34;
     //
     // ClientArea_Fill_Panel
     //
     this.ClientArea_Fill_Panel.Controls.Add(this.richTextBox1);
     this.ClientArea_Fill_Panel.Cursor = System.Windows.Forms.Cursors.Default;
     this.ClientArea_Fill_Panel.Dock = System.Windows.Forms.DockStyle.Fill;
     this.ClientArea_Fill_Panel.Location = new System.Drawing.Point(0, 31);
     this.ClientArea_Fill_Panel.Name = "ClientArea_Fill_Panel";
     this.ClientArea_Fill_Panel.Size = new System.Drawing.Size(685, 209);
     this.ClientArea_Fill_Panel.TabIndex = 0;
     //
     // _ClientArea_Toolbars_Dock_Area_Left
     //
     this._ClientArea_Toolbars_Dock_Area_Left.AccessibleRole = System.Windows.Forms.AccessibleRole.Grouping;
     this._ClientArea_Toolbars_Dock_Area_Left.BackColor = System.Drawing.SystemColors.Control;
     this._ClientArea_Toolbars_Dock_Area_Left.DockedPosition = Infragistics.Win.UltraWinToolbars.DockedPosition.Left;
     this._ClientArea_Toolbars_Dock_Area_Left.ForeColor = System.Drawing.SystemColors.ControlText;
     this._ClientArea_Toolbars_Dock_Area_Left.Location = new System.Drawing.Point(0, 31);
     this._ClientArea_Toolbars_Dock_Area_Left.Name = "_ClientArea_Toolbars_Dock_Area_Left";
     this._ClientArea_Toolbars_Dock_Area_Left.Size = new System.Drawing.Size(0, 209);
     this._ClientArea_Toolbars_Dock_Area_Left.ToolbarsManager = this.toolbars;
     //
     // _ClientArea_Toolbars_Dock_Area_Right
     //
     this._ClientArea_Toolbars_Dock_Area_Right.AccessibleRole = System.Windows.Forms.AccessibleRole.Grouping;
     this._ClientArea_Toolbars_Dock_Area_Right.BackColor = System.Drawing.SystemColors.Control;
     this._ClientArea_Toolbars_Dock_Area_Right.DockedPosition = Infragistics.Win.UltraWinToolbars.DockedPosition.Right;
     this._ClientArea_Toolbars_Dock_Area_Right.ForeColor = System.Drawing.SystemColors.ControlText;
     this._ClientArea_Toolbars_Dock_Area_Right.Location = new System.Drawing.Point(685, 31);
     this._ClientArea_Toolbars_Dock_Area_Right.Name = "_ClientArea_Toolbars_Dock_Area_Right";
     this._ClientArea_Toolbars_Dock_Area_Right.Size = new System.Drawing.Size(0, 209);
     this._ClientArea_Toolbars_Dock_Area_Right.ToolbarsManager = this.toolbars;
     //
     // _ClientArea_Toolbars_Dock_Area_Top
     //
     this._ClientArea_Toolbars_Dock_Area_Top.AccessibleRole = System.Windows.Forms.AccessibleRole.Grouping;
     this._ClientArea_Toolbars_Dock_Area_Top.BackColor = System.Drawing.SystemColors.Control;
     this._ClientArea_Toolbars_Dock_Area_Top.DockedPosition = Infragistics.Win.UltraWinToolbars.DockedPosition.Top;
     this._ClientArea_Toolbars_Dock_Area_Top.ForeColor = System.Drawing.SystemColors.ControlText;
     this._ClientArea_Toolbars_Dock_Area_Top.Location = new System.Drawing.Point(0, 0);
     this._ClientArea_Toolbars_Dock_Area_Top.Name = "_ClientArea_Toolbars_Dock_Area_Top";
     this._ClientArea_Toolbars_Dock_Area_Top.Size = new System.Drawing.Size(685, 31);
     this._ClientArea_Toolbars_Dock_Area_Top.ToolbarsManager = this.toolbars;
     //
     // _ClientArea_Toolbars_Dock_Area_Bottom
     //
     this._ClientArea_Toolbars_Dock_Area_Bottom.AccessibleRole = System.Windows.Forms.AccessibleRole.Grouping;
     this._ClientArea_Toolbars_Dock_Area_Bottom.BackColor = System.Drawing.SystemColors.Control;
     this._ClientArea_Toolbars_Dock_Area_Bottom.DockedPosition = Infragistics.Win.UltraWinToolbars.DockedPosition.Bottom;
     this._ClientArea_Toolbars_Dock_Area_Bottom.ForeColor = System.Drawing.SystemColors.ControlText;
     this._ClientArea_Toolbars_Dock_Area_Bottom.Location = new System.Drawing.Point(0, 240);
     this._ClientArea_Toolbars_Dock_Area_Bottom.Name = "_ClientArea_Toolbars_Dock_Area_Bottom";
     this._ClientArea_Toolbars_Dock_Area_Bottom.Size = new System.Drawing.Size(685, 0);
     this._ClientArea_Toolbars_Dock_Area_Bottom.ToolbarsManager = this.toolbars;
     //
     // Editor_Fill_Panel
     //
     this.Editor_Fill_Panel.Controls.Add(this.toolbarPanel);
     this.Editor_Fill_Panel.Controls.Add(this.label11);
     this.Editor_Fill_Panel.Controls.Add(this.previewBtn);
     this.Editor_Fill_Panel.Controls.Add(this.pictureBox1);
     this.Editor_Fill_Panel.Controls.Add(this.trackBar1);
     this.Editor_Fill_Panel.Controls.Add(this.textBox3);
     this.Editor_Fill_Panel.Controls.Add(this.label7);
     this.Editor_Fill_Panel.Controls.Add(this.label4);
     this.Editor_Fill_Panel.Controls.Add(this.label2);
     this.Editor_Fill_Panel.Controls.Add(this.textBox2);
     this.Editor_Fill_Panel.Controls.Add(this.textBox1);
     this.Editor_Fill_Panel.Controls.Add(this.textBox4);
     this.Editor_Fill_Panel.Controls.Add(this.checkBox1);
     this.Editor_Fill_Panel.Controls.Add(this.button12);
     this.Editor_Fill_Panel.Controls.Add(this.listBox1);
     this.Editor_Fill_Panel.Controls.Add(this.button10);
     this.Editor_Fill_Panel.Controls.Add(this.label1);
     this.Editor_Fill_Panel.Controls.Add(this.label3);
     this.Editor_Fill_Panel.Controls.Add(this.button2);
     this.Editor_Fill_Panel.Controls.Add(this.button1);
     this.Editor_Fill_Panel.Controls.Add(this.button14);
     this.Editor_Fill_Panel.Controls.Add(this.button16);
     this.Editor_Fill_Panel.Controls.Add(this.button17);
     this.Editor_Fill_Panel.Controls.Add(this.label8);
     this.Editor_Fill_Panel.Controls.Add(this.button13);
     this.Editor_Fill_Panel.Controls.Add(this.checkBox2);
     this.Editor_Fill_Panel.Controls.Add(this.label9);
     this.Editor_Fill_Panel.Controls.Add(this.label10);
     this.Editor_Fill_Panel.Cursor = System.Windows.Forms.Cursors.Default;
     this.Editor_Fill_Panel.Dock = System.Windows.Forms.DockStyle.Fill;
     this.Editor_Fill_Panel.Location = new System.Drawing.Point(0, 0);
     this.Editor_Fill_Panel.Name = "Editor_Fill_Panel";
     this.Editor_Fill_Panel.Size = new System.Drawing.Size(736, 544);
     this.Editor_Fill_Panel.TabIndex = 0;
     //
     // previewBtn
     //
     this.previewBtn.Cursor = System.Windows.Forms.Cursors.Hand;
     this.previewBtn.Image = ((System.Drawing.Image)(resources.GetObject("previewBtn.Image")));
     this.previewBtn.Location = new System.Drawing.Point(648, 5);
     this.previewBtn.Name = "previewBtn";
     this.previewBtn.Size = new System.Drawing.Size(64, 64);
     this.previewBtn.TabIndex = 33;
     this.previewBtn.TabStop = false;
     this.previewBtn.Click += new System.EventHandler(this.previewButton_Click);
     //
     // pictureBox1
     //
     this.pictureBox1.Enabled = false;
     this.pictureBox1.Image = ((System.Drawing.Image)(resources.GetObject("pictureBox1.Image")));
     this.pictureBox1.Location = new System.Drawing.Point(440, 368);
     this.pictureBox1.Name = "pictureBox1";
     this.pictureBox1.Size = new System.Drawing.Size(48, 48);
     this.pictureBox1.SizeMode = System.Windows.Forms.PictureBoxSizeMode.StretchImage;
     this.pictureBox1.TabIndex = 31;
     this.pictureBox1.TabStop = false;
     //
     // button12
     //
     this.button12.Enabled = false;
     this.button12.Location = new System.Drawing.Point(149, 38);
     this.button12.Name = "button12";
     this.button12.Size = new System.Drawing.Size(53, 20);
     this.button12.TabIndex = 27;
     this.button12.Text = "ändern";
     this.button12.Click += new System.EventHandler(this.button12_Click);
     //
     // button10
     //
     this.button10.BackColorInternal = System.Drawing.SystemColors.Control;
     this.button10.Location = new System.Drawing.Point(24, 401);
     this.button10.Name = "button10";
     this.button10.Size = new System.Drawing.Size(160, 24);
     this.button10.TabIndex = 21;
     this.button10.Text = "Übersetzungen >>";
     this.button10.Click += new System.EventHandler(this.button10_Click);
     //
     // button2
     //
     this.button2.BackColorInternal = System.Drawing.SystemColors.Control;
     this.button2.Location = new System.Drawing.Point(608, 401);
     this.button2.Name = "button2";
     this.button2.Size = new System.Drawing.Size(72, 24);
     this.button2.TabIndex = 20;
     this.button2.Text = "Abbrechen";
     this.button2.Click += new System.EventHandler(this.button2_Click);
     //
     // button1
     //
     this.button1.BackColorInternal = System.Drawing.SystemColors.Control;
     this.button1.Location = new System.Drawing.Point(688, 401);
     this.button1.Name = "button1";
     this.button1.Size = new System.Drawing.Size(40, 24);
     this.button1.TabIndex = 19;
     this.button1.Text = "Ok";
     this.button1.Click += new System.EventHandler(this.button1_Click);
     //
     // button14
     //
     this.button14.Location = new System.Drawing.Point(688, 505);
     this.button14.Name = "button14";
     this.button14.Size = new System.Drawing.Size(40, 24);
     this.button14.TabIndex = 24;
     this.button14.Text = "Del";
     this.button14.Click += new System.EventHandler(this.button14_Click);
     //
     // button16
     //
     this.button16.Location = new System.Drawing.Point(632, 473);
     this.button16.Name = "button16";
     this.button16.Size = new System.Drawing.Size(96, 24);
     this.button16.TabIndex = 22;
     this.button16.Text = "Neu…";
     this.button16.Click += new System.EventHandler(this.button16_Click);
     //
     // button17
     //
     this.button17.Location = new System.Drawing.Point(632, 505);
     this.button17.Name = "button17";
     this.button17.Size = new System.Drawing.Size(40, 24);
     this.button17.TabIndex = 23;
     this.button17.Text = "Edit";
     this.button17.Click += new System.EventHandler(this.button17_Click);
     //
     // button13
     //
     this.button13.Location = new System.Drawing.Point(512, 342);
     this.button13.Name = "button13";
     this.button13.Size = new System.Drawing.Size(88, 20);
     this.button13.TabIndex = 27;
     this.button13.Text = "durchsuchen…";
     this.button13.Click += new System.EventHandler(this.button13_Click);
     //
     // Editor
     //
     this.AutoScaleBaseSize = new System.Drawing.Size(5, 13);
     this.ClientSize = new System.Drawing.Size(736, 544);
     this.ControlBox = false;
     this.Controls.Add(this.Editor_Fill_Panel);
     this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedToolWindow;
     this.Name = "Editor";
     this.ShowInTaskbar = false;
     this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
     this.Text = "Editor";
     this.Activated += new System.EventHandler(this.MeGotFocus);
     ((System.ComponentModel.ISupportInitialize)(this.trackBar1)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.toolbars)).EndInit();
     this.toolbarPanel.ClientArea.ResumeLayout(false);
     this.toolbarPanel.ResumeLayout(false);
     this.ClientArea_Fill_Panel.ResumeLayout(false);
     this.Editor_Fill_Panel.ResumeLayout(false);
     this.Editor_Fill_Panel.PerformLayout();
     ((System.ComponentModel.ISupportInitialize)(this.previewBtn)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.pictureBox1)).EndInit();
     this.ResumeLayout(false);
 }
Пример #25
0
        private void InitializeComponent()
        {
            this.userControlDataGridS_OD_TABLICA01 = new S_OD_TABLICA01DataGrid();
            ((ISupportInitialize)this.userControlDataGridS_OD_TABLICA01).BeginInit();
            UltraGridBand   band    = new UltraGridBand("S_OD_TABLICA01", -1);
            UltraGridColumn column2 = new UltraGridColumn("IZNOS");
            UltraGridColumn column3 = new UltraGridColumn("MJESECOBRACUNA");
            UltraGridColumn column  = new UltraGridColumn("GODINAOBRACUNA");
            UltraGridColumn column5 = new UltraGridColumn("NARADU");
            UltraGridColumn column4 = new UltraGridColumn("NAKNADA");

            this.SuspendLayout();
            Infragistics.Win.Appearance appearance2 = new Infragistics.Win.Appearance();
            column2.CellActivation     = Activation.NoEdit;
            column2.ButtonDisplayStyle = Infragistics.Win.UltraWinGrid.ButtonDisplayStyle.OnCellActivate;
            column2.Header.Caption     = StringResources.S_OD_TABLICA01IZNOSDescription;
            column2.Width          = 0x66;
            appearance2.TextHAlign = HAlign.Right;
            column2.MaskInput      = "{LOC}-nnnnnnnnnn.nn";
            column2.PromptChar     = ' ';
            column2.Format         = "F2";
            column2.CellAppearance = appearance2;
            Infragistics.Win.Appearance appearance3 = new Infragistics.Win.Appearance();
            column3.CellActivation     = Activation.NoEdit;
            column3.ButtonDisplayStyle = Infragistics.Win.UltraWinGrid.ButtonDisplayStyle.OnCellActivate;
            column3.Header.Caption     = StringResources.S_OD_TABLICA01MJESECOBRACUNADescription;
            column3.Width          = 0x79;
            column3.Format         = "";
            column3.CellAppearance = appearance3;
            Infragistics.Win.Appearance appearance = new Infragistics.Win.Appearance();
            column.CellActivation     = Activation.NoEdit;
            column.ButtonDisplayStyle = Infragistics.Win.UltraWinGrid.ButtonDisplayStyle.OnCellActivate;
            column.Header.Caption     = StringResources.S_OD_TABLICA01GODINAOBRACUNADescription;
            column.Width          = 0x79;
            column.Format         = "";
            column.CellAppearance = appearance;
            Infragistics.Win.Appearance appearance5 = new Infragistics.Win.Appearance();
            column5.CellActivation     = Activation.NoEdit;
            column5.ButtonDisplayStyle = Infragistics.Win.UltraWinGrid.ButtonDisplayStyle.OnCellActivate;
            column5.Header.Caption     = StringResources.S_OD_TABLICA01NARADUDescription;
            column5.Width          = 0x3a;
            appearance5.TextHAlign = HAlign.Right;
            column5.MaskInput      = "{LOC}-nnnnn";
            column5.PromptChar     = ' ';
            column5.Format         = "";
            column5.CellAppearance = appearance5;
            Infragistics.Win.Appearance appearance4 = new Infragistics.Win.Appearance();
            column4.CellActivation     = Activation.NoEdit;
            column4.ButtonDisplayStyle = Infragistics.Win.UltraWinGrid.ButtonDisplayStyle.OnCellActivate;
            column4.Header.Caption     = StringResources.S_OD_TABLICA01NAKNADADescription;
            column4.Width          = 0x41;
            appearance4.TextHAlign = HAlign.Right;
            column4.MaskInput      = "{LOC}-nnnnn";
            column4.PromptChar     = ' ';
            column4.Format         = "";
            column4.CellAppearance = appearance4;
            band.Columns.Add(column2);
            column2.Header.VisiblePosition = 0;
            band.Columns.Add(column3);
            column3.Header.VisiblePosition = 1;
            band.Columns.Add(column);
            column.Header.VisiblePosition = 2;
            band.Columns.Add(column5);
            column5.Header.VisiblePosition = 3;
            band.Columns.Add(column4);
            column4.Header.VisiblePosition = 4;
            this.userControlDataGridS_OD_TABLICA01.Visible = true;
            System.Drawing.Point point = new System.Drawing.Point(0, 0);
            this.userControlDataGridS_OD_TABLICA01.Location = point;
            this.userControlDataGridS_OD_TABLICA01.Name     = "userControlDataGridS_OD_TABLICA01";
            this.userControlDataGridS_OD_TABLICA01.Tag      = "S_OD_TABLICA01";
            Size size = new System.Drawing.Size(0x200, 0x144);

            this.userControlDataGridS_OD_TABLICA01.Size = size;
            this.userControlDataGridS_OD_TABLICA01.DisplayLayout.BorderStyle = UIElementBorderStyle.None;
            this.userControlDataGridS_OD_TABLICA01.Dock          = DockStyle.Fill;
            this.userControlDataGridS_OD_TABLICA01.FillAtStartup = false;
            this.userControlDataGridS_OD_TABLICA01.DisplayLayout.Appearance.TextHAlign = HAlign.Left;
            this.userControlDataGridS_OD_TABLICA01.InitializeRow += new InitializeRowEventHandler(this.S_OD_TABLICA01UserDataGrid_InitializeRow);
            this.userControlDataGridS_OD_TABLICA01.DisplayLayout.BandsSerializer.Add(band);
            this.Controls.AddRange(new Control[] { this.userControlDataGridS_OD_TABLICA01 });
            this.Name  = "S_OD_TABLICA01UserDataGrid";
            size       = new System.Drawing.Size(0x200, 0x144);
            this.Size  = size;
            this.Load += new EventHandler(this.S_OD_TABLICA01UserDataGrid_Load);
            ((ISupportInitialize)this.userControlDataGridS_OD_TABLICA01).EndInit();
            this.ResumeLayout(false);
        }
Пример #26
0
        private void InitializeComponent()
        {
            this.userControlDataGridURA = new URADataGrid();
            ((ISupportInitialize)this.userControlDataGridURA).BeginInit();
            UltraGridBand   band     = new UltraGridBand("URA", -1);
            UltraGridColumn column20 = new UltraGridColumn("URAGODIDGODINE");
            UltraGridColumn column19 = new UltraGridColumn("URADOKIDDOKUMENT");
            UltraGridColumn column16 = new UltraGridColumn("URABROJ");
            UltraGridColumn column23 = new UltraGridColumn("urapartnerIDPARTNER");
            UltraGridColumn column   = new UltraGridColumn("IDTIPURA");
            UltraGridColumn column17 = new UltraGridColumn("URABROJRACUNADOBAVLJACA");
            UltraGridColumn column18 = new UltraGridColumn("URADATUM");
            UltraGridColumn column26 = new UltraGridColumn("URAVALUTA");
            UltraGridColumn column22 = new UltraGridColumn("URANAPOMENA");
            UltraGridColumn column21 = new UltraGridColumn("URAMODEL");
            UltraGridColumn column24 = new UltraGridColumn("URAPOZIVNABROJ");
            UltraGridColumn column25 = new UltraGridColumn("URAUKUPNO");
            UltraGridColumn column2  = new UltraGridColumn("OSNOVICA0");
            UltraGridColumn column3  = new UltraGridColumn("OSNOVICA10");
            UltraGridColumn column5  = new UltraGridColumn("OSNOVICA22");
            UltraGridColumn column7  = new UltraGridColumn("OSNOVICA23");
            UltraGridColumn column4  = new UltraGridColumn("OSNOVICA10NE");
            UltraGridColumn column6  = new UltraGridColumn("OSNOVICA22NE");
            UltraGridColumn column8  = new UltraGridColumn("OSNOVICA23NE");
            UltraGridColumn column9  = new UltraGridColumn("PDV10DA");
            UltraGridColumn column10 = new UltraGridColumn("PDV10NE");
            UltraGridColumn column11 = new UltraGridColumn("PDV22DA");
            UltraGridColumn column12 = new UltraGridColumn("PDV22NE");
            UltraGridColumn column13 = new UltraGridColumn("PDV23DA");
            UltraGridColumn column14 = new UltraGridColumn("PDV23NE");
            UltraGridColumn column15 = new UltraGridColumn("R2");

            this.SuspendLayout();
            Infragistics.Win.Appearance appearance20 = new Infragistics.Win.Appearance();
            column20.CellActivation     = Activation.NoEdit;
            column20.ButtonDisplayStyle = Infragistics.Win.UltraWinGrid.ButtonDisplayStyle.OnCellActivate;
            column20.Header.Caption     = StringResources.URAURAGODIDGODINEDescription;
            column20.Width          = 0x3a;
            appearance20.TextHAlign = HAlign.Right;
            column20.MaskInput      = "{LOC}-nnnn";
            column20.PromptChar     = ' ';
            column20.Format         = "";
            column20.CellAppearance = appearance20;
            Infragistics.Win.Appearance appearance19 = new Infragistics.Win.Appearance();
            column19.CellActivation     = Activation.NoEdit;
            column19.ButtonDisplayStyle = Infragistics.Win.UltraWinGrid.ButtonDisplayStyle.OnCellActivate;
            column19.Header.Caption     = StringResources.URAURADOKIDDOKUMENTDescription;
            column19.Width          = 0x48;
            column19.Format         = "";
            column19.CellAppearance = appearance19;
            Infragistics.Win.Appearance appearance16 = new Infragistics.Win.Appearance();
            column16.CellActivation     = Activation.NoEdit;
            column16.ButtonDisplayStyle = Infragistics.Win.UltraWinGrid.ButtonDisplayStyle.OnCellActivate;
            column16.Header.Caption     = StringResources.URAURABROJDescription;
            column16.Width          = 0x48;
            appearance16.TextHAlign = HAlign.Right;
            column16.MaskInput      = "{LOC}-nnnnn";
            column16.PromptChar     = ' ';
            column16.Format         = "";
            column16.CellAppearance = appearance16;
            Infragistics.Win.Appearance appearance23 = new Infragistics.Win.Appearance();
            column23.CellActivation     = Activation.NoEdit;
            column23.ButtonDisplayStyle = Infragistics.Win.UltraWinGrid.ButtonDisplayStyle.OnCellActivate;
            column23.Header.Caption     = StringResources.URAurapartnerIDPARTNERDescription;
            column23.Width          = 0x4e;
            column23.Format         = "";
            column23.CellAppearance = appearance23;
            Infragistics.Win.Appearance appearance = new Infragistics.Win.Appearance();
            column.CellActivation     = Activation.NoEdit;
            column.ButtonDisplayStyle = Infragistics.Win.UltraWinGrid.ButtonDisplayStyle.OnCellActivate;
            column.Header.Caption     = StringResources.URAIDTIPURADescription;
            column.Width          = 0x41;
            appearance.TextHAlign = HAlign.Right;
            column.MaskInput      = "{LOC}-nnnnn";
            column.PromptChar     = ' ';
            column.Format         = "";
            column.CellAppearance = appearance;
            Infragistics.Win.Appearance appearance17 = new Infragistics.Win.Appearance();
            column17.CellActivation     = Activation.NoEdit;
            column17.ButtonDisplayStyle = Infragistics.Win.UltraWinGrid.ButtonDisplayStyle.OnCellActivate;
            column17.Header.Caption     = StringResources.URAURABROJRACUNADOBAVLJACADescription;
            column17.Width          = 0x128;
            column17.Format         = "";
            column17.CellAppearance = appearance17;
            Infragistics.Win.Appearance appearance18 = new Infragistics.Win.Appearance();
            column18.CellActivation     = Activation.NoEdit;
            column18.ButtonDisplayStyle = Infragistics.Win.UltraWinGrid.ButtonDisplayStyle.OnCellActivate;
            column18.Header.Caption     = StringResources.URAURADATUMDescription;
            column18.Width          = 100;
            column18.MinValue       = DateTime.MinValue;
            column18.MaxValue       = DateTime.MaxValue;
            column18.Format         = "d";
            column18.CellAppearance = appearance18;
            Infragistics.Win.Appearance appearance26 = new Infragistics.Win.Appearance();
            column26.CellActivation     = Activation.NoEdit;
            column26.ButtonDisplayStyle = Infragistics.Win.UltraWinGrid.ButtonDisplayStyle.OnCellActivate;
            column26.Header.Caption     = StringResources.URAURAVALUTADescription;
            column26.Width          = 100;
            column26.MinValue       = DateTime.MinValue;
            column26.MaxValue       = DateTime.MaxValue;
            column26.Format         = "d";
            column26.CellAppearance = appearance26;
            Infragistics.Win.Appearance appearance22 = new Infragistics.Win.Appearance();
            column22.CellActivation     = Activation.NoEdit;
            column22.ButtonDisplayStyle = Infragistics.Win.UltraWinGrid.ButtonDisplayStyle.OnCellActivate;
            column22.Header.Caption     = StringResources.URAURANAPOMENADescription;
            column22.Width          = 0x128;
            column22.Format         = "";
            column22.CellAppearance = appearance22;
            Infragistics.Win.Appearance appearance21 = new Infragistics.Win.Appearance();
            column21.CellActivation     = Activation.NoEdit;
            column21.ButtonDisplayStyle = Infragistics.Win.UltraWinGrid.ButtonDisplayStyle.OnCellActivate;
            column21.Header.Caption     = StringResources.URAURAMODELDescription;
            column21.Width          = 0x79;
            column21.Format         = "";
            column21.CellAppearance = appearance21;
            column21.Hidden         = true;
            Infragistics.Win.Appearance appearance24 = new Infragistics.Win.Appearance();
            column24.CellActivation     = Activation.NoEdit;
            column24.ButtonDisplayStyle = Infragistics.Win.UltraWinGrid.ButtonDisplayStyle.OnCellActivate;
            column24.Header.Caption     = StringResources.URAURAPOZIVNABROJDescription;
            column24.Width          = 0xb1;
            column24.Format         = "";
            column24.CellAppearance = appearance24;
            column24.Hidden         = true;
            Infragistics.Win.Appearance appearance25 = new Infragistics.Win.Appearance();
            column25.CellActivation     = Activation.NoEdit;
            column25.ButtonDisplayStyle = Infragistics.Win.UltraWinGrid.ButtonDisplayStyle.OnCellActivate;
            column25.Header.Caption     = StringResources.URAURAUKUPNODescription;
            column25.Width          = 150;
            appearance25.TextHAlign = HAlign.Right;
            column25.MaskInput      = "{LOC}-nnnnnnnnnn.nn";
            column25.PromptChar     = ' ';
            column25.Format         = "F2";
            column25.CellAppearance = appearance25;
            Infragistics.Win.Appearance appearance2 = new Infragistics.Win.Appearance();
            column2.CellActivation     = Activation.NoEdit;
            column2.ButtonDisplayStyle = Infragistics.Win.UltraWinGrid.ButtonDisplayStyle.OnCellActivate;
            column2.Header.Caption     = StringResources.URAOSNOVICA0Description;
            column2.Width          = 0x66;
            appearance2.TextHAlign = HAlign.Right;
            column2.MaskInput      = "{LOC}-nnnnnnnnnn.nn";
            column2.PromptChar     = ' ';
            column2.Format         = "F2";
            column2.CellAppearance = appearance2;
            column2.Hidden         = true;
            Infragistics.Win.Appearance appearance3 = new Infragistics.Win.Appearance();
            column3.CellActivation     = Activation.NoEdit;
            column3.ButtonDisplayStyle = Infragistics.Win.UltraWinGrid.ButtonDisplayStyle.OnCellActivate;
            column3.Header.Caption     = StringResources.URAOSNOVICA10Description;
            column3.Width          = 0x66;
            appearance3.TextHAlign = HAlign.Right;
            column3.MaskInput      = "{LOC}-nnnnnnnnnn.nn";
            column3.PromptChar     = ' ';
            column3.Format         = "F2";
            column3.CellAppearance = appearance3;
            column3.Hidden         = true;
            Infragistics.Win.Appearance appearance5 = new Infragistics.Win.Appearance();
            column5.CellActivation     = Activation.NoEdit;
            column5.ButtonDisplayStyle = Infragistics.Win.UltraWinGrid.ButtonDisplayStyle.OnCellActivate;
            column5.Header.Caption     = StringResources.URAOSNOVICA22Description;
            column5.Width          = 0x66;
            appearance5.TextHAlign = HAlign.Right;
            column5.MaskInput      = "{LOC}-nnnnnnnnnn.nn";
            column5.PromptChar     = ' ';
            column5.Format         = "F2";
            column5.CellAppearance = appearance5;
            column5.Hidden         = true;
            Infragistics.Win.Appearance appearance7 = new Infragistics.Win.Appearance();
            column7.CellActivation     = Activation.NoEdit;
            column7.ButtonDisplayStyle = Infragistics.Win.UltraWinGrid.ButtonDisplayStyle.OnCellActivate;
            column7.Header.Caption     = StringResources.URAOSNOVICA23Description;
            column7.Width          = 0x66;
            appearance7.TextHAlign = HAlign.Right;
            column7.MaskInput      = "{LOC}-nnnnnnnnnn.nn";
            column7.PromptChar     = ' ';
            column7.Format         = "F2";
            column7.CellAppearance = appearance7;
            column7.Hidden         = true;
            Infragistics.Win.Appearance appearance4 = new Infragistics.Win.Appearance();
            column4.CellActivation     = Activation.NoEdit;
            column4.ButtonDisplayStyle = Infragistics.Win.UltraWinGrid.ButtonDisplayStyle.OnCellActivate;
            column4.Header.Caption     = StringResources.URAOSNOVICA10NEDescription;
            column4.Width          = 0xe7;
            appearance4.TextHAlign = HAlign.Right;
            column4.MaskInput      = "{LOC}-nnnnnnnnnn.nn";
            column4.PromptChar     = ' ';
            column4.Format         = "F2";
            column4.CellAppearance = appearance4;
            column4.Hidden         = true;
            Infragistics.Win.Appearance appearance6 = new Infragistics.Win.Appearance();
            column6.CellActivation     = Activation.NoEdit;
            column6.ButtonDisplayStyle = Infragistics.Win.UltraWinGrid.ButtonDisplayStyle.OnCellActivate;
            column6.Header.Caption     = StringResources.URAOSNOVICA22NEDescription;
            column6.Width          = 0xe7;
            appearance6.TextHAlign = HAlign.Right;
            column6.MaskInput      = "{LOC}-nnnnnnnnnn.nn";
            column6.PromptChar     = ' ';
            column6.Format         = "F2";
            column6.CellAppearance = appearance6;
            column6.Hidden         = true;
            Infragistics.Win.Appearance appearance8 = new Infragistics.Win.Appearance();
            column8.CellActivation     = Activation.NoEdit;
            column8.ButtonDisplayStyle = Infragistics.Win.UltraWinGrid.ButtonDisplayStyle.OnCellActivate;
            column8.Header.Caption     = StringResources.URAOSNOVICA23NEDescription;
            column8.Width          = 0xe7;
            appearance8.TextHAlign = HAlign.Right;
            column8.MaskInput      = "{LOC}-nnnnnnnnnn.nn";
            column8.PromptChar     = ' ';
            column8.Format         = "F2";
            column8.CellAppearance = appearance8;
            column8.Hidden         = true;
            Infragistics.Win.Appearance appearance9 = new Infragistics.Win.Appearance();
            column9.CellActivation     = Activation.NoEdit;
            column9.ButtonDisplayStyle = Infragistics.Win.UltraWinGrid.ButtonDisplayStyle.OnCellActivate;
            column9.Header.Caption     = StringResources.URAPDV10DADescription;
            column9.Width          = 0xb1;
            appearance9.TextHAlign = HAlign.Right;
            column9.MaskInput      = "{LOC}-nnnnnnnnnn.nn";
            column9.PromptChar     = ' ';
            column9.Format         = "F2";
            column9.CellAppearance = appearance9;
            column9.Hidden         = true;
            Infragistics.Win.Appearance appearance10 = new Infragistics.Win.Appearance();
            column10.CellActivation     = Activation.NoEdit;
            column10.ButtonDisplayStyle = Infragistics.Win.UltraWinGrid.ButtonDisplayStyle.OnCellActivate;
            column10.Header.Caption     = StringResources.URAPDV10NEDescription;
            column10.Width          = 190;
            appearance10.TextHAlign = HAlign.Right;
            column10.MaskInput      = "{LOC}-nnnnnnnnnn.nn";
            column10.PromptChar     = ' ';
            column10.Format         = "F2";
            column10.CellAppearance = appearance10;
            column10.Hidden         = true;
            Infragistics.Win.Appearance appearance11 = new Infragistics.Win.Appearance();
            column11.CellActivation     = Activation.NoEdit;
            column11.ButtonDisplayStyle = Infragistics.Win.UltraWinGrid.ButtonDisplayStyle.OnCellActivate;
            column11.Header.Caption     = StringResources.URAPDV22DADescription;
            column11.Width          = 0xb1;
            appearance11.TextHAlign = HAlign.Right;
            column11.MaskInput      = "{LOC}-nnnnnnnnnn.nn";
            column11.PromptChar     = ' ';
            column11.Format         = "F2";
            column11.CellAppearance = appearance11;
            column11.Hidden         = true;
            Infragistics.Win.Appearance appearance12 = new Infragistics.Win.Appearance();
            column12.CellActivation     = Activation.NoEdit;
            column12.ButtonDisplayStyle = Infragistics.Win.UltraWinGrid.ButtonDisplayStyle.OnCellActivate;
            column12.Header.Caption     = StringResources.URAPDV22NEDescription;
            column12.Width          = 0xc5;
            appearance12.TextHAlign = HAlign.Right;
            column12.MaskInput      = "{LOC}-nnnnnnnnnn.nn";
            column12.PromptChar     = ' ';
            column12.Format         = "F2";
            column12.CellAppearance = appearance12;
            column12.Hidden         = true;
            Infragistics.Win.Appearance appearance13 = new Infragistics.Win.Appearance();
            column13.CellActivation     = Activation.NoEdit;
            column13.ButtonDisplayStyle = Infragistics.Win.UltraWinGrid.ButtonDisplayStyle.OnCellActivate;
            column13.Header.Caption     = StringResources.URAPDV23DADescription;
            column13.Width          = 0xb1;
            appearance13.TextHAlign = HAlign.Right;
            column13.MaskInput      = "{LOC}-nnnnnnnnnn.nn";
            column13.PromptChar     = ' ';
            column13.Format         = "F2";
            column13.CellAppearance = appearance13;
            column13.Hidden         = true;
            Infragistics.Win.Appearance appearance14 = new Infragistics.Win.Appearance();
            column14.CellActivation     = Activation.NoEdit;
            column14.ButtonDisplayStyle = Infragistics.Win.UltraWinGrid.ButtonDisplayStyle.OnCellActivate;
            column14.Header.Caption     = StringResources.URAPDV23NEDescription;
            column14.Width          = 0xc5;
            appearance14.TextHAlign = HAlign.Right;
            column14.MaskInput      = "{LOC}-nnnnnnnnnn.nn";
            column14.PromptChar     = ' ';
            column14.Format         = "F2";
            column14.CellAppearance = appearance14;
            column14.Hidden         = true;
            Infragistics.Win.Appearance appearance15 = new Infragistics.Win.Appearance();
            column15.CellActivation     = Activation.NoEdit;
            column15.ButtonDisplayStyle = Infragistics.Win.UltraWinGrid.ButtonDisplayStyle.OnCellActivate;
            column15.Header.Caption     = StringResources.URAR2Description;
            column15.Width          = 30;
            column15.Format         = "";
            column15.CellAppearance = appearance15;
            column15.Hidden         = true;
            band.Columns.Add(column20);
            column20.Header.VisiblePosition = 0;
            band.Columns.Add(column19);
            column19.Header.VisiblePosition = 1;
            band.Columns.Add(column16);
            column16.Header.VisiblePosition = 2;
            band.Columns.Add(column23);
            column23.Header.VisiblePosition = 3;
            band.Columns.Add(column);
            column.Header.VisiblePosition = 4;
            band.Columns.Add(column17);
            column17.Header.VisiblePosition = 5;
            band.Columns.Add(column18);
            column18.Header.VisiblePosition = 6;
            band.Columns.Add(column26);
            column26.Header.VisiblePosition = 7;
            band.Columns.Add(column22);
            column22.Header.VisiblePosition = 8;
            band.Columns.Add(column25);
            column25.Header.VisiblePosition = 9;
            band.Columns.Add(column21);
            column21.Header.VisiblePosition = 10;
            band.Columns.Add(column24);
            column24.Header.VisiblePosition = 11;
            band.Columns.Add(column2);
            column2.Header.VisiblePosition = 12;
            band.Columns.Add(column3);
            column3.Header.VisiblePosition = 13;
            band.Columns.Add(column5);
            column5.Header.VisiblePosition = 14;
            band.Columns.Add(column7);
            column7.Header.VisiblePosition = 15;
            band.Columns.Add(column4);
            column4.Header.VisiblePosition = 0x10;
            band.Columns.Add(column6);
            column6.Header.VisiblePosition = 0x11;
            band.Columns.Add(column8);
            column8.Header.VisiblePosition = 0x12;
            band.Columns.Add(column9);
            column9.Header.VisiblePosition = 0x13;
            band.Columns.Add(column10);
            column10.Header.VisiblePosition = 20;
            band.Columns.Add(column11);
            column11.Header.VisiblePosition = 0x15;
            band.Columns.Add(column12);
            column12.Header.VisiblePosition = 0x16;
            band.Columns.Add(column13);
            column13.Header.VisiblePosition = 0x17;
            band.Columns.Add(column14);
            column14.Header.VisiblePosition = 0x18;
            band.Columns.Add(column15);
            column15.Header.VisiblePosition     = 0x19;
            this.userControlDataGridURA.Visible = true;
            System.Drawing.Point point = new System.Drawing.Point(0, 0);
            this.userControlDataGridURA.Location = point;
            this.userControlDataGridURA.Name     = "userControlDataGridURA";
            this.userControlDataGridURA.Tag      = "URA";
            Size size = new System.Drawing.Size(0x200, 0x144);

            this.userControlDataGridURA.Size = size;
            this.userControlDataGridURA.DisplayLayout.BorderStyle = UIElementBorderStyle.None;
            this.userControlDataGridURA.Dock          = DockStyle.Fill;
            this.userControlDataGridURA.FillAtStartup = false;
            this.userControlDataGridURA.DisplayLayout.Appearance.TextHAlign = HAlign.Left;
            this.userControlDataGridURA.InitializeRow += new InitializeRowEventHandler(this.URAUserDataGrid_InitializeRow);
            this.userControlDataGridURA.DisplayLayout.BandsSerializer.Add(band);
            this.Controls.AddRange(new Control[] { this.userControlDataGridURA });
            this.Name  = "URAUserDataGrid";
            size       = new System.Drawing.Size(0x200, 0x144);
            this.Size  = size;
            this.Load += new EventHandler(this.URAUserDataGrid_Load);
            ((ISupportInitialize)this.userControlDataGridURA).EndInit();
            this.ResumeLayout(false);
        }
Пример #27
0
 /// <summary>
 /// Required method for Designer support - do not modify
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     Infragistics.Win.Appearance appearance1 = new Infragistics.Win.Appearance();
     Infragistics.Win.Appearance appearance6 = new Infragistics.Win.Appearance();
     Infragistics.Win.Appearance appearance7 = new Infragistics.Win.Appearance();
     Infragistics.Win.Appearance appearance8 = new Infragistics.Win.Appearance();
     Infragistics.Win.Appearance appearance15 = new Infragistics.Win.Appearance();
     Infragistics.Win.Appearance appearance16 = new Infragistics.Win.Appearance();
     Infragistics.Win.Appearance appearance17 = new Infragistics.Win.Appearance();
     Infragistics.Win.Appearance appearance18 = new Infragistics.Win.Appearance();
     Infragistics.Win.Appearance appearance19 = new Infragistics.Win.Appearance();
     Infragistics.Win.Appearance appearance20 = new Infragistics.Win.Appearance();
     Infragistics.Win.Appearance appearance9 = new Infragistics.Win.Appearance();
     Infragistics.Win.Appearance appearance10 = new Infragistics.Win.Appearance();
     Infragistics.Win.Appearance appearance11 = new Infragistics.Win.Appearance();
     Infragistics.Win.Appearance appearance21 = new Infragistics.Win.Appearance();
     Infragistics.Win.Appearance appearance23 = new Infragistics.Win.Appearance();
     Infragistics.Win.Appearance appearance22 = new Infragistics.Win.Appearance();
     Infragistics.Win.Appearance appearance4 = new Infragistics.Win.Appearance();
     Infragistics.Win.Appearance appearance5 = new Infragistics.Win.Appearance();
     Infragistics.Win.Appearance appearance3 = new Infragistics.Win.Appearance();
     Infragistics.Win.Appearance appearance12 = new Infragistics.Win.Appearance();
     Infragistics.Win.Appearance appearance13 = new Infragistics.Win.Appearance();
     Infragistics.Win.Appearance appearance14 = new Infragistics.Win.Appearance();
     this.remotePanel = new Infragistics.Win.Misc.UltraPanel();
     this.mainPane = new System.Windows.Forms.Panel();
     this.jumpMarksListBox = new System.Windows.Forms.ListBox();
     this.jumperLabel = new System.Windows.Forms.Label();
     this.scrollPane = new System.Windows.Forms.Panel();
     this.scrollBox = new Infragistics.Win.Misc.UltraPanel();
     this.scrollImage = new System.Windows.Forms.PictureBox();
     this.jumpEndBtn = new Infragistics.Win.Misc.UltraButton();
     this.scrollDownwardsBtn = new Infragistics.Win.Misc.UltraButton();
     this.scrollUpwardsBtn = new Infragistics.Win.Misc.UltraButton();
     this.jumpTopBtn = new Infragistics.Win.Misc.UltraButton();
     this.bottomPanel = new Infragistics.Win.Misc.UltraPanel();
     this.titleLabel = new Infragistics.Win.Misc.UltraLabel();
     this.nrLabel = new System.Windows.Forms.Label();
     this.nextLabel = new System.Windows.Forms.Label();
     this.prevLabel = new System.Windows.Forms.Label();
     this.curSongLabel = new System.Windows.Forms.Label();
     this.line = new Infragistics.Win.Misc.UltraPanel();
     this.nextBtn = new Infragistics.Win.Misc.UltraButton();
     this.lastBtn = new Infragistics.Win.Misc.UltraButton();
     this.remotePanel.ClientArea.SuspendLayout();
     this.remotePanel.SuspendLayout();
     this.mainPane.SuspendLayout();
     this.scrollPane.SuspendLayout();
     this.scrollBox.ClientArea.SuspendLayout();
     this.scrollBox.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.scrollImage)).BeginInit();
     this.bottomPanel.ClientArea.SuspendLayout();
     this.bottomPanel.SuspendLayout();
     this.line.SuspendLayout();
     this.SuspendLayout();
     //
     // remotePanel
     //
     //
     // remotePanel.ClientArea
     //
     this.remotePanel.ClientArea.Controls.Add(this.mainPane);
     this.remotePanel.ClientArea.Controls.Add(this.scrollPane);
     this.remotePanel.ClientArea.Controls.Add(this.bottomPanel);
     this.remotePanel.Dock = System.Windows.Forms.DockStyle.Fill;
     this.remotePanel.Location = new System.Drawing.Point(0, 0);
     this.remotePanel.Name = "remotePanel";
     this.remotePanel.Size = new System.Drawing.Size(468, 295);
     this.remotePanel.TabIndex = 11;
     //
     // mainPane
     //
     this.mainPane.Controls.Add(this.jumpMarksListBox);
     this.mainPane.Controls.Add(this.jumperLabel);
     this.mainPane.Dock = System.Windows.Forms.DockStyle.Fill;
     this.mainPane.Location = new System.Drawing.Point(72, 52);
     this.mainPane.Name = "mainPane";
     this.mainPane.Size = new System.Drawing.Size(396, 243);
     this.mainPane.TabIndex = 12;
     //
     // jumpMarksListBox
     //
     this.jumpMarksListBox.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(253)))), ((int)(((byte)(253)))), ((int)(((byte)(176)))));
     this.jumpMarksListBox.Font = new System.Drawing.Font("Verdana", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.jumpMarksListBox.FormattingEnabled = true;
     this.jumpMarksListBox.ItemHeight = 16;
     this.jumpMarksListBox.Items.AddRange(new object[] {
     "Test 1"});
     this.jumpMarksListBox.Location = new System.Drawing.Point(9, 19);
     this.jumpMarksListBox.Name = "jumpMarksListBox";
     this.jumpMarksListBox.Size = new System.Drawing.Size(376, 212);
     this.jumpMarksListBox.TabIndex = 0;
     this.jumpMarksListBox.DoubleClick += new System.EventHandler(this.JumpMarksDoubleClickHandler);
     this.jumpMarksListBox.Click += new System.EventHandler(this.JumpMarksDoubleClickHandler);
     //
     // jumperLabel
     //
     this.jumperLabel.AutoSize = true;
     this.jumperLabel.BackColor = System.Drawing.Color.Transparent;
     this.jumperLabel.Font = new System.Drawing.Font("Verdana", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.jumperLabel.ForeColor = System.Drawing.Color.DimGray;
     this.jumperLabel.Location = new System.Drawing.Point(6, 3);
     this.jumperLabel.Name = "jumperLabel";
     this.jumperLabel.Size = new System.Drawing.Size(103, 13);
     this.jumperLabel.TabIndex = 11;
     this.jumperLabel.Text = "Sprungmarken";
     //
     // scrollPane
     //
     this.scrollPane.Controls.Add(this.scrollBox);
     this.scrollPane.Controls.Add(this.jumpEndBtn);
     this.scrollPane.Controls.Add(this.scrollDownwardsBtn);
     this.scrollPane.Controls.Add(this.scrollUpwardsBtn);
     this.scrollPane.Controls.Add(this.jumpTopBtn);
     this.scrollPane.Dock = System.Windows.Forms.DockStyle.Left;
     this.scrollPane.Location = new System.Drawing.Point(0, 52);
     this.scrollPane.Name = "scrollPane";
     this.scrollPane.Size = new System.Drawing.Size(72, 243);
     this.scrollPane.TabIndex = 11;
     //
     // scrollBox
     //
     appearance1.BackColor = System.Drawing.Color.DimGray;
     appearance1.BackGradientStyle = Infragistics.Win.GradientStyle.Rectangular;
     appearance1.BorderColor = System.Drawing.Color.Silver;
     this.scrollBox.Appearance = appearance1;
     this.scrollBox.BorderStyle = Infragistics.Win.UIElementBorderStyle.Rounded1;
     //
     // scrollBox.ClientArea
     //
     this.scrollBox.ClientArea.Controls.Add(this.scrollImage);
     this.scrollBox.Location = new System.Drawing.Point(4, 91);
     this.scrollBox.Name = "scrollBox";
     this.scrollBox.Size = new System.Drawing.Size(64, 64);
     this.scrollBox.TabIndex = 13;
     //
     // scrollImage
     //
     this.scrollImage.Location = new System.Drawing.Point(6, 5);
     this.scrollImage.Name = "scrollImage";
     this.scrollImage.Size = new System.Drawing.Size(48, 48);
     this.scrollImage.TabIndex = 12;
     this.scrollImage.TabStop = false;
     //
     // jumpEndBtn
     //
     appearance6.BackColorAlpha = Infragistics.Win.Alpha.Transparent;
     appearance6.BorderAlpha = Infragistics.Win.Alpha.Transparent;
     appearance6.Image = global::Lyra2.LyraShell.Properties.Resources.scroll_bottom;
     appearance6.ImageBackground = global::Lyra2.LyraShell.Properties.Resources.button_enabled;
     appearance6.ImageBackgroundStretchMargins = new Infragistics.Win.ImageBackgroundStretchMargins(5, 5, 5, 7);
     appearance6.ImageHAlign = Infragistics.Win.HAlign.Center;
     appearance6.ImageVAlign = Infragistics.Win.VAlign.Middle;
     this.jumpEndBtn.Appearance = appearance6;
     appearance7.ImageBackground = global::Lyra2.LyraShell.Properties.Resources.button_rollover;
     this.jumpEndBtn.HotTrackAppearance = appearance7;
     this.jumpEndBtn.Location = new System.Drawing.Point(20, 194);
     this.jumpEndBtn.Name = "jumpEndBtn";
     appearance8.ImageBackground = global::Lyra2.LyraShell.Properties.Resources.button_pressed;
     this.jumpEndBtn.PressedAppearance = appearance8;
     this.jumpEndBtn.ShowFocusRect = false;
     this.jumpEndBtn.Size = new System.Drawing.Size(32, 27);
     this.jumpEndBtn.TabIndex = 12;
     this.jumpEndBtn.UseHotTracking = Infragistics.Win.DefaultableBoolean.True;
     this.jumpEndBtn.UseOsThemes = Infragistics.Win.DefaultableBoolean.False;
     this.jumpEndBtn.Click += new System.EventHandler(this.scrollToEndBtn_Click);
     //
     // scrollDownwardsBtn
     //
     appearance15.BackColorAlpha = Infragistics.Win.Alpha.Transparent;
     appearance15.BorderAlpha = Infragistics.Win.Alpha.Transparent;
     appearance15.Image = global::Lyra2.LyraShell.Properties.Resources.scroll_down;
     appearance15.ImageBackground = global::Lyra2.LyraShell.Properties.Resources.button_enabled;
     appearance15.ImageBackgroundStretchMargins = new Infragistics.Win.ImageBackgroundStretchMargins(5, 5, 5, 7);
     appearance15.ImageHAlign = Infragistics.Win.HAlign.Center;
     appearance15.ImageVAlign = Infragistics.Win.VAlign.Middle;
     this.scrollDownwardsBtn.Appearance = appearance15;
     this.scrollDownwardsBtn.AutoRepeat = true;
     this.scrollDownwardsBtn.AutoRepeatInterval = 50;
     appearance16.ImageBackground = global::Lyra2.LyraShell.Properties.Resources.button_rollover;
     this.scrollDownwardsBtn.HotTrackAppearance = appearance16;
     this.scrollDownwardsBtn.Location = new System.Drawing.Point(20, 161);
     this.scrollDownwardsBtn.Name = "scrollDownwardsBtn";
     appearance17.ImageBackground = global::Lyra2.LyraShell.Properties.Resources.button_pressed;
     this.scrollDownwardsBtn.PressedAppearance = appearance17;
     this.scrollDownwardsBtn.ShowFocusRect = false;
     this.scrollDownwardsBtn.Size = new System.Drawing.Size(32, 27);
     this.scrollDownwardsBtn.TabIndex = 12;
     this.scrollDownwardsBtn.UseHotTracking = Infragistics.Win.DefaultableBoolean.True;
     this.scrollDownwardsBtn.UseOsThemes = Infragistics.Win.DefaultableBoolean.False;
     this.scrollDownwardsBtn.Click += new System.EventHandler(this.scrollDownBtn_Click);
     //
     // scrollUpwardsBtn
     //
     appearance18.BackColorAlpha = Infragistics.Win.Alpha.Transparent;
     appearance18.BorderAlpha = Infragistics.Win.Alpha.Transparent;
     appearance18.Image = global::Lyra2.LyraShell.Properties.Resources.scroll_up;
     appearance18.ImageBackground = global::Lyra2.LyraShell.Properties.Resources.button_enabled;
     appearance18.ImageBackgroundStretchMargins = new Infragistics.Win.ImageBackgroundStretchMargins(5, 5, 5, 7);
     appearance18.ImageHAlign = Infragistics.Win.HAlign.Center;
     appearance18.ImageVAlign = Infragistics.Win.VAlign.Middle;
     this.scrollUpwardsBtn.Appearance = appearance18;
     this.scrollUpwardsBtn.AutoRepeat = true;
     this.scrollUpwardsBtn.AutoRepeatInterval = 50;
     appearance19.ImageBackground = global::Lyra2.LyraShell.Properties.Resources.button_rollover;
     this.scrollUpwardsBtn.HotTrackAppearance = appearance19;
     this.scrollUpwardsBtn.Location = new System.Drawing.Point(20, 60);
     this.scrollUpwardsBtn.Name = "scrollUpwardsBtn";
     appearance20.ImageBackground = global::Lyra2.LyraShell.Properties.Resources.button_pressed;
     this.scrollUpwardsBtn.PressedAppearance = appearance20;
     this.scrollUpwardsBtn.ShowFocusRect = false;
     this.scrollUpwardsBtn.Size = new System.Drawing.Size(32, 27);
     this.scrollUpwardsBtn.TabIndex = 12;
     this.scrollUpwardsBtn.UseHotTracking = Infragistics.Win.DefaultableBoolean.True;
     this.scrollUpwardsBtn.UseOsThemes = Infragistics.Win.DefaultableBoolean.False;
     this.scrollUpwardsBtn.Click += new System.EventHandler(this.scrollUpBtn_Click);
     //
     // jumpTopBtn
     //
     appearance9.BackColorAlpha = Infragistics.Win.Alpha.Transparent;
     appearance9.BorderAlpha = Infragistics.Win.Alpha.Transparent;
     appearance9.Image = global::Lyra2.LyraShell.Properties.Resources.scroll_top;
     appearance9.ImageBackground = global::Lyra2.LyraShell.Properties.Resources.button_enabled;
     appearance9.ImageBackgroundStretchMargins = new Infragistics.Win.ImageBackgroundStretchMargins(5, 5, 5, 7);
     appearance9.ImageHAlign = Infragistics.Win.HAlign.Center;
     appearance9.ImageVAlign = Infragistics.Win.VAlign.Middle;
     this.jumpTopBtn.Appearance = appearance9;
     appearance10.ImageBackground = global::Lyra2.LyraShell.Properties.Resources.button_rollover;
     this.jumpTopBtn.HotTrackAppearance = appearance10;
     this.jumpTopBtn.Location = new System.Drawing.Point(20, 27);
     this.jumpTopBtn.Name = "jumpTopBtn";
     appearance11.ImageBackground = global::Lyra2.LyraShell.Properties.Resources.button_pressed;
     this.jumpTopBtn.PressedAppearance = appearance11;
     this.jumpTopBtn.ShowFocusRect = false;
     this.jumpTopBtn.Size = new System.Drawing.Size(32, 27);
     this.jumpTopBtn.TabIndex = 12;
     this.jumpTopBtn.UseHotTracking = Infragistics.Win.DefaultableBoolean.True;
     this.jumpTopBtn.UseOsThemes = Infragistics.Win.DefaultableBoolean.False;
     this.jumpTopBtn.Click += new System.EventHandler(this.scrollToTopBtn_Click);
     //
     // bottomPanel
     //
     appearance21.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(224)))), ((int)(((byte)(224)))), ((int)(((byte)(224)))));
     appearance21.BackColor2 = System.Drawing.Color.FromArgb(((int)(((byte)(241)))), ((int)(((byte)(241)))), ((int)(((byte)(241)))));
     appearance21.BackGradientStyle = Infragistics.Win.GradientStyle.GlassTop50;
     this.bottomPanel.Appearance = appearance21;
     //
     // bottomPanel.ClientArea
     //
     this.bottomPanel.ClientArea.Controls.Add(this.titleLabel);
     this.bottomPanel.ClientArea.Controls.Add(this.nrLabel);
     this.bottomPanel.ClientArea.Controls.Add(this.nextLabel);
     this.bottomPanel.ClientArea.Controls.Add(this.prevLabel);
     this.bottomPanel.ClientArea.Controls.Add(this.curSongLabel);
     this.bottomPanel.ClientArea.Controls.Add(this.line);
     this.bottomPanel.ClientArea.Controls.Add(this.nextBtn);
     this.bottomPanel.ClientArea.Controls.Add(this.lastBtn);
     this.bottomPanel.Dock = System.Windows.Forms.DockStyle.Top;
     this.bottomPanel.Location = new System.Drawing.Point(0, 0);
     this.bottomPanel.Name = "bottomPanel";
     this.bottomPanel.Size = new System.Drawing.Size(468, 52);
     this.bottomPanel.TabIndex = 9;
     //
     // titleLabel
     //
     this.titleLabel.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
                 | System.Windows.Forms.AnchorStyles.Right)));
     appearance23.BackColorAlpha = Infragistics.Win.Alpha.Transparent;
     appearance23.FontData.Name = "Verdana";
     appearance23.FontData.SizeInPoints = 9F;
     appearance23.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(85)))), ((int)(((byte)(170)))));
     appearance23.TextHAlignAsString = "Left";
     appearance23.TextTrimming = Infragistics.Win.TextTrimming.EllipsisWord;
     appearance23.TextVAlignAsString = "Middle";
     this.titleLabel.Appearance = appearance23;
     this.titleLabel.Location = new System.Drawing.Point(50, 23);
     this.titleLabel.Name = "titleLabel";
     this.titleLabel.Size = new System.Drawing.Size(313, 23);
     this.titleLabel.TabIndex = 13;
     this.titleLabel.Text = "Titel";
     this.titleLabel.WrapText = false;
     //
     // nrLabel
     //
     this.nrLabel.BackColor = System.Drawing.Color.Transparent;
     this.nrLabel.Font = new System.Drawing.Font("Verdana", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.nrLabel.ForeColor = System.Drawing.Color.Black;
     this.nrLabel.Location = new System.Drawing.Point(5, 22);
     this.nrLabel.Name = "nrLabel";
     this.nrLabel.Size = new System.Drawing.Size(39, 23);
     this.nrLabel.TabIndex = 11;
     this.nrLabel.Text = "0009";
     this.nrLabel.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
     //
     // nextLabel
     //
     this.nextLabel.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
     this.nextLabel.BackColor = System.Drawing.Color.Transparent;
     this.nextLabel.Font = new System.Drawing.Font("Verdana", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.nextLabel.ForeColor = System.Drawing.Color.DimGray;
     this.nextLabel.Location = new System.Drawing.Point(418, 5);
     this.nextLabel.Name = "nextLabel";
     this.nextLabel.Size = new System.Drawing.Size(47, 14);
     this.nextLabel.TabIndex = 11;
     this.nextLabel.Text = "next";
     this.nextLabel.TextAlign = System.Drawing.ContentAlignment.BottomCenter;
     //
     // prevLabel
     //
     this.prevLabel.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
     this.prevLabel.BackColor = System.Drawing.Color.Transparent;
     this.prevLabel.Font = new System.Drawing.Font("Verdana", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.prevLabel.ForeColor = System.Drawing.Color.DimGray;
     this.prevLabel.Location = new System.Drawing.Point(369, 6);
     this.prevLabel.Name = "prevLabel";
     this.prevLabel.Size = new System.Drawing.Size(47, 13);
     this.prevLabel.TabIndex = 11;
     this.prevLabel.Text = "prev";
     this.prevLabel.TextAlign = System.Drawing.ContentAlignment.BottomCenter;
     //
     // curSongLabel
     //
     this.curSongLabel.AutoSize = true;
     this.curSongLabel.BackColor = System.Drawing.Color.Transparent;
     this.curSongLabel.Font = new System.Drawing.Font("Verdana", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.curSongLabel.ForeColor = System.Drawing.Color.DimGray;
     this.curSongLabel.Location = new System.Drawing.Point(3, 3);
     this.curSongLabel.Name = "curSongLabel";
     this.curSongLabel.Size = new System.Drawing.Size(159, 13);
     this.curSongLabel.TabIndex = 11;
     this.curSongLabel.Text = "Aktuell angezeigter Song :";
     //
     // line
     //
     appearance22.BackColor = System.Drawing.Color.DimGray;
     this.line.Appearance = appearance22;
     this.line.Dock = System.Windows.Forms.DockStyle.Bottom;
     this.line.Location = new System.Drawing.Point(0, 51);
     this.line.Name = "line";
     this.line.Size = new System.Drawing.Size(468, 1);
     this.line.TabIndex = 1;
     //
     // nextBtn
     //
     this.nextBtn.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
     appearance4.BackColorAlpha = Infragistics.Win.Alpha.Transparent;
     appearance4.BorderAlpha = Infragistics.Win.Alpha.Transparent;
     appearance4.Image = global::Lyra2.LyraShell.Properties.Resources.next;
     appearance4.ImageBackground = global::Lyra2.LyraShell.Properties.Resources.button_enabled;
     appearance4.ImageBackgroundStretchMargins = new Infragistics.Win.ImageBackgroundStretchMargins(5, 5, 5, 7);
     appearance4.ImageHAlign = Infragistics.Win.HAlign.Center;
     appearance4.ImageVAlign = Infragistics.Win.VAlign.Middle;
     this.nextBtn.Appearance = appearance4;
     appearance5.ImageBackground = global::Lyra2.LyraShell.Properties.Resources.button_rollover;
     this.nextBtn.HotTrackAppearance = appearance5;
     this.nextBtn.Location = new System.Drawing.Point(418, 21);
     this.nextBtn.Name = "nextBtn";
     appearance3.ImageBackground = global::Lyra2.LyraShell.Properties.Resources.button_pressed;
     this.nextBtn.PressedAppearance = appearance3;
     this.nextBtn.ShowFocusRect = false;
     this.nextBtn.Size = new System.Drawing.Size(47, 27);
     this.nextBtn.TabIndex = 12;
     this.nextBtn.UseHotTracking = Infragistics.Win.DefaultableBoolean.True;
     this.nextBtn.UseOsThemes = Infragistics.Win.DefaultableBoolean.False;
     this.nextBtn.Click += new System.EventHandler(this.nextSongBtn_Click);
     //
     // lastBtn
     //
     this.lastBtn.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
     appearance12.BackColorAlpha = Infragistics.Win.Alpha.Transparent;
     appearance12.BorderAlpha = Infragistics.Win.Alpha.Transparent;
     appearance12.Image = global::Lyra2.LyraShell.Properties.Resources.prev;
     appearance12.ImageBackground = global::Lyra2.LyraShell.Properties.Resources.button_enabled;
     appearance12.ImageBackgroundStretchMargins = new Infragistics.Win.ImageBackgroundStretchMargins(5, 5, 5, 7);
     appearance12.ImageHAlign = Infragistics.Win.HAlign.Center;
     appearance12.ImageVAlign = Infragistics.Win.VAlign.Middle;
     this.lastBtn.Appearance = appearance12;
     appearance13.ImageBackground = global::Lyra2.LyraShell.Properties.Resources.button_rollover;
     this.lastBtn.HotTrackAppearance = appearance13;
     this.lastBtn.Location = new System.Drawing.Point(369, 21);
     this.lastBtn.Name = "lastBtn";
     appearance14.ImageBackground = global::Lyra2.LyraShell.Properties.Resources.button_pressed;
     this.lastBtn.PressedAppearance = appearance14;
     this.lastBtn.ShowFocusRect = false;
     this.lastBtn.Size = new System.Drawing.Size(47, 27);
     this.lastBtn.TabIndex = 12;
     this.lastBtn.UseHotTracking = Infragistics.Win.DefaultableBoolean.True;
     this.lastBtn.UseOsThemes = Infragistics.Win.DefaultableBoolean.False;
     this.lastBtn.Click += new System.EventHandler(this.previousSongBtn_Click);
     //
     // RemoteControl
     //
     this.AutoScaleBaseSize = new System.Drawing.Size(5, 13);
     this.ClientSize = new System.Drawing.Size(468, 295);
     this.Controls.Add(this.remotePanel);
     this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedToolWindow;
     this.MaximizeBox = false;
     this.MaximumSize = new System.Drawing.Size(474, 319);
     this.MinimizeBox = false;
     this.Name = "RemoteControl";
     this.ShowInTaskbar = false;
     this.Text = "Fernsteuerung";
     this.remotePanel.ClientArea.ResumeLayout(false);
     this.remotePanel.ResumeLayout(false);
     this.mainPane.ResumeLayout(false);
     this.mainPane.PerformLayout();
     this.scrollPane.ResumeLayout(false);
     this.scrollBox.ClientArea.ResumeLayout(false);
     this.scrollBox.ResumeLayout(false);
     ((System.ComponentModel.ISupportInitialize)(this.scrollImage)).EndInit();
     this.bottomPanel.ClientArea.ResumeLayout(false);
     this.bottomPanel.ClientArea.PerformLayout();
     this.bottomPanel.ResumeLayout(false);
     this.line.ResumeLayout(false);
     this.ResumeLayout(false);
 }
Пример #28
0
        private void InitializeComponent()
        {
            this.userControlDataGridS_OD_REKAP_NETO = new S_OD_REKAP_NETODataGrid();
            ((ISupportInitialize)this.userControlDataGridS_OD_REKAP_NETO).BeginInit();
            UltraGridBand   band    = new UltraGridBand("S_OD_REKAP_NETO", -1);
            UltraGridColumn column9 = new UltraGridColumn("sati");
            UltraGridColumn column4 = new UltraGridColumn("IZNOS");
            UltraGridColumn column8 = new UltraGridColumn("PREZIME");
            UltraGridColumn column3 = new UltraGridColumn("IME");
            UltraGridColumn column5 = new UltraGridColumn("JMBG");
            UltraGridColumn column  = new UltraGridColumn("IDRADNIK");
            UltraGridColumn column2 = new UltraGridColumn("IDVRSTAELEMENTA");
            UltraGridColumn column6 = new UltraGridColumn("NAZIVELEMENT");
            UltraGridColumn column7 = new UltraGridColumn("NAZIVVRSTAELEMENT");

            this.SuspendLayout();
            Infragistics.Win.Appearance appearance9 = new Infragistics.Win.Appearance();
            column9.CellActivation     = Activation.NoEdit;
            column9.ButtonDisplayStyle = Infragistics.Win.UltraWinGrid.ButtonDisplayStyle.OnCellActivate;
            column9.Header.Caption     = StringResources.S_OD_REKAP_NETOsatiDescription;
            column9.Width          = 0x66;
            appearance9.TextHAlign = HAlign.Right;
            column9.MaskInput      = "{LOC}-nnnnnnnnnn.nn";
            column9.PromptChar     = ' ';
            column9.Format         = "F2";
            column9.CellAppearance = appearance9;
            Infragistics.Win.Appearance appearance4 = new Infragistics.Win.Appearance();
            column4.CellActivation     = Activation.NoEdit;
            column4.ButtonDisplayStyle = Infragistics.Win.UltraWinGrid.ButtonDisplayStyle.OnCellActivate;
            column4.Header.Caption     = StringResources.S_OD_REKAP_NETOIZNOSDescription;
            column4.Width          = 0x66;
            appearance4.TextHAlign = HAlign.Right;
            column4.MaskInput      = "{LOC}-nnnnnnnnnn.nn";
            column4.PromptChar     = ' ';
            column4.Format         = "F2";
            column4.CellAppearance = appearance4;
            Infragistics.Win.Appearance appearance8 = new Infragistics.Win.Appearance();
            column8.CellActivation     = Activation.NoEdit;
            column8.ButtonDisplayStyle = Infragistics.Win.UltraWinGrid.ButtonDisplayStyle.OnCellActivate;
            column8.Header.Caption     = StringResources.S_OD_REKAP_NETOPREZIMEDescription;
            column8.Width          = 0x128;
            column8.Format         = "";
            column8.CellAppearance = appearance8;
            Infragistics.Win.Appearance appearance3 = new Infragistics.Win.Appearance();
            column3.CellActivation     = Activation.NoEdit;
            column3.ButtonDisplayStyle = Infragistics.Win.UltraWinGrid.ButtonDisplayStyle.OnCellActivate;
            column3.Header.Caption     = StringResources.S_OD_REKAP_NETOIMEDescription;
            column3.Width          = 0x128;
            column3.Format         = "";
            column3.CellAppearance = appearance3;
            Infragistics.Win.Appearance appearance5 = new Infragistics.Win.Appearance();
            column5.CellActivation     = Activation.NoEdit;
            column5.ButtonDisplayStyle = Infragistics.Win.UltraWinGrid.ButtonDisplayStyle.OnCellActivate;
            column5.Header.Caption     = StringResources.S_OD_REKAP_NETOJMBGDescription;
            column5.Width          = 0x6b;
            column5.Format         = "";
            column5.CellAppearance = appearance5;
            Infragistics.Win.Appearance appearance = new Infragistics.Win.Appearance();
            column.CellActivation     = Activation.NoEdit;
            column.ButtonDisplayStyle = Infragistics.Win.UltraWinGrid.ButtonDisplayStyle.OnCellActivate;
            column.Header.Caption     = StringResources.S_OD_REKAP_NETOIDRADNIKDescription;
            column.Width          = 0x69;
            appearance.TextHAlign = HAlign.Right;
            column.MaskInput      = "{LOC}-nnnnnnnn";
            column.PromptChar     = ' ';
            column.Format         = "";
            column.CellAppearance = appearance;
            Infragistics.Win.Appearance appearance2 = new Infragistics.Win.Appearance();
            column2.CellActivation     = Activation.NoEdit;
            column2.ButtonDisplayStyle = Infragistics.Win.UltraWinGrid.ButtonDisplayStyle.OnCellActivate;
            column2.Header.Caption     = StringResources.S_OD_REKAP_NETOIDVRSTAELEMENTADescription;
            column2.Width          = 0x99;
            appearance2.TextHAlign = HAlign.Right;
            column2.MaskInput      = "{LOC}-nnnn";
            column2.PromptChar     = ' ';
            column2.Format         = "";
            column2.CellAppearance = appearance2;
            Infragistics.Win.Appearance appearance6 = new Infragistics.Win.Appearance();
            column6.CellActivation     = Activation.NoEdit;
            column6.ButtonDisplayStyle = Infragistics.Win.UltraWinGrid.ButtonDisplayStyle.OnCellActivate;
            column6.Header.Caption     = StringResources.S_OD_REKAP_NETONAZIVELEMENTDescription;
            column6.Width          = 0x128;
            column6.Format         = "";
            column6.CellAppearance = appearance6;
            Infragistics.Win.Appearance appearance7 = new Infragistics.Win.Appearance();
            column7.CellActivation     = Activation.NoEdit;
            column7.ButtonDisplayStyle = Infragistics.Win.UltraWinGrid.ButtonDisplayStyle.OnCellActivate;
            column7.Header.Caption     = StringResources.S_OD_REKAP_NETONAZIVVRSTAELEMENTDescription;
            column7.Width          = 0xbf;
            column7.Format         = "";
            column7.CellAppearance = appearance7;
            band.Columns.Add(column9);
            column9.Header.VisiblePosition = 0;
            band.Columns.Add(column4);
            column4.Header.VisiblePosition = 1;
            band.Columns.Add(column8);
            column8.Header.VisiblePosition = 2;
            band.Columns.Add(column3);
            column3.Header.VisiblePosition = 3;
            band.Columns.Add(column5);
            column5.Header.VisiblePosition = 4;
            band.Columns.Add(column);
            column.Header.VisiblePosition = 5;
            band.Columns.Add(column2);
            column2.Header.VisiblePosition = 6;
            band.Columns.Add(column6);
            column6.Header.VisiblePosition = 7;
            band.Columns.Add(column7);
            column7.Header.VisiblePosition = 8;
            this.userControlDataGridS_OD_REKAP_NETO.Visible = true;
            System.Drawing.Point point = new System.Drawing.Point(0, 0);
            this.userControlDataGridS_OD_REKAP_NETO.Location = point;
            this.userControlDataGridS_OD_REKAP_NETO.Name     = "userControlDataGridS_OD_REKAP_NETO";
            this.userControlDataGridS_OD_REKAP_NETO.Tag      = "S_OD_REKAP_NETO";
            Size size = new System.Drawing.Size(0x200, 0x144);

            this.userControlDataGridS_OD_REKAP_NETO.Size = size;
            this.userControlDataGridS_OD_REKAP_NETO.DisplayLayout.BorderStyle = UIElementBorderStyle.None;
            this.userControlDataGridS_OD_REKAP_NETO.Dock          = DockStyle.Fill;
            this.userControlDataGridS_OD_REKAP_NETO.FillAtStartup = false;
            this.userControlDataGridS_OD_REKAP_NETO.DisplayLayout.Appearance.TextHAlign = HAlign.Left;
            this.userControlDataGridS_OD_REKAP_NETO.InitializeRow += new InitializeRowEventHandler(this.S_OD_REKAP_NETOUserDataGrid_InitializeRow);
            this.userControlDataGridS_OD_REKAP_NETO.DisplayLayout.BandsSerializer.Add(band);
            this.Controls.AddRange(new Control[] { this.userControlDataGridS_OD_REKAP_NETO });
            this.Name  = "S_OD_REKAP_NETOUserDataGrid";
            size       = new System.Drawing.Size(0x200, 0x144);
            this.Size  = size;
            this.Load += new EventHandler(this.S_OD_REKAP_NETOUserDataGrid_Load);
            ((ISupportInitialize)this.userControlDataGridS_OD_REKAP_NETO).EndInit();
            this.ResumeLayout(false);
        }
Пример #29
0
        private void InitializeComponent()
        {
            this.userControlDataGridOSNOVAOSIGURANJA = new OSNOVAOSIGURANJADataGrid();
            ((ISupportInitialize)this.userControlDataGridOSNOVAOSIGURANJA).BeginInit();
            UltraGridBand   band    = new UltraGridBand("OSNOVAOSIGURANJA", -1);
            UltraGridColumn column  = new UltraGridColumn("IDOSNOVAOSIGURANJA");
            UltraGridColumn column2 = new UltraGridColumn("NAZIVOSNOVAOSIGURANJA");
            UltraGridColumn column3 = new UltraGridColumn("RAZDOBLJESESMIJEPREKLAPATI");
            UltraGridColumn column4 = new UltraGridColumn("ZAMOOIDOSNOVAOSIGURANJA");
            UltraGridColumn column5 = new UltraGridColumn("ZAMOONAZIVOSNOVAOSIGURANJA");

            this.SuspendLayout();
            Infragistics.Win.Appearance appearance = new Infragistics.Win.Appearance();
            column.CellActivation     = Activation.NoEdit;
            column.ButtonDisplayStyle = Infragistics.Win.UltraWinGrid.ButtonDisplayStyle.OnCellActivate;
            column.Header.Caption     = StringResources.OSNOVAOSIGURANJAIDOSNOVAOSIGURANJADescription;
            column.Width          = 0xb1;
            column.Format         = "";
            column.CellAppearance = appearance;
            Infragistics.Win.Appearance appearance2 = new Infragistics.Win.Appearance();
            column2.CellActivation     = Activation.NoEdit;
            column2.ButtonDisplayStyle = Infragistics.Win.UltraWinGrid.ButtonDisplayStyle.OnCellActivate;
            column2.Header.Caption     = StringResources.OSNOVAOSIGURANJANAZIVOSNOVAOSIGURANJADescription;
            column2.Width          = 0x128;
            column2.Format         = "";
            column2.CellAppearance = appearance2;
            Infragistics.Win.Appearance appearance3 = new Infragistics.Win.Appearance();
            column3.CellActivation     = Activation.NoEdit;
            column3.ButtonDisplayStyle = Infragistics.Win.UltraWinGrid.ButtonDisplayStyle.OnCellActivate;
            column3.Header.Caption     = StringResources.OSNOVAOSIGURANJARAZDOBLJESESMIJEPREKLAPATIDescription;
            column3.Width          = 0xdb;
            column3.Format         = "";
            column3.CellAppearance = appearance3;
            Infragistics.Win.Appearance appearance4 = new Infragistics.Win.Appearance();
            column4.CellActivation     = Activation.NoEdit;
            column4.ButtonDisplayStyle = Infragistics.Win.UltraWinGrid.ButtonDisplayStyle.OnCellActivate;
            column4.Header.Caption     = StringResources.OSNOVAOSIGURANJAZAMOOIDOSNOVAOSIGURANJADescription;
            column4.Width          = 0x128;
            column4.Format         = "";
            column4.CellAppearance = appearance4;
            Infragistics.Win.Appearance appearance5 = new Infragistics.Win.Appearance();
            column5.CellActivation     = Activation.NoEdit;
            column5.ButtonDisplayStyle = Infragistics.Win.UltraWinGrid.ButtonDisplayStyle.OnCellActivate;
            column5.Header.Caption     = StringResources.OSNOVAOSIGURANJAZAMOONAZIVOSNOVAOSIGURANJADescription;
            column5.Width          = 0x128;
            column5.Format         = "";
            column5.CellAppearance = appearance5;
            band.Columns.Add(column);
            column.Header.VisiblePosition = 0;
            band.Columns.Add(column2);
            column2.Header.VisiblePosition = 1;
            band.Columns.Add(column3);
            column3.Header.VisiblePosition = 2;
            band.Columns.Add(column4);
            column4.Header.VisiblePosition = 3;
            band.Columns.Add(column5);
            column5.Header.VisiblePosition = 4;
            this.userControlDataGridOSNOVAOSIGURANJA.Visible = true;
            System.Drawing.Point point = new System.Drawing.Point(0, 0);
            this.userControlDataGridOSNOVAOSIGURANJA.Location = point;
            this.userControlDataGridOSNOVAOSIGURANJA.Name     = "userControlDataGridOSNOVAOSIGURANJA";
            this.userControlDataGridOSNOVAOSIGURANJA.Tag      = "OSNOVAOSIGURANJA";
            Size size = new System.Drawing.Size(0x200, 0x144);

            this.userControlDataGridOSNOVAOSIGURANJA.Size = size;
            this.userControlDataGridOSNOVAOSIGURANJA.DisplayLayout.BorderStyle = UIElementBorderStyle.None;
            this.userControlDataGridOSNOVAOSIGURANJA.Dock          = DockStyle.Fill;
            this.userControlDataGridOSNOVAOSIGURANJA.FillAtStartup = false;
            this.userControlDataGridOSNOVAOSIGURANJA.DisplayLayout.Appearance.TextHAlign = HAlign.Left;
            this.userControlDataGridOSNOVAOSIGURANJA.InitializeRow += new InitializeRowEventHandler(this.OSNOVAOSIGURANJAUserDataGrid_InitializeRow);
            this.userControlDataGridOSNOVAOSIGURANJA.DisplayLayout.BandsSerializer.Add(band);
            this.Controls.AddRange(new Control[] { this.userControlDataGridOSNOVAOSIGURANJA });
            this.Name  = "OSNOVAOSIGURANJAUserDataGrid";
            size       = new System.Drawing.Size(0x200, 0x144);
            this.Size  = size;
            this.Load += new EventHandler(this.OSNOVAOSIGURANJAUserDataGrid_Load);
            ((ISupportInitialize)this.userControlDataGridOSNOVAOSIGURANJA).EndInit();
            this.ResumeLayout(false);
        }
Пример #30
0
        private void InitializeComponent()
        {
            this.components = (IContainer) new Container();
            Infragistics.Win.Appearance appearance1              = new Infragistics.Win.Appearance();
            Infragistics.Win.Appearance appearance2              = new Infragistics.Win.Appearance();
            Infragistics.Win.Appearance appearance3              = new Infragistics.Win.Appearance();
            Infragistics.Win.Appearance appearance4              = new Infragistics.Win.Appearance();
            Infragistics.Win.Appearance appearance5              = new Infragistics.Win.Appearance();
            Infragistics.Win.Appearance appearance6              = new Infragistics.Win.Appearance();
            Infragistics.Win.Appearance appearance7              = new Infragistics.Win.Appearance();
            Infragistics.Win.Appearance appearance8              = new Infragistics.Win.Appearance();
            Infragistics.Win.Appearance appearance9              = new Infragistics.Win.Appearance();
            Infragistics.Win.Appearance appearance10             = new Infragistics.Win.Appearance();
            Infragistics.Win.Appearance appearance11             = new Infragistics.Win.Appearance();
            Infragistics.Win.Appearance appearance12             = new Infragistics.Win.Appearance();
            ComponentResourceManager    componentResourceManager = new ComponentResourceManager(typeof(FrmMC601LogInfoViewer));

            this.btnReadLog              = new Button();
            this.btnExportToExcel        = new Button();
            this.grdInfoLog              = new UltraGrid();
            this.saveFileDialog1         = new SaveFileDialog();
            this.ultraGridExcelExporter1 = new UltraGridExcelExporter(this.components);
            //this.grdInfoLog.BeginInit();
            this.SuspendLayout();
            this.btnReadLog.Location = new Point(13, 12);
            this.btnReadLog.Name     = "btnReadLog";
            this.btnReadLog.Size     = new Size(75, 23);
            this.btnReadLog.TabIndex = 0;
            this.btnReadLog.Text     = "Read Log";
            this.btnReadLog.UseVisualStyleBackColor = true;
            this.btnReadLog.Click         += new EventHandler(this.btnReadLog_Click);
            this.btnExportToExcel.Location = new Point(94, 12);
            this.btnExportToExcel.Name     = "btnExportToExcel";
            this.btnExportToExcel.Size     = new Size(97, 23);
            this.btnExportToExcel.TabIndex = 2;
            this.btnExportToExcel.Text     = "Export to Excel";
            this.btnExportToExcel.UseVisualStyleBackColor = true;
            this.btnExportToExcel.Click += new EventHandler(this.btnExportToExcel_Click);
            this.grdInfoLog.Anchor       = AnchorStyles.Top | AnchorStyles.Bottom | AnchorStyles.Left | AnchorStyles.Right;
            appearance1.BackColor        = SystemColors.Window;
            appearance1.BorderColor      = SystemColors.InactiveCaption;
            this.grdInfoLog.DisplayLayout.Appearance     = (AppearanceBase)appearance1;
            this.grdInfoLog.DisplayLayout.AutoFitStyle   = AutoFitStyle.ExtendLastColumn;
            this.grdInfoLog.DisplayLayout.BorderStyle    = UIElementBorderStyle.Solid;
            this.grdInfoLog.DisplayLayout.CaptionVisible = DefaultableBoolean.False;
            appearance2.BackColor         = SystemColors.ActiveBorder;
            appearance2.BackColor2        = SystemColors.ControlDark;
            appearance2.BackGradientStyle = GradientStyle.Vertical;
            appearance2.BorderColor       = SystemColors.Window;
            this.grdInfoLog.DisplayLayout.GroupByBox.Appearance = (AppearanceBase)appearance2;
            appearance3.ForeColor = SystemColors.GrayText;
            this.grdInfoLog.DisplayLayout.GroupByBox.BandLabelAppearance = (AppearanceBase)appearance3;
            this.grdInfoLog.DisplayLayout.GroupByBox.BorderStyle         = UIElementBorderStyle.Solid;
            appearance4.BackColor         = SystemColors.ControlLightLight;
            appearance4.BackColor2        = SystemColors.Control;
            appearance4.BackGradientStyle = GradientStyle.Horizontal;
            appearance4.ForeColor         = SystemColors.GrayText;
            this.grdInfoLog.DisplayLayout.GroupByBox.PromptAppearance = (AppearanceBase)appearance4;
            this.grdInfoLog.DisplayLayout.MaxColScrollRegions         = 1;
            this.grdInfoLog.DisplayLayout.MaxRowScrollRegions         = 1;
            appearance5.BackColor = SystemColors.Window;
            appearance5.ForeColor = SystemColors.ControlText;
            this.grdInfoLog.DisplayLayout.Override.ActiveCellAppearance = (AppearanceBase)appearance5;
            appearance6.BackColor = SystemColors.Highlight;
            appearance6.ForeColor = SystemColors.HighlightText;
            this.grdInfoLog.DisplayLayout.Override.ActiveRowAppearance = (AppearanceBase)appearance6;
            this.grdInfoLog.DisplayLayout.Override.BorderStyleCell     = UIElementBorderStyle.Dotted;
            this.grdInfoLog.DisplayLayout.Override.BorderStyleRow      = UIElementBorderStyle.Dotted;
            appearance7.BackColor = SystemColors.Window;
            this.grdInfoLog.DisplayLayout.Override.CardAreaAppearance = (AppearanceBase)appearance7;
            appearance8.BorderColor  = Color.Silver;
            appearance8.TextTrimming = TextTrimming.EllipsisCharacter;
            this.grdInfoLog.DisplayLayout.Override.CellAppearance  = (AppearanceBase)appearance8;
            this.grdInfoLog.DisplayLayout.Override.CellClickAction = CellClickAction.EditAndSelectText;
            this.grdInfoLog.DisplayLayout.Override.CellPadding     = 0;
            appearance9.BackColor             = SystemColors.Control;
            appearance9.BackColor2            = SystemColors.ControlDark;
            appearance9.BackGradientAlignment = GradientAlignment.Element;
            appearance9.BackGradientStyle     = GradientStyle.Horizontal;
            appearance9.BorderColor           = SystemColors.Window;
            this.grdInfoLog.DisplayLayout.Override.GroupByRowAppearance = (AppearanceBase)appearance9;
            appearance10.TextHAlignAsString = "Left";
            this.grdInfoLog.DisplayLayout.Override.HeaderAppearance  = (AppearanceBase)appearance10;
            this.grdInfoLog.DisplayLayout.Override.HeaderClickAction = HeaderClickAction.SortMulti;
            this.grdInfoLog.DisplayLayout.Override.HeaderStyle       = HeaderStyle.WindowsXPCommand;
            appearance11.BackColor   = SystemColors.Window;
            appearance11.BorderColor = Color.Silver;
            this.grdInfoLog.DisplayLayout.Override.RowAppearance = (AppearanceBase)appearance11;
            this.grdInfoLog.DisplayLayout.Override.RowSelectors  = DefaultableBoolean.False;
            appearance12.BackColor = SystemColors.ControlLight;
            this.grdInfoLog.DisplayLayout.Override.TemplateAddRowAppearance = (AppearanceBase)appearance12;
            this.grdInfoLog.DisplayLayout.ScrollBounds  = ScrollBounds.ScrollToFill;
            this.grdInfoLog.DisplayLayout.ScrollStyle   = ScrollStyle.Immediate;
            this.grdInfoLog.DisplayLayout.ViewStyleBand = ViewStyleBand.OutlookGroupBy;
            this.grdInfoLog.Location          = new Point(0, 41);
            this.grdInfoLog.Name              = "grdInfoLog";
            this.grdInfoLog.Size              = new Size(665, 439);
            this.grdInfoLog.TabIndex          = 3;
            this.grdInfoLog.Text              = "grdInfoLog";
            this.grdInfoLog.InitializeLayout += new InitializeLayoutEventHandler(this.grdInfoLog_InitializeLayout);
            this.AutoScaleDimensions          = new SizeF(6f, 13f);
            //this.AutoScaleMode = AutoScaleMode.Font;
            this.ClientSize = new Size(662, 479);
            this.Controls.Add((Control)this.grdInfoLog);
            this.Controls.Add((Control)this.btnExportToExcel);
            this.Controls.Add((Control)this.btnReadLog);
            //this.Icon = (Icon) componentResourceManager.GetObject("$this.Icon");
            this.Name          = "FrmMC601LogInfoViewer";
            this.ShowIcon      = false;
            this.ShowInTaskbar = false;
            this.Text          = "MC601 Log Info Viewer";
            // this.grdInfoLog.EndInit();
            this.ResumeLayout(false);
        }
Пример #31
0
    private ConditionValueAppearance CreateOperatorConditionValueAppearance()
    {
      // This method will create a ConditionValueAppearance using OperatorConditions. OperatorConditions
      // do not rely on UltraCalcManager and they cannot use formulas. They need a ConditionOperator
      // and a value to determine if the cell matches the condition. 

      // Create a new ConditionValueAppearance
      var conditionValueAppearance = new ConditionValueAppearance();

      // Create a OperatorCondition that checks for negative numbers
      var negativeCondition = new OperatorCondition(ConditionOperator.LessThan, 0);

      // Create an appearance that sets the ForeColor to red.
      var negativeAppearance = new Infragistics.Win.Appearance("Negative")
      {
        ForeColor = LookFeel.NegativeColor
      };

      // Create a OperatorCondition that checks for positive numbers
      var positiveCondition = new OperatorCondition(ConditionOperator.GreaterThanOrEqualTo, 0);

      // Create an appearance that sets the ForeColor to blue.
      var positiveAppearance = new Infragistics.Win.Appearance("Positive")
      {
        ForeColor = LookFeel.PositiveColor
      };

      // Now that we have the conditions and appearances we need, add them to the 
      // conditionValueAppearance. The conditions will be evaluated in order.
      conditionValueAppearance.Add(negativeCondition, negativeAppearance);
      conditionValueAppearance.Add(positiveCondition, positiveAppearance);

      return conditionValueAppearance;
    }
Пример #32
0
        private void InitializeComponent()
        {
            this.userControlDataGridUCENIKOBRACUN = new UCENIKOBRACUNDataGrid();
            ((ISupportInitialize)this.userControlDataGridUCENIKOBRACUN).BeginInit();
            UltraGridBand   band     = new UltraGridBand("UCENIKOBRACUN", -1);
            UltraGridColumn column13 = new UltraGridColumn("UCOBRMJESEC");
            UltraGridColumn column12 = new UltraGridColumn("UCOBRGODINA");
            UltraGridColumn column14 = new UltraGridColumn("UCOBROPIS");
            UltraGridColumn column2  = new UltraGridColumn("OSNOVICAPODANU");
            UltraGridColumn column   = new UltraGridColumn("AKTIVANZARSM");
            UltraGridBand   band2    = new UltraGridBand("UCENIKOBRACUN_UCENIKOBRACUNUCENIKOBRACUNDETAIL", 0);
            UltraGridColumn column11 = new UltraGridColumn("UCOBRMJESEC");
            UltraGridColumn column10 = new UltraGridColumn("UCOBRGODINA");
            UltraGridColumn column4  = new UltraGridColumn("IDUCENIK");
            UltraGridColumn column8  = new UltraGridColumn("PREZIMEUCENIK");
            UltraGridColumn column5  = new UltraGridColumn("IMEUCENIK");
            UltraGridColumn column3  = new UltraGridColumn("BROJDANAPRAKSE");
            UltraGridColumn column6  = new UltraGridColumn("OBRACUNOSNOVICEPRAKSA");
            UltraGridColumn column9  = new UltraGridColumn("RAZRED");
            UltraGridColumn column7  = new UltraGridColumn("ODJELJENJE");

            this.SuspendLayout();
            Infragistics.Win.Appearance appearance13 = new Infragistics.Win.Appearance();
            column13.CellActivation     = Activation.NoEdit;
            column13.ButtonDisplayStyle = Infragistics.Win.UltraWinGrid.ButtonDisplayStyle.OnCellActivate;
            column13.Header.Caption     = StringResources.UCENIKOBRACUNUCOBRMJESECDescription;
            column13.Width          = 0x3a;
            appearance13.TextHAlign = HAlign.Right;
            column13.MaskInput      = "{LOC}-nnnnn";
            column13.PromptChar     = ' ';
            column13.Format         = "";
            column13.CellAppearance = appearance13;
            Infragistics.Win.Appearance appearance12 = new Infragistics.Win.Appearance();
            column12.CellActivation     = Activation.NoEdit;
            column12.ButtonDisplayStyle = Infragistics.Win.UltraWinGrid.ButtonDisplayStyle.OnCellActivate;
            column12.Header.Caption     = StringResources.UCENIKOBRACUNUCOBRGODINADescription;
            column12.Width          = 0x3a;
            appearance12.TextHAlign = HAlign.Right;
            column12.MaskInput      = "{LOC}-nnnnn";
            column12.PromptChar     = ' ';
            column12.Format         = "";
            column12.CellAppearance = appearance12;
            Infragistics.Win.Appearance appearance14 = new Infragistics.Win.Appearance();
            column14.CellActivation     = Activation.NoEdit;
            column14.ButtonDisplayStyle = Infragistics.Win.UltraWinGrid.ButtonDisplayStyle.OnCellActivate;
            column14.Header.Caption     = StringResources.UCENIKOBRACUNUCOBROPISDescription;
            column14.Width          = 0x128;
            column14.Format         = "";
            column14.CellAppearance = appearance14;
            Infragistics.Win.Appearance appearance2 = new Infragistics.Win.Appearance();
            column2.CellActivation     = Activation.NoEdit;
            column2.ButtonDisplayStyle = Infragistics.Win.UltraWinGrid.ButtonDisplayStyle.OnCellActivate;
            column2.Header.Caption     = StringResources.UCENIKOBRACUNOSNOVICAPODANUDescription;
            column2.Width          = 0xc5;
            appearance2.TextHAlign = HAlign.Right;
            column2.MaskInput      = "{LOC}-nnnnnnnnnn.nn";
            column2.PromptChar     = ' ';
            column2.Format         = "F2";
            column2.CellAppearance = appearance2;
            Infragistics.Win.Appearance appearance = new Infragistics.Win.Appearance();
            column.CellActivation     = Activation.NoEdit;
            column.ButtonDisplayStyle = Infragistics.Win.UltraWinGrid.ButtonDisplayStyle.OnCellActivate;
            column.Header.Caption     = StringResources.UCENIKOBRACUNAKTIVANZARSMDescription;
            column.Width          = 100;
            column.Format         = "";
            column.CellAppearance = appearance;
            Infragistics.Win.Appearance appearance11 = new Infragistics.Win.Appearance();
            column11.CellActivation     = Activation.NoEdit;
            column11.ButtonDisplayStyle = Infragistics.Win.UltraWinGrid.ButtonDisplayStyle.OnCellActivate;
            column11.Header.Caption     = StringResources.UCENIKOBRACUNUCOBRMJESECDescription;
            column11.Width          = 0x3a;
            appearance11.TextHAlign = HAlign.Right;
            column11.MaskInput      = "{LOC}-nnnnn";
            column11.PromptChar     = ' ';
            column11.Format         = "";
            column11.CellAppearance = appearance11;
            column11.Hidden         = true;
            Infragistics.Win.Appearance appearance10 = new Infragistics.Win.Appearance();
            column10.CellActivation     = Activation.NoEdit;
            column10.ButtonDisplayStyle = Infragistics.Win.UltraWinGrid.ButtonDisplayStyle.OnCellActivate;
            column10.Header.Caption     = StringResources.UCENIKOBRACUNUCOBRGODINADescription;
            column10.Width          = 0x3a;
            appearance10.TextHAlign = HAlign.Right;
            column10.MaskInput      = "{LOC}-nnnnn";
            column10.PromptChar     = ' ';
            column10.Format         = "";
            column10.CellAppearance = appearance10;
            column10.Hidden         = true;
            Infragistics.Win.Appearance appearance4 = new Infragistics.Win.Appearance();
            column4.CellActivation     = Activation.NoEdit;
            column4.ButtonDisplayStyle = Infragistics.Win.UltraWinGrid.ButtonDisplayStyle.OnCellActivate;
            column4.Header.Caption     = StringResources.UCENIKOBRACUNIDUCENIKDescription;
            column4.Width          = 0x41;
            appearance4.TextHAlign = HAlign.Right;
            column4.MaskInput      = "{LOC}-nnnnn";
            column4.PromptChar     = ' ';
            column4.Format         = "";
            column4.CellAppearance = appearance4;
            Infragistics.Win.Appearance appearance8 = new Infragistics.Win.Appearance();
            column8.CellActivation     = Activation.NoEdit;
            column8.ButtonDisplayStyle = Infragistics.Win.UltraWinGrid.ButtonDisplayStyle.OnCellActivate;
            column8.Header.Caption     = StringResources.UCENIKOBRACUNPREZIMEUCENIKDescription;
            column8.Width          = 0x128;
            column8.Format         = "";
            column8.CellAppearance = appearance8;
            Infragistics.Win.Appearance appearance5 = new Infragistics.Win.Appearance();
            column5.CellActivation     = Activation.NoEdit;
            column5.ButtonDisplayStyle = Infragistics.Win.UltraWinGrid.ButtonDisplayStyle.OnCellActivate;
            column5.Header.Caption     = StringResources.UCENIKOBRACUNIMEUCENIKDescription;
            column5.Width          = 0x128;
            column5.Format         = "";
            column5.CellAppearance = appearance5;
            Infragistics.Win.Appearance appearance3 = new Infragistics.Win.Appearance();
            column3.CellActivation     = Activation.NoEdit;
            column3.ButtonDisplayStyle = Infragistics.Win.UltraWinGrid.ButtonDisplayStyle.OnCellActivate;
            column3.Header.Caption     = StringResources.UCENIKOBRACUNBROJDANAPRAKSEDescription;
            column3.Width          = 0x7e;
            appearance3.TextHAlign = HAlign.Right;
            column3.MaskInput      = "{LOC}-nnnnn";
            column3.PromptChar     = ' ';
            column3.Format         = "";
            column3.CellAppearance = appearance3;
            Infragistics.Win.Appearance appearance6 = new Infragistics.Win.Appearance();
            column6.CellActivation     = Activation.NoEdit;
            column6.ButtonDisplayStyle = Infragistics.Win.UltraWinGrid.ButtonDisplayStyle.OnCellActivate;
            column6.Header.Caption     = StringResources.UCENIKOBRACUNOBRACUNOSNOVICEPRAKSADescription;
            column6.Width          = 0x123;
            appearance6.TextHAlign = HAlign.Right;
            column6.MaskInput      = "{LOC}-nnnnnnnnnn.nn";
            column6.PromptChar     = ' ';
            column6.Format         = "F2";
            column6.CellAppearance = appearance6;
            Infragistics.Win.Appearance appearance9 = new Infragistics.Win.Appearance();
            column9.CellActivation     = Activation.NoEdit;
            column9.ButtonDisplayStyle = Infragistics.Win.UltraWinGrid.ButtonDisplayStyle.OnCellActivate;
            column9.Header.Caption     = StringResources.UCENIKOBRACUNRAZREDDescription;
            column9.Width          = 0x3a;
            appearance9.TextHAlign = HAlign.Right;
            column9.MaskInput      = "{LOC}-nnnnn";
            column9.PromptChar     = ' ';
            column9.Format         = "";
            column9.CellAppearance = appearance9;
            Infragistics.Win.Appearance appearance7 = new Infragistics.Win.Appearance();
            column7.CellActivation     = Activation.NoEdit;
            column7.ButtonDisplayStyle = Infragistics.Win.UltraWinGrid.ButtonDisplayStyle.OnCellActivate;
            column7.Header.Caption     = StringResources.UCENIKOBRACUNODJELJENJEDescription;
            column7.Width          = 0x56;
            column7.Format         = "";
            column7.CellAppearance = appearance7;
            band2.Columns.Add(column11);
            column11.Header.VisiblePosition = 0;
            band2.Columns.Add(column10);
            column10.Header.VisiblePosition = 1;
            band2.Columns.Add(column4);
            column4.Header.VisiblePosition = 2;
            band2.Columns.Add(column8);
            column8.Header.VisiblePosition = 3;
            band2.Columns.Add(column5);
            column5.Header.VisiblePosition = 4;
            band2.Columns.Add(column3);
            column3.Header.VisiblePosition = 5;
            band2.Columns.Add(column6);
            column6.Header.VisiblePosition = 6;
            band2.Columns.Add(column9);
            column9.Header.VisiblePosition = 7;
            band2.Columns.Add(column7);
            column7.Header.VisiblePosition = 8;
            band.Columns.Add(column13);
            column13.Header.VisiblePosition = 0;
            band.Columns.Add(column12);
            column12.Header.VisiblePosition = 1;
            band.Columns.Add(column14);
            column14.Header.VisiblePosition = 2;
            band.Columns.Add(column2);
            column2.Header.VisiblePosition = 3;
            band.Columns.Add(column);
            column.Header.VisiblePosition = 4;
            this.userControlDataGridUCENIKOBRACUN.Visible = true;
            System.Drawing.Point point = new System.Drawing.Point(0, 0);
            this.userControlDataGridUCENIKOBRACUN.Location = point;
            this.userControlDataGridUCENIKOBRACUN.Name     = "userControlDataGridUCENIKOBRACUN";
            this.userControlDataGridUCENIKOBRACUN.Tag      = "UCENIKOBRACUN";
            Size size = new System.Drawing.Size(0x200, 0x144);

            this.userControlDataGridUCENIKOBRACUN.Size = size;
            this.userControlDataGridUCENIKOBRACUN.DisplayLayout.BorderStyle = UIElementBorderStyle.None;
            this.userControlDataGridUCENIKOBRACUN.Dock          = DockStyle.Fill;
            this.userControlDataGridUCENIKOBRACUN.FillAtStartup = false;
            this.userControlDataGridUCENIKOBRACUN.DisplayLayout.Appearance.TextHAlign = HAlign.Left;
            this.userControlDataGridUCENIKOBRACUN.InitializeRow += new InitializeRowEventHandler(this.UCENIKOBRACUNUserDataGrid_InitializeRow);
            this.userControlDataGridUCENIKOBRACUN.DisplayLayout.BandsSerializer.Add(band);
            this.userControlDataGridUCENIKOBRACUN.DisplayLayout.BandsSerializer.Add(band2);
            this.Controls.AddRange(new Control[] { this.userControlDataGridUCENIKOBRACUN });
            this.Name  = "UCENIKOBRACUNUserDataGrid";
            size       = new System.Drawing.Size(0x200, 0x144);
            this.Size  = size;
            this.Load += new EventHandler(this.UCENIKOBRACUNUserDataGrid_Load);
            ((ISupportInitialize)this.userControlDataGridUCENIKOBRACUN).EndInit();
            this.ResumeLayout(false);
        }
Пример #33
0
        private void InitializeComponent()
        {
            this.userControlDataGridS_FIN_DNEVNIKBLAGAJNEODDO = new S_FIN_DNEVNIKBLAGAJNEODDODataGrid();
            ((ISupportInitialize)this.userControlDataGridS_FIN_DNEVNIKBLAGAJNEODDO).BeginInit();
            UltraGridBand   band    = new UltraGridBand("S_FIN_DNEVNIKBLAGAJNEODDO", -1);
            UltraGridColumn column8 = new UltraGridColumn("NAZIVVRSTEDOK");
            UltraGridColumn column2 = new UltraGridColumn("BLGDATUMDOKUMENTA");
            UltraGridColumn column  = new UltraGridColumn("BLGBROJDOKUMENTA");
            UltraGridColumn column5 = new UltraGridColumn("IDBLGVRSTEDOK");
            UltraGridColumn column4 = new UltraGridColumn("BLGSVRHA");
            UltraGridColumn column9 = new UltraGridColumn("PRIMITAK");
            UltraGridColumn column6 = new UltraGridColumn("IZDATAK");
            UltraGridColumn column3 = new UltraGridColumn("BLGSLOVIMA");
            UltraGridColumn column7 = new UltraGridColumn("KONTA");

            this.SuspendLayout();
            Infragistics.Win.Appearance appearance8 = new Infragistics.Win.Appearance();
            column8.CellActivation     = Activation.NoEdit;
            column8.ButtonDisplayStyle = Infragistics.Win.UltraWinGrid.ButtonDisplayStyle.OnCellActivate;
            column8.Header.Caption     = StringResources.S_FIN_DNEVNIKBLAGAJNEODDONAZIVVRSTEDOKDescription;
            column8.Width          = 0xe2;
            column8.Format         = "";
            column8.CellAppearance = appearance8;
            Infragistics.Win.Appearance appearance2 = new Infragistics.Win.Appearance();
            column2.CellActivation     = Activation.NoEdit;
            column2.ButtonDisplayStyle = Infragistics.Win.UltraWinGrid.ButtonDisplayStyle.OnCellActivate;
            column2.Header.Caption     = StringResources.S_FIN_DNEVNIKBLAGAJNEODDOBLGDATUMDOKUMENTADescription;
            column2.Width          = 0x87;
            column2.MinValue       = DateTime.MinValue;
            column2.MaxValue       = DateTime.MaxValue;
            column2.Format         = "d";
            column2.CellAppearance = appearance2;
            Infragistics.Win.Appearance appearance = new Infragistics.Win.Appearance();
            column.CellActivation     = Activation.NoEdit;
            column.ButtonDisplayStyle = Infragistics.Win.UltraWinGrid.ButtonDisplayStyle.OnCellActivate;
            column.Header.Caption     = StringResources.S_FIN_DNEVNIKBLAGAJNEODDOBLGBROJDOKUMENTADescription;
            column.Width          = 0x7e;
            appearance.TextHAlign = HAlign.Right;
            column.MaskInput      = "{LOC}-nnnnnnnn";
            column.PromptChar     = ' ';
            column.Format         = "";
            column.CellAppearance = appearance;
            Infragistics.Win.Appearance appearance5 = new Infragistics.Win.Appearance();
            column5.CellActivation     = Activation.NoEdit;
            column5.ButtonDisplayStyle = Infragistics.Win.UltraWinGrid.ButtonDisplayStyle.OnCellActivate;
            column5.Header.Caption     = StringResources.S_FIN_DNEVNIKBLAGAJNEODDOIDBLGVRSTEDOKDescription;
            column5.Width          = 0x69;
            appearance5.TextHAlign = HAlign.Right;
            column5.MaskInput      = "{LOC}-nnnnn";
            column5.PromptChar     = ' ';
            column5.Format         = "";
            column5.CellAppearance = appearance5;
            Infragistics.Win.Appearance appearance4 = new Infragistics.Win.Appearance();
            column4.CellActivation     = Activation.NoEdit;
            column4.ButtonDisplayStyle = Infragistics.Win.UltraWinGrid.ButtonDisplayStyle.OnCellActivate;
            column4.Header.Caption     = StringResources.S_FIN_DNEVNIKBLAGAJNEODDOBLGSVRHADescription;
            column4.Width          = 0x128;
            column4.Format         = "";
            column4.CellAppearance = appearance4;
            Infragistics.Win.Appearance appearance9 = new Infragistics.Win.Appearance();
            column9.CellActivation     = Activation.NoEdit;
            column9.ButtonDisplayStyle = Infragistics.Win.UltraWinGrid.ButtonDisplayStyle.OnCellActivate;
            column9.Header.Caption     = StringResources.S_FIN_DNEVNIKBLAGAJNEODDOPRIMITAKDescription;
            column9.Width          = 0x66;
            appearance9.TextHAlign = HAlign.Right;
            column9.MaskInput      = "{LOC}-nnnnnnnnnn.nn";
            column9.PromptChar     = ' ';
            column9.Format         = "F2";
            column9.CellAppearance = appearance9;
            Infragistics.Win.Appearance appearance6 = new Infragistics.Win.Appearance();
            column6.CellActivation     = Activation.NoEdit;
            column6.ButtonDisplayStyle = Infragistics.Win.UltraWinGrid.ButtonDisplayStyle.OnCellActivate;
            column6.Header.Caption     = StringResources.S_FIN_DNEVNIKBLAGAJNEODDOIZDATAKDescription;
            column6.Width          = 0x66;
            appearance6.TextHAlign = HAlign.Right;
            column6.MaskInput      = "{LOC}-nnnnnnnnnn.nn";
            column6.PromptChar     = ' ';
            column6.Format         = "F2";
            column6.CellAppearance = appearance6;
            Infragistics.Win.Appearance appearance3 = new Infragistics.Win.Appearance();
            column3.CellActivation     = Activation.NoEdit;
            column3.ButtonDisplayStyle = Infragistics.Win.UltraWinGrid.ButtonDisplayStyle.OnCellActivate;
            column3.Header.Caption     = StringResources.S_FIN_DNEVNIKBLAGAJNEODDOBLGSLOVIMADescription;
            column3.Width          = 0x128;
            column3.Format         = "";
            column3.CellAppearance = appearance3;
            Infragistics.Win.Appearance appearance7 = new Infragistics.Win.Appearance();
            column7.CellActivation     = Activation.NoEdit;
            column7.ButtonDisplayStyle = Infragistics.Win.UltraWinGrid.ButtonDisplayStyle.OnCellActivate;
            column7.Header.Caption     = StringResources.S_FIN_DNEVNIKBLAGAJNEODDOKONTADescription;
            column7.Width          = 0x128;
            column7.Format         = "";
            column7.CellAppearance = appearance7;
            band.Columns.Add(column8);
            column8.Header.VisiblePosition = 0;
            band.Columns.Add(column2);
            column2.Header.VisiblePosition = 1;
            band.Columns.Add(column);
            column.Header.VisiblePosition = 2;
            band.Columns.Add(column5);
            column5.Header.VisiblePosition = 3;
            band.Columns.Add(column4);
            column4.Header.VisiblePosition = 4;
            band.Columns.Add(column9);
            column9.Header.VisiblePosition = 5;
            band.Columns.Add(column6);
            column6.Header.VisiblePosition = 6;
            band.Columns.Add(column3);
            column3.Header.VisiblePosition = 7;
            band.Columns.Add(column7);
            column7.Header.VisiblePosition = 8;
            this.userControlDataGridS_FIN_DNEVNIKBLAGAJNEODDO.Visible = true;
            System.Drawing.Point point = new System.Drawing.Point(0, 0);
            this.userControlDataGridS_FIN_DNEVNIKBLAGAJNEODDO.Location = point;
            this.userControlDataGridS_FIN_DNEVNIKBLAGAJNEODDO.Name     = "userControlDataGridS_FIN_DNEVNIKBLAGAJNEODDO";
            this.userControlDataGridS_FIN_DNEVNIKBLAGAJNEODDO.Tag      = "S_FIN_DNEVNIKBLAGAJNEODDO";
            Size size = new System.Drawing.Size(0x200, 0x144);

            this.userControlDataGridS_FIN_DNEVNIKBLAGAJNEODDO.Size = size;
            this.userControlDataGridS_FIN_DNEVNIKBLAGAJNEODDO.DisplayLayout.BorderStyle = UIElementBorderStyle.None;
            this.userControlDataGridS_FIN_DNEVNIKBLAGAJNEODDO.Dock          = DockStyle.Fill;
            this.userControlDataGridS_FIN_DNEVNIKBLAGAJNEODDO.FillAtStartup = false;
            this.userControlDataGridS_FIN_DNEVNIKBLAGAJNEODDO.DisplayLayout.Appearance.TextHAlign = HAlign.Left;
            this.userControlDataGridS_FIN_DNEVNIKBLAGAJNEODDO.InitializeRow += new InitializeRowEventHandler(this.S_FIN_DNEVNIKBLAGAJNEODDOUserDataGrid_InitializeRow);
            this.userControlDataGridS_FIN_DNEVNIKBLAGAJNEODDO.DisplayLayout.BandsSerializer.Add(band);
            this.Controls.AddRange(new Control[] { this.userControlDataGridS_FIN_DNEVNIKBLAGAJNEODDO });
            this.Name  = "S_FIN_DNEVNIKBLAGAJNEODDOUserDataGrid";
            size       = new System.Drawing.Size(0x200, 0x144);
            this.Size  = size;
            this.Load += new EventHandler(this.S_FIN_DNEVNIKBLAGAJNEODDOUserDataGrid_Load);
            ((ISupportInitialize)this.userControlDataGridS_FIN_DNEVNIKBLAGAJNEODDO).EndInit();
            this.ResumeLayout(false);
        }
Пример #34
0
 /// <summary>
 /// Required method for Designer support - do not modify
 /// the contents of this method with the code editor.
 /// </summary>
 ///
 private void InitializeComponent()
 {
     Infragistics.Win.Appearance appearance1 = new Infragistics.Win.Appearance();
     Infragistics.Win.UltraWinGrid.UltraGridBand   ultraGridBand1    = new Infragistics.Win.UltraWinGrid.UltraGridBand("ShipScheduleMasterTable", -1);
     Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn1  = new Infragistics.Win.UltraWinGrid.UltraGridColumn("ScheduleID");
     Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn2  = new Infragistics.Win.UltraWinGrid.UltraGridColumn("SortCenterID");
     Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn3  = new Infragistics.Win.UltraWinGrid.UltraGridColumn("SortCenter");
     Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn4  = new Infragistics.Win.UltraWinGrid.UltraGridColumn("ScheduleDate");
     Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn5  = new Infragistics.Win.UltraWinGrid.UltraGridColumn("TripID");
     Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn6  = new Infragistics.Win.UltraWinGrid.UltraGridColumn("TemplateID");
     Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn7  = new Infragistics.Win.UltraWinGrid.UltraGridColumn("BolNumber");
     Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn8  = new Infragistics.Win.UltraWinGrid.UltraGridColumn("CarrierServiceID");
     Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn9  = new Infragistics.Win.UltraWinGrid.UltraGridColumn("Carrier");
     Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn10 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("LoadNumber");
     Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn11 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("TrailerID");
     Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn12 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("TrailerNumber");
     Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn13 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("TractorNumber");
     Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn14 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("ScheduledClose");
     Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn15 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("ScheduledDeparture");
     Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn16 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("IsMandatory");
     Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn17 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("FreightAssigned");
     Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn18 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("TrailerComplete");
     Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn19 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("PaperworkComplete");
     Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn20 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("TrailerDispatched");
     Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn21 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("Canceled");
     Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn22 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("SCDEUserID");
     Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn23 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("SCDELastUpdated");
     Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn24 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("SCDERowVersion");
     Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn25 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("StopID");
     Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn26 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("StopNumber");
     Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn27 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("AgentTerminalID");
     Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn28 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("AgentNumber");
     Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn29 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("MainZone");
     Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn30 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("Tag");
     Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn31 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("Notes");
     Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn32 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("ScheduledArrival");
     Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn33 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("ScheduledOFD1");
     Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn34 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("S1UserID");
     Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn35 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("S1LastUpdated");
     Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn36 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("S1RowVersion");
     Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn37 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("S2StopID");
     Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn38 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("S2StopNumber");
     Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn39 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("S2AgentTerminalID");
     Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn40 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("S2AgentNumber");
     Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn41 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("S2MainZone");
     Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn42 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("S2Tag");
     Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn43 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("S2Notes");
     Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn44 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("S2ScheduledArrival");
     Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn45 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("S2ScheduledOFD1");
     Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn46 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("S2UserID");
     Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn47 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("S2LastUpdated");
     Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn48 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("S2RowVersion");
     Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn49 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("NextCarrier");
     Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn50 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("CarrierID");
     Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn51 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("ClientNumber");
     Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn52 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("ClientName");
     Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn53 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("Assignment");
     Infragistics.Win.UltraWinGrid.UltraGridBand   ultraGridBand2    = new Infragistics.Win.UltraWinGrid.UltraGridBand("Assignment", 0);
     Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn54 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("TripID");
     Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn55 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("StopID");
     Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn56 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("StopNumber");
     Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn57 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("AgentTerminalID");
     Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn58 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("AgentNumber");
     Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn59 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("MainZone");
     Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn60 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("Tag");
     Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn61 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("Notes");
     Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn62 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("ScheduledArrival");
     Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn63 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("ScheduledOFD1");
     Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn64 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("StopUserID");
     Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn65 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("StopLastUpdated");
     Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn66 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("StopRowVersion");
     Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn67 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("FreightID");
     Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn68 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("Zone");
     Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn69 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("CloseDate");
     Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn70 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("CloseTime");
     Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn71 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("AssignedUser");
     Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn72 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("AssignedDate");
     Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn73 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("TLDate");
     Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn74 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("CloseNumber");
     Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn75 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("ClientNumber");
     Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn76 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("ClientName");
     Infragistics.Win.Appearance appearance2 = new Infragistics.Win.Appearance();
     Infragistics.Win.Appearance appearance3 = new Infragistics.Win.Appearance();
     Infragistics.Win.Appearance appearance4 = new Infragistics.Win.Appearance();
     System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(dlgTrip));
     this.grdShipSchedule = new Infragistics.Win.UltraWinGrid.UltraGrid();
     this.mShipScheduleDS = new Argix.AgentLineHaul.ShipScheduleDS();
     this.dtpScheduleDate = new System.Windows.Forms.DateTimePicker();
     this.btnOK           = new System.Windows.Forms.Button();
     this.btnCancel       = new System.Windows.Forms.Button();
     ((System.ComponentModel.ISupportInitialize)(this.grdShipSchedule)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.mShipScheduleDS)).BeginInit();
     this.SuspendLayout();
     //
     // grdShipSchedule
     //
     this.grdShipSchedule.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
                                                                          | System.Windows.Forms.AnchorStyles.Left)
                                                                         | System.Windows.Forms.AnchorStyles.Right)));
     this.grdShipSchedule.DataMember               = "ShipScheduleMasterTable";
     this.grdShipSchedule.DataSource               = this.mShipScheduleDS;
     appearance1.BackColor                         = System.Drawing.SystemColors.Window;
     appearance1.FontData.Name                     = "Verdana";
     appearance1.FontData.SizeInPoints             = 8F;
     appearance1.ForeColor                         = System.Drawing.SystemColors.WindowText;
     appearance1.TextHAlignAsString                = "Left";
     this.grdShipSchedule.DisplayLayout.Appearance = appearance1;
     ultraGridColumn1.Header.VisiblePosition       = 0;
     ultraGridColumn1.Hidden                       = true;
     ultraGridColumn2.Header.VisiblePosition       = 1;
     ultraGridColumn2.Hidden                       = true;
     ultraGridColumn3.Header.VisiblePosition       = 2;
     ultraGridColumn3.Hidden                       = true;
     ultraGridColumn4.Header.VisiblePosition       = 3;
     ultraGridColumn4.Hidden                       = true;
     ultraGridColumn5.Header.VisiblePosition       = 4;
     ultraGridColumn5.Hidden                       = true;
     ultraGridColumn6.Header.VisiblePosition       = 18;
     ultraGridColumn6.Hidden                       = true;
     ultraGridColumn7.Header.VisiblePosition       = 19;
     ultraGridColumn7.Hidden                       = true;
     ultraGridColumn8.Header.VisiblePosition       = 20;
     ultraGridColumn8.Hidden                       = true;
     ultraGridColumn9.Header.VisiblePosition       = 11;
     ultraGridColumn9.Width                        = 144;
     ultraGridColumn10.Header.Caption              = "Load#";
     ultraGridColumn10.Header.VisiblePosition      = 15;
     ultraGridColumn10.Width                       = 72;
     ultraGridColumn11.Header.VisiblePosition      = 21;
     ultraGridColumn11.Hidden                      = true;
     ultraGridColumn12.Header.Caption              = "Trailer#";
     ultraGridColumn12.Header.VisiblePosition      = 10;
     ultraGridColumn12.Width                       = 72;
     ultraGridColumn13.Header.VisiblePosition      = 22;
     ultraGridColumn13.Hidden                      = true;
     ultraGridColumn14.Format                      = "MM/dd/yyyy HH:mmtt";
     ultraGridColumn14.Header.Caption              = "Sched Close";
     ultraGridColumn14.Header.VisiblePosition      = 9;
     ultraGridColumn14.Width                       = 120;
     ultraGridColumn15.Format                      = "MM/dd/yyyy HH:mmtt";
     ultraGridColumn15.Header.Caption              = "Sched Departure";
     ultraGridColumn15.Header.VisiblePosition      = 12;
     ultraGridColumn15.Width                       = 120;
     ultraGridColumn16.Header.VisiblePosition      = 23;
     ultraGridColumn16.Hidden                      = true;
     ultraGridColumn17.Format                      = "MM/dd/yyyy HH:mmtt";
     ultraGridColumn17.Header.Caption              = "All Assigned";
     ultraGridColumn17.Header.VisiblePosition      = 17;
     ultraGridColumn17.Hidden                      = true;
     ultraGridColumn17.NullText                    = "N";
     ultraGridColumn17.Width                       = 48;
     ultraGridColumn18.Format                      = "MM/dd/yyyy HH:mmtt";
     ultraGridColumn18.Header.Caption              = "Complete";
     ultraGridColumn18.Header.VisiblePosition      = 16;
     ultraGridColumn18.Hidden                      = true;
     ultraGridColumn18.NullText                    = "N";
     ultraGridColumn18.Width                       = 48;
     ultraGridColumn19.Header.VisiblePosition      = 24;
     ultraGridColumn19.Hidden                      = true;
     ultraGridColumn20.Header.VisiblePosition      = 25;
     ultraGridColumn20.Hidden                      = true;
     ultraGridColumn21.Header.VisiblePosition      = 26;
     ultraGridColumn21.Hidden                      = true;
     ultraGridColumn22.Header.VisiblePosition      = 27;
     ultraGridColumn22.Hidden                      = true;
     ultraGridColumn23.Header.VisiblePosition      = 28;
     ultraGridColumn23.Hidden                      = true;
     ultraGridColumn24.Header.VisiblePosition      = 29;
     ultraGridColumn24.Hidden                      = true;
     ultraGridColumn25.Header.VisiblePosition      = 30;
     ultraGridColumn25.Hidden                      = true;
     ultraGridColumn26.Header.VisiblePosition      = 31;
     ultraGridColumn26.Hidden                      = true;
     ultraGridColumn27.Header.VisiblePosition      = 32;
     ultraGridColumn27.Hidden                      = true;
     ultraGridColumn28.Header.VisiblePosition      = 33;
     ultraGridColumn28.Hidden                      = true;
     ultraGridColumn29.Header.Caption              = "Zone";
     ultraGridColumn29.Header.VisiblePosition      = 5;
     ultraGridColumn29.Width                       = 48;
     ultraGridColumn30.Header.VisiblePosition      = 7;
     ultraGridColumn30.Width                       = 48;
     ultraGridColumn31.Header.VisiblePosition      = 13;
     ultraGridColumn31.Width                       = 96;
     ultraGridColumn32.Header.VisiblePosition      = 34;
     ultraGridColumn32.Hidden                      = true;
     ultraGridColumn33.Header.VisiblePosition      = 35;
     ultraGridColumn33.Hidden                      = true;
     ultraGridColumn34.Header.VisiblePosition      = 36;
     ultraGridColumn34.Hidden                      = true;
     ultraGridColumn35.Header.VisiblePosition      = 37;
     ultraGridColumn35.Hidden                      = true;
     ultraGridColumn36.Header.VisiblePosition      = 38;
     ultraGridColumn36.Hidden                      = true;
     ultraGridColumn37.Header.VisiblePosition      = 39;
     ultraGridColumn37.Hidden                      = true;
     ultraGridColumn38.Header.VisiblePosition      = 40;
     ultraGridColumn38.Hidden                      = true;
     ultraGridColumn39.Header.VisiblePosition      = 41;
     ultraGridColumn39.Hidden                      = true;
     ultraGridColumn40.Header.VisiblePosition      = 42;
     ultraGridColumn40.Hidden                      = true;
     ultraGridColumn41.Header.Caption              = "S2 Main Zone";
     ultraGridColumn41.Header.VisiblePosition      = 43;
     ultraGridColumn41.Hidden                      = true;
     ultraGridColumn41.Width                       = 96;
     ultraGridColumn42.Header.Caption              = "S2 Tag";
     ultraGridColumn42.Header.VisiblePosition      = 8;
     ultraGridColumn42.Width                       = 48;
     ultraGridColumn43.Header.Caption              = "S2 Notes";
     ultraGridColumn43.Header.VisiblePosition      = 14;
     ultraGridColumn43.Width                       = 96;
     ultraGridColumn44.Header.VisiblePosition      = 44;
     ultraGridColumn44.Hidden                      = true;
     ultraGridColumn45.Header.VisiblePosition      = 45;
     ultraGridColumn45.Hidden                      = true;
     ultraGridColumn46.Header.VisiblePosition      = 46;
     ultraGridColumn46.Hidden                      = true;
     ultraGridColumn47.Header.VisiblePosition      = 47;
     ultraGridColumn47.Hidden                      = true;
     ultraGridColumn48.Header.VisiblePosition      = 48;
     ultraGridColumn48.Hidden                      = true;
     ultraGridColumn49.Header.VisiblePosition      = 49;
     ultraGridColumn49.Hidden                      = true;
     ultraGridColumn50.Header.VisiblePosition      = 50;
     ultraGridColumn50.Hidden                      = true;
     ultraGridColumn51.Header.Caption              = "Client#";
     ultraGridColumn51.Header.VisiblePosition      = 6;
     ultraGridColumn51.Width                       = 54;
     ultraGridColumn52.Header.VisiblePosition      = 51;
     ultraGridColumn52.Hidden                      = true;
     ultraGridColumn53.Header.VisiblePosition      = 52;
     ultraGridBand1.Columns.AddRange(new object[] {
         ultraGridColumn1,
         ultraGridColumn2,
         ultraGridColumn3,
         ultraGridColumn4,
         ultraGridColumn5,
         ultraGridColumn6,
         ultraGridColumn7,
         ultraGridColumn8,
         ultraGridColumn9,
         ultraGridColumn10,
         ultraGridColumn11,
         ultraGridColumn12,
         ultraGridColumn13,
         ultraGridColumn14,
         ultraGridColumn15,
         ultraGridColumn16,
         ultraGridColumn17,
         ultraGridColumn18,
         ultraGridColumn19,
         ultraGridColumn20,
         ultraGridColumn21,
         ultraGridColumn22,
         ultraGridColumn23,
         ultraGridColumn24,
         ultraGridColumn25,
         ultraGridColumn26,
         ultraGridColumn27,
         ultraGridColumn28,
         ultraGridColumn29,
         ultraGridColumn30,
         ultraGridColumn31,
         ultraGridColumn32,
         ultraGridColumn33,
         ultraGridColumn34,
         ultraGridColumn35,
         ultraGridColumn36,
         ultraGridColumn37,
         ultraGridColumn38,
         ultraGridColumn39,
         ultraGridColumn40,
         ultraGridColumn41,
         ultraGridColumn42,
         ultraGridColumn43,
         ultraGridColumn44,
         ultraGridColumn45,
         ultraGridColumn46,
         ultraGridColumn47,
         ultraGridColumn48,
         ultraGridColumn49,
         ultraGridColumn50,
         ultraGridColumn51,
         ultraGridColumn52,
         ultraGridColumn53
     });
     ultraGridBand1.SummaryFooterCaption      = "Grand Summaries";
     ultraGridColumn54.Header.VisiblePosition = 0;
     ultraGridColumn55.Header.VisiblePosition = 1;
     ultraGridColumn55.Width                  = 96;
     ultraGridColumn56.Header.Caption         = "Stop#";
     ultraGridColumn56.Header.VisiblePosition = 2;
     ultraGridColumn56.Width                  = 96;
     ultraGridColumn57.Header.VisiblePosition = 3;
     ultraGridColumn57.Hidden                 = true;
     ultraGridColumn58.Header.Caption         = "Agent#";
     ultraGridColumn58.Header.VisiblePosition = 4;
     ultraGridColumn58.Width                  = 96;
     ultraGridColumn59.Header.Caption         = "Main Zone";
     ultraGridColumn59.Header.VisiblePosition = 5;
     ultraGridColumn59.Width                  = 115;
     ultraGridColumn60.Header.VisiblePosition = 7;
     ultraGridColumn60.Width                  = 96;
     ultraGridColumn61.Header.VisiblePosition = 8;
     ultraGridColumn61.Width                  = 107;
     ultraGridColumn62.Format                 = "MM/dd/yyyy HH:mmtt";
     ultraGridColumn62.Header.Caption         = "Sched Arrival";
     ultraGridColumn62.Header.VisiblePosition = 9;
     ultraGridColumn62.Width                  = 96;
     ultraGridColumn63.Header.Caption         = "Sched OFD1";
     ultraGridColumn63.Header.VisiblePosition = 10;
     ultraGridColumn63.Width                  = 112;
     ultraGridColumn64.Header.VisiblePosition = 11;
     ultraGridColumn64.Hidden                 = true;
     ultraGridColumn65.Header.VisiblePosition = 12;
     ultraGridColumn65.Hidden                 = true;
     ultraGridColumn66.Header.VisiblePosition = 13;
     ultraGridColumn66.Hidden                 = true;
     ultraGridColumn67.Header.VisiblePosition = 14;
     ultraGridColumn67.Width                  = 112;
     ultraGridColumn68.Header.VisiblePosition = 15;
     ultraGridColumn69.Header.VisiblePosition = 17;
     ultraGridColumn70.Header.VisiblePosition = 19;
     ultraGridColumn71.Header.Caption         = "Assigned User";
     ultraGridColumn71.Header.VisiblePosition = 16;
     ultraGridColumn71.Width                  = 96;
     ultraGridColumn72.Format                 = "MM/dd/yyyy HH:mmtt";
     ultraGridColumn72.Header.Caption         = "Assigned Date";
     ultraGridColumn72.Header.VisiblePosition = 18;
     ultraGridColumn72.Width                  = 96;
     ultraGridColumn73.Header.VisiblePosition = 20;
     ultraGridColumn74.Header.VisiblePosition = 21;
     ultraGridColumn75.Header.Caption         = "Client#";
     ultraGridColumn75.Header.VisiblePosition = 6;
     ultraGridColumn76.Header.VisiblePosition = 22;
     ultraGridColumn76.Hidden                 = true;
     ultraGridBand2.Columns.AddRange(new object[] {
         ultraGridColumn54,
         ultraGridColumn55,
         ultraGridColumn56,
         ultraGridColumn57,
         ultraGridColumn58,
         ultraGridColumn59,
         ultraGridColumn60,
         ultraGridColumn61,
         ultraGridColumn62,
         ultraGridColumn63,
         ultraGridColumn64,
         ultraGridColumn65,
         ultraGridColumn66,
         ultraGridColumn67,
         ultraGridColumn68,
         ultraGridColumn69,
         ultraGridColumn70,
         ultraGridColumn71,
         ultraGridColumn72,
         ultraGridColumn73,
         ultraGridColumn74,
         ultraGridColumn75,
         ultraGridColumn76
     });
     ultraGridBand2.SummaryFooterCaption = "Summaries for [BANDHEADER]: [SCROLLTIPFIELD]";
     this.grdShipSchedule.DisplayLayout.BandsSerializer.Add(ultraGridBand1);
     this.grdShipSchedule.DisplayLayout.BandsSerializer.Add(ultraGridBand2);
     appearance2.BackColor             = System.Drawing.SystemColors.InactiveCaption;
     appearance2.FontData.BoldAsString = "True";
     appearance2.FontData.Name         = "Verdana";
     appearance2.FontData.SizeInPoints = 8F;
     appearance2.ForeColor             = System.Drawing.SystemColors.InactiveCaptionText;
     appearance2.TextHAlignAsString    = "Left";
     this.grdShipSchedule.DisplayLayout.CaptionAppearance        = appearance2;
     this.grdShipSchedule.DisplayLayout.Override.AllowAddNew     = Infragistics.Win.UltraWinGrid.AllowAddNew.No;
     this.grdShipSchedule.DisplayLayout.Override.AllowDelete     = Infragistics.Win.DefaultableBoolean.False;
     this.grdShipSchedule.DisplayLayout.Override.AllowUpdate     = Infragistics.Win.DefaultableBoolean.False;
     this.grdShipSchedule.DisplayLayout.Override.CellClickAction = Infragistics.Win.UltraWinGrid.CellClickAction.RowSelect;
     appearance3.BackColor             = System.Drawing.SystemColors.Control;
     appearance3.FontData.BoldAsString = "True";
     appearance3.FontData.Name         = "Verdana";
     appearance3.FontData.SizeInPoints = 8F;
     appearance3.TextHAlignAsString    = "Left";
     this.grdShipSchedule.DisplayLayout.Override.HeaderAppearance  = appearance3;
     this.grdShipSchedule.DisplayLayout.Override.HeaderClickAction = Infragistics.Win.UltraWinGrid.HeaderClickAction.SortSingle;
     this.grdShipSchedule.DisplayLayout.Override.MaxSelectedRows   = 1;
     appearance4.BorderColor = System.Drawing.SystemColors.ControlLight;
     this.grdShipSchedule.DisplayLayout.Override.RowAppearance = appearance4;
     this.grdShipSchedule.DisplayLayout.Override.RowSelectors  = Infragistics.Win.DefaultableBoolean.False;
     this.grdShipSchedule.DisplayLayout.Override.SelectTypeRow = Infragistics.Win.UltraWinGrid.SelectType.Single;
     this.grdShipSchedule.DisplayLayout.ScrollBounds           = Infragistics.Win.UltraWinGrid.ScrollBounds.ScrollToFill;
     this.grdShipSchedule.DisplayLayout.ScrollStyle            = Infragistics.Win.UltraWinGrid.ScrollStyle.Immediate;
     this.grdShipSchedule.DisplayLayout.TabNavigation          = Infragistics.Win.UltraWinGrid.TabNavigation.NextControl;
     this.grdShipSchedule.DisplayLayout.ViewStyle = Infragistics.Win.UltraWinGrid.ViewStyle.SingleBand;
     this.grdShipSchedule.Font               = new System.Drawing.Font("Verdana", 8.25F);
     this.grdShipSchedule.Location           = new System.Drawing.Point(0, 0);
     this.grdShipSchedule.Name               = "grdShipSchedule";
     this.grdShipSchedule.Size               = new System.Drawing.Size(570, 224);
     this.grdShipSchedule.TabIndex           = 1;
     this.grdShipSchedule.Text               = "Ship Schedule";
     this.grdShipSchedule.UseOsThemes        = Infragistics.Win.DefaultableBoolean.False;
     this.grdShipSchedule.InitializeRow     += new Infragistics.Win.UltraWinGrid.InitializeRowEventHandler(this.OnGridInitializeRow);
     this.grdShipSchedule.InitializeLayout  += new Infragistics.Win.UltraWinGrid.InitializeLayoutEventHandler(this.OnGridInitializeLayout);
     this.grdShipSchedule.AfterSelectChange += new Infragistics.Win.UltraWinGrid.AfterSelectChangeEventHandler(this.OnTripSelectionChanged);
     //
     // mShipScheduleDS
     //
     this.mShipScheduleDS.DataSetName             = "ShipScheduleDS";
     this.mShipScheduleDS.Locale                  = new System.Globalization.CultureInfo("en-US");
     this.mShipScheduleDS.SchemaSerializationMode = System.Data.SchemaSerializationMode.IncludeSchema;
     //
     // dtpScheduleDate
     //
     this.dtpScheduleDate.Anchor        = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
     this.dtpScheduleDate.CustomFormat  = "MMMM dd, yyyy";
     this.dtpScheduleDate.Format        = System.Windows.Forms.DateTimePickerFormat.Custom;
     this.dtpScheduleDate.Location      = new System.Drawing.Point(392, 1);
     this.dtpScheduleDate.MaxDate       = new System.DateTime(2030, 12, 31, 0, 0, 0, 0);
     this.dtpScheduleDate.MinDate       = new System.DateTime(2005, 1, 1, 0, 0, 0, 0);
     this.dtpScheduleDate.Name          = "dtpScheduleDate";
     this.dtpScheduleDate.Size          = new System.Drawing.Size(177, 21);
     this.dtpScheduleDate.TabIndex      = 2;
     this.dtpScheduleDate.ValueChanged += new System.EventHandler(this.OnScheduleDateChanged);
     this.dtpScheduleDate.DropDown     += new System.EventHandler(this.OnCalendarOpened);
     this.dtpScheduleDate.CloseUp      += new System.EventHandler(this.OnCalendarClosed);
     //
     // btnOK
     //
     this.btnOK.Anchor   = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
     this.btnOK.ImeMode  = System.Windows.Forms.ImeMode.NoControl;
     this.btnOK.Location = new System.Drawing.Point(368, 233);
     this.btnOK.Name     = "btnOK";
     this.btnOK.Size     = new System.Drawing.Size(96, 24);
     this.btnOK.TabIndex = 3;
     this.btnOK.Text     = "&OK";
     this.btnOK.Click   += new System.EventHandler(this.OnCmdClick);
     //
     // btnCancel
     //
     this.btnCancel.Anchor   = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
     this.btnCancel.ImeMode  = System.Windows.Forms.ImeMode.NoControl;
     this.btnCancel.Location = new System.Drawing.Point(470, 233);
     this.btnCancel.Name     = "btnCancel";
     this.btnCancel.Size     = new System.Drawing.Size(96, 24);
     this.btnCancel.TabIndex = 4;
     this.btnCancel.Text     = "&Cancel";
     this.btnCancel.Click   += new System.EventHandler(this.OnCmdClick);
     //
     // dlgTrip
     //
     this.AutoScaleBaseSize = new System.Drawing.Size(6, 14);
     this.ClientSize        = new System.Drawing.Size(570, 262);
     this.Controls.Add(this.btnCancel);
     this.Controls.Add(this.btnOK);
     this.Controls.Add(this.dtpScheduleDate);
     this.Controls.Add(this.grdShipSchedule);
     this.Font            = new System.Drawing.Font("Verdana", 8.25F);
     this.ForeColor       = System.Drawing.SystemColors.ControlText;
     this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedDialog;
     this.Icon            = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
     this.MaximizeBox     = false;
     this.MinimizeBox     = false;
     this.Name            = "dlgTrip";
     this.ShowInTaskbar   = false;
     this.SizeGripStyle   = System.Windows.Forms.SizeGripStyle.Hide;
     this.StartPosition   = System.Windows.Forms.FormStartPosition.CenterParent;
     this.Text            = "Destination Trip";
     this.Load           += new System.EventHandler(this.OnFormLoad);
     ((System.ComponentModel.ISupportInitialize)(this.grdShipSchedule)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.mShipScheduleDS)).EndInit();
     this.ResumeLayout(false);
 }
Пример #35
0
        private void InitializeComponent()
        {
            this.userControlDataGridSHEMAPLACA = new SHEMAPLACADataGrid();
            ((ISupportInitialize)this.userControlDataGridSHEMAPLACA).BeginInit();
            UltraGridBand   band     = new UltraGridBand("SHEMAPLACA", -1);
            UltraGridColumn column   = new UltraGridColumn("IDSHEMAPLACA");
            UltraGridColumn column2  = new UltraGridColumn("NAZIVSHEMAPLACA");
            UltraGridColumn column23 = new UltraGridColumn("SHEMAPLOJIDORGJED");
            UltraGridBand   band2    = new UltraGridBand("SHEMAPLACA_SHEMAPLACASHEMAPLACADOP", 0);
            UltraGridColumn column3  = new UltraGridColumn("IDSHEMAPLACA");
            UltraGridColumn column6  = new UltraGridColumn("SHEMAPLDOPIDDOPRINOS");
            UltraGridColumn column4  = new UltraGridColumn("KONTODOPIDKONTO");
            UltraGridColumn column5  = new UltraGridColumn("MTDOPIDMJESTOTROSKA");
            UltraGridColumn column8  = new UltraGridColumn("STRANEDOPIDSTRANEKNJIZENJA");
            UltraGridColumn column7  = new UltraGridColumn("SHEMAPLDOPNAZIVDOPRINOS");
            UltraGridBand   band3    = new UltraGridBand("SHEMAPLACA_SHEMAPLACASHEMAPLACAELEMENT", 0);
            UltraGridColumn column9  = new UltraGridColumn("IDSHEMAPLACA");
            UltraGridColumn column12 = new UltraGridColumn("SHEMAPLELEMENTIDELEMENT");
            UltraGridColumn column10 = new UltraGridColumn("KONTOELEMENTIDKONTO");
            UltraGridColumn column15 = new UltraGridColumn("STRANEELEMENTIDSTRANEKNJIZENJA");
            UltraGridColumn column11 = new UltraGridColumn("MTELEMENTIDMJESTOTROSKA");
            UltraGridColumn column14 = new UltraGridColumn("SHEMAPLELEMENTNAZIVELEMENT");
            UltraGridColumn column13 = new UltraGridColumn("SHEMAPLELEMENTIDVRSTAELEMENTA");
            UltraGridBand   band4    = new UltraGridBand("SHEMAPLACA_SHEMAPLACASHEMAPLACASTANDARD", 0);
            UltraGridColumn column17 = new UltraGridColumn("IDSHEMAPLACA");
            UltraGridColumn column21 = new UltraGridColumn("SHEMAPLACASTANDARDID");
            UltraGridColumn column16 = new UltraGridColumn("IDPLVRSTEIZNOSA");
            UltraGridColumn column18 = new UltraGridColumn("KONTOPLACAVRSTAIZNOSAIDKONTO");
            UltraGridColumn column19 = new UltraGridColumn("MTPLACAVRSTAIZNOSAIDMJESTOTROSKA");
            UltraGridColumn column22 = new UltraGridColumn("STRANEVRSTEIZNOSAIDSTRANEKNJIZENJA");
            UltraGridColumn column20 = new UltraGridColumn("NAZIVPLVRSTEIZNOSA");

            this.SuspendLayout();
            Infragistics.Win.Appearance appearance = new Infragistics.Win.Appearance();
            column.CellActivation     = Activation.NoEdit;
            column.ButtonDisplayStyle = Infragistics.Win.UltraWinGrid.ButtonDisplayStyle.OnCellActivate;
            column.Header.Caption     = StringResources.SHEMAPLACAIDSHEMAPLACADescription;
            column.Width          = 0x33;
            appearance.TextHAlign = HAlign.Right;
            column.MaskInput      = "{LOC}-nnnnn";
            column.PromptChar     = ' ';
            column.Format         = "";
            column.CellAppearance = appearance;
            Infragistics.Win.Appearance appearance2 = new Infragistics.Win.Appearance();
            column2.CellActivation     = Activation.NoEdit;
            column2.ButtonDisplayStyle = Infragistics.Win.UltraWinGrid.ButtonDisplayStyle.OnCellActivate;
            column2.Header.Caption     = StringResources.SHEMAPLACANAZIVSHEMAPLACADescription;
            column2.Width          = 0x128;
            column2.Format         = "";
            column2.CellAppearance = appearance2;
            Infragistics.Win.Appearance appearance23 = new Infragistics.Win.Appearance();
            column23.CellActivation     = Activation.NoEdit;
            column23.ButtonDisplayStyle = Infragistics.Win.UltraWinGrid.ButtonDisplayStyle.OnCellActivate;
            column23.Header.Caption     = StringResources.SHEMAPLACASHEMAPLOJIDORGJEDDescription;
            column23.Width          = 0x69;
            column23.Format         = "";
            column23.CellAppearance = appearance23;
            Infragistics.Win.Appearance appearance3 = new Infragistics.Win.Appearance();
            column3.CellActivation     = Activation.NoEdit;
            column3.ButtonDisplayStyle = Infragistics.Win.UltraWinGrid.ButtonDisplayStyle.OnCellActivate;
            column3.Header.Caption     = StringResources.SHEMAPLACAIDSHEMAPLACADescription;
            column3.Width          = 0x33;
            appearance3.TextHAlign = HAlign.Right;
            column3.MaskInput      = "{LOC}-nnnnn";
            column3.PromptChar     = ' ';
            column3.Format         = "";
            column3.CellAppearance = appearance3;
            column3.Hidden         = true;
            Infragistics.Win.Appearance appearance6 = new Infragistics.Win.Appearance();
            column6.CellActivation     = Activation.NoEdit;
            column6.ButtonDisplayStyle = Infragistics.Win.UltraWinGrid.ButtonDisplayStyle.OnCellActivate;
            column6.Header.Caption     = StringResources.SHEMAPLACASHEMAPLDOPIDDOPRINOSDescription;
            column6.Width          = 0x77;
            appearance6.TextHAlign = HAlign.Right;
            column6.MaskInput      = "{LOC}-nnnnnnnn";
            column6.PromptChar     = ' ';
            column6.Format         = "";
            column6.CellAppearance = appearance6;
            column6.Hidden         = true;
            Infragistics.Win.Appearance appearance4 = new Infragistics.Win.Appearance();
            column4.CellActivation     = Activation.NoEdit;
            column4.ButtonDisplayStyle = Infragistics.Win.UltraWinGrid.ButtonDisplayStyle.OnCellActivate;
            column4.Header.Caption     = StringResources.SHEMAPLACAKONTODOPIDKONTODescription;
            column4.Width          = 0x72;
            column4.Format         = "";
            column4.CellAppearance = appearance4;
            Infragistics.Win.Appearance appearance5 = new Infragistics.Win.Appearance();
            column5.CellActivation     = Activation.NoEdit;
            column5.ButtonDisplayStyle = Infragistics.Win.UltraWinGrid.ButtonDisplayStyle.OnCellActivate;
            column5.Header.Caption     = StringResources.SHEMAPLACAMTDOPIDMJESTOTROSKADescription;
            column5.Width          = 0x69;
            column5.Format         = "";
            column5.CellAppearance = appearance5;
            Infragistics.Win.Appearance appearance8 = new Infragistics.Win.Appearance();
            column8.CellActivation     = Activation.NoEdit;
            column8.ButtonDisplayStyle = Infragistics.Win.UltraWinGrid.ButtonDisplayStyle.OnCellActivate;
            column8.Header.Caption     = StringResources.SHEMAPLACASTRANEDOPIDSTRANEKNJIZENJADescription;
            column8.Width          = 0x7e;
            column8.Format         = "";
            column8.CellAppearance = appearance8;
            Infragistics.Win.Appearance appearance7 = new Infragistics.Win.Appearance();
            column7.CellActivation     = Activation.NoEdit;
            column7.ButtonDisplayStyle = Infragistics.Win.UltraWinGrid.ButtonDisplayStyle.OnCellActivate;
            column7.Header.Caption     = StringResources.SHEMAPLACASHEMAPLDOPNAZIVDOPRINOSDescription;
            column7.Width          = 0x128;
            column7.Format         = "";
            column7.CellAppearance = appearance7;
            band2.Columns.Add(column3);
            column3.Header.VisiblePosition = 0;
            band2.Columns.Add(column7);
            column7.Header.VisiblePosition = 1;
            band2.Columns.Add(column4);
            column4.Header.VisiblePosition = 2;
            band2.Columns.Add(column5);
            column5.Header.VisiblePosition = 3;
            band2.Columns.Add(column8);
            column8.Header.VisiblePosition = 4;
            band2.Columns.Add(column6);
            column6.Header.VisiblePosition = 5;
            Infragistics.Win.Appearance appearance9 = new Infragistics.Win.Appearance();
            column9.CellActivation     = Activation.NoEdit;
            column9.ButtonDisplayStyle = Infragistics.Win.UltraWinGrid.ButtonDisplayStyle.OnCellActivate;
            column9.Header.Caption     = StringResources.SHEMAPLACAIDSHEMAPLACADescription;
            column9.Width          = 0x33;
            appearance9.TextHAlign = HAlign.Right;
            column9.MaskInput      = "{LOC}-nnnnn";
            column9.PromptChar     = ' ';
            column9.Format         = "";
            column9.CellAppearance = appearance9;
            column9.Hidden         = true;
            Infragistics.Win.Appearance appearance12 = new Infragistics.Win.Appearance();
            column12.CellActivation     = Activation.NoEdit;
            column12.ButtonDisplayStyle = Infragistics.Win.UltraWinGrid.ButtonDisplayStyle.OnCellActivate;
            column12.Header.Caption     = StringResources.SHEMAPLACASHEMAPLELEMENTIDELEMENTDescription;
            column12.Width          = 0x70;
            column12.Format         = "";
            column12.CellAppearance = appearance12;
            column12.Hidden         = true;
            Infragistics.Win.Appearance appearance10 = new Infragistics.Win.Appearance();
            column10.CellActivation     = Activation.NoEdit;
            column10.ButtonDisplayStyle = Infragistics.Win.UltraWinGrid.ButtonDisplayStyle.OnCellActivate;
            column10.Header.Caption     = StringResources.SHEMAPLACAKONTOELEMENTIDKONTODescription;
            column10.Width          = 0x72;
            column10.Format         = "";
            column10.CellAppearance = appearance10;
            Infragistics.Win.Appearance appearance15 = new Infragistics.Win.Appearance();
            column15.CellActivation     = Activation.NoEdit;
            column15.ButtonDisplayStyle = Infragistics.Win.UltraWinGrid.ButtonDisplayStyle.OnCellActivate;
            column15.Header.Caption     = StringResources.SHEMAPLACASTRANEELEMENTIDSTRANEKNJIZENJADescription;
            column15.Width          = 0x7e;
            column15.Format         = "";
            column15.CellAppearance = appearance15;
            Infragistics.Win.Appearance appearance11 = new Infragistics.Win.Appearance();
            column11.CellActivation     = Activation.NoEdit;
            column11.ButtonDisplayStyle = Infragistics.Win.UltraWinGrid.ButtonDisplayStyle.OnCellActivate;
            column11.Header.Caption     = StringResources.SHEMAPLACAMTELEMENTIDMJESTOTROSKADescription;
            column11.Width          = 0x69;
            column11.Format         = "";
            column11.CellAppearance = appearance11;
            Infragistics.Win.Appearance appearance14 = new Infragistics.Win.Appearance();
            column14.CellActivation     = Activation.NoEdit;
            column14.ButtonDisplayStyle = Infragistics.Win.UltraWinGrid.ButtonDisplayStyle.OnCellActivate;
            column14.Header.Caption     = StringResources.SHEMAPLACASHEMAPLELEMENTNAZIVELEMENTDescription;
            column14.Width          = 0x128;
            column14.Format         = "";
            column14.CellAppearance = appearance14;
            Infragistics.Win.Appearance appearance13 = new Infragistics.Win.Appearance();
            column13.CellActivation     = Activation.NoEdit;
            column13.ButtonDisplayStyle = Infragistics.Win.UltraWinGrid.ButtonDisplayStyle.OnCellActivate;
            column13.Header.Caption     = StringResources.SHEMAPLACASHEMAPLELEMENTIDVRSTAELEMENTADescription;
            column13.Width          = 0x99;
            appearance13.TextHAlign = HAlign.Right;
            column13.MaskInput      = "{LOC}-nnnn";
            column13.PromptChar     = ' ';
            column13.Format         = "";
            column13.CellAppearance = appearance13;
            column13.Hidden         = true;
            band3.Columns.Add(column9);
            column9.Header.VisiblePosition = 0;
            band3.Columns.Add(column14);
            column14.Header.VisiblePosition = 1;
            band3.Columns.Add(column10);
            column10.Header.VisiblePosition = 2;
            band3.Columns.Add(column11);
            column11.Header.VisiblePosition = 3;
            band3.Columns.Add(column15);
            column15.Header.VisiblePosition = 4;
            band3.Columns.Add(column12);
            column12.Header.VisiblePosition = 5;
            band3.Columns.Add(column13);
            column13.Header.VisiblePosition = 6;
            Infragistics.Win.Appearance appearance17 = new Infragistics.Win.Appearance();
            column17.CellActivation     = Activation.NoEdit;
            column17.ButtonDisplayStyle = Infragistics.Win.UltraWinGrid.ButtonDisplayStyle.OnCellActivate;
            column17.Header.Caption     = StringResources.SHEMAPLACAIDSHEMAPLACADescription;
            column17.Width          = 0x33;
            appearance17.TextHAlign = HAlign.Right;
            column17.MaskInput      = "{LOC}-nnnnn";
            column17.PromptChar     = ' ';
            column17.Format         = "";
            column17.CellAppearance = appearance17;
            column17.Hidden         = true;
            Infragistics.Win.Appearance appearance21 = new Infragistics.Win.Appearance();
            column21.CellActivation     = Activation.NoEdit;
            column21.ButtonDisplayStyle = Infragistics.Win.UltraWinGrid.ButtonDisplayStyle.OnCellActivate;
            column21.Header.Caption     = StringResources.SHEMAPLACASHEMAPLACASTANDARDIDDescription;
            column21.Width          = 0x10c;
            column21.Format         = "";
            column21.CellAppearance = appearance21;
            column21.Hidden         = true;
            Infragistics.Win.Appearance appearance16 = new Infragistics.Win.Appearance();
            column16.CellActivation     = Activation.NoEdit;
            column16.ButtonDisplayStyle = Infragistics.Win.UltraWinGrid.ButtonDisplayStyle.OnCellActivate;
            column16.Header.Caption     = StringResources.SHEMAPLACAIDPLVRSTEIZNOSADescription;
            column16.Width          = 0x63;
            column16.Format         = "";
            column16.CellAppearance = appearance16;
            column16.Hidden         = true;
            Infragistics.Win.Appearance appearance18 = new Infragistics.Win.Appearance();
            column18.CellActivation     = Activation.NoEdit;
            column18.ButtonDisplayStyle = Infragistics.Win.UltraWinGrid.ButtonDisplayStyle.OnCellActivate;
            column18.Header.Caption     = StringResources.SHEMAPLACAKONTOPLACAVRSTAIZNOSAIDKONTODescription;
            column18.Width          = 0x72;
            column18.Format         = "";
            column18.CellAppearance = appearance18;
            Infragistics.Win.Appearance appearance19 = new Infragistics.Win.Appearance();
            column19.CellActivation     = Activation.NoEdit;
            column19.ButtonDisplayStyle = Infragistics.Win.UltraWinGrid.ButtonDisplayStyle.OnCellActivate;
            column19.Header.Caption     = StringResources.SHEMAPLACAMTPLACAVRSTAIZNOSAIDMJESTOTROSKADescription;
            column19.Width          = 0x69;
            column19.Format         = "";
            column19.CellAppearance = appearance19;
            Infragistics.Win.Appearance appearance22 = new Infragistics.Win.Appearance();
            column22.CellActivation     = Activation.NoEdit;
            column22.ButtonDisplayStyle = Infragistics.Win.UltraWinGrid.ButtonDisplayStyle.OnCellActivate;
            column22.Header.Caption     = StringResources.SHEMAPLACASTRANEVRSTEIZNOSAIDSTRANEKNJIZENJADescription;
            column22.Width          = 0x77;
            column22.Format         = "";
            column22.CellAppearance = appearance22;
            Infragistics.Win.Appearance appearance20 = new Infragistics.Win.Appearance();
            column20.CellActivation     = Activation.NoEdit;
            column20.ButtonDisplayStyle = Infragistics.Win.UltraWinGrid.ButtonDisplayStyle.OnCellActivate;
            column20.Header.Caption     = StringResources.SHEMAPLACANAZIVPLVRSTEIZNOSADescription;
            column20.Width          = 0x128;
            column20.Format         = "";
            column20.CellAppearance = appearance20;
            band4.Columns.Add(column17);
            column17.Header.VisiblePosition = 0;
            band4.Columns.Add(column20);
            column20.Header.VisiblePosition = 1;
            band4.Columns.Add(column18);
            column18.Header.VisiblePosition = 2;
            band4.Columns.Add(column19);
            column19.Header.VisiblePosition = 3;
            band4.Columns.Add(column22);
            column22.Header.VisiblePosition = 4;
            band4.Columns.Add(column21);
            column21.Header.VisiblePosition = 5;
            band4.Columns.Add(column16);
            column16.Header.VisiblePosition = 6;
            band.Columns.Add(column);
            column.Header.VisiblePosition = 0;
            band.Columns.Add(column2);
            column2.Header.VisiblePosition = 1;
            band.Columns.Add(column23);
            column23.Header.VisiblePosition            = 2;
            this.userControlDataGridSHEMAPLACA.Visible = true;
            System.Drawing.Point point = new System.Drawing.Point(0, 0);
            this.userControlDataGridSHEMAPLACA.Location = point;
            this.userControlDataGridSHEMAPLACA.Name     = "userControlDataGridSHEMAPLACA";
            this.userControlDataGridSHEMAPLACA.Tag      = "SHEMAPLACA";
            Size size = new System.Drawing.Size(0x200, 0x144);

            this.userControlDataGridSHEMAPLACA.Size = size;
            this.userControlDataGridSHEMAPLACA.DisplayLayout.BorderStyle = UIElementBorderStyle.None;
            this.userControlDataGridSHEMAPLACA.Dock          = DockStyle.Fill;
            this.userControlDataGridSHEMAPLACA.FillAtStartup = false;
            this.userControlDataGridSHEMAPLACA.DisplayLayout.Appearance.TextHAlign = HAlign.Left;
            this.userControlDataGridSHEMAPLACA.InitializeRow += new InitializeRowEventHandler(this.SHEMAPLACAUserDataGrid_InitializeRow);
            this.userControlDataGridSHEMAPLACA.DisplayLayout.BandsSerializer.Add(band);
            this.userControlDataGridSHEMAPLACA.DisplayLayout.BandsSerializer.Add(band2);
            this.userControlDataGridSHEMAPLACA.DisplayLayout.BandsSerializer.Add(band3);
            this.userControlDataGridSHEMAPLACA.DisplayLayout.BandsSerializer.Add(band4);
            this.Controls.AddRange(new Control[] { this.userControlDataGridSHEMAPLACA });
            this.Name  = "SHEMAPLACAUserDataGrid";
            size       = new System.Drawing.Size(0x200, 0x144);
            this.Size  = size;
            this.Load += new EventHandler(this.SHEMAPLACAUserDataGrid_Load);
            ((ISupportInitialize)this.userControlDataGridSHEMAPLACA).EndInit();
            this.ResumeLayout(false);
        }
Пример #36
0
 private Infragistics.Win.Appearance getFastAppearance()
 {
   return m_fastAppearance ??
          (m_fastAppearance = new Infragistics.Win.Appearance() {ForeColor = LookFeel.PositiveColor});
 }
Пример #37
0
        private void InitializeComponent()
        {
            this.userControlDataGridS_FIN_PROMET_PO_KONTIMA = new S_FIN_PROMET_PO_KONTIMADataGrid();
            ((ISupportInitialize)this.userControlDataGridS_FIN_PROMET_PO_KONTIMA).BeginInit();
            UltraGridBand   band    = new UltraGridBand("S_FIN_PROMET_PO_KONTIMA", -1);
            UltraGridColumn column3 = new UltraGridColumn("konto");
            UltraGridColumn column4 = new UltraGridColumn("NAZIVKONTO");
            UltraGridColumn column2 = new UltraGridColumn("duguje");
            UltraGridColumn column5 = new UltraGridColumn("POTRAZUJE");
            UltraGridColumn column  = new UltraGridColumn("BROJSTAVAKA");

            this.SuspendLayout();
            Infragistics.Win.Appearance appearance3 = new Infragistics.Win.Appearance();
            column3.CellActivation     = Activation.NoEdit;
            column3.ButtonDisplayStyle = Infragistics.Win.UltraWinGrid.ButtonDisplayStyle.OnCellActivate;
            column3.Header.Caption     = StringResources.S_FIN_PROMET_PO_KONTIMAkontoDescription;
            column3.Width          = 0x79;
            column3.Format         = "";
            column3.CellAppearance = appearance3;
            Infragistics.Win.Appearance appearance4 = new Infragistics.Win.Appearance();
            column4.CellActivation     = Activation.NoEdit;
            column4.ButtonDisplayStyle = Infragistics.Win.UltraWinGrid.ButtonDisplayStyle.OnCellActivate;
            column4.Header.Caption     = StringResources.S_FIN_PROMET_PO_KONTIMANAZIVKONTODescription;
            column4.Width          = 0x128;
            column4.Format         = "";
            column4.CellAppearance = appearance4;
            Infragistics.Win.Appearance appearance2 = new Infragistics.Win.Appearance();
            column2.CellActivation     = Activation.NoEdit;
            column2.ButtonDisplayStyle = Infragistics.Win.UltraWinGrid.ButtonDisplayStyle.OnCellActivate;
            column2.Header.Caption     = StringResources.S_FIN_PROMET_PO_KONTIMAdugujeDescription;
            column2.Width          = 0x66;
            appearance2.TextHAlign = HAlign.Right;
            column2.MaskInput      = "{LOC}-nnnnnnnnnn.nn";
            column2.PromptChar     = ' ';
            column2.Format         = "F2";
            column2.CellAppearance = appearance2;
            Infragistics.Win.Appearance appearance5 = new Infragistics.Win.Appearance();
            column5.CellActivation     = Activation.NoEdit;
            column5.ButtonDisplayStyle = Infragistics.Win.UltraWinGrid.ButtonDisplayStyle.OnCellActivate;
            column5.Header.Caption     = StringResources.S_FIN_PROMET_PO_KONTIMAPOTRAZUJEDescription;
            column5.Width          = 0x66;
            appearance5.TextHAlign = HAlign.Right;
            column5.MaskInput      = "{LOC}-nnnnnnnnnn.nn";
            column5.PromptChar     = ' ';
            column5.Format         = "F2";
            column5.CellAppearance = appearance5;
            Infragistics.Win.Appearance appearance = new Infragistics.Win.Appearance();
            column.CellActivation     = Activation.NoEdit;
            column.ButtonDisplayStyle = Infragistics.Win.UltraWinGrid.ButtonDisplayStyle.OnCellActivate;
            column.Header.Caption     = StringResources.S_FIN_PROMET_PO_KONTIMABROJSTAVAKADescription;
            column.Width          = 0x5c;
            appearance.TextHAlign = HAlign.Right;
            column.MaskInput      = "{LOC}-nnnnn";
            column.PromptChar     = ' ';
            column.Format         = "";
            column.CellAppearance = appearance;
            band.Columns.Add(column3);
            column3.Header.VisiblePosition = 0;
            band.Columns.Add(column4);
            column4.Header.VisiblePosition = 1;
            band.Columns.Add(column2);
            column2.Header.VisiblePosition = 2;
            band.Columns.Add(column5);
            column5.Header.VisiblePosition = 3;
            band.Columns.Add(column);
            column.Header.VisiblePosition = 4;
            this.userControlDataGridS_FIN_PROMET_PO_KONTIMA.Visible = true;
            System.Drawing.Point point = new System.Drawing.Point(0, 0);
            this.userControlDataGridS_FIN_PROMET_PO_KONTIMA.Location = point;
            this.userControlDataGridS_FIN_PROMET_PO_KONTIMA.Name     = "userControlDataGridS_FIN_PROMET_PO_KONTIMA";
            this.userControlDataGridS_FIN_PROMET_PO_KONTIMA.Tag      = "S_FIN_PROMET_PO_KONTIMA";
            Size size = new System.Drawing.Size(0x200, 0x144);

            this.userControlDataGridS_FIN_PROMET_PO_KONTIMA.Size = size;
            this.userControlDataGridS_FIN_PROMET_PO_KONTIMA.DisplayLayout.BorderStyle = UIElementBorderStyle.None;
            this.userControlDataGridS_FIN_PROMET_PO_KONTIMA.Dock          = DockStyle.Fill;
            this.userControlDataGridS_FIN_PROMET_PO_KONTIMA.FillAtStartup = false;
            this.userControlDataGridS_FIN_PROMET_PO_KONTIMA.DisplayLayout.Appearance.TextHAlign = HAlign.Left;
            this.userControlDataGridS_FIN_PROMET_PO_KONTIMA.InitializeRow += new InitializeRowEventHandler(this.S_FIN_PROMET_PO_KONTIMAUserDataGrid_InitializeRow);
            this.userControlDataGridS_FIN_PROMET_PO_KONTIMA.DisplayLayout.BandsSerializer.Add(band);
            this.Controls.AddRange(new Control[] { this.userControlDataGridS_FIN_PROMET_PO_KONTIMA });
            this.Name  = "S_FIN_PROMET_PO_KONTIMAUserDataGrid";
            size       = new System.Drawing.Size(0x200, 0x144);
            this.Size  = size;
            this.Load += new EventHandler(this.S_FIN_PROMET_PO_KONTIMAUserDataGrid_Load);
            ((ISupportInitialize)this.userControlDataGridS_FIN_PROMET_PO_KONTIMA).EndInit();
            this.ResumeLayout(false);
        }
Пример #38
0
 private Infragistics.Win.Appearance getSlowAppearance()
 {
   return m_slowAppearance ??
          (m_slowAppearance = new Infragistics.Win.Appearance {ForeColor = LookFeel.NegativeColor});
 }
Пример #39
0
        private void InitializeComponent()
        {
            this.userControlDataGridS_FIN_DNEVNIK = new S_FIN_DNEVNIKDataGrid();
            ((ISupportInitialize)this.userControlDataGridS_FIN_DNEVNIK).BeginInit();
            UltraGridBand   band     = new UltraGridBand("S_FIN_DNEVNIK", -1);
            UltraGridColumn column4  = new UltraGridColumn("duguje");
            UltraGridColumn column14 = new UltraGridColumn("POTRAZUJE");
            UltraGridColumn column9  = new UltraGridColumn("konto");
            UltraGridColumn column3  = new UltraGridColumn("DATUMDOK");
            UltraGridColumn column15 = new UltraGridColumn("SKRACENI");
            UltraGridColumn column   = new UltraGridColumn("BROJDOK");
            UltraGridColumn column2  = new UltraGridColumn("BROJSTAVKE");
            UltraGridColumn column12 = new UltraGridColumn("OPISKNJIZENJA");
            UltraGridColumn column10 = new UltraGridColumn("NAZIVKONTO");
            UltraGridColumn column5  = new UltraGridColumn("IDDOKUMENT");
            UltraGridColumn column7  = new UltraGridColumn("IDORGJED");
            UltraGridColumn column6  = new UltraGridColumn("IDMJESTOTROSKA");
            UltraGridColumn column8  = new UltraGridColumn("IDPARTNER");
            UltraGridColumn column11 = new UltraGridColumn("NAZIVPARTNER");
            UltraGridColumn column13 = new UltraGridColumn("ORIGINALNIDOKUMENT");

            this.SuspendLayout();
            Infragistics.Win.Appearance appearance4 = new Infragistics.Win.Appearance();
            column4.CellActivation     = Activation.NoEdit;
            column4.ButtonDisplayStyle = Infragistics.Win.UltraWinGrid.ButtonDisplayStyle.OnCellActivate;
            column4.Header.Caption     = StringResources.S_FIN_DNEVNIKdugujeDescription;
            column4.Width          = 0x66;
            appearance4.TextHAlign = HAlign.Right;
            column4.MaskInput      = "{LOC}-nnnnnnnnnn.nn";
            column4.PromptChar     = ' ';
            column4.Format         = "F2";
            column4.CellAppearance = appearance4;
            Infragistics.Win.Appearance appearance14 = new Infragistics.Win.Appearance();
            column14.CellActivation     = Activation.NoEdit;
            column14.ButtonDisplayStyle = Infragistics.Win.UltraWinGrid.ButtonDisplayStyle.OnCellActivate;
            column14.Header.Caption     = StringResources.S_FIN_DNEVNIKPOTRAZUJEDescription;
            column14.Width          = 0x66;
            appearance14.TextHAlign = HAlign.Right;
            column14.MaskInput      = "{LOC}-nnnnnnnnnn.nn";
            column14.PromptChar     = ' ';
            column14.Format         = "F2";
            column14.CellAppearance = appearance14;
            Infragistics.Win.Appearance appearance9 = new Infragistics.Win.Appearance();
            column9.CellActivation     = Activation.NoEdit;
            column9.ButtonDisplayStyle = Infragistics.Win.UltraWinGrid.ButtonDisplayStyle.OnCellActivate;
            column9.Header.Caption     = StringResources.S_FIN_DNEVNIKkontoDescription;
            column9.Width          = 0x79;
            column9.Format         = "";
            column9.CellAppearance = appearance9;
            Infragistics.Win.Appearance appearance3 = new Infragistics.Win.Appearance();
            column3.CellActivation     = Activation.NoEdit;
            column3.ButtonDisplayStyle = Infragistics.Win.UltraWinGrid.ButtonDisplayStyle.OnCellActivate;
            column3.Header.Caption     = StringResources.S_FIN_DNEVNIKDATUMDOKDescription;
            column3.Width          = 100;
            column3.MinValue       = DateTime.MinValue;
            column3.MaxValue       = DateTime.MaxValue;
            column3.Format         = "d";
            column3.CellAppearance = appearance3;
            Infragistics.Win.Appearance appearance15 = new Infragistics.Win.Appearance();
            column15.CellActivation     = Activation.NoEdit;
            column15.ButtonDisplayStyle = Infragistics.Win.UltraWinGrid.ButtonDisplayStyle.OnCellActivate;
            column15.Header.Caption     = StringResources.S_FIN_DNEVNIKSKRACENIDescription;
            column15.Width          = 0x128;
            column15.Format         = "";
            column15.CellAppearance = appearance15;
            Infragistics.Win.Appearance appearance = new Infragistics.Win.Appearance();
            column.CellActivation     = Activation.NoEdit;
            column.ButtonDisplayStyle = Infragistics.Win.UltraWinGrid.ButtonDisplayStyle.OnCellActivate;
            column.Header.Caption     = StringResources.S_FIN_DNEVNIKBROJDOKDescription;
            column.Width          = 0x48;
            appearance.TextHAlign = HAlign.Right;
            column.MaskInput      = "{LOC}-nnnnnnnn";
            column.PromptChar     = ' ';
            column.Format         = "";
            column.CellAppearance = appearance;
            Infragistics.Win.Appearance appearance2 = new Infragistics.Win.Appearance();
            column2.CellActivation     = Activation.NoEdit;
            column2.ButtonDisplayStyle = Infragistics.Win.UltraWinGrid.ButtonDisplayStyle.OnCellActivate;
            column2.Header.Caption     = StringResources.S_FIN_DNEVNIKBROJSTAVKEDescription;
            column2.Width          = 0x55;
            appearance2.TextHAlign = HAlign.Right;
            column2.MaskInput      = "{LOC}-nnnnnn";
            column2.PromptChar     = ' ';
            column2.Format         = "";
            column2.CellAppearance = appearance2;
            Infragistics.Win.Appearance appearance12 = new Infragistics.Win.Appearance();
            column12.CellActivation     = Activation.NoEdit;
            column12.ButtonDisplayStyle = Infragistics.Win.UltraWinGrid.ButtonDisplayStyle.OnCellActivate;
            column12.Header.Caption     = StringResources.S_FIN_DNEVNIKOPISKNJIZENJADescription;
            column12.Width          = 0x128;
            column12.Format         = "";
            column12.CellAppearance = appearance12;
            Infragistics.Win.Appearance appearance10 = new Infragistics.Win.Appearance();
            column10.CellActivation     = Activation.NoEdit;
            column10.ButtonDisplayStyle = Infragistics.Win.UltraWinGrid.ButtonDisplayStyle.OnCellActivate;
            column10.Header.Caption     = StringResources.S_FIN_DNEVNIKNAZIVKONTODescription;
            column10.Width          = 0x128;
            column10.Format         = "";
            column10.CellAppearance = appearance10;
            Infragistics.Win.Appearance appearance5 = new Infragistics.Win.Appearance();
            column5.CellActivation     = Activation.NoEdit;
            column5.ButtonDisplayStyle = Infragistics.Win.UltraWinGrid.ButtonDisplayStyle.OnCellActivate;
            column5.Header.Caption     = StringResources.S_FIN_DNEVNIKIDDOKUMENTDescription;
            column5.Width          = 0x77;
            appearance5.TextHAlign = HAlign.Right;
            column5.MaskInput      = "{LOC}-nnnnnnnn";
            column5.PromptChar     = ' ';
            column5.Format         = "";
            column5.CellAppearance = appearance5;
            Infragistics.Win.Appearance appearance7 = new Infragistics.Win.Appearance();
            column7.CellActivation     = Activation.NoEdit;
            column7.ButtonDisplayStyle = Infragistics.Win.UltraWinGrid.ButtonDisplayStyle.OnCellActivate;
            column7.Header.Caption     = StringResources.S_FIN_DNEVNIKIDORGJEDDescription;
            column7.Width          = 0x48;
            appearance7.TextHAlign = HAlign.Right;
            column7.MaskInput      = "{LOC}-nnnnnnnn";
            column7.PromptChar     = ' ';
            column7.Format         = "";
            column7.CellAppearance = appearance7;
            Infragistics.Win.Appearance appearance6 = new Infragistics.Win.Appearance();
            column6.CellActivation     = Activation.NoEdit;
            column6.ButtonDisplayStyle = Infragistics.Win.UltraWinGrid.ButtonDisplayStyle.OnCellActivate;
            column6.Header.Caption     = StringResources.S_FIN_DNEVNIKIDMJESTOTROSKADescription;
            column6.Width          = 0x48;
            appearance6.TextHAlign = HAlign.Right;
            column6.MaskInput      = "{LOC}-nnnnnnnn";
            column6.PromptChar     = ' ';
            column6.Format         = "";
            column6.CellAppearance = appearance6;
            Infragistics.Win.Appearance appearance8 = new Infragistics.Win.Appearance();
            column8.CellActivation     = Activation.NoEdit;
            column8.ButtonDisplayStyle = Infragistics.Win.UltraWinGrid.ButtonDisplayStyle.OnCellActivate;
            column8.Header.Caption     = StringResources.S_FIN_DNEVNIKIDPARTNERDescription;
            column8.Width          = 0x70;
            appearance8.TextHAlign = HAlign.Right;
            column8.MaskInput      = "{LOC}-nnnnnnnnn";
            column8.PromptChar     = ' ';
            column8.Format         = "";
            column8.CellAppearance = appearance8;
            Infragistics.Win.Appearance appearance11 = new Infragistics.Win.Appearance();
            column11.CellActivation     = Activation.NoEdit;
            column11.ButtonDisplayStyle = Infragistics.Win.UltraWinGrid.ButtonDisplayStyle.OnCellActivate;
            column11.Header.Caption     = StringResources.S_FIN_DNEVNIKNAZIVPARTNERDescription;
            column11.Width          = 0x128;
            column11.Format         = "";
            column11.CellAppearance = appearance11;
            Infragistics.Win.Appearance appearance13 = new Infragistics.Win.Appearance();
            column13.CellActivation     = Activation.NoEdit;
            column13.ButtonDisplayStyle = Infragistics.Win.UltraWinGrid.ButtonDisplayStyle.OnCellActivate;
            column13.Header.Caption     = StringResources.S_FIN_DNEVNIKORIGINALNIDOKUMENTDescription;
            column13.Width          = 0x128;
            column13.Format         = "";
            column13.CellAppearance = appearance13;
            band.Columns.Add(column4);
            column4.Header.VisiblePosition = 0;
            band.Columns.Add(column14);
            column14.Header.VisiblePosition = 1;
            band.Columns.Add(column9);
            column9.Header.VisiblePosition = 2;
            band.Columns.Add(column3);
            column3.Header.VisiblePosition = 3;
            band.Columns.Add(column15);
            column15.Header.VisiblePosition = 4;
            band.Columns.Add(column);
            column.Header.VisiblePosition = 5;
            band.Columns.Add(column2);
            column2.Header.VisiblePosition = 6;
            band.Columns.Add(column12);
            column12.Header.VisiblePosition = 7;
            band.Columns.Add(column10);
            column10.Header.VisiblePosition = 8;
            band.Columns.Add(column5);
            column5.Header.VisiblePosition = 9;
            band.Columns.Add(column7);
            column7.Header.VisiblePosition = 10;
            band.Columns.Add(column6);
            column6.Header.VisiblePosition = 11;
            band.Columns.Add(column8);
            column8.Header.VisiblePosition = 12;
            band.Columns.Add(column11);
            column11.Header.VisiblePosition = 13;
            band.Columns.Add(column13);
            column13.Header.VisiblePosition = 14;
            this.userControlDataGridS_FIN_DNEVNIK.Visible = true;
            System.Drawing.Point point = new System.Drawing.Point(0, 0);
            this.userControlDataGridS_FIN_DNEVNIK.Location = point;
            this.userControlDataGridS_FIN_DNEVNIK.Name     = "userControlDataGridS_FIN_DNEVNIK";
            this.userControlDataGridS_FIN_DNEVNIK.Tag      = "S_FIN_DNEVNIK";
            Size size = new System.Drawing.Size(0x200, 0x144);

            this.userControlDataGridS_FIN_DNEVNIK.Size = size;
            this.userControlDataGridS_FIN_DNEVNIK.DisplayLayout.BorderStyle = UIElementBorderStyle.None;
            this.userControlDataGridS_FIN_DNEVNIK.Dock          = DockStyle.Fill;
            this.userControlDataGridS_FIN_DNEVNIK.FillAtStartup = false;
            this.userControlDataGridS_FIN_DNEVNIK.DisplayLayout.Appearance.TextHAlign = HAlign.Left;
            this.userControlDataGridS_FIN_DNEVNIK.InitializeRow += new InitializeRowEventHandler(this.S_FIN_DNEVNIKUserDataGrid_InitializeRow);
            this.userControlDataGridS_FIN_DNEVNIK.DisplayLayout.BandsSerializer.Add(band);
            this.Controls.AddRange(new Control[] { this.userControlDataGridS_FIN_DNEVNIK });
            this.Name  = "S_FIN_DNEVNIKUserDataGrid";
            size       = new System.Drawing.Size(0x200, 0x144);
            this.Size  = size;
            this.Load += new EventHandler(this.S_FIN_DNEVNIKUserDataGrid_Load);
            ((ISupportInitialize)this.userControlDataGridS_FIN_DNEVNIK).EndInit();
            this.ResumeLayout(false);
        }
Пример #40
0
        public static Appearance GetGridAppearence(string GridAppearceModule)
        {
            Infragistics.Win.Appearance appear = new Infragistics.Win.Appearance();
            //appear.BackColor
            switch (GridAppearceModule.ToLower().Trim())
            {
                case "disp":
                    appear.BackColor = System.Drawing.SystemColors.Window;
                    appear.BorderColor = System.Drawing.SystemColors.InactiveCaption;
                    break;
                #region GroupBy
                case "groupby":
                    appear.BackColor = System.Drawing.SystemColors.ActiveBorder;
                    appear.BackColor2 = System.Drawing.SystemColors.ControlDark;
                    appear.BackGradientStyle = Infragistics.Win.GradientStyle.Vertical;
                    appear.BorderColor = System.Drawing.SystemColors.Window;
                    break;
                case "groupbybandlab":
                    appear.ForeColor = System.Drawing.SystemColors.GrayText;
                    break;
                case "groupbypromt":
                    appear.BackColor = System.Drawing.SystemColors.ControlLightLight;
                    appear.BackColor2 = System.Drawing.SystemColors.Control;
                    appear.BackGradientStyle = Infragistics.Win.GradientStyle.Horizontal;
                    appear.ForeColor = System.Drawing.SystemColors.GrayText;
                    break;
                case "groupbyrow":
                    appear.BackColor = System.Drawing.SystemColors.Control;
                    appear.BackColor2 = System.Drawing.SystemColors.ControlDark;
                    appear.BackGradientAlignment = Infragistics.Win.GradientAlignment.Element;
                    appear.BackGradientStyle = Infragistics.Win.GradientStyle.Horizontal;
                    appear.BorderColor = System.Drawing.SystemColors.Window;
                    break;
                #endregion

                #region Header
                case "header":
                    appear.TextHAlignAsString = "Center";
                    appear.BackColor2 = Color.FromKnownColor(KnownColor.Window);
                    appear.ThemedElementAlpha = Infragistics.Win.Alpha.Transparent;
                    appear.FontData.Name = "宋体";
                    appear.FontData.SizeInPoints = 11;
                    break;
                case "caption":
                    appear.TextHAlignAsString = "Center";
                    appear.BackColor2 = Color.FromKnownColor(KnownColor.Red);
                    appear.FontData.Name = "宋体";
                    appear.FontData.SizeInPoints = 11;
                    break;
                #endregion

                #region Row
                case "row":
                    appear.BackColor = System.Drawing.SystemColors.Window;
                    appear.BorderColor = Color.SteelBlue;
                    appear.FontData.Name = "宋体";
                    appear.FontData.SizeInPoints = 10;
                    break;
                case "templaterow":
                    appear.BackColor = System.Drawing.SystemColors.ControlLight;
                    break;
                case "activerow":
                    appear.BackColor = Color.YellowGreen;
                    appear.ForeColor = System.Drawing.SystemColors.HighlightText;
                    appear.FontData.Name = "宋体";
                    appear.FontData.SizeInPoints = 10;
                    break;
                case "rowselector":
                    appear.BackColor2 = Color.FromKnownColor(KnownColor.Menu);
                    appear.TextHAlign = HAlign.Center;
                    break;
                #endregion

                #region Cell
                case "cell":
                    appear.BorderColor = Color.SteelBlue;
                    appear.TextTrimming = Infragistics.Win.TextTrimming.EllipsisCharacter;
                    break;
                case "activecell":
                    appear.BackColor = System.Drawing.SystemColors.Window;
                    appear.ForeColor = System.Drawing.SystemColors.ControlText;
                    break;
                #endregion

                case "cardarea":
                    appear.BackColor = System.Drawing.SystemColors.Window;
                    break;

                default:
                    break;
            }
            return appear;
        }