コード例 #1
0
 /// <summary>
 /// Required method for Designer support - do not modify
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     Telerik.WinControls.UI.RadPrintWatermark       radPrintWatermark1 = new Telerik.WinControls.UI.RadPrintWatermark();
     System.ComponentModel.ComponentResourceManager resources          = new System.ComponentModel.ComponentResourceManager(typeof(ChooseActionForm));
     this.radPrintDocument1           = new Telerik.WinControls.UI.RadPrintDocument();
     this.selectActionRadDropDownList = new Telerik.WinControls.UI.RadDropDownList();
     this.selectionActionButton       = new System.Windows.Forms.Button();
     ((System.ComponentModel.ISupportInitialize)(this.selectActionRadDropDownList)).BeginInit();
     this.SuspendLayout();
     //
     // radPrintDocument1
     //
     this.radPrintDocument1.FooterFont = new System.Drawing.Font("Microsoft Sans Serif", 8F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.radPrintDocument1.HeaderFont = new System.Drawing.Font("Microsoft Sans Serif", 8F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.radPrintDocument1.Watermark  = radPrintWatermark1;
     //
     // selectActionRadDropDownList
     //
     this.selectActionRadDropDownList.DropDownHeight = 71;
     this.selectActionRadDropDownList.Font           = new System.Drawing.Font("Segoe UI", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.selectActionRadDropDownList.Location       = new System.Drawing.Point(67, 60);
     this.selectActionRadDropDownList.Margin         = new System.Windows.Forms.Padding(2, 2, 2, 2);
     this.selectActionRadDropDownList.Name           = "selectActionRadDropDownList";
     this.selectActionRadDropDownList.Size           = new System.Drawing.Size(201, 15);
     this.selectActionRadDropDownList.TabIndex       = 1;
     //
     // selectionActionButton
     //
     this.selectionActionButton.BackColor = System.Drawing.SystemColors.GradientActiveCaption;
     this.selectionActionButton.Font      = new System.Drawing.Font("Calibri", 10F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.selectionActionButton.Location  = new System.Drawing.Point(283, 52);
     this.selectionActionButton.Margin    = new System.Windows.Forms.Padding(2, 2, 2, 2);
     this.selectionActionButton.Name      = "selectionActionButton";
     this.selectionActionButton.Size      = new System.Drawing.Size(133, 32);
     this.selectionActionButton.TabIndex  = 2;
     this.selectionActionButton.Text      = "Go To Action";
     this.selectionActionButton.UseVisualStyleBackColor = false;
     this.selectionActionButton.Click += new System.EventHandler(this.selectionActionButton_Click);
     //
     // ChooseActionForm
     //
     this.AutoScaleDimensions   = new System.Drawing.SizeF(6F, 13F);
     this.AutoScaleMode         = System.Windows.Forms.AutoScaleMode.Font;
     this.BackgroundImage       = global::FileLoader.Properties.Resources.IvyhillBG;
     this.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Center;
     this.ClientSize            = new System.Drawing.Size(488, 264);
     this.Controls.Add(this.selectionActionButton);
     this.Controls.Add(this.selectActionRadDropDownList);
     this.DoubleBuffered = true;
     this.Icon           = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
     this.Margin         = new System.Windows.Forms.Padding(2, 2, 2, 2);
     this.Name           = "ChooseActionForm";
     this.StartPosition  = System.Windows.Forms.FormStartPosition.CenterScreen;
     this.Text           = "O365 Choose Action";
     ((System.ComponentModel.ISupportInitialize)(this.selectActionRadDropDownList)).EndInit();
     this.ResumeLayout(false);
     this.PerformLayout();
 }
コード例 #2
0
        /// <summary> 
        /// Required method for Designer support - do not modify 
        /// the contents of this method with the code editor.
        /// </summary>
        private void InitializeComponent()
        {
            Telerik.WinControls.UI.RadPrintWatermark radPrintWatermark1 = new Telerik.WinControls.UI.RadPrintWatermark();
            this.ToDate = new Telerik.WinControls.UI.RadDateTimePicker();
            this.radLabel5 = new Telerik.WinControls.UI.RadLabel();
            this.FromDate = new Telerik.WinControls.UI.RadDateTimePicker();
            this.radLabel3 = new Telerik.WinControls.UI.RadLabel();
            this.btnPrint = new Telerik.WinControls.UI.RadButton();
            this.btnSearch = new Telerik.WinControls.UI.RadButton();
            this.radPrintDocument1 = new Telerik.WinControls.UI.RadPrintDocument();
            this.FinanceGrid = new Telerik.WinControls.UI.RadGridView();
            this.btnDeleteBilling = new Telerik.WinControls.UI.RadButton();
            this.txtBillingId = new Telerik.WinControls.UI.RadTextBox();
            this.radLabel2 = new Telerik.WinControls.UI.RadLabel();
            this.btnUpdateBilling = new Telerik.WinControls.UI.RadButton();
            this.btnAddBilling = new Telerik.WinControls.UI.RadButton();
            this.txtBillNumber = new Telerik.WinControls.UI.RadTextBox();
            this.radLabel4 = new Telerik.WinControls.UI.RadLabel();
            this.radBillDate = new Telerik.WinControls.UI.RadDateTimePicker();
            this.radLabel6 = new Telerik.WinControls.UI.RadLabel();
            this.chkDebit = new Telerik.WinControls.UI.RadCheckBox();
            this.chkCredit = new Telerik.WinControls.UI.RadCheckBox();
            this.txtNotes = new Telerik.WinControls.UI.RadTextBox();
            this.radLabel13 = new Telerik.WinControls.UI.RadLabel();
            this.btnReset = new Telerik.WinControls.UI.RadButton();
            this.txtAmount = new Telerik.WinControls.UI.RadSpinEditor();
            this.radLabel1 = new Telerik.WinControls.UI.RadLabel();
            this.radDateTimePicker1 = new Telerik.WinControls.UI.RadDateTimePicker();
            this.radLabel7 = new Telerik.WinControls.UI.RadLabel();
            this.radTextBox1 = new Telerik.WinControls.UI.RadTextBox();
            this.radButton1 = new Telerik.WinControls.UI.RadButton();
            this.radButton2 = new Telerik.WinControls.UI.RadButton();
            this.radLabel8 = new Telerik.WinControls.UI.RadLabel();
            this.radTextBox2 = new Telerik.WinControls.UI.RadTextBox();
            this.radButton3 = new Telerik.WinControls.UI.RadButton();
            this.radGridView1 = new Telerik.WinControls.UI.RadGridView();
            this.radButton4 = new Telerik.WinControls.UI.RadButton();
            this.radButton5 = new Telerik.WinControls.UI.RadButton();
            this.radLabel9 = new Telerik.WinControls.UI.RadLabel();
            this.radDateTimePicker2 = new Telerik.WinControls.UI.RadDateTimePicker();
            this.radLabel10 = new Telerik.WinControls.UI.RadLabel();
            this.radDateTimePicker3 = new Telerik.WinControls.UI.RadDateTimePicker();
            this.radCheckBox1 = new Telerik.WinControls.UI.RadCheckBox();
            this.radCheckBox2 = new Telerik.WinControls.UI.RadCheckBox();
            this.radLabel11 = new Telerik.WinControls.UI.RadLabel();
            this.radTextBox3 = new Telerik.WinControls.UI.RadTextBox();
            this.radButton6 = new Telerik.WinControls.UI.RadButton();
            this.radSpinEditor1 = new Telerik.WinControls.UI.RadSpinEditor();
            this.telerikMetroBlueTheme1 = new Telerik.WinControls.Themes.TelerikMetroBlueTheme();
            ((System.ComponentModel.ISupportInitialize)(this.ToDate)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.radLabel5)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.FromDate)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.radLabel3)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.btnPrint)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.btnSearch)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.FinanceGrid)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.FinanceGrid.MasterTemplate)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.btnDeleteBilling)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.txtBillingId)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.radLabel2)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.btnUpdateBilling)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.btnAddBilling)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.txtBillNumber)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.radLabel4)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.radBillDate)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.radLabel6)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.chkDebit)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.chkCredit)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.txtNotes)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.radLabel13)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.btnReset)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.txtAmount)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.radLabel1)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.radDateTimePicker1)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.radLabel7)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.radTextBox1)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.radButton1)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.radButton2)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.radLabel8)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.radTextBox2)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.radButton3)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.radGridView1)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.radGridView1.MasterTemplate)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.radButton4)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.radButton5)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.radLabel9)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.radDateTimePicker2)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.radLabel10)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.radDateTimePicker3)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.radCheckBox1)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.radCheckBox2)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.radLabel11)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.radTextBox3)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.radButton6)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.radSpinEditor1)).BeginInit();
            this.SuspendLayout();
            // 
            // ToDate
            // 
            this.ToDate.Location = new System.Drawing.Point(611, 46);
            this.ToDate.Name = "ToDate";
            this.ToDate.Size = new System.Drawing.Size(150, 22);
            this.ToDate.TabIndex = 108;
            this.ToDate.TabStop = false;
            this.ToDate.Text = "22 September 2013";
            this.ToDate.ThemeName = "TelerikMetroBlue";
            this.ToDate.Value = new System.DateTime(2013, 9, 22, 15, 32, 29, 443);
            // 
            // radLabel5
            // 
            this.radLabel5.Font = new System.Drawing.Font("Segoe UI", 10F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.radLabel5.Location = new System.Drawing.Point(572, 46);
            this.radLabel5.Name = "radLabel5";
            this.radLabel5.Size = new System.Drawing.Size(33, 21);
            this.radLabel5.TabIndex = 107;
            this.radLabel5.Text = "To : ";
            // 
            // FromDate
            // 
            this.FromDate.Location = new System.Drawing.Point(402, 46);
            this.FromDate.Name = "FromDate";
            this.FromDate.Size = new System.Drawing.Size(150, 22);
            this.FromDate.TabIndex = 106;
            this.FromDate.TabStop = false;
            this.FromDate.Text = "22 September 2013";
            this.FromDate.ThemeName = "TelerikMetroBlue";
            this.FromDate.Value = new System.DateTime(2013, 9, 22, 15, 32, 29, 443);
            // 
            // radLabel3
            // 
            this.radLabel3.Font = new System.Drawing.Font("Segoe UI", 10F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.radLabel3.Location = new System.Drawing.Point(347, 46);
            this.radLabel3.Name = "radLabel3";
            this.radLabel3.Size = new System.Drawing.Size(49, 21);
            this.radLabel3.TabIndex = 105;
            this.radLabel3.Text = "From : ";
            // 
            // btnPrint
            // 
            this.btnPrint.Location = new System.Drawing.Point(955, 46);
            this.btnPrint.Name = "btnPrint";
            this.btnPrint.Size = new System.Drawing.Size(102, 24);
            this.btnPrint.TabIndex = 104;
            this.btnPrint.Text = "Print";
            this.btnPrint.ThemeName = "TelerikMetroBlue";
            this.btnPrint.Click += new System.EventHandler(this.btnPrint_Click);
            // 
            // btnSearch
            // 
            this.btnSearch.Location = new System.Drawing.Point(800, 46);
            this.btnSearch.Name = "btnSearch";
            this.btnSearch.Size = new System.Drawing.Size(130, 24);
            this.btnSearch.TabIndex = 103;
            this.btnSearch.Text = "Search";
            this.btnSearch.ThemeName = "TelerikMetroBlue";
            this.btnSearch.Click += new System.EventHandler(this.btnSearch_Click);
            // 
            // radPrintDocument1
            // 
            this.radPrintDocument1.FooterFont = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.radPrintDocument1.HeaderFont = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.radPrintDocument1.Watermark = radPrintWatermark1;
            // 
            // FinanceGrid
            // 
            this.FinanceGrid.AutoScroll = true;
            this.FinanceGrid.Location = new System.Drawing.Point(347, 89);
            // 
            // FinanceGrid
            // 
            this.FinanceGrid.MasterTemplate.AllowAddNewRow = false;
            this.FinanceGrid.MasterTemplate.AllowCellContextMenu = false;
            this.FinanceGrid.MasterTemplate.AllowColumnHeaderContextMenu = false;
            this.FinanceGrid.MasterTemplate.AllowDeleteRow = false;
            this.FinanceGrid.MasterTemplate.AllowDragToGroup = false;
            this.FinanceGrid.MasterTemplate.AllowEditRow = false;
            this.FinanceGrid.MasterTemplate.EnableAlternatingRowColor = true;
            this.FinanceGrid.Name = "FinanceGrid";
            this.FinanceGrid.ReadOnly = true;
            this.FinanceGrid.ShowGroupPanel = false;
            this.FinanceGrid.ShowItemToolTips = false;
            this.FinanceGrid.Size = new System.Drawing.Size(921, 467);
            this.FinanceGrid.TabIndex = 102;
            this.FinanceGrid.Text = "radGridView1";
            this.FinanceGrid.ThemeName = "TelerikMetroBlue";
            this.FinanceGrid.CellDoubleClick += new Telerik.WinControls.UI.GridViewCellEventHandler(this.FinanceGrid_CellDoubleClick);
            // 
            // btnDeleteBilling
            // 
            this.btnDeleteBilling.Font = new System.Drawing.Font("Segoe UI", 9F, System.Drawing.FontStyle.Bold);
            this.btnDeleteBilling.Location = new System.Drawing.Point(189, 423);
            this.btnDeleteBilling.Name = "btnDeleteBilling";
            this.btnDeleteBilling.Size = new System.Drawing.Size(71, 32);
            this.btnDeleteBilling.TabIndex = 96;
            this.btnDeleteBilling.Text = "Delete";
            this.btnDeleteBilling.ThemeName = "TelerikMetroBlue";
            this.btnDeleteBilling.Click += new System.EventHandler(this.btnDeleteBilling_Click);
            // 
            // txtBillingId
            // 
            this.txtBillingId.Location = new System.Drawing.Point(32, 533);
            this.txtBillingId.MaxLength = 30;
            this.txtBillingId.Name = "txtBillingId";
            this.txtBillingId.Size = new System.Drawing.Size(263, 20);
            this.txtBillingId.TabIndex = 101;
            this.txtBillingId.TabStop = false;
            this.txtBillingId.ThemeName = "TelerikMetro";
            this.txtBillingId.Visible = false;
            // 
            // radLabel2
            // 
            this.radLabel2.Font = new System.Drawing.Font("Segoe UI", 10F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.radLabel2.Location = new System.Drawing.Point(32, 187);
            this.radLabel2.Name = "radLabel2";
            this.radLabel2.Size = new System.Drawing.Size(56, 21);
            this.radLabel2.TabIndex = 97;
            this.radLabel2.Text = "Amount";
            // 
            // btnUpdateBilling
            // 
            this.btnUpdateBilling.Font = new System.Drawing.Font("Segoe UI", 9F, System.Drawing.FontStyle.Bold);
            this.btnUpdateBilling.Location = new System.Drawing.Point(111, 423);
            this.btnUpdateBilling.Name = "btnUpdateBilling";
            this.btnUpdateBilling.Size = new System.Drawing.Size(71, 32);
            this.btnUpdateBilling.TabIndex = 95;
            this.btnUpdateBilling.Text = "Update";
            this.btnUpdateBilling.ThemeName = "TelerikMetroBlue";
            this.btnUpdateBilling.Click += new System.EventHandler(this.btnUpdateBilling_Click);
            // 
            // btnAddBilling
            // 
            this.btnAddBilling.Font = new System.Drawing.Font("Segoe UI", 9F, System.Drawing.FontStyle.Bold);
            this.btnAddBilling.Location = new System.Drawing.Point(32, 423);
            this.btnAddBilling.Name = "btnAddBilling";
            this.btnAddBilling.Size = new System.Drawing.Size(72, 32);
            this.btnAddBilling.TabIndex = 94;
            this.btnAddBilling.Text = "Add";
            this.btnAddBilling.ThemeName = "TelerikMetroBlue";
            this.btnAddBilling.Click += new System.EventHandler(this.btnAddBilling_Click);
            // 
            // txtBillNumber
            // 
            this.txtBillNumber.Location = new System.Drawing.Point(32, 143);
            this.txtBillNumber.MaxLength = 30;
            this.txtBillNumber.Name = "txtBillNumber";
            this.txtBillNumber.Size = new System.Drawing.Size(263, 22);
            this.txtBillNumber.TabIndex = 91;
            this.txtBillNumber.TabStop = false;
            this.txtBillNumber.ThemeName = "TelerikMetroBlue";
            // 
            // radLabel4
            // 
            this.radLabel4.Font = new System.Drawing.Font("Segoe UI", 10F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.radLabel4.Location = new System.Drawing.Point(32, 116);
            this.radLabel4.Name = "radLabel4";
            this.radLabel4.Size = new System.Drawing.Size(78, 21);
            this.radLabel4.TabIndex = 90;
            this.radLabel4.Text = "Bill Number";
            // 
            // radBillDate
            // 
            this.radBillDate.Location = new System.Drawing.Point(32, 73);
            this.radBillDate.Name = "radBillDate";
            this.radBillDate.Size = new System.Drawing.Size(150, 22);
            this.radBillDate.TabIndex = 88;
            this.radBillDate.TabStop = false;
            this.radBillDate.Text = "22 September 2013";
            this.radBillDate.ThemeName = "TelerikMetroBlue";
            this.radBillDate.Value = new System.DateTime(2013, 9, 22, 15, 32, 29, 443);
            // 
            // radLabel6
            // 
            this.radLabel6.Font = new System.Drawing.Font("Segoe UI", 10F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.radLabel6.Location = new System.Drawing.Point(32, 45);
            this.radLabel6.Name = "radLabel6";
            this.radLabel6.Size = new System.Drawing.Size(57, 21);
            this.radLabel6.TabIndex = 87;
            this.radLabel6.Text = "Bill Date";
            // 
            // chkDebit
            // 
            this.chkDebit.Location = new System.Drawing.Point(94, 215);
            this.chkDebit.Name = "chkDebit";
            this.chkDebit.Size = new System.Drawing.Size(53, 19);
            this.chkDebit.TabIndex = 110;
            this.chkDebit.Text = "Debit";
            this.chkDebit.ThemeName = "TelerikMetroBlue";
            this.chkDebit.ToggleStateChanged += new Telerik.WinControls.UI.StateChangedEventHandler(this.chkDebit_ToggleStateChanged);
            // 
            // chkCredit
            // 
            this.chkCredit.Location = new System.Drawing.Point(32, 214);
            this.chkCredit.Name = "chkCredit";
            this.chkCredit.Size = new System.Drawing.Size(56, 19);
            this.chkCredit.TabIndex = 109;
            this.chkCredit.Text = "Credit";
            this.chkCredit.ThemeName = "TelerikMetroBlue";
            this.chkCredit.ToggleStateChanged += new Telerik.WinControls.UI.StateChangedEventHandler(this.chkCredit_ToggleStateChanged);
            // 
            // txtNotes
            // 
            this.txtNotes.AutoSize = false;
            this.txtNotes.Location = new System.Drawing.Point(32, 310);
            this.txtNotes.MaxLength = 400;
            this.txtNotes.Multiline = true;
            this.txtNotes.Name = "txtNotes";
            this.txtNotes.Size = new System.Drawing.Size(263, 83);
            this.txtNotes.TabIndex = 112;
            this.txtNotes.TabStop = false;
            this.txtNotes.ThemeName = "TelerikMetroBlue";
            // 
            // radLabel13
            // 
            this.radLabel13.Font = new System.Drawing.Font("Segoe UI", 10F);
            this.radLabel13.Location = new System.Drawing.Point(32, 283);
            this.radLabel13.Name = "radLabel13";
            this.radLabel13.Size = new System.Drawing.Size(43, 21);
            this.radLabel13.TabIndex = 111;
            this.radLabel13.Text = "Notes";
            // 
            // btnReset
            // 
            this.btnReset.Font = new System.Drawing.Font("Segoe UI", 9F, System.Drawing.FontStyle.Bold);
            this.btnReset.Location = new System.Drawing.Point(266, 423);
            this.btnReset.Name = "btnReset";
            this.btnReset.Size = new System.Drawing.Size(71, 32);
            this.btnReset.TabIndex = 113;
            this.btnReset.Text = "Reset";
            this.btnReset.ThemeName = "TelerikMetroBlue";
            this.btnReset.Click += new System.EventHandler(this.btnReset_Click);
            // 
            // txtAmount
            // 
            this.txtAmount.Location = new System.Drawing.Point(32, 240);
            this.txtAmount.Maximum = new decimal(new int[] {
            99999,
            0,
            0,
            0});
            this.txtAmount.Name = "txtAmount";
            // 
            // 
            // 
            this.txtAmount.RootElement.AutoSizeMode = Telerik.WinControls.RadAutoSizeMode.WrapAroundChildren;
            this.txtAmount.Size = new System.Drawing.Size(263, 22);
            this.txtAmount.TabIndex = 114;
            this.txtAmount.TabStop = false;
            this.txtAmount.ThemeName = "TelerikMetroBlue";
            // 
            // radLabel1
            // 
            this.radLabel1.Font = new System.Drawing.Font("Segoe UI", 10F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.radLabel1.Location = new System.Drawing.Point(32, 45);
            this.radLabel1.Name = "radLabel1";
            this.radLabel1.Size = new System.Drawing.Size(57, 21);
            this.radLabel1.TabIndex = 87;
            this.radLabel1.Text = "Bill Date";
            // 
            // radDateTimePicker1
            // 
            this.radDateTimePicker1.Location = new System.Drawing.Point(32, 73);
            this.radDateTimePicker1.Name = "radDateTimePicker1";
            this.radDateTimePicker1.Size = new System.Drawing.Size(150, 22);
            this.radDateTimePicker1.TabIndex = 88;
            this.radDateTimePicker1.TabStop = false;
            this.radDateTimePicker1.Text = "22 September 2013";
            this.radDateTimePicker1.ThemeName = "TelerikMetroBlue";
            this.radDateTimePicker1.Value = new System.DateTime(2013, 9, 22, 15, 32, 29, 443);
            // 
            // radLabel7
            // 
            this.radLabel7.Font = new System.Drawing.Font("Segoe UI", 10F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.radLabel7.Location = new System.Drawing.Point(32, 116);
            this.radLabel7.Name = "radLabel7";
            this.radLabel7.Size = new System.Drawing.Size(78, 21);
            this.radLabel7.TabIndex = 90;
            this.radLabel7.Text = "Bill Number";
            // 
            // radTextBox1
            // 
            this.radTextBox1.Location = new System.Drawing.Point(32, 143);
            this.radTextBox1.MaxLength = 30;
            this.radTextBox1.Name = "radTextBox1";
            this.radTextBox1.Size = new System.Drawing.Size(263, 20);
            this.radTextBox1.TabIndex = 91;
            this.radTextBox1.TabStop = false;
            // 
            // radButton1
            // 
            this.radButton1.Font = new System.Drawing.Font("Segoe UI", 9F, System.Drawing.FontStyle.Bold);
            this.radButton1.Location = new System.Drawing.Point(32, 423);
            this.radButton1.Name = "radButton1";
            this.radButton1.Size = new System.Drawing.Size(72, 32);
            this.radButton1.TabIndex = 94;
            this.radButton1.Text = "Add";
            this.radButton1.ThemeName = "TelerikMetroBlue";
            this.radButton1.Click += new System.EventHandler(this.btnAddBilling_Click);
            // 
            // radButton2
            // 
            this.radButton2.Font = new System.Drawing.Font("Segoe UI", 9F, System.Drawing.FontStyle.Bold);
            this.radButton2.Location = new System.Drawing.Point(111, 423);
            this.radButton2.Name = "radButton2";
            this.radButton2.Size = new System.Drawing.Size(71, 32);
            this.radButton2.TabIndex = 95;
            this.radButton2.Text = "Update";
            this.radButton2.ThemeName = "TelerikMetroBlue";
            this.radButton2.Click += new System.EventHandler(this.btnUpdateBilling_Click);
            // 
            // radLabel8
            // 
            this.radLabel8.Font = new System.Drawing.Font("Segoe UI", 10F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.radLabel8.Location = new System.Drawing.Point(32, 187);
            this.radLabel8.Name = "radLabel8";
            this.radLabel8.Size = new System.Drawing.Size(56, 21);
            this.radLabel8.TabIndex = 97;
            this.radLabel8.Text = "Amount";
            // 
            // radTextBox2
            // 
            this.radTextBox2.Location = new System.Drawing.Point(32, 533);
            this.radTextBox2.MaxLength = 30;
            this.radTextBox2.Name = "radTextBox2";
            this.radTextBox2.Size = new System.Drawing.Size(263, 20);
            this.radTextBox2.TabIndex = 101;
            this.radTextBox2.TabStop = false;
            this.radTextBox2.ThemeName = "TelerikMetro";
            this.radTextBox2.Visible = false;
            // 
            // radButton3
            // 
            this.radButton3.Font = new System.Drawing.Font("Segoe UI", 9F, System.Drawing.FontStyle.Bold);
            this.radButton3.Location = new System.Drawing.Point(189, 423);
            this.radButton3.Name = "radButton3";
            this.radButton3.Size = new System.Drawing.Size(71, 32);
            this.radButton3.TabIndex = 96;
            this.radButton3.Text = "Delete";
            this.radButton3.ThemeName = "TelerikMetroBlue";
            this.radButton3.Click += new System.EventHandler(this.btnDeleteBilling_Click);
            // 
            // radGridView1
            // 
            this.radGridView1.AutoScroll = true;
            this.radGridView1.Location = new System.Drawing.Point(347, 89);
            // 
            // radGridView1
            // 
            this.radGridView1.MasterTemplate.AllowAddNewRow = false;
            this.radGridView1.MasterTemplate.AllowCellContextMenu = false;
            this.radGridView1.MasterTemplate.AllowColumnHeaderContextMenu = false;
            this.radGridView1.MasterTemplate.AllowDeleteRow = false;
            this.radGridView1.MasterTemplate.AllowDragToGroup = false;
            this.radGridView1.MasterTemplate.AllowEditRow = false;
            this.radGridView1.MasterTemplate.EnableAlternatingRowColor = true;
            this.radGridView1.Name = "radGridView1";
            this.radGridView1.ReadOnly = true;
            this.radGridView1.ShowGroupPanel = false;
            this.radGridView1.ShowItemToolTips = false;
            this.radGridView1.Size = new System.Drawing.Size(921, 467);
            this.radGridView1.TabIndex = 102;
            this.radGridView1.Text = "radGridView1";
            this.radGridView1.ThemeName = "TelerikMetroBlue";
            this.radGridView1.CellDoubleClick += new Telerik.WinControls.UI.GridViewCellEventHandler(this.FinanceGrid_CellDoubleClick);
            // 
            // radButton4
            // 
            this.radButton4.Font = new System.Drawing.Font("Segoe UI", 9F, System.Drawing.FontStyle.Bold);
            this.radButton4.Location = new System.Drawing.Point(800, 46);
            this.radButton4.Name = "radButton4";
            this.radButton4.Size = new System.Drawing.Size(130, 24);
            this.radButton4.TabIndex = 103;
            this.radButton4.Text = "Search";
            this.radButton4.ThemeName = "TelerikMetroBlue";
            this.radButton4.Click += new System.EventHandler(this.btnSearch_Click);
            // 
            // radButton5
            // 
            this.radButton5.Font = new System.Drawing.Font("Segoe UI", 9F, System.Drawing.FontStyle.Bold);
            this.radButton5.Location = new System.Drawing.Point(955, 46);
            this.radButton5.Name = "radButton5";
            this.radButton5.Size = new System.Drawing.Size(102, 24);
            this.radButton5.TabIndex = 104;
            this.radButton5.Text = "Print";
            this.radButton5.ThemeName = "TelerikMetroBlue";
            this.radButton5.Click += new System.EventHandler(this.btnPrint_Click);
            // 
            // radLabel9
            // 
            this.radLabel9.Font = new System.Drawing.Font("Segoe UI", 10F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.radLabel9.Location = new System.Drawing.Point(347, 46);
            this.radLabel9.Name = "radLabel9";
            this.radLabel9.Size = new System.Drawing.Size(49, 21);
            this.radLabel9.TabIndex = 105;
            this.radLabel9.Text = "From : ";
            // 
            // radDateTimePicker2
            // 
            this.radDateTimePicker2.Location = new System.Drawing.Point(402, 46);
            this.radDateTimePicker2.Name = "radDateTimePicker2";
            this.radDateTimePicker2.Size = new System.Drawing.Size(150, 22);
            this.radDateTimePicker2.TabIndex = 106;
            this.radDateTimePicker2.TabStop = false;
            this.radDateTimePicker2.Text = "22 September 2013";
            this.radDateTimePicker2.ThemeName = "TelerikMetroBlue";
            this.radDateTimePicker2.Value = new System.DateTime(2013, 9, 22, 15, 32, 29, 443);
            // 
            // radLabel10
            // 
            this.radLabel10.Font = new System.Drawing.Font("Segoe UI", 10F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.radLabel10.Location = new System.Drawing.Point(572, 46);
            this.radLabel10.Name = "radLabel10";
            this.radLabel10.Size = new System.Drawing.Size(33, 21);
            this.radLabel10.TabIndex = 107;
            this.radLabel10.Text = "To : ";
            // 
            // radDateTimePicker3
            // 
            this.radDateTimePicker3.Location = new System.Drawing.Point(611, 46);
            this.radDateTimePicker3.Name = "radDateTimePicker3";
            this.radDateTimePicker3.Size = new System.Drawing.Size(150, 22);
            this.radDateTimePicker3.TabIndex = 108;
            this.radDateTimePicker3.TabStop = false;
            this.radDateTimePicker3.Text = "22 September 2013";
            this.radDateTimePicker3.ThemeName = "TelerikMetroBlue";
            this.radDateTimePicker3.Value = new System.DateTime(2013, 9, 22, 15, 32, 29, 443);
            // 
            // radCheckBox1
            // 
            this.radCheckBox1.Location = new System.Drawing.Point(32, 214);
            this.radCheckBox1.Name = "radCheckBox1";
            this.radCheckBox1.Size = new System.Drawing.Size(56, 19);
            this.radCheckBox1.TabIndex = 109;
            this.radCheckBox1.Text = "Credit";
            this.radCheckBox1.ThemeName = "TelerikMetroBlue";
            this.radCheckBox1.ToggleStateChanged += new Telerik.WinControls.UI.StateChangedEventHandler(this.chkCredit_ToggleStateChanged);
            // 
            // radCheckBox2
            // 
            this.radCheckBox2.Location = new System.Drawing.Point(94, 215);
            this.radCheckBox2.Name = "radCheckBox2";
            this.radCheckBox2.Size = new System.Drawing.Size(53, 19);
            this.radCheckBox2.TabIndex = 110;
            this.radCheckBox2.Text = "Debit";
            this.radCheckBox2.ThemeName = "TelerikMetroBlue";
            this.radCheckBox2.ToggleStateChanged += new Telerik.WinControls.UI.StateChangedEventHandler(this.chkDebit_ToggleStateChanged);
            // 
            // radLabel11
            // 
            this.radLabel11.Font = new System.Drawing.Font("Segoe UI", 10F);
            this.radLabel11.Location = new System.Drawing.Point(32, 283);
            this.radLabel11.Name = "radLabel11";
            this.radLabel11.Size = new System.Drawing.Size(43, 21);
            this.radLabel11.TabIndex = 111;
            this.radLabel11.Text = "Notes";
            // 
            // radTextBox3
            // 
            this.radTextBox3.AutoSize = false;
            this.radTextBox3.Location = new System.Drawing.Point(32, 310);
            this.radTextBox3.MaxLength = 400;
            this.radTextBox3.Multiline = true;
            this.radTextBox3.Name = "radTextBox3";
            this.radTextBox3.Size = new System.Drawing.Size(263, 83);
            this.radTextBox3.TabIndex = 112;
            this.radTextBox3.TabStop = false;
            // 
            // radButton6
            // 
            this.radButton6.Font = new System.Drawing.Font("Segoe UI", 9F, System.Drawing.FontStyle.Bold);
            this.radButton6.Location = new System.Drawing.Point(266, 423);
            this.radButton6.Name = "radButton6";
            this.radButton6.Size = new System.Drawing.Size(71, 32);
            this.radButton6.TabIndex = 113;
            this.radButton6.Text = "Reset";
            this.radButton6.ThemeName = "TelerikMetroBlue";
            this.radButton6.Click += new System.EventHandler(this.btnReset_Click);
            // 
            // radSpinEditor1
            // 
            this.radSpinEditor1.Location = new System.Drawing.Point(32, 240);
            this.radSpinEditor1.Maximum = new decimal(new int[] {
            99999,
            0,
            0,
            0});
            this.radSpinEditor1.Name = "radSpinEditor1";
            // 
            // 
            // 
            this.radSpinEditor1.RootElement.AutoSizeMode = Telerik.WinControls.RadAutoSizeMode.WrapAroundChildren;
            this.radSpinEditor1.Size = new System.Drawing.Size(263, 22);
            this.radSpinEditor1.TabIndex = 114;
            this.radSpinEditor1.TabStop = false;
            this.radSpinEditor1.ThemeName = "TelerikMetroBlue";
            // 
            // FinanceDaybook
            // 
            this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
            this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
            this.BackColor = System.Drawing.SystemColors.Window;
            this.Controls.Add(this.radSpinEditor1);
            this.Controls.Add(this.txtAmount);
            this.Controls.Add(this.radButton6);
            this.Controls.Add(this.btnReset);
            this.Controls.Add(this.radTextBox3);
            this.Controls.Add(this.txtNotes);
            this.Controls.Add(this.radLabel11);
            this.Controls.Add(this.radCheckBox2);
            this.Controls.Add(this.radLabel13);
            this.Controls.Add(this.radCheckBox1);
            this.Controls.Add(this.chkDebit);
            this.Controls.Add(this.radDateTimePicker3);
            this.Controls.Add(this.chkCredit);
            this.Controls.Add(this.radLabel10);
            this.Controls.Add(this.ToDate);
            this.Controls.Add(this.radDateTimePicker2);
            this.Controls.Add(this.radLabel5);
            this.Controls.Add(this.radLabel9);
            this.Controls.Add(this.FromDate);
            this.Controls.Add(this.radButton5);
            this.Controls.Add(this.radLabel3);
            this.Controls.Add(this.radButton4);
            this.Controls.Add(this.btnPrint);
            this.Controls.Add(this.radGridView1);
            this.Controls.Add(this.btnSearch);
            this.Controls.Add(this.radButton3);
            this.Controls.Add(this.FinanceGrid);
            this.Controls.Add(this.radTextBox2);
            this.Controls.Add(this.btnDeleteBilling);
            this.Controls.Add(this.radLabel8);
            this.Controls.Add(this.txtBillingId);
            this.Controls.Add(this.radButton2);
            this.Controls.Add(this.radLabel2);
            this.Controls.Add(this.radButton1);
            this.Controls.Add(this.btnUpdateBilling);
            this.Controls.Add(this.radTextBox1);
            this.Controls.Add(this.btnAddBilling);
            this.Controls.Add(this.radLabel7);
            this.Controls.Add(this.txtBillNumber);
            this.Controls.Add(this.radDateTimePicker1);
            this.Controls.Add(this.radLabel4);
            this.Controls.Add(this.radLabel1);
            this.Controls.Add(this.radBillDate);
            this.Controls.Add(this.radLabel6);
            this.Name = "FinanceDaybook";
            this.Size = new System.Drawing.Size(1300, 600);
            ((System.ComponentModel.ISupportInitialize)(this.ToDate)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.radLabel5)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.FromDate)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.radLabel3)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.btnPrint)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.btnSearch)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.FinanceGrid.MasterTemplate)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.FinanceGrid)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.btnDeleteBilling)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.txtBillingId)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.radLabel2)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.btnUpdateBilling)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.btnAddBilling)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.txtBillNumber)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.radLabel4)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.radBillDate)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.radLabel6)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.chkDebit)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.chkCredit)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.txtNotes)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.radLabel13)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.btnReset)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.txtAmount)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.radLabel1)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.radDateTimePicker1)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.radLabel7)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.radTextBox1)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.radButton1)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.radButton2)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.radLabel8)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.radTextBox2)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.radButton3)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.radGridView1.MasterTemplate)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.radGridView1)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.radButton4)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.radButton5)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.radLabel9)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.radDateTimePicker2)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.radLabel10)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.radDateTimePicker3)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.radCheckBox1)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.radCheckBox2)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.radLabel11)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.radTextBox3)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.radButton6)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.radSpinEditor1)).EndInit();
            this.ResumeLayout(false);
            this.PerformLayout();

        }
コード例 #3
0
        /// <summary> 
        /// Required method for Designer support - do not modify 
        /// the contents of this method with the code editor.
        /// </summary>
        private void InitializeComponent()
        {
            Telerik.WinControls.UI.RadPrintWatermark radPrintWatermark1 = new Telerik.WinControls.UI.RadPrintWatermark();
            this.btnPrint = new Telerik.WinControls.UI.RadButton();
            this.docPrintVisit = new Telerik.WinControls.RichTextBox.RadRichTextBox();
            this.radPrintPhotos = new Telerik.WinControls.UI.RadPrintDocument();
            this.printDocument1 = new System.Drawing.Printing.PrintDocument();
            this.btnRefresh = new Telerik.WinControls.UI.RadButton();
            this.listVisits = new Telerik.WinControls.UI.RadListControl();
            ((System.ComponentModel.ISupportInitialize)(this.btnPrint)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.docPrintVisit)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.btnRefresh)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.listVisits)).BeginInit();
            this.SuspendLayout();
            // 
            // btnPrint
            // 
            this.btnPrint.Font = new System.Drawing.Font("Segoe UI", 9F, System.Drawing.FontStyle.Bold);
            this.btnPrint.Location = new System.Drawing.Point(1151, 35);
            this.btnPrint.Name = "btnPrint";
            this.btnPrint.Size = new System.Drawing.Size(83, 22);
            this.btnPrint.TabIndex = 9;
            this.btnPrint.Text = "Print";
            this.btnPrint.ThemeName = "TelerikMetroBlue";
            this.btnPrint.Click += new System.EventHandler(this.btnPrint_Click);
            // 
            // docPrintVisit
            // 
            this.docPrintVisit.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Zoom;
            this.docPrintVisit.HyperlinkToolTipFormatString = null;
            this.docPrintVisit.LayoutMode = Telerik.WinControls.RichTextBox.Model.DocumentLayoutMode.Paged;
            this.docPrintVisit.Location = new System.Drawing.Point(280, 35);
            this.docPrintVisit.Name = "docPrintVisit";
            this.docPrintVisit.Size = new System.Drawing.Size(865, 538);
            this.docPrintVisit.TabIndex = 10;
            this.docPrintVisit.ThemeName = "TelerikMetroBlue";
            // 
            // radPrintPhotos
            // 
            this.radPrintPhotos.FooterFont = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.radPrintPhotos.HeaderFont = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.radPrintPhotos.Watermark = radPrintWatermark1;
            // 
            // btnRefresh
            // 
            this.btnRefresh.Font = new System.Drawing.Font("Segoe UI", 9F, System.Drawing.FontStyle.Bold);
            this.btnRefresh.Location = new System.Drawing.Point(1151, 76);
            this.btnRefresh.Name = "btnRefresh";
            this.btnRefresh.Size = new System.Drawing.Size(83, 22);
            this.btnRefresh.TabIndex = 11;
            this.btnRefresh.Text = "Refresh";
            this.btnRefresh.ThemeName = "TelerikMetroBlue";
            this.btnRefresh.Click += new System.EventHandler(this.btnRefresh_Click);
            // 
            // listVisits
            // 
            this.listVisits.AutoScroll = true;
            this.listVisits.EnableKineticScrolling = true;
            this.listVisits.ItemHeight = 50;
            this.listVisits.Location = new System.Drawing.Point(43, 35);
            this.listVisits.Name = "listVisits";
            this.listVisits.Size = new System.Drawing.Size(205, 538);
            this.listVisits.TabIndex = 41;
            this.listVisits.ThemeName = "TelerikMetroBlue";
            this.listVisits.SelectedValueChanged += new System.EventHandler(this.listVisits_SelectedValueChanged);
            // 
            // VisitHistoryView
            // 
            this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
            this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
            this.BackColor = System.Drawing.SystemColors.Window;
            this.Controls.Add(this.listVisits);
            this.Controls.Add(this.btnRefresh);
            this.Controls.Add(this.btnPrint);
            this.Controls.Add(this.docPrintVisit);
            this.Name = "VisitHistoryView";
            this.Size = new System.Drawing.Size(1300, 600);
            this.Load += new System.EventHandler(this.VisitHistoryView_Load);
            ((System.ComponentModel.ISupportInitialize)(this.btnPrint)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.docPrintVisit)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.btnRefresh)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.listVisits)).EndInit();
            this.ResumeLayout(false);

        }
コード例 #4
0
        /// <summary>
        /// Required method for Designer support - do not modify
        /// the contents of this method with the code editor.
        /// </summary>
        private void InitializeComponent()
        {
            this.components = new System.ComponentModel.Container();
            Telerik.WinControls.UI.RadPrintWatermark radPrintWatermark1 = new Telerik.WinControls.UI.RadPrintWatermark();
            this.radMenuItem1 = new Telerik.WinControls.UI.RadMenuItem();
            this.radMenuItem3 = new Telerik.WinControls.UI.RadMenuItem();
            this.class1BindingSource = new System.Windows.Forms.BindingSource(this.components);
            this.radMenuItem5 = new Telerik.WinControls.UI.RadMenuItem();
            this.radMenuSeparatorItem1 = new Telerik.WinControls.UI.RadMenuSeparatorItem();
            this.radMenuItem2 = new Telerik.WinControls.UI.RadMenuItem();
            this.radMenu1 = new Telerik.WinControls.UI.RadMenu();
            this.radGridView1 = new Telerik.WinControls.UI.RadGridView();
            this.radPrintDocument1 = new Telerik.WinControls.UI.RadPrintDocument();
            this.visualStudio2012DarkTheme1 = new Telerik.WinControls.Themes.VisualStudio2012DarkTheme();
            this.radMenuItem4 = new Telerik.WinControls.UI.RadMenuItem();
            this.radMenuSeparatorItem2 = new Telerik.WinControls.UI.RadMenuSeparatorItem();
            this.radMenuItem6 = new Telerik.WinControls.UI.RadMenuItem();
            ((System.ComponentModel.ISupportInitialize)(this.class1BindingSource)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.radMenu1)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.radGridView1)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.radGridView1.MasterTemplate)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this)).BeginInit();
            this.SuspendLayout();
            // 
            // radMenuItem1
            // 
            this.radMenuItem1.AccessibleDescription = "Archivo";
            this.radMenuItem1.AccessibleName = "Archivo";
            this.radMenuItem1.Items.AddRange(new Telerik.WinControls.RadItem[] {
            this.radMenuItem3});
            this.radMenuItem1.Name = "radMenuItem1";
            this.radMenuItem1.Text = "Archivo";
            this.radMenuItem1.Visibility = Telerik.WinControls.ElementVisibility.Visible;
            // 
            // radMenuItem3
            // 
            this.radMenuItem3.AccessibleDescription = "Salir";
            this.radMenuItem3.AccessibleName = "Salir";
            this.radMenuItem3.Name = "radMenuItem3";
            this.radMenuItem3.Text = "Salir";
            this.radMenuItem3.Visibility = Telerik.WinControls.ElementVisibility.Visible;
            this.radMenuItem3.Click += new System.EventHandler(this.radMenuItem3_Click);
            // 
            // radMenuItem5
            // 
            this.radMenuItem5.AccessibleDescription = "Imprimir";
            this.radMenuItem5.AccessibleName = "Imprimir";
            this.radMenuItem5.Items.AddRange(new Telerik.WinControls.RadItem[] {
            this.radMenuSeparatorItem1,
            this.radMenuItem2});
            this.radMenuItem5.Name = "radMenuItem5";
            this.radMenuItem5.Text = "Imprimir";
            this.radMenuItem5.Visibility = Telerik.WinControls.ElementVisibility.Visible;
            // 
            // radMenuSeparatorItem1
            // 
            this.radMenuSeparatorItem1.AccessibleDescription = "radMenuSeparatorItem1";
            this.radMenuSeparatorItem1.AccessibleName = "radMenuSeparatorItem1";
            this.radMenuSeparatorItem1.Name = "radMenuSeparatorItem1";
            this.radMenuSeparatorItem1.Text = "radMenuSeparatorItem1";
            this.radMenuSeparatorItem1.Visibility = Telerik.WinControls.ElementVisibility.Visible;
            // 
            // radMenuItem2
            // 
            this.radMenuItem2.AccessibleDescription = "Vista Previa";
            this.radMenuItem2.AccessibleName = "Vista Previa";
            this.radMenuItem2.Name = "radMenuItem2";
            this.radMenuItem2.Text = "Vista Previa";
            this.radMenuItem2.Visibility = Telerik.WinControls.ElementVisibility.Visible;
            this.radMenuItem2.Click += new System.EventHandler(this.radMenuItem2_Click);
            // 
            // radMenu1
            // 
            this.radMenu1.Items.AddRange(new Telerik.WinControls.RadItem[] {
            this.radMenuItem1,
            this.radMenuItem5,
            this.radMenuItem4});
            this.radMenu1.Location = new System.Drawing.Point(0, 0);
            this.radMenu1.Name = "radMenu1";
            this.radMenu1.Padding = new System.Windows.Forms.Padding(2, 2, 0, 0);
            this.radMenu1.Size = new System.Drawing.Size(815, 27);
            this.radMenu1.TabIndex = 2;
            this.radMenu1.Text = "radMenu1";
            this.radMenu1.ThemeName = "TelerikMetro";
            // 
            // radGridView1
            // 
            this.radGridView1.AutoSizeRows = true;
            this.radGridView1.Dock = System.Windows.Forms.DockStyle.Fill;
            this.radGridView1.Location = new System.Drawing.Point(0, 27);
            // 
            // radGridView1
            // 
            this.radGridView1.MasterTemplate.AllowAddNewRow = false;
            this.radGridView1.MasterTemplate.AllowColumnChooser = false;
            this.radGridView1.MasterTemplate.AllowColumnReorder = false;
            this.radGridView1.MasterTemplate.AllowDeleteRow = false;
            this.radGridView1.MasterTemplate.AllowDragToGroup = false;
            this.radGridView1.MasterTemplate.AllowEditRow = false;
            this.radGridView1.Name = "radGridView1";
            this.radGridView1.Size = new System.Drawing.Size(815, 411);
            this.radGridView1.TabIndex = 4;
            this.radGridView1.Text = "radGridView1";
            this.radGridView1.ThemeName = "VisualStudio2012Dark";
            // 
            // radPrintDocument1
            // 
            this.radPrintDocument1.AssociatedObject = this.radGridView1;
            this.radPrintDocument1.FooterFont = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.radPrintDocument1.HeaderFont = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.radPrintDocument1.Watermark = radPrintWatermark1;
            // 
            // radMenuItem4
            // 
            this.radMenuItem4.AccessibleDescription = "Reportes";
            this.radMenuItem4.AccessibleName = "Reportes";
            this.radMenuItem4.Items.AddRange(new Telerik.WinControls.RadItem[] {
            this.radMenuSeparatorItem2,
            this.radMenuItem6});
            this.radMenuItem4.Name = "radMenuItem4";
            this.radMenuItem4.Text = "Reportes";
            this.radMenuItem4.Visibility = Telerik.WinControls.ElementVisibility.Visible;
            // 
            // radMenuSeparatorItem2
            // 
            this.radMenuSeparatorItem2.AccessibleDescription = "radMenuSeparatorItem2";
            this.radMenuSeparatorItem2.AccessibleName = "radMenuSeparatorItem2";
            this.radMenuSeparatorItem2.Name = "radMenuSeparatorItem2";
            this.radMenuSeparatorItem2.Text = "radMenuSeparatorItem2";
            this.radMenuSeparatorItem2.Visibility = Telerik.WinControls.ElementVisibility.Visible;
            // 
            // radMenuItem6
            // 
            this.radMenuItem6.AccessibleDescription = "Bonificaciones";
            this.radMenuItem6.AccessibleName = "Bonificaciones";
            this.radMenuItem6.Name = "radMenuItem6";
            this.radMenuItem6.Text = "Bonificaciones";
            this.radMenuItem6.Visibility = Telerik.WinControls.ElementVisibility.Visible;
            this.radMenuItem6.Click += new System.EventHandler(this.radMenuItem6_Click);
            // 
            // RadForm3
            // 
            this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
            this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
            this.ClientSize = new System.Drawing.Size(815, 438);
            this.Controls.Add(this.radGridView1);
            this.Controls.Add(this.radMenu1);
            this.Name = "RadForm3";
            // 
            // 
            // 
            this.RootElement.ApplyShapeToControl = true;
            this.Text = "RadForm3";
            this.ThemeName = "TelerikMetro";
            this.Load += new System.EventHandler(this.RadForm3_Load);
            ((System.ComponentModel.ISupportInitialize)(this.class1BindingSource)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.radMenu1)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.radGridView1.MasterTemplate)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.radGridView1)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this)).EndInit();
            this.ResumeLayout(false);
            this.PerformLayout();

        }
コード例 #5
0
 /// <summary>
 /// Required method for Designer support - do not modify
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     Telerik.WinControls.UI.GridViewTextBoxColumn   gridViewTextBoxColumn1 = new Telerik.WinControls.UI.GridViewTextBoxColumn();
     Telerik.WinControls.UI.GridViewTextBoxColumn   gridViewTextBoxColumn2 = new Telerik.WinControls.UI.GridViewTextBoxColumn();
     System.ComponentModel.ComponentResourceManager resources          = new System.ComponentModel.ComponentResourceManager(typeof(ProspectusList));
     Telerik.WinControls.UI.RadPrintWatermark       radPrintWatermark1 = new Telerik.WinControls.UI.RadPrintWatermark();
     this.gridView            = new Telerik.WinControls.UI.RadGridView();
     this.radPanel1           = new Telerik.WinControls.UI.RadPanel();
     this.btnPrint            = new Telerik.WinControls.UI.RadButton();
     this.btnClose            = new Telerik.WinControls.UI.RadButton();
     this.printPreviewDialog1 = new System.Windows.Forms.PrintPreviewDialog();
     this.radPrintDocument1   = new Telerik.WinControls.UI.RadPrintDocument();
     ((System.ComponentModel.ISupportInitialize)(this.gridView)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.gridView.MasterTemplate)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.radPanel1)).BeginInit();
     this.radPanel1.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.btnPrint)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.btnClose)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this)).BeginInit();
     this.SuspendLayout();
     //
     // gridView
     //
     this.gridView.Dock = System.Windows.Forms.DockStyle.Fill;
     this.gridView.GroupExpandAnimationType = Telerik.WinControls.UI.GridExpandAnimationType.Slide;
     this.gridView.Location = new System.Drawing.Point(0, 0);
     //
     //
     //
     this.gridView.MasterTemplate.AllowAddNewRow   = false;
     this.gridView.MasterTemplate.AllowDeleteRow   = false;
     this.gridView.MasterTemplate.AllowEditRow     = false;
     this.gridView.MasterTemplate.AutoExpandGroups = true;
     gridViewTextBoxColumn1.FieldName     = "SubjectCode";
     gridViewTextBoxColumn1.HeaderText    = "Subject Code";
     gridViewTextBoxColumn1.Name          = "SubjectCode";
     gridViewTextBoxColumn1.TextAlignment = System.Drawing.ContentAlignment.MiddleCenter;
     gridViewTextBoxColumn1.Width         = 75;
     gridViewTextBoxColumn2.FieldName     = "Description";
     gridViewTextBoxColumn2.HeaderText    = "Description";
     gridViewTextBoxColumn2.Name          = "Description";
     gridViewTextBoxColumn2.Width         = 350;
     this.gridView.MasterTemplate.Columns.AddRange(new Telerik.WinControls.UI.GridViewDataColumn[] {
         gridViewTextBoxColumn1,
         gridViewTextBoxColumn2
     });
     this.gridView.MasterTemplate.EnableAlternatingRowColor = true;
     this.gridView.MasterTemplate.PageSize           = 50;
     this.gridView.MasterTemplate.ShowGroupedColumns = true;
     this.gridView.Name     = "gridView";
     this.gridView.Size     = new System.Drawing.Size(542, 540);
     this.gridView.TabIndex = 2;
     this.gridView.Text     = "radGridView1";
     //
     // radPanel1
     //
     this.radPanel1.Controls.Add(this.btnPrint);
     this.radPanel1.Controls.Add(this.btnClose);
     this.radPanel1.Dock     = System.Windows.Forms.DockStyle.Bottom;
     this.radPanel1.Location = new System.Drawing.Point(0, 540);
     this.radPanel1.Name     = "radPanel1";
     this.radPanel1.Size     = new System.Drawing.Size(542, 51);
     this.radPanel1.TabIndex = 3;
     //
     // btnPrint
     //
     this.btnPrint.Anchor   = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
     this.btnPrint.Location = new System.Drawing.Point(372, 15);
     this.btnPrint.Name     = "btnPrint";
     this.btnPrint.Size     = new System.Drawing.Size(76, 24);
     this.btnPrint.TabIndex = 1;
     this.btnPrint.Text     = "Print";
     this.btnPrint.Click   += new System.EventHandler(this.btnPrint_Click);
     //
     // btnClose
     //
     this.btnClose.Anchor       = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
     this.btnClose.DialogResult = System.Windows.Forms.DialogResult.Cancel;
     this.btnClose.Location     = new System.Drawing.Point(454, 15);
     this.btnClose.Name         = "btnClose";
     this.btnClose.Size         = new System.Drawing.Size(76, 24);
     this.btnClose.TabIndex     = 0;
     this.btnClose.Text         = "Close";
     this.btnClose.Click       += new System.EventHandler(this.btnClose_Click);
     //
     // printPreviewDialog1
     //
     this.printPreviewDialog1.AutoScrollMargin  = new System.Drawing.Size(0, 0);
     this.printPreviewDialog1.AutoScrollMinSize = new System.Drawing.Size(0, 0);
     this.printPreviewDialog1.ClientSize        = new System.Drawing.Size(400, 300);
     this.printPreviewDialog1.Enabled           = true;
     this.printPreviewDialog1.Icon    = ((System.Drawing.Icon)(resources.GetObject("printPreviewDialog1.Icon")));
     this.printPreviewDialog1.Name    = "printPreviewDialog1";
     this.printPreviewDialog1.Visible = false;
     //
     // radPrintDocument1
     //
     this.radPrintDocument1.FooterFont = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.radPrintDocument1.HeaderFont = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.radPrintDocument1.Watermark  = radPrintWatermark1;
     //
     // ProspectusList
     //
     this.AcceptButton        = this.btnPrint;
     this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
     this.AutoScaleMode       = System.Windows.Forms.AutoScaleMode.Font;
     this.CancelButton        = this.btnClose;
     this.ClientSize          = new System.Drawing.Size(542, 591);
     this.Controls.Add(this.gridView);
     this.Controls.Add(this.radPanel1);
     this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedSingle;
     this.MaximizeBox     = false;
     this.MinimizeBox     = false;
     this.Name            = "ProspectusList";
     //
     //
     //
     this.RootElement.ApplyShapeToControl = true;
     this.ShowIcon      = false;
     this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
     this.Text          = "Prospectus";
     this.ThemeName     = "ControlDefault";
     this.Load         += new System.EventHandler(this.ProspectusList_Load);
     ((System.ComponentModel.ISupportInitialize)(this.gridView.MasterTemplate)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.gridView)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.radPanel1)).EndInit();
     this.radPanel1.ResumeLayout(false);
     ((System.ComponentModel.ISupportInitialize)(this.btnPrint)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.btnClose)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this)).EndInit();
     this.ResumeLayout(false);
 }
コード例 #6
0
 /// <summary>
 /// Required method for Designer support - do not modify
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     Telerik.WinControls.UI.CartesianArea           cartesianArea2     = new Telerik.WinControls.UI.CartesianArea();
     Telerik.WinControls.UI.RadPrintWatermark       radPrintWatermark2 = new Telerik.WinControls.UI.RadPrintWatermark();
     System.ComponentModel.ComponentResourceManager resources          = new System.ComponentModel.ComponentResourceManager(typeof(LineChart));
     this.radPanel1           = new Telerik.WinControls.UI.RadPanel();
     this.radChartView1       = new Telerik.WinControls.UI.RadChartView();
     this.radPanel2           = new Telerik.WinControls.UI.RadPanel();
     this.cmbGradeLevel       = new Telerik.WinControls.UI.RadDropDownList();
     this.lblGradeLevel       = new Telerik.WinControls.UI.RadLabel();
     this.btnPrint            = new Telerik.WinControls.UI.RadButton();
     this.btnClose            = new Telerik.WinControls.UI.RadButton();
     this.radPrintDocument1   = new Telerik.WinControls.UI.RadPrintDocument();
     this.printPreviewDialog1 = new System.Windows.Forms.PrintPreviewDialog();
     ((System.ComponentModel.ISupportInitialize)(this.radPanel1)).BeginInit();
     this.radPanel1.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.radChartView1)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.radPanel2)).BeginInit();
     this.radPanel2.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.cmbGradeLevel)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.lblGradeLevel)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.btnPrint)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.btnClose)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this)).BeginInit();
     this.SuspendLayout();
     //
     // radPanel1
     //
     this.radPanel1.Controls.Add(this.radChartView1);
     this.radPanel1.Controls.Add(this.radPanel2);
     this.radPanel1.Dock     = System.Windows.Forms.DockStyle.Fill;
     this.radPanel1.Location = new System.Drawing.Point(0, 0);
     this.radPanel1.Name     = "radPanel1";
     this.radPanel1.Size     = new System.Drawing.Size(1284, 598);
     this.radPanel1.TabIndex = 5;
     //
     // radChartView1
     //
     this.radChartView1.AreaDesign = cartesianArea2;
     this.radChartView1.Dock       = System.Windows.Forms.DockStyle.Fill;
     this.radChartView1.Location   = new System.Drawing.Point(0, 0);
     this.radChartView1.Name       = "radChartView1";
     this.radChartView1.ShowGrid   = false;
     this.radChartView1.Size       = new System.Drawing.Size(1284, 547);
     this.radChartView1.TabIndex   = 5;
     this.radChartView1.Text       = "radChartView1";
     //
     // radPanel2
     //
     this.radPanel2.Controls.Add(this.cmbGradeLevel);
     this.radPanel2.Controls.Add(this.lblGradeLevel);
     this.radPanel2.Controls.Add(this.btnPrint);
     this.radPanel2.Controls.Add(this.btnClose);
     this.radPanel2.Dock     = System.Windows.Forms.DockStyle.Bottom;
     this.radPanel2.Location = new System.Drawing.Point(0, 547);
     this.radPanel2.Name     = "radPanel2";
     this.radPanel2.Size     = new System.Drawing.Size(1284, 51);
     this.radPanel2.TabIndex = 4;
     //
     // cmbGradeLevel
     //
     this.cmbGradeLevel.DataMember            = "Description";
     this.cmbGradeLevel.DisplayMember         = "Description";
     this.cmbGradeLevel.Location              = new System.Drawing.Point(115, 15);
     this.cmbGradeLevel.Name                  = "cmbGradeLevel";
     this.cmbGradeLevel.Size                  = new System.Drawing.Size(103, 20);
     this.cmbGradeLevel.TabIndex              = 63;
     this.cmbGradeLevel.ValueMember           = "GradeLev";
     this.cmbGradeLevel.Visible               = false;
     this.cmbGradeLevel.SelectedValueChanged += new System.EventHandler(this.cmbGradeLevel_SelectedValueChanged);
     //
     // lblGradeLevel
     //
     this.lblGradeLevel.Location = new System.Drawing.Point(12, 15);
     this.lblGradeLevel.Name     = "lblGradeLevel";
     this.lblGradeLevel.Size     = new System.Drawing.Size(97, 18);
     this.lblGradeLevel.TabIndex = 62;
     this.lblGradeLevel.Text     = "Select Grade Level";
     this.lblGradeLevel.Visible  = false;
     //
     // btnPrint
     //
     this.btnPrint.Anchor   = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
     this.btnPrint.Location = new System.Drawing.Point(1114, 15);
     this.btnPrint.Name     = "btnPrint";
     this.btnPrint.Size     = new System.Drawing.Size(76, 24);
     this.btnPrint.TabIndex = 1;
     this.btnPrint.Text     = "Print";
     this.btnPrint.Click   += new System.EventHandler(this.btnPrint_Click);
     //
     // btnClose
     //
     this.btnClose.Anchor       = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
     this.btnClose.DialogResult = System.Windows.Forms.DialogResult.Cancel;
     this.btnClose.Location     = new System.Drawing.Point(1196, 15);
     this.btnClose.Name         = "btnClose";
     this.btnClose.Size         = new System.Drawing.Size(76, 24);
     this.btnClose.TabIndex     = 0;
     this.btnClose.Text         = "Close";
     this.btnClose.Click       += new System.EventHandler(this.btnClose_Click);
     //
     // radPrintDocument1
     //
     this.radPrintDocument1.FooterFont = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.radPrintDocument1.HeaderFont = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.radPrintDocument1.Watermark  = radPrintWatermark2;
     //
     // printPreviewDialog1
     //
     this.printPreviewDialog1.AutoScrollMargin  = new System.Drawing.Size(0, 0);
     this.printPreviewDialog1.AutoScrollMinSize = new System.Drawing.Size(0, 0);
     this.printPreviewDialog1.ClientSize        = new System.Drawing.Size(400, 300);
     this.printPreviewDialog1.Enabled           = true;
     this.printPreviewDialog1.Icon    = ((System.Drawing.Icon)(resources.GetObject("printPreviewDialog1.Icon")));
     this.printPreviewDialog1.Name    = "printPreviewDialog1";
     this.printPreviewDialog1.Visible = false;
     //
     // LineChart
     //
     this.AcceptButton        = this.btnPrint;
     this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
     this.AutoScaleMode       = System.Windows.Forms.AutoScaleMode.Font;
     this.CancelButton        = this.btnClose;
     this.ClientSize          = new System.Drawing.Size(1284, 598);
     this.Controls.Add(this.radPanel1);
     this.Name = "LineChart";
     //
     //
     //
     this.RootElement.ApplyShapeToControl = true;
     this.ShowIcon      = false;
     this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
     this.Text          = "Line Chart";
     this.ThemeName     = "ControlDefault";
     this.Load         += new System.EventHandler(this.LineChart_Load);
     ((System.ComponentModel.ISupportInitialize)(this.radPanel1)).EndInit();
     this.radPanel1.ResumeLayout(false);
     ((System.ComponentModel.ISupportInitialize)(this.radChartView1)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.radPanel2)).EndInit();
     this.radPanel2.ResumeLayout(false);
     this.radPanel2.PerformLayout();
     ((System.ComponentModel.ISupportInitialize)(this.cmbGradeLevel)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.lblGradeLevel)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.btnPrint)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.btnClose)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this)).EndInit();
     this.ResumeLayout(false);
 }
コード例 #7
0
        /// <summary> 
        /// Required method for Designer support - do not modify 
        /// the contents of this method with the code editor.
        /// </summary>
        private void InitializeComponent()
        {
            Telerik.WinControls.UI.RadPrintWatermark radPrintWatermark1 = new Telerik.WinControls.UI.RadPrintWatermark();
            this.btnUpdateSchedule = new Telerik.WinControls.UI.RadButton();
            this.btnAddSchedule = new Telerik.WinControls.UI.RadButton();
            this.txtPatientId = new Telerik.WinControls.UI.RadTextBox();
            this.radLabel7 = new Telerik.WinControls.UI.RadLabel();
            this.txtName = new Telerik.WinControls.UI.RadTextBox();
            this.radLabel4 = new Telerik.WinControls.UI.RadLabel();
            this.radTimeStart = new Telerik.WinControls.UI.RadTimePicker();
            this.radDateStart = new Telerik.WinControls.UI.RadDateTimePicker();
            this.radLabel6 = new Telerik.WinControls.UI.RadLabel();
            this.txtEmail = new Telerik.WinControls.UI.RadTextBox();
            this.radLabel1 = new Telerik.WinControls.UI.RadLabel();
            this.txtMobile = new Telerik.WinControls.UI.RadTextBox();
            this.radLabel2 = new Telerik.WinControls.UI.RadLabel();
            this.txtAppointmentId = new Telerik.WinControls.UI.RadTextBox();
            this.btnDelete = new Telerik.WinControls.UI.RadButton();
            this.AppointmentsGrid = new Telerik.WinControls.UI.RadGridView();
            this.btnSearch = new Telerik.WinControls.UI.RadButton();
            this.btnPrint = new Telerik.WinControls.UI.RadButton();
            this.radLabel3 = new Telerik.WinControls.UI.RadLabel();
            this.FromDate = new Telerik.WinControls.UI.RadDateTimePicker();
            this.ToDate = new Telerik.WinControls.UI.RadDateTimePicker();
            this.radLabel5 = new Telerik.WinControls.UI.RadLabel();
            this.radPrintDocument1 = new Telerik.WinControls.UI.RadPrintDocument();
            this.telerikMetroBlueTheme1 = new Telerik.WinControls.Themes.TelerikMetroBlueTheme();
            ((System.ComponentModel.ISupportInitialize)(this.btnUpdateSchedule)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.btnAddSchedule)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.txtPatientId)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.radLabel7)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.txtName)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.radLabel4)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.radTimeStart)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.radDateStart)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.radLabel6)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.txtEmail)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.radLabel1)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.txtMobile)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.radLabel2)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.txtAppointmentId)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.btnDelete)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.AppointmentsGrid)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.AppointmentsGrid.MasterTemplate)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.btnSearch)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.btnPrint)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.radLabel3)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.FromDate)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.ToDate)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.radLabel5)).BeginInit();
            this.SuspendLayout();
            // 
            // btnUpdateSchedule
            // 
            this.btnUpdateSchedule.Font = new System.Drawing.Font("Segoe UI", 9F, System.Drawing.FontStyle.Bold);
            this.btnUpdateSchedule.Location = new System.Drawing.Point(101, 371);
            this.btnUpdateSchedule.Name = "btnUpdateSchedule";
            this.btnUpdateSchedule.Size = new System.Drawing.Size(71, 32);
            this.btnUpdateSchedule.TabIndex = 74;
            this.btnUpdateSchedule.Text = "Update";
            this.btnUpdateSchedule.ThemeName = "TelerikMetroBlue";
            this.btnUpdateSchedule.Click += new System.EventHandler(this.btnUpdateSchedule_Click);
            // 
            // btnAddSchedule
            // 
            this.btnAddSchedule.Font = new System.Drawing.Font("Segoe UI", 9F, System.Drawing.FontStyle.Bold);
            this.btnAddSchedule.Location = new System.Drawing.Point(22, 371);
            this.btnAddSchedule.Name = "btnAddSchedule";
            this.btnAddSchedule.Size = new System.Drawing.Size(72, 32);
            this.btnAddSchedule.TabIndex = 73;
            this.btnAddSchedule.Text = "Add";
            this.btnAddSchedule.ThemeName = "TelerikMetroBlue";
            this.btnAddSchedule.Click += new System.EventHandler(this.btnAddSchedule_Click);
            // 
            // txtPatientId
            // 
            this.txtPatientId.Location = new System.Drawing.Point(22, 189);
            this.txtPatientId.MaxLength = 30;
            this.txtPatientId.Name = "txtPatientId";
            this.txtPatientId.Size = new System.Drawing.Size(263, 20);
            this.txtPatientId.TabIndex = 70;
            this.txtPatientId.TabStop = false;
            // 
            // radLabel7
            // 
            this.radLabel7.Font = new System.Drawing.Font("Segoe UI", 10F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.radLabel7.Location = new System.Drawing.Point(22, 162);
            this.radLabel7.Name = "radLabel7";
            this.radLabel7.Size = new System.Drawing.Size(65, 21);
            this.radLabel7.TabIndex = 69;
            this.radLabel7.Text = "Patient Id";
            // 
            // txtName
            // 
            this.txtName.Location = new System.Drawing.Point(22, 126);
            this.txtName.MaxLength = 30;
            this.txtName.Name = "txtName";
            this.txtName.Size = new System.Drawing.Size(263, 20);
            this.txtName.TabIndex = 68;
            this.txtName.TabStop = false;
            // 
            // radLabel4
            // 
            this.radLabel4.Font = new System.Drawing.Font("Segoe UI", 10F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.radLabel4.Location = new System.Drawing.Point(22, 99);
            this.radLabel4.Name = "radLabel4";
            this.radLabel4.Size = new System.Drawing.Size(43, 21);
            this.radLabel4.TabIndex = 66;
            this.radLabel4.Text = "Name";
            // 
            // radTimeStart
            // 
            this.radTimeStart.ClockPosition = Telerik.WinControls.UI.ClockPosition.HideClock;
            this.radTimeStart.Location = new System.Drawing.Point(179, 56);
            this.radTimeStart.Name = "radTimeStart";
            this.radTimeStart.Size = new System.Drawing.Size(106, 22);
            this.radTimeStart.TabIndex = 61;
            this.radTimeStart.TabStop = false;
            this.radTimeStart.ThemeName = "TelerikMetroBlue";
            this.radTimeStart.Value = new System.DateTime(2013, 9, 22, 15, 35, 26, 0);
            // 
            // radDateStart
            // 
            this.radDateStart.Location = new System.Drawing.Point(22, 56);
            this.radDateStart.Name = "radDateStart";
            this.radDateStart.Size = new System.Drawing.Size(150, 22);
            this.radDateStart.TabIndex = 60;
            this.radDateStart.TabStop = false;
            this.radDateStart.Text = "22 September 2013";
            this.radDateStart.ThemeName = "TelerikMetroBlue";
            this.radDateStart.Value = new System.DateTime(2013, 9, 22, 15, 32, 29, 443);
            // 
            // radLabel6
            // 
            this.radLabel6.Font = new System.Drawing.Font("Segoe UI", 10F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.radLabel6.Location = new System.Drawing.Point(22, 28);
            this.radLabel6.Name = "radLabel6";
            this.radLabel6.Size = new System.Drawing.Size(35, 21);
            this.radLabel6.TabIndex = 58;
            this.radLabel6.Text = "Date";
            // 
            // txtEmail
            // 
            this.txtEmail.Location = new System.Drawing.Point(22, 317);
            this.txtEmail.MaxLength = 30;
            this.txtEmail.Name = "txtEmail";
            this.txtEmail.Size = new System.Drawing.Size(263, 20);
            this.txtEmail.TabIndex = 78;
            this.txtEmail.TabStop = false;
            // 
            // radLabel1
            // 
            this.radLabel1.Font = new System.Drawing.Font("Segoe UI", 10F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.radLabel1.Location = new System.Drawing.Point(22, 290);
            this.radLabel1.Name = "radLabel1";
            this.radLabel1.Size = new System.Drawing.Size(39, 21);
            this.radLabel1.TabIndex = 77;
            this.radLabel1.Text = "Email";
            // 
            // txtMobile
            // 
            this.txtMobile.Location = new System.Drawing.Point(22, 254);
            this.txtMobile.MaxLength = 30;
            this.txtMobile.Name = "txtMobile";
            this.txtMobile.Size = new System.Drawing.Size(263, 20);
            this.txtMobile.TabIndex = 76;
            this.txtMobile.TabStop = false;
            // 
            // radLabel2
            // 
            this.radLabel2.Font = new System.Drawing.Font("Segoe UI", 10F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.radLabel2.Location = new System.Drawing.Point(22, 227);
            this.radLabel2.Name = "radLabel2";
            this.radLabel2.Size = new System.Drawing.Size(49, 21);
            this.radLabel2.TabIndex = 75;
            this.radLabel2.Text = "Mobile";
            // 
            // txtAppointmentId
            // 
            this.txtAppointmentId.Location = new System.Drawing.Point(22, 543);
            this.txtAppointmentId.MaxLength = 30;
            this.txtAppointmentId.Name = "txtAppointmentId";
            this.txtAppointmentId.Size = new System.Drawing.Size(263, 20);
            this.txtAppointmentId.TabIndex = 79;
            this.txtAppointmentId.TabStop = false;
            this.txtAppointmentId.ThemeName = "TelerikMetro";
            this.txtAppointmentId.Visible = false;
            // 
            // btnDelete
            // 
            this.btnDelete.Font = new System.Drawing.Font("Segoe UI", 9F, System.Drawing.FontStyle.Bold);
            this.btnDelete.Location = new System.Drawing.Point(179, 371);
            this.btnDelete.Name = "btnDelete";
            this.btnDelete.Size = new System.Drawing.Size(71, 32);
            this.btnDelete.TabIndex = 75;
            this.btnDelete.Text = "Delete";
            this.btnDelete.ThemeName = "TelerikMetroBlue";
            this.btnDelete.Click += new System.EventHandler(this.btnDelete_Click);
            // 
            // AppointmentsGrid
            // 
            this.AppointmentsGrid.AutoScroll = true;
            this.AppointmentsGrid.Location = new System.Drawing.Point(337, 99);
            // 
            // AppointmentsGrid
            // 
            this.AppointmentsGrid.MasterTemplate.AllowAddNewRow = false;
            this.AppointmentsGrid.MasterTemplate.AllowCellContextMenu = false;
            this.AppointmentsGrid.MasterTemplate.AllowColumnHeaderContextMenu = false;
            this.AppointmentsGrid.MasterTemplate.AllowDeleteRow = false;
            this.AppointmentsGrid.MasterTemplate.AllowDragToGroup = false;
            this.AppointmentsGrid.MasterTemplate.AllowEditRow = false;
            this.AppointmentsGrid.MasterTemplate.EnableAlternatingRowColor = true;
            this.AppointmentsGrid.MasterTemplate.EnableFiltering = true;
            this.AppointmentsGrid.Name = "AppointmentsGrid";
            this.AppointmentsGrid.ReadOnly = true;
            this.AppointmentsGrid.ShowGroupPanel = false;
            this.AppointmentsGrid.ShowItemToolTips = false;
            this.AppointmentsGrid.Size = new System.Drawing.Size(921, 467);
            this.AppointmentsGrid.TabIndex = 80;
            this.AppointmentsGrid.Text = "radGridView1";
            this.AppointmentsGrid.ThemeName = "TelerikMetroBlue";
            this.AppointmentsGrid.CellDoubleClick += new Telerik.WinControls.UI.GridViewCellEventHandler(this.AppointmentsGrid_CellDoubleClick);
            // 
            // btnSearch
            // 
            this.btnSearch.Font = new System.Drawing.Font("Segoe UI", 9F, System.Drawing.FontStyle.Bold);
            this.btnSearch.Location = new System.Drawing.Point(790, 56);
            this.btnSearch.Name = "btnSearch";
            this.btnSearch.Size = new System.Drawing.Size(130, 24);
            this.btnSearch.TabIndex = 81;
            this.btnSearch.Text = "Search";
            this.btnSearch.ThemeName = "TelerikMetroBlue";
            this.btnSearch.Click += new System.EventHandler(this.btnSearch_Click);
            // 
            // btnPrint
            // 
            this.btnPrint.Font = new System.Drawing.Font("Segoe UI", 9F, System.Drawing.FontStyle.Bold);
            this.btnPrint.Location = new System.Drawing.Point(945, 56);
            this.btnPrint.Name = "btnPrint";
            this.btnPrint.Size = new System.Drawing.Size(102, 24);
            this.btnPrint.TabIndex = 82;
            this.btnPrint.Text = "Print";
            this.btnPrint.ThemeName = "TelerikMetroBlue";
            this.btnPrint.Click += new System.EventHandler(this.btnPrint_Click);
            // 
            // radLabel3
            // 
            this.radLabel3.Font = new System.Drawing.Font("Segoe UI", 10F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.radLabel3.Location = new System.Drawing.Point(337, 56);
            this.radLabel3.Name = "radLabel3";
            this.radLabel3.Size = new System.Drawing.Size(49, 21);
            this.radLabel3.TabIndex = 83;
            this.radLabel3.Text = "From : ";
            // 
            // FromDate
            // 
            this.FromDate.Location = new System.Drawing.Point(392, 56);
            this.FromDate.Name = "FromDate";
            this.FromDate.Size = new System.Drawing.Size(150, 22);
            this.FromDate.TabIndex = 84;
            this.FromDate.TabStop = false;
            this.FromDate.Text = "22 September 2013";
            this.FromDate.ThemeName = "TelerikMetroBlue";
            this.FromDate.Value = new System.DateTime(2013, 9, 22, 15, 32, 29, 443);
            // 
            // ToDate
            // 
            this.ToDate.Location = new System.Drawing.Point(601, 56);
            this.ToDate.Name = "ToDate";
            this.ToDate.Size = new System.Drawing.Size(150, 22);
            this.ToDate.TabIndex = 86;
            this.ToDate.TabStop = false;
            this.ToDate.Text = "22 September 2013";
            this.ToDate.ThemeName = "TelerikMetroBlue";
            this.ToDate.Value = new System.DateTime(2013, 9, 22, 15, 32, 29, 443);
            // 
            // radLabel5
            // 
            this.radLabel5.Font = new System.Drawing.Font("Segoe UI", 10F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.radLabel5.Location = new System.Drawing.Point(562, 56);
            this.radLabel5.Name = "radLabel5";
            this.radLabel5.Size = new System.Drawing.Size(33, 21);
            this.radLabel5.TabIndex = 85;
            this.radLabel5.Text = "To : ";
            // 
            // radPrintDocument1
            // 
            this.radPrintDocument1.FooterFont = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.radPrintDocument1.HeaderFont = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.radPrintDocument1.Watermark = radPrintWatermark1;
            // 
            // AppointmentView
            // 
            this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
            this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
            this.BackColor = System.Drawing.SystemColors.Window;
            this.Controls.Add(this.ToDate);
            this.Controls.Add(this.radLabel5);
            this.Controls.Add(this.FromDate);
            this.Controls.Add(this.radLabel3);
            this.Controls.Add(this.btnPrint);
            this.Controls.Add(this.btnSearch);
            this.Controls.Add(this.AppointmentsGrid);
            this.Controls.Add(this.btnDelete);
            this.Controls.Add(this.txtAppointmentId);
            this.Controls.Add(this.txtEmail);
            this.Controls.Add(this.radLabel1);
            this.Controls.Add(this.txtMobile);
            this.Controls.Add(this.radLabel2);
            this.Controls.Add(this.btnUpdateSchedule);
            this.Controls.Add(this.btnAddSchedule);
            this.Controls.Add(this.txtPatientId);
            this.Controls.Add(this.radLabel7);
            this.Controls.Add(this.txtName);
            this.Controls.Add(this.radLabel4);
            this.Controls.Add(this.radTimeStart);
            this.Controls.Add(this.radDateStart);
            this.Controls.Add(this.radLabel6);
            this.Name = "AppointmentView";
            this.Size = new System.Drawing.Size(1300, 600);
            ((System.ComponentModel.ISupportInitialize)(this.btnUpdateSchedule)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.btnAddSchedule)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.txtPatientId)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.radLabel7)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.txtName)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.radLabel4)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.radTimeStart)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.radDateStart)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.radLabel6)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.txtEmail)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.radLabel1)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.txtMobile)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.radLabel2)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.txtAppointmentId)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.btnDelete)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.AppointmentsGrid.MasterTemplate)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.AppointmentsGrid)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.btnSearch)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.btnPrint)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.radLabel3)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.FromDate)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.ToDate)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.radLabel5)).EndInit();
            this.ResumeLayout(false);
            this.PerformLayout();

        }
コード例 #8
0
 /// <summary>
 /// Required method for Designer support - do not modify
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     Telerik.WinControls.UI.TableViewDefinition tableViewDefinition1 = new Telerik.WinControls.UI.TableViewDefinition();
     Telerik.WinControls.UI.ListViewDataItem    listViewDataItem1    = new Telerik.WinControls.UI.ListViewDataItem("excel");
     Telerik.WinControls.UI.ListViewDataItem    listViewDataItem2    = new Telerik.WinControls.UI.ListViewDataItem("clv");
     Telerik.WinControls.UI.ListViewDataItem    listViewDataItem3    = new Telerik.WinControls.UI.ListViewDataItem("html");
     Telerik.WinControls.UI.ListViewDataItem    listViewDataItem4    = new Telerik.WinControls.UI.ListViewDataItem("pdf");
     Telerik.WinControls.UI.RadPrintWatermark   radPrintWatermark1   = new Telerik.WinControls.UI.RadPrintWatermark();
     Telerik.WinControls.UI.RadListDataItem     radListDataItem1     = new Telerik.WinControls.UI.RadListDataItem();
     Telerik.WinControls.UI.RadListDataItem     radListDataItem2     = new Telerik.WinControls.UI.RadListDataItem();
     Telerik.WinControls.UI.RadListDataItem     radListDataItem3     = new Telerik.WinControls.UI.RadListDataItem();
     Telerik.WinControls.UI.RadListDataItem     radListDataItem4     = new Telerik.WinControls.UI.RadListDataItem();
     this.btn_print            = new Telerik.WinControls.UI.RadButton();
     this.btn_printPerview     = new Telerik.WinControls.UI.RadButton();
     this.btn_printSetting     = new Telerik.WinControls.UI.RadButton();
     this.btn_export           = new Telerik.WinControls.UI.RadButton();
     this.radGridView1         = new Telerik.WinControls.UI.RadGridView();
     this.ListViewOption       = new Telerik.WinControls.UI.RadListView();
     this.radPrintDocument1    = new Telerik.WinControls.UI.RadPrintDocument();
     this.materialTealTheme1   = new Telerik.WinControls.Themes.MaterialTealTheme();
     this.saveFileDialog       = new System.Windows.Forms.SaveFileDialog();
     this.radComboBoxSummaries = new Telerik.WinControls.UI.RadDropDownList();
     ((System.ComponentModel.ISupportInitialize)(this.btn_print)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.btn_printPerview)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.btn_printSetting)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.btn_export)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.radGridView1)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.radGridView1.MasterTemplate)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.ListViewOption)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.radComboBoxSummaries)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this)).BeginInit();
     this.SuspendLayout();
     //
     // btn_print
     //
     this.btn_print.Location  = new System.Drawing.Point(72, 12);
     this.btn_print.Name      = "btn_print";
     this.btn_print.Size      = new System.Drawing.Size(116, 38);
     this.btn_print.TabIndex  = 0;
     this.btn_print.Text      = "print";
     this.btn_print.ThemeName = "MaterialTeal";
     this.btn_print.Click    += new System.EventHandler(this.radButtonPrint_Click);
     //
     // btn_printPerview
     //
     this.btn_printPerview.Location  = new System.Drawing.Point(215, 13);
     this.btn_printPerview.Name      = "btn_printPerview";
     this.btn_printPerview.Size      = new System.Drawing.Size(127, 37);
     this.btn_printPerview.TabIndex  = 1;
     this.btn_printPerview.Text      = "printPerview";
     this.btn_printPerview.ThemeName = "MaterialTeal";
     this.btn_printPerview.Click    += new System.EventHandler(this.radButtonPrintPreview_Click);
     //
     // btn_printSetting
     //
     this.btn_printSetting.Location  = new System.Drawing.Point(366, 13);
     this.btn_printSetting.Name      = "btn_printSetting";
     this.btn_printSetting.Size      = new System.Drawing.Size(116, 37);
     this.btn_printSetting.TabIndex  = 1;
     this.btn_printSetting.Text      = "printSetting";
     this.btn_printSetting.ThemeName = "MaterialTeal";
     this.btn_printSetting.Click    += new System.EventHandler(this.radButtonPrintSettings_Click);
     //
     // btn_export
     //
     this.btn_export.Location  = new System.Drawing.Point(610, 267);
     this.btn_export.Name      = "btn_export";
     this.btn_export.Size      = new System.Drawing.Size(116, 51);
     this.btn_export.TabIndex  = 1;
     this.btn_export.Text      = "export";
     this.btn_export.ThemeName = "MaterialTeal";
     this.btn_export.Click    += new System.EventHandler(this.radButtonExport_Click);
     //
     // radGridView1
     //
     this.radGridView1.Location = new System.Drawing.Point(12, 56);
     //
     //
     //
     this.radGridView1.MasterTemplate.AllowAddNewRow = false;
     this.radGridView1.MasterTemplate.ViewDefinition = tableViewDefinition1;
     this.radGridView1.Name      = "radGridView1";
     this.radGridView1.ReadOnly  = true;
     this.radGridView1.Size      = new System.Drawing.Size(581, 320);
     this.radGridView1.TabIndex  = 2;
     this.radGridView1.ThemeName = "MaterialTeal";
     //
     // ListViewOption
     //
     this.ListViewOption.GroupItemSize = new System.Drawing.Size(200, 36);
     listViewDataItem1.Text            = "excel";
     listViewDataItem2.Text            = "clv";
     listViewDataItem3.Text            = "html";
     listViewDataItem4.Text            = "pdf";
     this.ListViewOption.Items.AddRange(new Telerik.WinControls.UI.ListViewDataItem[] {
         listViewDataItem1,
         listViewDataItem2,
         listViewDataItem3,
         listViewDataItem4
     });
     this.ListViewOption.ItemSize              = new System.Drawing.Size(200, 36);
     this.ListViewOption.Location              = new System.Drawing.Point(615, 48);
     this.ListViewOption.Name                  = "ListViewOption";
     this.ListViewOption.Size                  = new System.Drawing.Size(113, 113);
     this.ListViewOption.TabIndex              = 3;
     this.ListViewOption.ThemeName             = "MaterialTeal";
     this.ListViewOption.SelectedIndexChanged += new System.EventHandler(this.radListBox1_SelectedIndexChanged);
     //
     // radPrintDocument1
     //
     this.radPrintDocument1.FooterFont = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(177)));
     this.radPrintDocument1.HeaderFont = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(177)));
     this.radPrintDocument1.Watermark  = radPrintWatermark1;
     //
     // radComboBoxSummaries
     //
     radListDataItem1.Text = "ExportAll";
     radListDataItem2.Text = "ExportOnlyTop";
     radListDataItem3.Text = "ExportOnlyBottom";
     radListDataItem4.Text = "DoNotExport";
     this.radComboBoxSummaries.Items.Add(radListDataItem1);
     this.radComboBoxSummaries.Items.Add(radListDataItem2);
     this.radComboBoxSummaries.Items.Add(radListDataItem3);
     this.radComboBoxSummaries.Items.Add(radListDataItem4);
     this.radComboBoxSummaries.Location  = new System.Drawing.Point(609, 214);
     this.radComboBoxSummaries.Name      = "radComboBoxSummaries";
     this.radComboBoxSummaries.Size      = new System.Drawing.Size(116, 36);
     this.radComboBoxSummaries.TabIndex  = 4;
     this.radComboBoxSummaries.ThemeName = "MaterialTeal";
     //
     // Report
     //
     this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
     this.AutoScaleMode       = System.Windows.Forms.AutoScaleMode.Font;
     this.ClientSize          = new System.Drawing.Size(739, 388);
     this.Controls.Add(this.radComboBoxSummaries);
     this.Controls.Add(this.ListViewOption);
     this.Controls.Add(this.radGridView1);
     this.Controls.Add(this.btn_printPerview);
     this.Controls.Add(this.btn_printSetting);
     this.Controls.Add(this.btn_export);
     this.Controls.Add(this.btn_print);
     this.Name = "Report";
     //
     //
     //
     this.RootElement.ApplyShapeToControl = true;
     this.Text      = "Report";
     this.ThemeName = "MaterialTeal";
     ((System.ComponentModel.ISupportInitialize)(this.btn_print)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.btn_printPerview)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.btn_printSetting)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.btn_export)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.radGridView1.MasterTemplate)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.radGridView1)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.ListViewOption)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.radComboBoxSummaries)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this)).EndInit();
     this.ResumeLayout(false);
     this.PerformLayout();
 }
コード例 #9
0
 /// <summary>
 /// Required method for Designer support - do not modify
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     Telerik.WinControls.UI.RadListDataItem         radListDataItem13       = new Telerik.WinControls.UI.RadListDataItem();
     Telerik.WinControls.UI.RadListDataItem         radListDataItem14       = new Telerik.WinControls.UI.RadListDataItem();
     Telerik.WinControls.UI.RadListDataItem         radListDataItem15       = new Telerik.WinControls.UI.RadListDataItem();
     Telerik.WinControls.UI.RadListDataItem         radListDataItem16       = new Telerik.WinControls.UI.RadListDataItem();
     Telerik.WinControls.UI.RadListDataItem         radListDataItem17       = new Telerik.WinControls.UI.RadListDataItem();
     Telerik.WinControls.UI.RadListDataItem         radListDataItem18       = new Telerik.WinControls.UI.RadListDataItem();
     Telerik.WinControls.UI.RadListDataItem         radListDataItem1        = new Telerik.WinControls.UI.RadListDataItem();
     Telerik.WinControls.UI.RadListDataItem         radListDataItem2        = new Telerik.WinControls.UI.RadListDataItem();
     Telerik.WinControls.UI.RadListDataItem         radListDataItem3        = new Telerik.WinControls.UI.RadListDataItem();
     Telerik.WinControls.UI.RadListDataItem         radListDataItem4        = new Telerik.WinControls.UI.RadListDataItem();
     Telerik.WinControls.UI.RadListDataItem         radListDataItem5        = new Telerik.WinControls.UI.RadListDataItem();
     Telerik.WinControls.UI.RadListDataItem         radListDataItem6        = new Telerik.WinControls.UI.RadListDataItem();
     Telerik.WinControls.UI.GridViewTextBoxColumn   gridViewTextBoxColumn8  = new Telerik.WinControls.UI.GridViewTextBoxColumn();
     Telerik.WinControls.UI.GridViewTextBoxColumn   gridViewTextBoxColumn9  = new Telerik.WinControls.UI.GridViewTextBoxColumn();
     Telerik.WinControls.UI.GridViewTextBoxColumn   gridViewTextBoxColumn10 = new Telerik.WinControls.UI.GridViewTextBoxColumn();
     Telerik.WinControls.UI.GridViewTextBoxColumn   gridViewTextBoxColumn11 = new Telerik.WinControls.UI.GridViewTextBoxColumn();
     Telerik.WinControls.UI.GridViewTextBoxColumn   gridViewTextBoxColumn12 = new Telerik.WinControls.UI.GridViewTextBoxColumn();
     Telerik.WinControls.UI.GridViewTextBoxColumn   gridViewTextBoxColumn13 = new Telerik.WinControls.UI.GridViewTextBoxColumn();
     Telerik.WinControls.UI.GridViewTextBoxColumn   gridViewTextBoxColumn14 = new Telerik.WinControls.UI.GridViewTextBoxColumn();
     System.ComponentModel.ComponentResourceManager resources          = new System.ComponentModel.ComponentResourceManager(typeof(frmTraitsQuarterlyGrading));
     Telerik.WinControls.UI.RadPrintWatermark       radPrintWatermark2 = new Telerik.WinControls.UI.RadPrintWatermark();
     this.radPanel2           = new Telerik.WinControls.UI.RadPanel();
     this.btnUnlock           = new Telerik.WinControls.UI.RadButton();
     this.btnPrint            = new Telerik.WinControls.UI.RadButton();
     this.btnCancel           = new Telerik.WinControls.UI.RadButton();
     this.btnLock             = new Telerik.WinControls.UI.RadButton();
     this.btnSave             = new Telerik.WinControls.UI.RadButton();
     this.radPanel1           = new Telerik.WinControls.UI.RadPanel();
     this.radDropDownList1    = new Telerik.WinControls.UI.RadDropDownList();
     this.radLabel6           = new Telerik.WinControls.UI.RadLabel();
     this.cmbQuarter          = new Telerik.WinControls.UI.RadDropDownList();
     this.radLabel7           = new Telerik.WinControls.UI.RadLabel();
     this.txtSection          = new Telerik.WinControls.UI.RadTextBox();
     this.radLabel5           = new Telerik.WinControls.UI.RadLabel();
     this.txtGradeLevel       = new Telerik.WinControls.UI.RadTextBox();
     this.radLabel4           = new Telerik.WinControls.UI.RadLabel();
     this.gvTraitsGrades      = new Telerik.WinControls.UI.RadGridView();
     this.txtTeacherName      = new Telerik.WinControls.UI.RadTextBox();
     this.txtTeacherId        = new Telerik.WinControls.UI.RadTextBox();
     this.txtSy               = new Telerik.WinControls.UI.RadTextBox();
     this.radLabel3           = new Telerik.WinControls.UI.RadLabel();
     this.radLabel2           = new Telerik.WinControls.UI.RadLabel();
     this.radLabel1           = new Telerik.WinControls.UI.RadLabel();
     this.printPreviewDialog1 = new System.Windows.Forms.PrintPreviewDialog();
     this.radPrintDocument1   = new Telerik.WinControls.UI.RadPrintDocument();
     ((System.ComponentModel.ISupportInitialize)(this.radPanel2)).BeginInit();
     this.radPanel2.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.btnUnlock)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.btnPrint)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.btnCancel)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.btnLock)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.btnSave)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.radPanel1)).BeginInit();
     this.radPanel1.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.radDropDownList1)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.radLabel6)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.cmbQuarter)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.radLabel7)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.txtSection)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.radLabel5)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.txtGradeLevel)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.radLabel4)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.gvTraitsGrades)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.gvTraitsGrades.MasterTemplate)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.txtTeacherName)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.txtTeacherId)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.txtSy)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.radLabel3)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.radLabel2)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.radLabel1)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this)).BeginInit();
     this.SuspendLayout();
     //
     // radPanel2
     //
     this.radPanel2.Controls.Add(this.btnUnlock);
     this.radPanel2.Controls.Add(this.btnPrint);
     this.radPanel2.Controls.Add(this.btnCancel);
     this.radPanel2.Controls.Add(this.btnLock);
     this.radPanel2.Controls.Add(this.btnSave);
     this.radPanel2.Dock     = System.Windows.Forms.DockStyle.Bottom;
     this.radPanel2.Location = new System.Drawing.Point(0, 526);
     this.radPanel2.Name     = "radPanel2";
     this.radPanel2.Size     = new System.Drawing.Size(778, 42);
     this.radPanel2.TabIndex = 3;
     //
     // btnUnlock
     //
     this.btnUnlock.Location = new System.Drawing.Point(9, 10);
     this.btnUnlock.Name     = "btnUnlock";
     this.btnUnlock.Size     = new System.Drawing.Size(77, 24);
     this.btnUnlock.TabIndex = 5;
     this.btnUnlock.Text     = "UNLOCK";
     this.btnUnlock.Click   += new System.EventHandler(this.btnUnlock_Click);
     //
     // btnPrint
     //
     this.btnPrint.Anchor   = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
     this.btnPrint.Location = new System.Drawing.Point(609, 10);
     this.btnPrint.Name     = "btnPrint";
     this.btnPrint.Size     = new System.Drawing.Size(77, 24);
     this.btnPrint.TabIndex = 4;
     this.btnPrint.Text     = "Print";
     this.btnPrint.Click   += new System.EventHandler(this.btnPrint_Click);
     //
     // btnCancel
     //
     this.btnCancel.Anchor       = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
     this.btnCancel.DialogResult = System.Windows.Forms.DialogResult.Cancel;
     this.btnCancel.Location     = new System.Drawing.Point(689, 10);
     this.btnCancel.Name         = "btnCancel";
     this.btnCancel.Size         = new System.Drawing.Size(77, 24);
     this.btnCancel.TabIndex     = 3;
     this.btnCancel.Text         = "Cancel";
     this.btnCancel.Click       += new System.EventHandler(this.btnCancel_Click);
     //
     // btnLock
     //
     this.btnLock.Anchor   = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
     this.btnLock.Location = new System.Drawing.Point(528, 10);
     this.btnLock.Name     = "btnLock";
     this.btnLock.Size     = new System.Drawing.Size(77, 24);
     this.btnLock.TabIndex = 1;
     this.btnLock.Text     = "Lock";
     this.btnLock.Click   += new System.EventHandler(this.btnLock_Click);
     //
     // btnSave
     //
     this.btnSave.Anchor   = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
     this.btnSave.Location = new System.Drawing.Point(445, 10);
     this.btnSave.Name     = "btnSave";
     this.btnSave.Size     = new System.Drawing.Size(77, 24);
     this.btnSave.TabIndex = 0;
     this.btnSave.Text     = "Save";
     this.btnSave.Click   += new System.EventHandler(this.btnSave_Click);
     //
     // radPanel1
     //
     this.radPanel1.Controls.Add(this.radDropDownList1);
     this.radPanel1.Controls.Add(this.radLabel6);
     this.radPanel1.Controls.Add(this.cmbQuarter);
     this.radPanel1.Controls.Add(this.radLabel7);
     this.radPanel1.Controls.Add(this.txtSection);
     this.radPanel1.Controls.Add(this.radLabel5);
     this.radPanel1.Controls.Add(this.txtGradeLevel);
     this.radPanel1.Controls.Add(this.radLabel4);
     this.radPanel1.Controls.Add(this.gvTraitsGrades);
     this.radPanel1.Controls.Add(this.txtTeacherName);
     this.radPanel1.Controls.Add(this.txtTeacherId);
     this.radPanel1.Controls.Add(this.txtSy);
     this.radPanel1.Controls.Add(this.radLabel3);
     this.radPanel1.Controls.Add(this.radLabel2);
     this.radPanel1.Controls.Add(this.radLabel1);
     this.radPanel1.Dock     = System.Windows.Forms.DockStyle.Top;
     this.radPanel1.Location = new System.Drawing.Point(0, 0);
     this.radPanel1.Name     = "radPanel1";
     this.radPanel1.Size     = new System.Drawing.Size(778, 545);
     this.radPanel1.TabIndex = 2;
     //
     // radDropDownList1
     //
     this.radDropDownList1.DisplayMember = "Description";
     radListDataItem13.Text = "All";
     radListDataItem14.Text = "First Quarter";
     radListDataItem15.Text = "Second Quarter";
     radListDataItem16.Text = "Third Quarter";
     radListDataItem17.Text = "Fourth Quarter";
     radListDataItem18.Text = "Final Rating";
     this.radDropDownList1.Items.Add(radListDataItem13);
     this.radDropDownList1.Items.Add(radListDataItem14);
     this.radDropDownList1.Items.Add(radListDataItem15);
     this.radDropDownList1.Items.Add(radListDataItem16);
     this.radDropDownList1.Items.Add(radListDataItem17);
     this.radDropDownList1.Items.Add(radListDataItem18);
     this.radDropDownList1.Location    = new System.Drawing.Point(103, 91);
     this.radDropDownList1.Name        = "radDropDownList1";
     this.radDropDownList1.Size        = new System.Drawing.Size(312, 20);
     this.radDropDownList1.TabIndex    = 20;
     this.radDropDownList1.ValueMember = "GradeLev";
     //
     // radLabel6
     //
     this.radLabel6.Location = new System.Drawing.Point(18, 93);
     this.radLabel6.Name     = "radLabel6";
     this.radLabel6.Size     = new System.Drawing.Size(81, 18);
     this.radLabel6.TabIndex = 19;
     this.radLabel6.Text     = "Select Student:";
     //
     // cmbQuarter
     //
     this.cmbQuarter.DisplayMember = "Description";
     radListDataItem1.Text         = "All";
     radListDataItem2.Text         = "First Quarter";
     radListDataItem3.Text         = "Second Quarter";
     radListDataItem4.Text         = "Third Quarter";
     radListDataItem5.Text         = "Fourth Quarter";
     radListDataItem6.Text         = "Final Rating";
     this.cmbQuarter.Items.Add(radListDataItem1);
     this.cmbQuarter.Items.Add(radListDataItem2);
     this.cmbQuarter.Items.Add(radListDataItem3);
     this.cmbQuarter.Items.Add(radListDataItem4);
     this.cmbQuarter.Items.Add(radListDataItem5);
     this.cmbQuarter.Items.Add(radListDataItem6);
     this.cmbQuarter.Location              = new System.Drawing.Point(509, 88);
     this.cmbQuarter.Name                  = "cmbQuarter";
     this.cmbQuarter.Size                  = new System.Drawing.Size(108, 20);
     this.cmbQuarter.TabIndex              = 18;
     this.cmbQuarter.ValueMember           = "GradeLev";
     this.cmbQuarter.SelectedIndexChanged += new Telerik.WinControls.UI.Data.PositionChangedEventHandler(this.cmbQuarter_SelectedIndexChanged);
     //
     // radLabel7
     //
     this.radLabel7.Location = new System.Drawing.Point(463, 90);
     this.radLabel7.Name     = "radLabel7";
     this.radLabel7.Size     = new System.Drawing.Size(47, 18);
     this.radLabel7.TabIndex = 17;
     this.radLabel7.Text     = "Quarter:";
     //
     // txtSection
     //
     this.txtSection.Location = new System.Drawing.Point(309, 62);
     this.txtSection.Name     = "txtSection";
     this.txtSection.Size     = new System.Drawing.Size(265, 20);
     this.txtSection.TabIndex = 14;
     //
     // radLabel5
     //
     this.radLabel5.Location = new System.Drawing.Point(226, 64);
     this.radLabel5.Name     = "radLabel5";
     this.radLabel5.Size     = new System.Drawing.Size(49, 18);
     this.radLabel5.TabIndex = 13;
     this.radLabel5.Text     = "Section :";
     //
     // txtGradeLevel
     //
     this.txtGradeLevel.Location = new System.Drawing.Point(103, 64);
     this.txtGradeLevel.Name     = "txtGradeLevel";
     this.txtGradeLevel.Size     = new System.Drawing.Size(100, 20);
     this.txtGradeLevel.TabIndex = 12;
     //
     // radLabel4
     //
     this.radLabel4.Location = new System.Drawing.Point(32, 66);
     this.radLabel4.Name     = "radLabel4";
     this.radLabel4.Size     = new System.Drawing.Size(67, 18);
     this.radLabel4.TabIndex = 11;
     this.radLabel4.Text     = "Grade Level:";
     //
     // gvTraitsGrades
     //
     this.gvTraitsGrades.Location = new System.Drawing.Point(3, 117);
     //
     //
     //
     this.gvTraitsGrades.MasterTemplate.AllowAddNewRow   = false;
     this.gvTraitsGrades.MasterTemplate.AllowDragToGroup = false;
     this.gvTraitsGrades.MasterTemplate.AutoExpandGroups = true;
     gridViewTextBoxColumn8.FieldName   = "StudentName";
     gridViewTextBoxColumn8.HeaderText  = "Student Name";
     gridViewTextBoxColumn8.Name        = "StudentName";
     gridViewTextBoxColumn8.ReadOnly    = true;
     gridViewTextBoxColumn8.Width       = 200;
     gridViewTextBoxColumn9.FieldName   = "Description";
     gridViewTextBoxColumn9.HeaderText  = "Trait";
     gridViewTextBoxColumn9.Name        = "Description";
     gridViewTextBoxColumn9.ReadOnly    = true;
     gridViewTextBoxColumn9.Width       = 200;
     gridViewTextBoxColumn10.FieldName  = "FirstPeriodicRating";
     gridViewTextBoxColumn10.HeaderText = "1ST Q";
     gridViewTextBoxColumn10.IsVisible  = false;
     gridViewTextBoxColumn10.Name       = "FirstPeriodicRating";
     gridViewTextBoxColumn11.FieldName  = "SecondPeriodicRating";
     gridViewTextBoxColumn11.HeaderText = "2ND Q";
     gridViewTextBoxColumn11.IsVisible  = false;
     gridViewTextBoxColumn11.Name       = "SecondPeriodicRating";
     gridViewTextBoxColumn12.FieldName  = "ThirdPeriodicRating";
     gridViewTextBoxColumn12.HeaderText = "3RD Q";
     gridViewTextBoxColumn12.IsVisible  = false;
     gridViewTextBoxColumn12.Name       = "ThirdPeriodicRating";
     gridViewTextBoxColumn13.FieldName  = "FourthPeriodicRating";
     gridViewTextBoxColumn13.HeaderText = "4TH Q";
     gridViewTextBoxColumn13.IsVisible  = false;
     gridViewTextBoxColumn13.Name       = "FourthPeriodicRating";
     gridViewTextBoxColumn14.FieldName  = "FourthPeriodicRating";
     gridViewTextBoxColumn14.HeaderText = "Final Grade";
     gridViewTextBoxColumn14.IsVisible  = false;
     gridViewTextBoxColumn14.Name       = "FinalRating";
     gridViewTextBoxColumn14.ReadOnly   = true;
     this.gvTraitsGrades.MasterTemplate.Columns.AddRange(new Telerik.WinControls.UI.GridViewDataColumn[] {
         gridViewTextBoxColumn8,
         gridViewTextBoxColumn9,
         gridViewTextBoxColumn10,
         gridViewTextBoxColumn11,
         gridViewTextBoxColumn12,
         gridViewTextBoxColumn13,
         gridViewTextBoxColumn14
     });
     this.gvTraitsGrades.Name              = "gvTraitsGrades";
     this.gvTraitsGrades.Size              = new System.Drawing.Size(775, 403);
     this.gvTraitsGrades.TabIndex          = 10;
     this.gvTraitsGrades.CellValueChanged += new Telerik.WinControls.UI.GridViewCellEventHandler(this.gvTraitsGrades_CellValueChanged);
     //
     // txtTeacherName
     //
     this.txtTeacherName.Location = new System.Drawing.Point(309, 36);
     this.txtTeacherName.Name     = "txtTeacherName";
     this.txtTeacherName.Size     = new System.Drawing.Size(265, 20);
     this.txtTeacherName.TabIndex = 5;
     //
     // txtTeacherId
     //
     this.txtTeacherId.Location = new System.Drawing.Point(103, 37);
     this.txtTeacherId.Name     = "txtTeacherId";
     this.txtTeacherId.Size     = new System.Drawing.Size(100, 20);
     this.txtTeacherId.TabIndex = 4;
     //
     // txtSy
     //
     this.txtSy.Location = new System.Drawing.Point(103, 12);
     this.txtSy.Name     = "txtSy";
     this.txtSy.Size     = new System.Drawing.Size(100, 20);
     this.txtSy.TabIndex = 3;
     //
     // radLabel3
     //
     this.radLabel3.Location = new System.Drawing.Point(32, 12);
     this.radLabel3.Name     = "radLabel3";
     this.radLabel3.Size     = new System.Drawing.Size(67, 18);
     this.radLabel3.TabIndex = 2;
     this.radLabel3.Text     = "School Year:";
     //
     // radLabel2
     //
     this.radLabel2.Location = new System.Drawing.Point(222, 38);
     this.radLabel2.Name     = "radLabel2";
     this.radLabel2.Size     = new System.Drawing.Size(81, 18);
     this.radLabel2.TabIndex = 1;
     this.radLabel2.Text     = "Teacher Name:";
     //
     // radLabel1
     //
     this.radLabel1.Location = new System.Drawing.Point(9, 39);
     this.radLabel1.Name     = "radLabel1";
     this.radLabel1.Size     = new System.Drawing.Size(90, 18);
     this.radLabel1.TabIndex = 0;
     this.radLabel1.Text     = "Teacher ID Num:";
     //
     // printPreviewDialog1
     //
     this.printPreviewDialog1.AutoScrollMargin  = new System.Drawing.Size(0, 0);
     this.printPreviewDialog1.AutoScrollMinSize = new System.Drawing.Size(0, 0);
     this.printPreviewDialog1.ClientSize        = new System.Drawing.Size(400, 300);
     this.printPreviewDialog1.Enabled           = true;
     this.printPreviewDialog1.Icon    = ((System.Drawing.Icon)(resources.GetObject("printPreviewDialog1.Icon")));
     this.printPreviewDialog1.Name    = "printPreviewDialog1";
     this.printPreviewDialog1.Visible = false;
     //
     // radPrintDocument1
     //
     this.radPrintDocument1.FooterFont = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.radPrintDocument1.HeaderFont = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.radPrintDocument1.Watermark  = radPrintWatermark2;
     //
     // frmTraitsQuarterlyGrading
     //
     this.AcceptButton        = this.btnSave;
     this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
     this.AutoScaleMode       = System.Windows.Forms.AutoScaleMode.Font;
     this.CancelButton        = this.btnCancel;
     this.ClientSize          = new System.Drawing.Size(778, 568);
     this.Controls.Add(this.radPanel2);
     this.Controls.Add(this.radPanel1);
     this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedSingle;
     this.MaximizeBox     = false;
     this.Name            = "frmTraitsQuarterlyGrading";
     //
     //
     //
     this.RootElement.ApplyShapeToControl = true;
     this.ShowIcon      = false;
     this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
     this.Text          = "Quarterly Grading for Traits";
     this.Load         += new System.EventHandler(this.frmTraitsQuarterlyGrading_Load);
     ((System.ComponentModel.ISupportInitialize)(this.radPanel2)).EndInit();
     this.radPanel2.ResumeLayout(false);
     ((System.ComponentModel.ISupportInitialize)(this.btnUnlock)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.btnPrint)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.btnCancel)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.btnLock)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.btnSave)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.radPanel1)).EndInit();
     this.radPanel1.ResumeLayout(false);
     this.radPanel1.PerformLayout();
     ((System.ComponentModel.ISupportInitialize)(this.radDropDownList1)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.radLabel6)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.cmbQuarter)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.radLabel7)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.txtSection)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.radLabel5)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.txtGradeLevel)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.radLabel4)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.gvTraitsGrades.MasterTemplate)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.gvTraitsGrades)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.txtTeacherName)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.txtTeacherId)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.txtSy)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.radLabel3)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.radLabel2)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.radLabel1)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this)).EndInit();
     this.ResumeLayout(false);
 }
コード例 #10
0
        /// <summary>
        /// Required method for Designer support - do not modify
        /// the contents of this method with the code editor.
        /// </summary>
        private void InitializeComponent()
        {
            Telerik.WinControls.UI.GridViewTextBoxColumn gridViewTextBoxColumn1 = new Telerik.WinControls.UI.GridViewTextBoxColumn();
            Telerik.WinControls.UI.GridViewTextBoxColumn gridViewTextBoxColumn2 = new Telerik.WinControls.UI.GridViewTextBoxColumn();
            System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(ProspectusList));
            Telerik.WinControls.UI.RadPrintWatermark radPrintWatermark1 = new Telerik.WinControls.UI.RadPrintWatermark();
            this.gridView = new Telerik.WinControls.UI.RadGridView();
            this.radPanel1 = new Telerik.WinControls.UI.RadPanel();
            this.btnPrint = new Telerik.WinControls.UI.RadButton();
            this.btnClose = new Telerik.WinControls.UI.RadButton();
            this.printPreviewDialog1 = new System.Windows.Forms.PrintPreviewDialog();
            this.radPrintDocument1 = new Telerik.WinControls.UI.RadPrintDocument();
            ((System.ComponentModel.ISupportInitialize)(this.gridView)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.gridView.MasterTemplate)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.radPanel1)).BeginInit();
            this.radPanel1.SuspendLayout();
            ((System.ComponentModel.ISupportInitialize)(this.btnPrint)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.btnClose)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this)).BeginInit();
            this.SuspendLayout();
            // 
            // gridView
            // 
            this.gridView.Dock = System.Windows.Forms.DockStyle.Fill;
            this.gridView.GroupExpandAnimationType = Telerik.WinControls.UI.GridExpandAnimationType.Slide;
            this.gridView.Location = new System.Drawing.Point(0, 0);
            // 
            // 
            // 
            this.gridView.MasterTemplate.AllowAddNewRow = false;
            this.gridView.MasterTemplate.AllowDeleteRow = false;
            this.gridView.MasterTemplate.AllowEditRow = false;
            this.gridView.MasterTemplate.AutoExpandGroups = true;
            gridViewTextBoxColumn1.FieldName = "SubjectCode";
            gridViewTextBoxColumn1.HeaderText = "Subject Code";
            gridViewTextBoxColumn1.Name = "SubjectCode";
            gridViewTextBoxColumn1.TextAlignment = System.Drawing.ContentAlignment.MiddleCenter;
            gridViewTextBoxColumn1.Width = 75;
            gridViewTextBoxColumn2.FieldName = "Description";
            gridViewTextBoxColumn2.HeaderText = "Description";
            gridViewTextBoxColumn2.Name = "Description";
            gridViewTextBoxColumn2.Width = 350;
            this.gridView.MasterTemplate.Columns.AddRange(new Telerik.WinControls.UI.GridViewDataColumn[] {
            gridViewTextBoxColumn1,
            gridViewTextBoxColumn2});
            this.gridView.MasterTemplate.EnableAlternatingRowColor = true;
            this.gridView.MasterTemplate.PageSize = 50;
            this.gridView.MasterTemplate.ShowGroupedColumns = true;
            this.gridView.Name = "gridView";
            this.gridView.Size = new System.Drawing.Size(542, 540);
            this.gridView.TabIndex = 2;
            this.gridView.Text = "radGridView1";
            // 
            // radPanel1
            // 
            this.radPanel1.Controls.Add(this.btnPrint);
            this.radPanel1.Controls.Add(this.btnClose);
            this.radPanel1.Dock = System.Windows.Forms.DockStyle.Bottom;
            this.radPanel1.Location = new System.Drawing.Point(0, 540);
            this.radPanel1.Name = "radPanel1";
            this.radPanel1.Size = new System.Drawing.Size(542, 51);
            this.radPanel1.TabIndex = 3;
            // 
            // btnPrint
            // 
            this.btnPrint.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
            this.btnPrint.Location = new System.Drawing.Point(372, 15);
            this.btnPrint.Name = "btnPrint";
            this.btnPrint.Size = new System.Drawing.Size(76, 24);
            this.btnPrint.TabIndex = 1;
            this.btnPrint.Text = "Print";
            this.btnPrint.Click += new System.EventHandler(this.btnPrint_Click);
            // 
            // btnClose
            // 
            this.btnClose.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
            this.btnClose.Location = new System.Drawing.Point(454, 15);
            this.btnClose.Name = "btnClose";
            this.btnClose.Size = new System.Drawing.Size(76, 24);
            this.btnClose.TabIndex = 0;
            this.btnClose.Text = "Close";
            this.btnClose.Click += new System.EventHandler(this.btnClose_Click);
            // 
            // printPreviewDialog1
            // 
            this.printPreviewDialog1.AutoScrollMargin = new System.Drawing.Size(0, 0);
            this.printPreviewDialog1.AutoScrollMinSize = new System.Drawing.Size(0, 0);
            this.printPreviewDialog1.ClientSize = new System.Drawing.Size(400, 300);
            this.printPreviewDialog1.Enabled = true;
            this.printPreviewDialog1.Icon = ((System.Drawing.Icon)(resources.GetObject("printPreviewDialog1.Icon")));
            this.printPreviewDialog1.Name = "printPreviewDialog1";
            this.printPreviewDialog1.Visible = false;
            // 
            // radPrintDocument1
            // 
            this.radPrintDocument1.FooterFont = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.radPrintDocument1.HeaderFont = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.radPrintDocument1.Watermark = radPrintWatermark1;
            // 
            // ProspectusList
            // 
            this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
            this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
            this.ClientSize = new System.Drawing.Size(542, 591);
            this.Controls.Add(this.gridView);
            this.Controls.Add(this.radPanel1);
            this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedSingle;
            this.MaximizeBox = false;
            this.MinimizeBox = false;
            this.Name = "ProspectusList";
            // 
            // 
            // 
            this.RootElement.ApplyShapeToControl = true;
            this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
            this.Text = "Prospectus";
            this.ThemeName = "ControlDefault";
            this.Load += new System.EventHandler(this.ProspectusList_Load);
            ((System.ComponentModel.ISupportInitialize)(this.gridView.MasterTemplate)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.gridView)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.radPanel1)).EndInit();
            this.radPanel1.ResumeLayout(false);
            ((System.ComponentModel.ISupportInitialize)(this.btnPrint)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.btnClose)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this)).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()
 {
     this.components = new System.ComponentModel.Container();
     Telerik.WinControls.UI.TableViewDefinition     tableViewDefinition4    = new Telerik.WinControls.UI.TableViewDefinition();
     Telerik.WinControls.UI.GridViewRelation        gridViewRelation1       = new Telerik.WinControls.UI.GridViewRelation();
     System.ComponentModel.ComponentResourceManager resources               = new System.ComponentModel.ComponentResourceManager(typeof(Report));
     Telerik.WinControls.UI.TableViewDefinition     tableViewDefinition1    = new Telerik.WinControls.UI.TableViewDefinition();
     Telerik.WinControls.UI.GridViewDecimalColumn   gridViewDecimalColumn1  = new Telerik.WinControls.UI.GridViewDecimalColumn();
     Telerik.WinControls.UI.GridViewTextBoxColumn   gridViewTextBoxColumn1  = new Telerik.WinControls.UI.GridViewTextBoxColumn();
     Telerik.WinControls.UI.GridViewDecimalColumn   gridViewDecimalColumn2  = new Telerik.WinControls.UI.GridViewDecimalColumn();
     Telerik.WinControls.UI.GridViewDecimalColumn   gridViewDecimalColumn3  = new Telerik.WinControls.UI.GridViewDecimalColumn();
     Telerik.WinControls.UI.GridViewDecimalColumn   gridViewDecimalColumn4  = new Telerik.WinControls.UI.GridViewDecimalColumn();
     Telerik.WinControls.UI.GridViewTextBoxColumn   gridViewTextBoxColumn2  = new Telerik.WinControls.UI.GridViewTextBoxColumn();
     Telerik.WinControls.UI.TableViewDefinition     tableViewDefinition2    = new Telerik.WinControls.UI.TableViewDefinition();
     Telerik.WinControls.UI.GridViewDecimalColumn   gridViewDecimalColumn5  = new Telerik.WinControls.UI.GridViewDecimalColumn();
     Telerik.WinControls.UI.GridViewDecimalColumn   gridViewDecimalColumn6  = new Telerik.WinControls.UI.GridViewDecimalColumn();
     Telerik.WinControls.UI.GridViewDecimalColumn   gridViewDecimalColumn7  = new Telerik.WinControls.UI.GridViewDecimalColumn();
     Telerik.WinControls.UI.GridViewTextBoxColumn   gridViewTextBoxColumn3  = new Telerik.WinControls.UI.GridViewTextBoxColumn();
     Telerik.WinControls.UI.GridViewTextBoxColumn   gridViewTextBoxColumn4  = new Telerik.WinControls.UI.GridViewTextBoxColumn();
     Telerik.WinControls.UI.GridViewDecimalColumn   gridViewDecimalColumn8  = new Telerik.WinControls.UI.GridViewDecimalColumn();
     Telerik.WinControls.UI.GridViewDecimalColumn   gridViewDecimalColumn9  = new Telerik.WinControls.UI.GridViewDecimalColumn();
     Telerik.WinControls.UI.GridViewDecimalColumn   gridViewDecimalColumn10 = new Telerik.WinControls.UI.GridViewDecimalColumn();
     Telerik.WinControls.UI.TableViewDefinition     tableViewDefinition3    = new Telerik.WinControls.UI.TableViewDefinition();
     Telerik.WinControls.UI.ListViewDataItem        listViewDataItem1       = new Telerik.WinControls.UI.ListViewDataItem("excel");
     Telerik.WinControls.UI.ListViewDataItem        listViewDataItem2       = new Telerik.WinControls.UI.ListViewDataItem("clv");
     Telerik.WinControls.UI.ListViewDataItem        listViewDataItem3       = new Telerik.WinControls.UI.ListViewDataItem("html");
     Telerik.WinControls.UI.ListViewDataItem        listViewDataItem4       = new Telerik.WinControls.UI.ListViewDataItem("pdf");
     Telerik.WinControls.UI.RadPrintWatermark       radPrintWatermark1      = new Telerik.WinControls.UI.RadPrintWatermark();
     Telerik.WinControls.UI.RadListDataItem         radListDataItem1        = new Telerik.WinControls.UI.RadListDataItem();
     Telerik.WinControls.UI.RadListDataItem         radListDataItem2        = new Telerik.WinControls.UI.RadListDataItem();
     Telerik.WinControls.UI.RadListDataItem         radListDataItem3        = new Telerik.WinControls.UI.RadListDataItem();
     Telerik.WinControls.UI.RadListDataItem         radListDataItem4        = new Telerik.WinControls.UI.RadListDataItem();
     Telerik.WinControls.UI.RadPrintWatermark       radPrintWatermark2      = new Telerik.WinControls.UI.RadPrintWatermark();
     this.btn_print                    = new Telerik.WinControls.UI.RadButton();
     this.btn_printPerview             = new Telerik.WinControls.UI.RadButton();
     this.btn_printSetting             = new Telerik.WinControls.UI.RadButton();
     this.btn_export                   = new Telerik.WinControls.UI.RadButton();
     this.radGridView1                 = new Telerik.WinControls.UI.RadGridView();
     this.reportProjectBindingSource   = new System.Windows.Forms.BindingSource(this.components);
     this.gridViewTemplate1            = new Telerik.WinControls.UI.GridViewTemplate();
     this.gridViewTemplate2            = new Telerik.WinControls.UI.GridViewTemplate();
     this.departmentUserBindingSource1 = new System.Windows.Forms.BindingSource(this.components);
     this.gridViewTemplate3            = new Telerik.WinControls.UI.GridViewTemplate();
     this.workersHoursBindingSource    = new System.Windows.Forms.BindingSource(this.components);
     this.ListViewOption               = new Telerik.WinControls.UI.RadListView();
     this.radPrintDocument1            = new Telerik.WinControls.UI.RadPrintDocument();
     this.materialTealTheme1           = new Telerik.WinControls.Themes.MaterialTealTheme();
     this.saveFileDialog               = new System.Windows.Forms.SaveFileDialog();
     this.radComboBoxSummaries         = new Telerik.WinControls.UI.RadDropDownList();
     this.radPrintDocument2            = new Telerik.WinControls.UI.RadPrintDocument();
     this.departmentUserBindingSource  = new System.Windows.Forms.BindingSource(this.components);
     ((System.ComponentModel.ISupportInitialize)(this.btn_print)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.btn_printPerview)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.btn_printSetting)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.btn_export)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.radGridView1)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.radGridView1.MasterTemplate)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.reportProjectBindingSource)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.gridViewTemplate1)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.gridViewTemplate2)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.departmentUserBindingSource1)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.gridViewTemplate3)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.workersHoursBindingSource)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.ListViewOption)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.radComboBoxSummaries)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.departmentUserBindingSource)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this)).BeginInit();
     this.SuspendLayout();
     //
     // btn_print
     //
     this.btn_print.Location  = new System.Drawing.Point(72, 12);
     this.btn_print.Name      = "btn_print";
     this.btn_print.Size      = new System.Drawing.Size(116, 38);
     this.btn_print.TabIndex  = 0;
     this.btn_print.Text      = "print";
     this.btn_print.ThemeName = "MaterialTeal";
     this.btn_print.Click    += new System.EventHandler(this.radButtonPrint_Click);
     //
     // btn_printPerview
     //
     this.btn_printPerview.Location  = new System.Drawing.Point(215, 13);
     this.btn_printPerview.Name      = "btn_printPerview";
     this.btn_printPerview.Size      = new System.Drawing.Size(127, 37);
     this.btn_printPerview.TabIndex  = 1;
     this.btn_printPerview.Text      = "printPerview";
     this.btn_printPerview.ThemeName = "MaterialTeal";
     this.btn_printPerview.Click    += new System.EventHandler(this.radButtonPrintPreview_Click);
     //
     // btn_printSetting
     //
     this.btn_printSetting.Location  = new System.Drawing.Point(366, 13);
     this.btn_printSetting.Name      = "btn_printSetting";
     this.btn_printSetting.Size      = new System.Drawing.Size(116, 37);
     this.btn_printSetting.TabIndex  = 1;
     this.btn_printSetting.Text      = "printSetting";
     this.btn_printSetting.ThemeName = "MaterialTeal";
     this.btn_printSetting.Click    += new System.EventHandler(this.radButtonPrintSettings_Click);
     //
     // btn_export
     //
     this.btn_export.Location  = new System.Drawing.Point(610, 267);
     this.btn_export.Name      = "btn_export";
     this.btn_export.Size      = new System.Drawing.Size(116, 51);
     this.btn_export.TabIndex  = 1;
     this.btn_export.Text      = "export";
     this.btn_export.ThemeName = "MaterialTeal";
     this.btn_export.Click    += new System.EventHandler(this.radButtonExport_Click);
     //
     // radGridView1
     //
     this.radGridView1.Location = new System.Drawing.Point(12, 56);
     //
     //
     //
     this.radGridView1.MasterTemplate.AllowAddNewRow = false;
     this.radGridView1.MasterTemplate.Templates.AddRange(new Telerik.WinControls.UI.GridViewTemplate[] {
         this.gridViewTemplate1,
         this.gridViewTemplate2,
         this.gridViewTemplate3
     });
     this.radGridView1.MasterTemplate.ViewDefinition = tableViewDefinition4;
     this.radGridView1.Name              = "radGridView1";
     this.radGridView1.ReadOnly          = true;
     gridViewRelation1.ChildColumnNames  = ((System.Collections.Specialized.StringCollection)(resources.GetObject("gridViewRelation1.ChildColumnNames")));
     gridViewRelation1.ParentColumnNames = ((System.Collections.Specialized.StringCollection)(resources.GetObject("gridViewRelation1.ParentColumnNames")));
     this.radGridView1.Relations.AddRange(new Telerik.WinControls.UI.GridViewRelation[] {
         gridViewRelation1
     });
     this.radGridView1.Size      = new System.Drawing.Size(581, 320);
     this.radGridView1.TabIndex  = 2;
     this.radGridView1.ThemeName = "MaterialTeal";
     //
     // reportProjectBindingSource
     //
     this.reportProjectBindingSource.DataSource = typeof(manageTask.HelpModel.ReportProject);
     //
     // gridViewTemplate1
     //
     this.gridViewTemplate1.ViewDefinition = tableViewDefinition1;
     //
     // gridViewTemplate2
     //
     gridViewDecimalColumn1.DataType        = typeof(int);
     gridViewDecimalColumn1.FieldName       = "IdDepartment";
     gridViewDecimalColumn1.HeaderText      = "IdDepartment";
     gridViewDecimalColumn1.IsAutoGenerated = true;
     gridViewDecimalColumn1.Name            = "IdDepartment";
     gridViewTextBoxColumn1.FieldName       = "Department";
     gridViewTextBoxColumn1.HeaderText      = "Department";
     gridViewTextBoxColumn1.IsAutoGenerated = true;
     gridViewTextBoxColumn1.Name            = "Department";
     gridViewDecimalColumn2.DataType        = typeof(int);
     gridViewDecimalColumn2.FieldName       = "NumWorkers";
     gridViewDecimalColumn2.HeaderText      = "NumWorkers";
     gridViewDecimalColumn2.IsAutoGenerated = true;
     gridViewDecimalColumn2.Name            = "NumWorkers";
     gridViewDecimalColumn3.FieldName       = "NumFinishWork";
     gridViewDecimalColumn3.HeaderText      = "NumFinishWork";
     gridViewDecimalColumn3.IsAutoGenerated = true;
     gridViewDecimalColumn3.Name            = "NumFinishWork";
     gridViewDecimalColumn4.FieldName       = "NumStayWork";
     gridViewDecimalColumn4.HeaderText      = "NumStayWork";
     gridViewDecimalColumn4.IsAutoGenerated = true;
     gridViewDecimalColumn4.Name            = "NumStayWork";
     gridViewTextBoxColumn2.DataType        = typeof(System.Collections.Generic.List <manageTask.Models.ProjectWorker>);
     gridViewTextBoxColumn2.FieldName       = "WorkersHours";
     gridViewTextBoxColumn2.HeaderText      = "WorkersHours";
     gridViewTextBoxColumn2.IsAutoGenerated = true;
     gridViewTextBoxColumn2.Name            = "WorkersHours";
     this.gridViewTemplate2.Columns.AddRange(new Telerik.WinControls.UI.GridViewDataColumn[] {
         gridViewDecimalColumn1,
         gridViewTextBoxColumn1,
         gridViewDecimalColumn2,
         gridViewDecimalColumn3,
         gridViewDecimalColumn4,
         gridViewTextBoxColumn2
     });
     this.gridViewTemplate2.DataSource     = this.departmentUserBindingSource1;
     this.gridViewTemplate2.ViewDefinition = tableViewDefinition2;
     //
     // departmentUserBindingSource1
     //
     this.departmentUserBindingSource1.DataMember = "DepartmentUser";
     this.departmentUserBindingSource1.DataSource = this.reportProjectBindingSource;
     //
     // gridViewTemplate3
     //
     gridViewDecimalColumn5.DataType         = typeof(int);
     gridViewDecimalColumn5.FieldName        = "ProjectId";
     gridViewDecimalColumn5.HeaderText       = "ProjectId";
     gridViewDecimalColumn5.IsAutoGenerated  = true;
     gridViewDecimalColumn5.Name             = "ProjectId";
     gridViewDecimalColumn6.DataType         = typeof(int);
     gridViewDecimalColumn6.FieldName        = "UserId";
     gridViewDecimalColumn6.HeaderText       = "UserId";
     gridViewDecimalColumn6.IsAutoGenerated  = true;
     gridViewDecimalColumn6.Name             = "UserId";
     gridViewDecimalColumn7.FieldName        = "HoursForProject";
     gridViewDecimalColumn7.HeaderText       = "HoursForProject";
     gridViewDecimalColumn7.IsAutoGenerated  = true;
     gridViewDecimalColumn7.Name             = "HoursForProject";
     gridViewTextBoxColumn3.DataType         = typeof(manageTask.Models.Project);
     gridViewTextBoxColumn3.FieldName        = "Project";
     gridViewTextBoxColumn3.HeaderText       = "Project";
     gridViewTextBoxColumn3.IsAutoGenerated  = true;
     gridViewTextBoxColumn3.Name             = "Project";
     gridViewTextBoxColumn4.DataType         = typeof(manageTask.Models.User);
     gridViewTextBoxColumn4.FieldName        = "User";
     gridViewTextBoxColumn4.HeaderText       = "User";
     gridViewTextBoxColumn4.IsAutoGenerated  = true;
     gridViewTextBoxColumn4.Name             = "User";
     gridViewDecimalColumn8.FieldName        = "SumHoursDone";
     gridViewDecimalColumn8.HeaderText       = "SumHoursDone";
     gridViewDecimalColumn8.IsAutoGenerated  = true;
     gridViewDecimalColumn8.Name             = "SumHoursDone";
     gridViewDecimalColumn9.DataType         = typeof(double);
     gridViewDecimalColumn9.FieldName        = "daysLeft";
     gridViewDecimalColumn9.HeaderText       = "daysLeft";
     gridViewDecimalColumn9.IsAutoGenerated  = true;
     gridViewDecimalColumn9.Name             = "daysLeft";
     gridViewDecimalColumn10.FieldName       = "madePercent";
     gridViewDecimalColumn10.HeaderText      = "madePercent";
     gridViewDecimalColumn10.IsAutoGenerated = true;
     gridViewDecimalColumn10.Name            = "madePercent";
     this.gridViewTemplate3.Columns.AddRange(new Telerik.WinControls.UI.GridViewDataColumn[] {
         gridViewDecimalColumn5,
         gridViewDecimalColumn6,
         gridViewDecimalColumn7,
         gridViewTextBoxColumn3,
         gridViewTextBoxColumn4,
         gridViewDecimalColumn8,
         gridViewDecimalColumn9,
         gridViewDecimalColumn10
     });
     this.gridViewTemplate3.DataSource     = this.workersHoursBindingSource;
     this.gridViewTemplate3.ViewDefinition = tableViewDefinition3;
     //
     // workersHoursBindingSource
     //
     this.workersHoursBindingSource.DataMember = "WorkersHours";
     this.workersHoursBindingSource.DataSource = this.departmentUserBindingSource1;
     //
     // ListViewOption
     //
     this.ListViewOption.GroupItemSize = new System.Drawing.Size(200, 36);
     listViewDataItem1.Text            = "excel";
     listViewDataItem2.Text            = "clv";
     listViewDataItem3.Text            = "html";
     listViewDataItem4.Text            = "pdf";
     this.ListViewOption.Items.AddRange(new Telerik.WinControls.UI.ListViewDataItem[] {
         listViewDataItem1,
         listViewDataItem2,
         listViewDataItem3,
         listViewDataItem4
     });
     this.ListViewOption.ItemSize              = new System.Drawing.Size(200, 36);
     this.ListViewOption.Location              = new System.Drawing.Point(615, 48);
     this.ListViewOption.Name                  = "ListViewOption";
     this.ListViewOption.Size                  = new System.Drawing.Size(113, 113);
     this.ListViewOption.TabIndex              = 3;
     this.ListViewOption.ThemeName             = "MaterialTeal";
     this.ListViewOption.SelectedIndexChanged += new System.EventHandler(this.radListBox1_SelectedIndexChanged);
     //
     // radPrintDocument1
     //
     this.radPrintDocument1.FooterFont = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(177)));
     this.radPrintDocument1.HeaderFont = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(177)));
     this.radPrintDocument1.Watermark  = radPrintWatermark1;
     //
     // radComboBoxSummaries
     //
     radListDataItem1.Text = "ExportAll";
     radListDataItem2.Text = "ExportOnlyTop";
     radListDataItem3.Text = "ExportOnlyBottom";
     radListDataItem4.Text = "DoNotExport";
     this.radComboBoxSummaries.Items.Add(radListDataItem1);
     this.radComboBoxSummaries.Items.Add(radListDataItem2);
     this.radComboBoxSummaries.Items.Add(radListDataItem3);
     this.radComboBoxSummaries.Items.Add(radListDataItem4);
     this.radComboBoxSummaries.Location  = new System.Drawing.Point(609, 214);
     this.radComboBoxSummaries.Name      = "radComboBoxSummaries";
     this.radComboBoxSummaries.Size      = new System.Drawing.Size(116, 36);
     this.radComboBoxSummaries.TabIndex  = 4;
     this.radComboBoxSummaries.ThemeName = "MaterialTeal";
     //
     // radPrintDocument2
     //
     this.radPrintDocument2.FooterFont = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(177)));
     this.radPrintDocument2.HeaderFont = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(177)));
     this.radPrintDocument2.Watermark  = radPrintWatermark2;
     //
     // departmentUserBindingSource
     //
     this.departmentUserBindingSource.DataMember = "DepartmentUser";
     this.departmentUserBindingSource.DataSource = this.reportProjectBindingSource;
     //
     // Report
     //
     this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
     this.AutoScaleMode       = System.Windows.Forms.AutoScaleMode.Font;
     this.ClientSize          = new System.Drawing.Size(739, 388);
     this.Controls.Add(this.radComboBoxSummaries);
     this.Controls.Add(this.ListViewOption);
     this.Controls.Add(this.radGridView1);
     this.Controls.Add(this.btn_printPerview);
     this.Controls.Add(this.btn_printSetting);
     this.Controls.Add(this.btn_export);
     this.Controls.Add(this.btn_print);
     this.Name = "Report";
     //
     //
     //
     this.RootElement.ApplyShapeToControl = true;
     this.Text      = "Report";
     this.ThemeName = "MaterialTeal";
     ((System.ComponentModel.ISupportInitialize)(this.btn_print)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.btn_printPerview)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.btn_printSetting)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.btn_export)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.radGridView1.MasterTemplate)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.radGridView1)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.reportProjectBindingSource)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.gridViewTemplate1)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.gridViewTemplate2)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.departmentUserBindingSource1)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.gridViewTemplate3)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.workersHoursBindingSource)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.ListViewOption)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.radComboBoxSummaries)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.departmentUserBindingSource)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this)).EndInit();
     this.ResumeLayout(false);
     this.PerformLayout();
 }
コード例 #12
0
 /// <summary>
 /// 设计器支持所需的方法 - 不要
 /// 使用代码编辑器修改此方法的内容。
 /// </summary>
 private void InitializeComponent()
 {
     System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(HCSRS_cost_accounting));
     Telerik.WinControls.UI.GridViewTextBoxColumn   gridViewTextBoxColumn1 = new Telerik.WinControls.UI.GridViewTextBoxColumn();
     Telerik.WinControls.UI.GridViewTextBoxColumn   gridViewTextBoxColumn2 = new Telerik.WinControls.UI.GridViewTextBoxColumn();
     Telerik.WinControls.UI.GridViewTextBoxColumn   gridViewTextBoxColumn3 = new Telerik.WinControls.UI.GridViewTextBoxColumn();
     Telerik.WinControls.UI.GridViewTextBoxColumn   gridViewTextBoxColumn4 = new Telerik.WinControls.UI.GridViewTextBoxColumn();
     Telerik.WinControls.UI.TableViewDefinition     tableViewDefinition1   = new Telerik.WinControls.UI.TableViewDefinition();
     Telerik.WinControls.UI.GridViewTextBoxColumn   gridViewTextBoxColumn5 = new Telerik.WinControls.UI.GridViewTextBoxColumn();
     Telerik.WinControls.UI.GridViewTextBoxColumn   gridViewTextBoxColumn6 = new Telerik.WinControls.UI.GridViewTextBoxColumn();
     Telerik.WinControls.UI.GridViewTextBoxColumn   gridViewTextBoxColumn7 = new Telerik.WinControls.UI.GridViewTextBoxColumn();
     Telerik.WinControls.UI.GridViewTextBoxColumn   gridViewTextBoxColumn8 = new Telerik.WinControls.UI.GridViewTextBoxColumn();
     Telerik.WinControls.UI.GridViewTextBoxColumn   gridViewTextBoxColumn9 = new Telerik.WinControls.UI.GridViewTextBoxColumn();
     Telerik.WinControls.UI.TableViewDefinition     tableViewDefinition2   = new Telerik.WinControls.UI.TableViewDefinition();
     Telerik.WinControls.UI.RadPrintWatermark       radPrintWatermark1     = new Telerik.WinControls.UI.RadPrintWatermark();
     this.splitContainer1   = new System.Windows.Forms.SplitContainer();
     this.radGroupBox1      = new Telerik.WinControls.UI.RadGroupBox();
     this.cb_month          = new Telerik.WinControls.UI.RadDropDownList();
     this.but_print         = new Telerik.WinControls.UI.RadButton();
     this.radLabel1         = new Telerik.WinControls.UI.RadLabel();
     this.but_import        = new Telerik.WinControls.UI.RadButton();
     this.radLabel6         = new Telerik.WinControls.UI.RadLabel();
     this.but_sel           = new Telerik.WinControls.UI.RadButton();
     this.radLabel2         = new Telerik.WinControls.UI.RadLabel();
     this.tb_sum            = new Telerik.WinControls.UI.RadTextBox();
     this.radLabel3         = new Telerik.WinControls.UI.RadLabel();
     this.radLabel5         = new Telerik.WinControls.UI.RadLabel();
     this.cb_costcenter     = new Telerik.WinControls.UI.RadDropDownList();
     this.radLabel4         = new Telerik.WinControls.UI.RadLabel();
     this.cb_customer       = new Telerik.WinControls.UI.RadDropDownList();
     this.cb_year           = new Telerik.WinControls.UI.RadDropDownList();
     this.tabControl1       = new System.Windows.Forms.TabControl();
     this.tabPage1          = new System.Windows.Forms.TabPage();
     this.tableLayoutPanel1 = new System.Windows.Forms.TableLayoutPanel();
     this.radLabel9         = new Telerik.WinControls.UI.RadLabel();
     this.tb_num01          = new Telerik.WinControls.UI.RadTextBox();
     this.dgv_02            = new Telerik.WinControls.UI.RadGridView();
     this.tabPage2          = new System.Windows.Forms.TabPage();
     this.tableLayoutPanel2 = new System.Windows.Forms.TableLayoutPanel();
     this.tb_num02          = new Telerik.WinControls.UI.RadTextBox();
     this.radLabel8         = new Telerik.WinControls.UI.RadLabel();
     this.dgv_01            = new Telerik.WinControls.UI.RadGridView();
     this.radPrintDocument1 = new Telerik.WinControls.UI.RadPrintDocument();
     ((System.ComponentModel.ISupportInitialize)(this.splitContainer1)).BeginInit();
     this.splitContainer1.Panel1.SuspendLayout();
     this.splitContainer1.Panel2.SuspendLayout();
     this.splitContainer1.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.radGroupBox1)).BeginInit();
     this.radGroupBox1.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.cb_month)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.but_print)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.radLabel1)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.but_import)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.radLabel6)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.but_sel)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.radLabel2)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.tb_sum)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.radLabel3)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.radLabel5)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.cb_costcenter)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.radLabel4)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.cb_customer)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.cb_year)).BeginInit();
     this.tabControl1.SuspendLayout();
     this.tabPage1.SuspendLayout();
     this.tableLayoutPanel1.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.radLabel9)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.tb_num01)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.dgv_02)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.dgv_02.MasterTemplate)).BeginInit();
     this.tabPage2.SuspendLayout();
     this.tableLayoutPanel2.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.tb_num02)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.radLabel8)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.dgv_01)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.dgv_01.MasterTemplate)).BeginInit();
     this.SuspendLayout();
     //
     // splitContainer1
     //
     resources.ApplyResources(this.splitContainer1, "splitContainer1");
     this.splitContainer1.FixedPanel = System.Windows.Forms.FixedPanel.Panel1;
     this.splitContainer1.Name       = "splitContainer1";
     //
     // splitContainer1.Panel1
     //
     this.splitContainer1.Panel1.BackColor = System.Drawing.SystemColors.Window;
     this.splitContainer1.Panel1.Controls.Add(this.radGroupBox1);
     //
     // splitContainer1.Panel2
     //
     this.splitContainer1.Panel2.Controls.Add(this.tabControl1);
     //
     // radGroupBox1
     //
     this.radGroupBox1.AccessibleRole = System.Windows.Forms.AccessibleRole.Grouping;
     this.radGroupBox1.Controls.Add(this.cb_month);
     this.radGroupBox1.Controls.Add(this.but_print);
     this.radGroupBox1.Controls.Add(this.radLabel1);
     this.radGroupBox1.Controls.Add(this.but_import);
     this.radGroupBox1.Controls.Add(this.radLabel6);
     this.radGroupBox1.Controls.Add(this.but_sel);
     this.radGroupBox1.Controls.Add(this.radLabel2);
     this.radGroupBox1.Controls.Add(this.tb_sum);
     this.radGroupBox1.Controls.Add(this.radLabel3);
     this.radGroupBox1.Controls.Add(this.radLabel5);
     this.radGroupBox1.Controls.Add(this.cb_costcenter);
     this.radGroupBox1.Controls.Add(this.radLabel4);
     this.radGroupBox1.Controls.Add(this.cb_customer);
     this.radGroupBox1.Controls.Add(this.cb_year);
     resources.ApplyResources(this.radGroupBox1, "radGroupBox1");
     this.radGroupBox1.GroupBoxStyle = Telerik.WinControls.UI.RadGroupBoxStyle.Office;
     this.radGroupBox1.Name          = "radGroupBox1";
     this.radGroupBox1.ThemeName     = "Office2007Silver";
     //
     // cb_month
     //
     this.cb_month.DropDownStyle = Telerik.WinControls.RadDropDownStyle.DropDownList;
     resources.ApplyResources(this.cb_month, "cb_month");
     this.cb_month.Name                  = "cb_month";
     this.cb_month.ThemeName             = "Office2007Silver";
     this.cb_month.SelectedIndexChanged += new Telerik.WinControls.UI.Data.PositionChangedEventHandler(this.OnComboxChanged);
     //
     // but_print
     //
     resources.ApplyResources(this.but_print, "but_print");
     this.but_print.Name      = "but_print";
     this.but_print.ThemeName = "Office2007Silver";
     this.but_print.Click    += new System.EventHandler(this.radButton2_Click);
     //
     // radLabel1
     //
     resources.ApplyResources(this.radLabel1, "radLabel1");
     this.radLabel1.Name = "radLabel1";
     //
     // but_import
     //
     resources.ApplyResources(this.but_import, "but_import");
     this.but_import.Name      = "but_import";
     this.but_import.ThemeName = "Office2007Silver";
     this.but_import.Click    += new System.EventHandler(this.radButton1_Click);
     //
     // radLabel6
     //
     resources.ApplyResources(this.radLabel6, "radLabel6");
     this.radLabel6.Name = "radLabel6";
     //
     // but_sel
     //
     resources.ApplyResources(this.but_sel, "but_sel");
     this.but_sel.Name      = "but_sel";
     this.but_sel.ThemeName = "Office2007Silver";
     this.but_sel.Click    += new System.EventHandler(this.but_sel_Click_1);
     //
     // radLabel2
     //
     resources.ApplyResources(this.radLabel2, "radLabel2");
     this.radLabel2.Name = "radLabel2";
     //
     // tb_sum
     //
     this.tb_sum.BackColor = System.Drawing.SystemColors.ControlLight;
     resources.ApplyResources(this.tb_sum, "tb_sum");
     this.tb_sum.Name      = "tb_sum";
     this.tb_sum.ReadOnly  = true;
     this.tb_sum.ThemeName = "Office2007Silver";
     //
     // radLabel3
     //
     resources.ApplyResources(this.radLabel3, "radLabel3");
     this.radLabel3.Name = "radLabel3";
     //
     // radLabel5
     //
     resources.ApplyResources(this.radLabel5, "radLabel5");
     this.radLabel5.Name = "radLabel5";
     //
     // cb_costcenter
     //
     this.cb_costcenter.DropDownStyle = Telerik.WinControls.RadDropDownStyle.DropDownList;
     resources.ApplyResources(this.cb_costcenter, "cb_costcenter");
     this.cb_costcenter.Name                  = "cb_costcenter";
     this.cb_costcenter.ThemeName             = "Office2007Silver";
     this.cb_costcenter.SelectedIndexChanged += new Telerik.WinControls.UI.Data.PositionChangedEventHandler(this.OnComboxChanged);
     //
     // radLabel4
     //
     resources.ApplyResources(this.radLabel4, "radLabel4");
     this.radLabel4.Name = "radLabel4";
     //
     // cb_customer
     //
     this.cb_customer.DisplayMember = "Text";
     this.cb_customer.DropDownStyle = Telerik.WinControls.RadDropDownStyle.DropDownList;
     resources.ApplyResources(this.cb_customer, "cb_customer");
     this.cb_customer.Name                  = "cb_customer";
     this.cb_customer.ThemeName             = "Office2007Silver";
     this.cb_customer.ValueMember           = "Value";
     this.cb_customer.SelectedIndexChanged += new Telerik.WinControls.UI.Data.PositionChangedEventHandler(this.OnCustomerChanged);
     //
     // cb_year
     //
     this.cb_year.DropDownStyle = Telerik.WinControls.RadDropDownStyle.DropDownList;
     resources.ApplyResources(this.cb_year, "cb_year");
     this.cb_year.Name                  = "cb_year";
     this.cb_year.ThemeName             = "Office2007Silver";
     this.cb_year.SelectedIndexChanged += new Telerik.WinControls.UI.Data.PositionChangedEventHandler(this.OnComboxChanged);
     //
     // tabControl1
     //
     this.tabControl1.AllowDrop = true;
     this.tabControl1.Controls.Add(this.tabPage1);
     this.tabControl1.Controls.Add(this.tabPage2);
     resources.ApplyResources(this.tabControl1, "tabControl1");
     this.tabControl1.Name          = "tabControl1";
     this.tabControl1.SelectedIndex = 0;
     //
     // tabPage1
     //
     this.tabPage1.Controls.Add(this.tableLayoutPanel1);
     resources.ApplyResources(this.tabPage1, "tabPage1");
     this.tabPage1.Name = "tabPage1";
     this.tabPage1.UseVisualStyleBackColor = true;
     //
     // tableLayoutPanel1
     //
     resources.ApplyResources(this.tableLayoutPanel1, "tableLayoutPanel1");
     this.tableLayoutPanel1.Controls.Add(this.radLabel9, 0, 0);
     this.tableLayoutPanel1.Controls.Add(this.tb_num01, 1, 0);
     this.tableLayoutPanel1.Controls.Add(this.dgv_02, 0, 1);
     this.tableLayoutPanel1.Name = "tableLayoutPanel1";
     //
     // radLabel9
     //
     resources.ApplyResources(this.radLabel9, "radLabel9");
     this.radLabel9.Name = "radLabel9";
     //
     // tb_num01
     //
     this.tb_num01.BackColor = System.Drawing.SystemColors.ControlLight;
     resources.ApplyResources(this.tb_num01, "tb_num01");
     this.tb_num01.Name      = "tb_num01";
     this.tb_num01.ReadOnly  = true;
     this.tb_num01.ThemeName = "Office2007Silver";
     //
     // dgv_02
     //
     this.dgv_02.AllowDrop = true;
     this.dgv_02.BackColor = System.Drawing.Color.Transparent;
     this.tableLayoutPanel1.SetColumnSpan(this.dgv_02, 2);
     this.dgv_02.Cursor = System.Windows.Forms.Cursors.Default;
     resources.ApplyResources(this.dgv_02, "dgv_02");
     this.dgv_02.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(80)))), ((int)(((byte)(80)))), ((int)(((byte)(80)))));
     //
     //
     //
     this.dgv_02.MasterTemplate.AllowAddNewRow               = false;
     this.dgv_02.MasterTemplate.AllowCellContextMenu         = false;
     this.dgv_02.MasterTemplate.AllowColumnHeaderContextMenu = false;
     this.dgv_02.MasterTemplate.AllowDragToGroup             = false;
     this.dgv_02.MasterTemplate.AllowRowReorder              = true;
     gridViewTextBoxColumn1.EnableExpressionEditor           = false;
     resources.ApplyResources(gridViewTextBoxColumn1, "gridViewTextBoxColumn1");
     gridViewTextBoxColumn1.Name                   = "s_name01";
     gridViewTextBoxColumn1.TextAlignment          = System.Drawing.ContentAlignment.MiddleCenter;
     gridViewTextBoxColumn1.Width                  = 200;
     gridViewTextBoxColumn1.WrapText               = true;
     gridViewTextBoxColumn2.EnableExpressionEditor = false;
     resources.ApplyResources(gridViewTextBoxColumn2, "gridViewTextBoxColumn2");
     gridViewTextBoxColumn2.Name                   = "s_barcode01";
     gridViewTextBoxColumn2.TextAlignment          = System.Drawing.ContentAlignment.MiddleCenter;
     gridViewTextBoxColumn2.Width                  = 200;
     gridViewTextBoxColumn2.WrapText               = true;
     gridViewTextBoxColumn3.EnableExpressionEditor = false;
     gridViewTextBoxColumn3.FormatInfo             = new System.Globalization.CultureInfo("");
     resources.ApplyResources(gridViewTextBoxColumn3, "gridViewTextBoxColumn3");
     gridViewTextBoxColumn3.Name                   = "s_price01";
     gridViewTextBoxColumn3.TextAlignment          = System.Drawing.ContentAlignment.MiddleRight;
     gridViewTextBoxColumn3.Width                  = 200;
     gridViewTextBoxColumn3.WrapText               = true;
     gridViewTextBoxColumn4.EnableExpressionEditor = false;
     resources.ApplyResources(gridViewTextBoxColumn4, "gridViewTextBoxColumn4");
     gridViewTextBoxColumn4.Name          = "s_num01";
     gridViewTextBoxColumn4.TextAlignment = System.Drawing.ContentAlignment.MiddleCenter;
     gridViewTextBoxColumn4.Width         = 150;
     gridViewTextBoxColumn4.WrapText      = true;
     this.dgv_02.MasterTemplate.Columns.AddRange(new Telerik.WinControls.UI.GridViewDataColumn[] {
         gridViewTextBoxColumn1,
         gridViewTextBoxColumn2,
         gridViewTextBoxColumn3,
         gridViewTextBoxColumn4
     });
     this.dgv_02.MasterTemplate.ViewDefinition = tableViewDefinition1;
     this.dgv_02.Name                = "dgv_02";
     this.dgv_02.ReadOnly            = true;
     this.dgv_02.ShowGroupPanel      = false;
     this.dgv_02.ThemeName           = "Office2007Silver";
     this.dgv_02.ViewCellFormatting += new Telerik.WinControls.UI.CellFormattingEventHandler(this.dgv_02_ViewCellFormatting);
     //
     // tabPage2
     //
     this.tabPage2.Controls.Add(this.tableLayoutPanel2);
     resources.ApplyResources(this.tabPage2, "tabPage2");
     this.tabPage2.Name = "tabPage2";
     this.tabPage2.UseVisualStyleBackColor = true;
     //
     // tableLayoutPanel2
     //
     resources.ApplyResources(this.tableLayoutPanel2, "tableLayoutPanel2");
     this.tableLayoutPanel2.Controls.Add(this.tb_num02, 1, 0);
     this.tableLayoutPanel2.Controls.Add(this.radLabel8, 0, 0);
     this.tableLayoutPanel2.Controls.Add(this.dgv_01, 0, 1);
     this.tableLayoutPanel2.Name = "tableLayoutPanel2";
     //
     // tb_num02
     //
     resources.ApplyResources(this.tb_num02, "tb_num02");
     this.tb_num02.BackColor = System.Drawing.SystemColors.ControlLight;
     this.tb_num02.Name      = "tb_num02";
     this.tb_num02.ReadOnly  = true;
     this.tb_num02.ThemeName = "Office2007Silver";
     //
     // radLabel8
     //
     resources.ApplyResources(this.radLabel8, "radLabel8");
     this.radLabel8.Name = "radLabel8";
     //
     // dgv_01
     //
     this.dgv_01.AllowDrop = true;
     this.dgv_01.BackColor = System.Drawing.Color.Transparent;
     this.tableLayoutPanel2.SetColumnSpan(this.dgv_01, 2);
     this.dgv_01.Cursor = System.Windows.Forms.Cursors.Default;
     resources.ApplyResources(this.dgv_01, "dgv_01");
     this.dgv_01.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(80)))), ((int)(((byte)(80)))), ((int)(((byte)(80)))));
     //
     //
     //
     this.dgv_01.MasterTemplate.AllowAddNewRow               = false;
     this.dgv_01.MasterTemplate.AllowCellContextMenu         = false;
     this.dgv_01.MasterTemplate.AllowColumnHeaderContextMenu = false;
     this.dgv_01.MasterTemplate.AllowDragToGroup             = false;
     this.dgv_01.MasterTemplate.AllowRowReorder              = true;
     this.dgv_01.MasterTemplate.AllowRowResize               = false;
     gridViewTextBoxColumn5.EnableExpressionEditor           = false;
     resources.ApplyResources(gridViewTextBoxColumn5, "gridViewTextBoxColumn5");
     gridViewTextBoxColumn5.Name                   = "s_name";
     gridViewTextBoxColumn5.TextAlignment          = System.Drawing.ContentAlignment.MiddleCenter;
     gridViewTextBoxColumn5.Width                  = 200;
     gridViewTextBoxColumn5.WrapText               = true;
     gridViewTextBoxColumn6.EnableExpressionEditor = false;
     resources.ApplyResources(gridViewTextBoxColumn6, "gridViewTextBoxColumn6");
     gridViewTextBoxColumn6.Name          = "s_barcode";
     gridViewTextBoxColumn6.TextAlignment = System.Drawing.ContentAlignment.MiddleCenter;
     gridViewTextBoxColumn6.Width         = 200;
     gridViewTextBoxColumn6.WrapText      = true;
     resources.ApplyResources(gridViewTextBoxColumn7, "gridViewTextBoxColumn7");
     gridViewTextBoxColumn7.Name  = "ca_name";
     gridViewTextBoxColumn7.Width = 180;
     gridViewTextBoxColumn8.EnableExpressionEditor = false;
     resources.ApplyResources(gridViewTextBoxColumn8, "gridViewTextBoxColumn8");
     gridViewTextBoxColumn8.Name                   = "s_times";
     gridViewTextBoxColumn8.TextAlignment          = System.Drawing.ContentAlignment.MiddleCenter;
     gridViewTextBoxColumn8.Width                  = 150;
     gridViewTextBoxColumn8.WrapText               = true;
     gridViewTextBoxColumn9.EnableExpressionEditor = false;
     resources.ApplyResources(gridViewTextBoxColumn9, "gridViewTextBoxColumn9");
     gridViewTextBoxColumn9.Name          = "s_money";
     gridViewTextBoxColumn9.TextAlignment = System.Drawing.ContentAlignment.MiddleRight;
     gridViewTextBoxColumn9.Width         = 200;
     gridViewTextBoxColumn9.WrapText      = true;
     this.dgv_01.MasterTemplate.Columns.AddRange(new Telerik.WinControls.UI.GridViewDataColumn[] {
         gridViewTextBoxColumn5,
         gridViewTextBoxColumn6,
         gridViewTextBoxColumn7,
         gridViewTextBoxColumn8,
         gridViewTextBoxColumn9
     });
     this.dgv_01.MasterTemplate.ViewDefinition = tableViewDefinition2;
     this.dgv_01.Name                = "dgv_01";
     this.dgv_01.ReadOnly            = true;
     this.dgv_01.ShowGroupPanel      = false;
     this.dgv_01.ThemeName           = "Office2007Silver";
     this.dgv_01.ViewCellFormatting += new Telerik.WinControls.UI.CellFormattingEventHandler(this.dgv_01_ViewCellFormatting);
     //
     // radPrintDocument1
     //
     this.radPrintDocument1.FooterFont = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
     this.radPrintDocument1.HeaderFont = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
     radPrintWatermark1.Font           = new System.Drawing.Font("宋体", 144F);
     this.radPrintDocument1.Watermark  = radPrintWatermark1;
     //
     // HCSRS_cost_accounting
     //
     resources.ApplyResources(this, "$this");
     this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
     this.Controls.Add(this.splitContainer1);
     this.Name = "HCSRS_cost_accounting";
     this.splitContainer1.Panel1.ResumeLayout(false);
     this.splitContainer1.Panel2.ResumeLayout(false);
     ((System.ComponentModel.ISupportInitialize)(this.splitContainer1)).EndInit();
     this.splitContainer1.ResumeLayout(false);
     ((System.ComponentModel.ISupportInitialize)(this.radGroupBox1)).EndInit();
     this.radGroupBox1.ResumeLayout(false);
     this.radGroupBox1.PerformLayout();
     ((System.ComponentModel.ISupportInitialize)(this.cb_month)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.but_print)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.radLabel1)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.but_import)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.radLabel6)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.but_sel)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.radLabel2)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.tb_sum)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.radLabel3)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.radLabel5)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.cb_costcenter)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.radLabel4)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.cb_customer)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.cb_year)).EndInit();
     this.tabControl1.ResumeLayout(false);
     this.tabPage1.ResumeLayout(false);
     this.tableLayoutPanel1.ResumeLayout(false);
     this.tableLayoutPanel1.PerformLayout();
     ((System.ComponentModel.ISupportInitialize)(this.radLabel9)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.tb_num01)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.dgv_02.MasterTemplate)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.dgv_02)).EndInit();
     this.tabPage2.ResumeLayout(false);
     this.tableLayoutPanel2.ResumeLayout(false);
     this.tableLayoutPanel2.PerformLayout();
     ((System.ComponentModel.ISupportInitialize)(this.tb_num02)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.radLabel8)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.dgv_01.MasterTemplate)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.dgv_01)).EndInit();
     this.ResumeLayout(false);
 }
コード例 #13
0
 /// <summary>
 /// Required method for Designer support - do not modify
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     Telerik.WinControls.UI.RadPrintWatermark radPrintWatermark1 = new Telerik.WinControls.UI.RadPrintWatermark();
     this.ddlPersonChoose    = new Telerik.WinControls.UI.RadDropDownList();
     this.ddlSexChoose       = new Telerik.WinControls.UI.RadDropDownList();
     this.bSaveAsPdfDocument = new Telerik.WinControls.UI.RadButton();
     this.bCancel            = new Telerik.WinControls.UI.RadButton();
     this.bSaveAsDocument    = new Telerik.WinControls.UI.RadButton();
     this.printDocument      = new Telerik.WinControls.UI.RadPrintDocument();
     this.saveDialog         = new System.Windows.Forms.SaveFileDialog();
     ((System.ComponentModel.ISupportInitialize)(this.ddlPersonChoose)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.ddlSexChoose)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.bSaveAsPdfDocument)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.bCancel)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.bSaveAsDocument)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this)).BeginInit();
     this.SuspendLayout();
     //
     // ddlPersonChoose
     //
     this.ddlPersonChoose.DefaultItemsCountInDropDown = 12;
     this.ddlPersonChoose.Location              = new System.Drawing.Point(54, 70);
     this.ddlPersonChoose.Name                  = "ddlPersonChoose";
     this.ddlPersonChoose.NullText              = "<Выберите персонажа>";
     this.ddlPersonChoose.Size                  = new System.Drawing.Size(185, 20);
     this.ddlPersonChoose.TabIndex              = 0;
     this.ddlPersonChoose.SelectedValueChanged += new System.EventHandler(this.ddlPersonChoose_SelectedValueChanged);
     //
     // ddlSexChoose
     //
     this.ddlSexChoose.Location = new System.Drawing.Point(313, 70);
     this.ddlSexChoose.Name     = "ddlSexChoose";
     this.ddlSexChoose.NullText = "<Выберите пол>";
     this.ddlSexChoose.Size     = new System.Drawing.Size(125, 20);
     this.ddlSexChoose.TabIndex = 1;
     //
     // bSaveAsPdfDocument
     //
     this.bSaveAsPdfDocument.Location = new System.Drawing.Point(189, 463);
     this.bSaveAsPdfDocument.Name     = "bSaveAsPdfDocument";
     this.bSaveAsPdfDocument.Size     = new System.Drawing.Size(110, 24);
     this.bSaveAsPdfDocument.TabIndex = 2;
     this.bSaveAsPdfDocument.Text     = "Сохранить в pdf";
     this.bSaveAsPdfDocument.Click   += new System.EventHandler(this.bSaveAsPdfDocument_Click);
     //
     // bCancel
     //
     this.bCancel.Location = new System.Drawing.Point(328, 463);
     this.bCancel.Name     = "bCancel";
     this.bCancel.Size     = new System.Drawing.Size(110, 24);
     this.bCancel.TabIndex = 3;
     this.bCancel.Text     = "Выйти";
     this.bCancel.Click   += new System.EventHandler(this.bCancel_Click);
     //
     // bSaveAsDocument
     //
     this.bSaveAsDocument.Location = new System.Drawing.Point(44, 463);
     this.bSaveAsDocument.Name     = "bSaveAsDocument";
     this.bSaveAsDocument.Size     = new System.Drawing.Size(110, 24);
     this.bSaveAsDocument.TabIndex = 4;
     this.bSaveAsDocument.Text     = "Сохранить в  docx";
     this.bSaveAsDocument.Click   += new System.EventHandler(this.bSaveAsDocument_Click);
     //
     // printDocument
     //
     this.printDocument.FooterFont = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(204)));
     this.printDocument.HeaderFont = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(204)));
     this.printDocument.Watermark  = radPrintWatermark1;
     //
     // saveDialog
     //
     this.saveDialog.DefaultExt = "docx";
     this.saveDialog.Filter     = "Documents|*.docx|PDF file|*.pdf";
     //
     // PrintResultForm
     //
     this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
     this.AutoScaleMode       = System.Windows.Forms.AutoScaleMode.Font;
     this.ClientSize          = new System.Drawing.Size(491, 527);
     this.Controls.Add(this.bSaveAsDocument);
     this.Controls.Add(this.bCancel);
     this.Controls.Add(this.bSaveAsPdfDocument);
     this.Controls.Add(this.ddlSexChoose);
     this.Controls.Add(this.ddlPersonChoose);
     this.Name = "PrintResultForm";
     //
     //
     //
     this.RootElement.ApplyShapeToControl = true;
     this.Text        = "Печать результата";
     this.ThemeName   = "ControlDefault";
     this.FormClosed += new System.Windows.Forms.FormClosedEventHandler(this.PrintResultForm_FormClosed);
     this.Load       += new System.EventHandler(this.PrintResultForm_Load);
     ((System.ComponentModel.ISupportInitialize)(this.ddlPersonChoose)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.ddlSexChoose)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.bSaveAsPdfDocument)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.bCancel)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.bSaveAsDocument)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this)).EndInit();
     this.ResumeLayout(false);
     this.PerformLayout();
 }
コード例 #14
0
 /// <summary>
 /// Required method for Designer support - do not modify
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     Telerik.WinControls.UI.ListViewDataItem        listViewDataItem1     = new Telerik.WinControls.UI.ListViewDataItem("excel");
     Telerik.WinControls.UI.ListViewDataItem        listViewDataItem2     = new Telerik.WinControls.UI.ListViewDataItem("clv");
     Telerik.WinControls.UI.ListViewDataItem        listViewDataItem3     = new Telerik.WinControls.UI.ListViewDataItem("html");
     Telerik.WinControls.UI.ListViewDataItem        listViewDataItem4     = new Telerik.WinControls.UI.ListViewDataItem("pdf");
     Telerik.WinControls.UI.TableViewDefinition     tableViewDefinition12 = new Telerik.WinControls.UI.TableViewDefinition();
     Telerik.WinControls.UI.GridViewRelation        gridViewRelation1     = new Telerik.WinControls.UI.GridViewRelation();
     System.ComponentModel.ComponentResourceManager resources             = new System.ComponentModel.ComponentResourceManager(typeof(ReportWorker));
     Telerik.WinControls.UI.TableViewDefinition     tableViewDefinition9  = new Telerik.WinControls.UI.TableViewDefinition();
     Telerik.WinControls.UI.TableViewDefinition     tableViewDefinition10 = new Telerik.WinControls.UI.TableViewDefinition();
     Telerik.WinControls.UI.TableViewDefinition     tableViewDefinition11 = new Telerik.WinControls.UI.TableViewDefinition();
     Telerik.WinControls.UI.RadPrintWatermark       radPrintWatermark3    = new Telerik.WinControls.UI.RadPrintWatermark();
     this.ListViewOption         = new Telerik.WinControls.UI.RadListView();
     this.radGridView1           = new Telerik.WinControls.UI.RadGridView();
     this.gridViewTemplate1      = new Telerik.WinControls.UI.GridViewTemplate();
     this.gridViewTemplate2      = new Telerik.WinControls.UI.GridViewTemplate();
     this.gridViewTemplate3      = new Telerik.WinControls.UI.GridViewTemplate();
     this.btn_printPerview       = new Telerik.WinControls.UI.RadButton();
     this.btn_printSetting       = new Telerik.WinControls.UI.RadButton();
     this.btn_export             = new Telerik.WinControls.UI.RadButton();
     this.btn_print              = new Telerik.WinControls.UI.RadButton();
     this.materialTealTheme1     = new Telerik.WinControls.Themes.MaterialTealTheme();
     this.office2007SilverTheme1 = new Telerik.WinControls.Themes.Office2007SilverTheme();
     this.radPrintDocument1      = new Telerik.WinControls.UI.RadPrintDocument();
     this.saveFileDialog1        = new System.Windows.Forms.SaveFileDialog();
     this.radLabel1              = new Telerik.WinControls.UI.RadLabel();
     this.radLabel2              = new Telerik.WinControls.UI.RadLabel();
     this.listYear  = new Telerik.WinControls.UI.RadDropDownList();
     this.listMonth = new Telerik.WinControls.UI.RadDropDownList();
     ((System.ComponentModel.ISupportInitialize)(this.ListViewOption)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.radGridView1)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.radGridView1.MasterTemplate)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.gridViewTemplate1)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.gridViewTemplate2)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.gridViewTemplate3)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.btn_printPerview)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.btn_printSetting)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.btn_export)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.btn_print)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.radLabel1)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.radLabel2)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.listYear)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.listMonth)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this)).BeginInit();
     this.SuspendLayout();
     //
     // ListViewOption
     //
     this.ListViewOption.GroupItemSize = new System.Drawing.Size(200, 36);
     listViewDataItem1.Text            = "excel";
     listViewDataItem2.Text            = "clv";
     listViewDataItem3.Text            = "html";
     listViewDataItem4.Text            = "pdf";
     this.ListViewOption.Items.AddRange(new Telerik.WinControls.UI.ListViewDataItem[] {
         listViewDataItem1,
         listViewDataItem2,
         listViewDataItem3,
         listViewDataItem4
     });
     this.ListViewOption.ItemSize              = new System.Drawing.Size(200, 36);
     this.ListViewOption.Location              = new System.Drawing.Point(837, 100);
     this.ListViewOption.Name                  = "ListViewOption";
     this.ListViewOption.Size                  = new System.Drawing.Size(113, 158);
     this.ListViewOption.TabIndex              = 10;
     this.ListViewOption.ThemeName             = "MaterialTeal";
     this.ListViewOption.SelectedIndexChanged += new System.EventHandler(this.radListBox1_SelectedIndexChanged);
     //
     // radGridView1
     //
     this.radGridView1.Location = new System.Drawing.Point(27, 136);
     //
     //
     //
     this.radGridView1.MasterTemplate.AllowAddNewRow = false;
     this.radGridView1.MasterTemplate.Templates.AddRange(new Telerik.WinControls.UI.GridViewTemplate[] {
         this.gridViewTemplate1,
         this.gridViewTemplate2,
         this.gridViewTemplate3
     });
     this.radGridView1.MasterTemplate.ViewDefinition = tableViewDefinition12;
     this.radGridView1.Name              = "radGridView1";
     this.radGridView1.Padding           = new System.Windows.Forms.Padding(0, 0, 0, 1);
     this.radGridView1.ReadOnly          = true;
     gridViewRelation1.ChildColumnNames  = ((System.Collections.Specialized.StringCollection)(resources.GetObject("gridViewRelation1.ChildColumnNames")));
     gridViewRelation1.ParentColumnNames = ((System.Collections.Specialized.StringCollection)(resources.GetObject("gridViewRelation1.ParentColumnNames")));
     this.radGridView1.Relations.AddRange(new Telerik.WinControls.UI.GridViewRelation[] {
         gridViewRelation1
     });
     this.radGridView1.Size      = new System.Drawing.Size(786, 484);
     this.radGridView1.TabIndex  = 9;
     this.radGridView1.ThemeName = "MaterialTeal";
     //
     // gridViewTemplate1
     //
     this.gridViewTemplate1.ViewDefinition = tableViewDefinition9;
     //
     // gridViewTemplate2
     //
     this.gridViewTemplate2.ViewDefinition = tableViewDefinition10;
     //
     // gridViewTemplate3
     //
     this.gridViewTemplate3.ViewDefinition = tableViewDefinition11;
     //
     // btn_printPerview
     //
     this.btn_printPerview.Location  = new System.Drawing.Point(203, 30);
     this.btn_printPerview.Name      = "btn_printPerview";
     this.btn_printPerview.Size      = new System.Drawing.Size(127, 37);
     this.btn_printPerview.TabIndex  = 6;
     this.btn_printPerview.Text      = "printPerview";
     this.btn_printPerview.ThemeName = "MaterialTeal";
     this.btn_printPerview.Click    += new System.EventHandler(this.radButtonPrintPreview_Click);
     //
     // btn_printSetting
     //
     this.btn_printSetting.Location  = new System.Drawing.Point(356, 30);
     this.btn_printSetting.Name      = "btn_printSetting";
     this.btn_printSetting.Size      = new System.Drawing.Size(116, 37);
     this.btn_printSetting.TabIndex  = 7;
     this.btn_printSetting.Text      = "printSetting";
     this.btn_printSetting.ThemeName = "MaterialTeal";
     this.btn_printSetting.Click    += new System.EventHandler(this.radButtonPrintSettings_Click);
     //
     // btn_export
     //
     this.btn_export.Location  = new System.Drawing.Point(834, 302);
     this.btn_export.Name      = "btn_export";
     this.btn_export.Size      = new System.Drawing.Size(116, 51);
     this.btn_export.TabIndex  = 8;
     this.btn_export.Text      = "export";
     this.btn_export.ThemeName = "MaterialTeal";
     this.btn_export.Click    += new System.EventHandler(this.radButtonExport_Click);
     //
     // btn_print
     //
     this.btn_print.Location  = new System.Drawing.Point(62, 29);
     this.btn_print.Name      = "btn_print";
     this.btn_print.Size      = new System.Drawing.Size(116, 38);
     this.btn_print.TabIndex  = 5;
     this.btn_print.Text      = "print";
     this.btn_print.ThemeName = "MaterialTeal";
     this.btn_print.Click    += new System.EventHandler(this.radButtonPrint_Click);
     //
     // radPrintDocument1
     //
     this.radPrintDocument1.FooterFont = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(177)));
     this.radPrintDocument1.HeaderFont = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(177)));
     this.radPrintDocument1.Watermark  = radPrintWatermark3;
     //
     // radLabel1
     //
     this.radLabel1.Location = new System.Drawing.Point(27, 101);
     this.radLabel1.Name     = "radLabel1";
     this.radLabel1.Size     = new System.Drawing.Size(66, 18);
     this.radLabel1.TabIndex = 13;
     this.radLabel1.Text     = "fillterByYear";
     //
     // radLabel2
     //
     this.radLabel2.Location = new System.Drawing.Point(295, 103);
     this.radLabel2.Name     = "radLabel2";
     this.radLabel2.Size     = new System.Drawing.Size(77, 18);
     this.radLabel2.TabIndex = 14;
     this.radLabel2.Text     = "fillterByMonth";
     //
     // listYear
     //
     this.listYear.Location              = new System.Drawing.Point(99, 94);
     this.listYear.Name                  = "listYear";
     this.listYear.Size                  = new System.Drawing.Size(156, 36);
     this.listYear.TabIndex              = 15;
     this.listYear.ThemeName             = "MaterialTeal";
     this.listYear.SelectedIndexChanged += new Telerik.WinControls.UI.Data.PositionChangedEventHandler(this.listYear_SelectedIndexChanged);
     //
     // listMonth
     //
     this.listMonth.Location              = new System.Drawing.Point(378, 94);
     this.listMonth.Name                  = "listMonth";
     this.listMonth.Size                  = new System.Drawing.Size(166, 36);
     this.listMonth.TabIndex              = 16;
     this.listMonth.ThemeName             = "MaterialTeal";
     this.listMonth.SelectedIndexChanged += new Telerik.WinControls.UI.Data.PositionChangedEventHandler(this.listMonth_SelectedIndexChanged);
     //
     // ReportWorker
     //
     this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
     this.AutoScaleMode       = System.Windows.Forms.AutoScaleMode.Font;
     this.ClientSize          = new System.Drawing.Size(985, 632);
     this.Controls.Add(this.listMonth);
     this.Controls.Add(this.listYear);
     this.Controls.Add(this.radLabel2);
     this.Controls.Add(this.radLabel1);
     this.Controls.Add(this.ListViewOption);
     this.Controls.Add(this.radGridView1);
     this.Controls.Add(this.btn_printPerview);
     this.Controls.Add(this.btn_printSetting);
     this.Controls.Add(this.btn_export);
     this.Controls.Add(this.btn_print);
     this.Name = "ReportWorker";
     //
     //
     //
     this.RootElement.ApplyShapeToControl = true;
     this.Text      = "ReportWorker";
     this.ThemeName = "MaterialTeal";
     ((System.ComponentModel.ISupportInitialize)(this.ListViewOption)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.radGridView1.MasterTemplate)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.radGridView1)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.gridViewTemplate1)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.gridViewTemplate2)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.gridViewTemplate3)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.btn_printPerview)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.btn_printSetting)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.btn_export)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.btn_print)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.radLabel1)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.radLabel2)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.listYear)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.listMonth)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this)).EndInit();
     this.ResumeLayout(false);
     this.PerformLayout();
 }
コード例 #15
0
        /// <summary>
        /// Required method for Designer support - do not modify
        /// the contents of this method with the code editor.
        /// </summary>
        private void InitializeComponent()
        {
            Telerik.WinControls.UI.GridViewTextBoxColumn gridViewTextBoxColumn1 = new Telerik.WinControls.UI.GridViewTextBoxColumn();
            Telerik.WinControls.UI.GridViewTextBoxColumn gridViewTextBoxColumn2 = new Telerik.WinControls.UI.GridViewTextBoxColumn();
            Telerik.WinControls.UI.GridViewTextBoxColumn gridViewTextBoxColumn3 = new Telerik.WinControls.UI.GridViewTextBoxColumn();
            Telerik.WinControls.UI.GridViewTextBoxColumn gridViewTextBoxColumn4 = new Telerik.WinControls.UI.GridViewTextBoxColumn();
            Telerik.WinControls.UI.GridViewTextBoxColumn gridViewTextBoxColumn5 = new Telerik.WinControls.UI.GridViewTextBoxColumn();
            System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(frmAdvisersLoad));
            Telerik.WinControls.UI.RadPrintWatermark radPrintWatermark1 = new Telerik.WinControls.UI.RadPrintWatermark();
            this.gvGradeSection = new Telerik.WinControls.UI.RadGridView();
            this.radPanel2 = new Telerik.WinControls.UI.RadPanel();
            this.btnAddGrades = new Telerik.WinControls.UI.RadButton();
            this.btnPrint = new Telerik.WinControls.UI.RadButton();
            this.printPreviewDialog1 = new System.Windows.Forms.PrintPreviewDialog();
            this.radPrintDocument1 = new Telerik.WinControls.UI.RadPrintDocument();
            ((System.ComponentModel.ISupportInitialize)(this.gvGradeSection)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.gvGradeSection.MasterTemplate)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.radPanel2)).BeginInit();
            this.radPanel2.SuspendLayout();
            ((System.ComponentModel.ISupportInitialize)(this.btnAddGrades)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.btnPrint)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this)).BeginInit();
            this.SuspendLayout();
            // 
            // gvGradeSection
            // 
            this.gvGradeSection.Dock = System.Windows.Forms.DockStyle.Fill;
            this.gvGradeSection.Location = new System.Drawing.Point(0, 0);
            // 
            // 
            // 
            this.gvGradeSection.MasterTemplate.AllowAddNewRow = false;
            this.gvGradeSection.MasterTemplate.AllowColumnReorder = false;
            this.gvGradeSection.MasterTemplate.AllowDeleteRow = false;
            this.gvGradeSection.MasterTemplate.AllowDragToGroup = false;
            this.gvGradeSection.MasterTemplate.AllowEditRow = false;
            this.gvGradeSection.MasterTemplate.AllowSearchRow = true;
            gridViewTextBoxColumn1.FieldName = "GradeLevel";
            gridViewTextBoxColumn1.HeaderText = "Grade Level";
            gridViewTextBoxColumn1.Name = "GradeLevel";
            gridViewTextBoxColumn1.Width = 100;
            gridViewTextBoxColumn2.FieldName = "Section";
            gridViewTextBoxColumn2.HeaderText = "Section";
            gridViewTextBoxColumn2.Name = "Section";
            gridViewTextBoxColumn2.Width = 150;
            gridViewTextBoxColumn3.FieldName = "HomeRoom.RoomCode";
            gridViewTextBoxColumn3.HeaderText = "Home Room";
            gridViewTextBoxColumn3.Name = "HomeRoom";
            gridViewTextBoxColumn3.Width = 100;
            gridViewTextBoxColumn4.FieldName = "TeacherName";
            gridViewTextBoxColumn4.HeaderText = "Adviser";
            gridViewTextBoxColumn4.Name = "TeacherName";
            gridViewTextBoxColumn4.Width = 200;
            gridViewTextBoxColumn5.FieldName = "GradeSectionCode";
            gridViewTextBoxColumn5.HeaderText = "column1";
            gridViewTextBoxColumn5.IsVisible = false;
            gridViewTextBoxColumn5.Name = "GradeSectionCode";
            this.gvGradeSection.MasterTemplate.Columns.AddRange(new Telerik.WinControls.UI.GridViewDataColumn[] {
            gridViewTextBoxColumn1,
            gridViewTextBoxColumn2,
            gridViewTextBoxColumn3,
            gridViewTextBoxColumn4,
            gridViewTextBoxColumn5});
            this.gvGradeSection.MasterTemplate.EnableGrouping = false;
            this.gvGradeSection.Name = "gvGradeSection";
            this.gvGradeSection.ReadOnly = true;
            this.gvGradeSection.Size = new System.Drawing.Size(800, 410);
            this.gvGradeSection.TabIndex = 2;
            this.gvGradeSection.SelectionChanged += new System.EventHandler(this.gvGradeSection_SelectionChanged);
            // 
            // radPanel2
            // 
            this.radPanel2.Controls.Add(this.btnPrint);
            this.radPanel2.Controls.Add(this.btnAddGrades);
            this.radPanel2.Dock = System.Windows.Forms.DockStyle.Bottom;
            this.radPanel2.Location = new System.Drawing.Point(0, 410);
            this.radPanel2.Name = "radPanel2";
            this.radPanel2.Size = new System.Drawing.Size(800, 39);
            this.radPanel2.TabIndex = 4;
            // 
            // btnAddGrades
            // 
            this.btnAddGrades.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
            this.btnAddGrades.Location = new System.Drawing.Point(628, 6);
            this.btnAddGrades.Name = "btnAddGrades";
            this.btnAddGrades.Size = new System.Drawing.Size(77, 24);
            this.btnAddGrades.TabIndex = 0;
            this.btnAddGrades.Text = "Add Grades";
            this.btnAddGrades.Click += new System.EventHandler(this.btnAddGrades_Click);
            // 
            // btnPrint
            // 
            this.btnPrint.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
            this.btnPrint.Location = new System.Drawing.Point(711, 6);
            this.btnPrint.Name = "btnPrint";
            this.btnPrint.Size = new System.Drawing.Size(77, 24);
            this.btnPrint.TabIndex = 5;
            this.btnPrint.Text = "Print";
            this.btnPrint.Click += new System.EventHandler(this.btnPrint_Click);
            // 
            // printPreviewDialog1
            // 
            this.printPreviewDialog1.AutoScrollMargin = new System.Drawing.Size(0, 0);
            this.printPreviewDialog1.AutoScrollMinSize = new System.Drawing.Size(0, 0);
            this.printPreviewDialog1.ClientSize = new System.Drawing.Size(400, 300);
            this.printPreviewDialog1.Enabled = true;
            this.printPreviewDialog1.Icon = ((System.Drawing.Icon)(resources.GetObject("printPreviewDialog1.Icon")));
            this.printPreviewDialog1.Name = "printPreviewDialog1";
            this.printPreviewDialog1.Visible = false;
            // 
            // radPrintDocument1
            // 
            this.radPrintDocument1.FooterFont = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.radPrintDocument1.HeaderFont = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.radPrintDocument1.Watermark = radPrintWatermark1;
            // 
            // frmAdvisersLoad
            // 
            this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
            this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
            this.ClientSize = new System.Drawing.Size(800, 449);
            this.Controls.Add(this.gvGradeSection);
            this.Controls.Add(this.radPanel2);
            this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedSingle;
            this.Name = "frmAdvisersLoad";
            // 
            // 
            // 
            this.RootElement.ApplyShapeToControl = true;
            this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
            this.Text = "List of Advisory Classes";
            this.Load += new System.EventHandler(this.frmAdvisersLoad_Load);
            ((System.ComponentModel.ISupportInitialize)(this.gvGradeSection.MasterTemplate)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.gvGradeSection)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.radPanel2)).EndInit();
            this.radPanel2.ResumeLayout(false);
            ((System.ComponentModel.ISupportInitialize)(this.btnAddGrades)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.btnPrint)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this)).EndInit();
            this.ResumeLayout(false);

        }
コード例 #16
0
        /// <summary>
        /// Required method for Designer support - do not modify
        /// the contents of this method with the code editor.
        /// </summary>
        private void InitializeComponent()
        {
            Telerik.WinControls.UI.GridViewTextBoxColumn gridViewTextBoxColumn1 = new Telerik.WinControls.UI.GridViewTextBoxColumn();
            Telerik.WinControls.UI.GridViewTextBoxColumn gridViewTextBoxColumn2 = new Telerik.WinControls.UI.GridViewTextBoxColumn();
            System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(AssessStudent));
            Telerik.WinControls.UI.RadPrintWatermark radPrintWatermark1 = new Telerik.WinControls.UI.RadPrintWatermark();
            this.radPanel1 = new Telerik.WinControls.UI.RadPanel();
            this.btnCancel = new Telerik.WinControls.UI.RadButton();
            this.btnPrint = new Telerik.WinControls.UI.RadButton();
            this.gvAssessment = new Telerik.WinControls.UI.RadGridView();
            this.radLabel1 = new Telerik.WinControls.UI.RadLabel();
            this.radLabel2 = new Telerik.WinControls.UI.RadLabel();
            this.radLabel3 = new Telerik.WinControls.UI.RadLabel();
            this.radLabel4 = new Telerik.WinControls.UI.RadLabel();
            this.tuitionFee = new Telerik.WinControls.UI.RadTextBox();
            this.discountPercent = new Telerik.WinControls.UI.RadTextBox();
            this.radLabel8 = new Telerik.WinControls.UI.RadLabel();
            this.radPanel2 = new Telerik.WinControls.UI.RadPanel();
            this.lblSectionVal = new Telerik.WinControls.UI.RadLabel();
            this.lblSection = new Telerik.WinControls.UI.RadLabel();
            this.TuitionDet = new Telerik.WinControls.UI.RadPanel();
            this.radLabel36 = new Telerik.WinControls.UI.RadLabel();
            this.radLabel35 = new Telerik.WinControls.UI.RadLabel();
            this.lblDet3Val = new Telerik.WinControls.UI.RadLabel();
            this.radLabel34 = new Telerik.WinControls.UI.RadLabel();
            this.lblDet2Val = new Telerik.WinControls.UI.RadLabel();
            this.radLabel33 = new Telerik.WinControls.UI.RadLabel();
            this.lblDet1Val = new Telerik.WinControls.UI.RadLabel();
            this.lblDet3 = new Telerik.WinControls.UI.RadLabel();
            this.lblDet2 = new Telerik.WinControls.UI.RadLabel();
            this.lblDet1 = new Telerik.WinControls.UI.RadLabel();
            this.radLabel7 = new Telerik.WinControls.UI.RadLabel();
            this.lblDetTotalVal = new Telerik.WinControls.UI.RadLabel();
            this.lblDetTotal = new Telerik.WinControls.UI.RadLabel();
            this.enrTotalTuitionFee = new Telerik.WinControls.UI.RadTextBox();
            this.txtGradeLevel = new Telerik.WinControls.UI.RadLabel();
            this.txtName = new Telerik.WinControls.UI.RadLabel();
            this.txtIDnum = new Telerik.WinControls.UI.RadLabel();
            this.txtSY = new Telerik.WinControls.UI.RadLabel();
            this.Total = new Telerik.WinControls.UI.RadLabel();
            this.radLabel6 = new Telerik.WinControls.UI.RadLabel();
            this.totalLessDiscount = new Telerik.WinControls.UI.RadTextBox();
            this.totalLessbyDiscount = new Telerik.WinControls.UI.RadLabel();
            this.radLabel16 = new Telerik.WinControls.UI.RadLabel();
            this.radLabel27 = new Telerik.WinControls.UI.RadLabel();
            this.radLabel31 = new Telerik.WinControls.UI.RadLabel();
            this.radLabel29 = new Telerik.WinControls.UI.RadLabel();
            this.txtDate = new Telerik.WinControls.UI.RadLabel();
            this.radLabel32 = new Telerik.WinControls.UI.RadLabel();
            this.radLabel30 = new Telerik.WinControls.UI.RadLabel();
            this.radLabel28 = new Telerik.WinControls.UI.RadLabel();
            this.radLabel26 = new Telerik.WinControls.UI.RadLabel();
            this.radLabel24 = new Telerik.WinControls.UI.RadLabel();
            this.radLabel23 = new Telerik.WinControls.UI.RadLabel();
            this.radLabel22 = new Telerik.WinControls.UI.RadLabel();
            this.radLabel21 = new Telerik.WinControls.UI.RadLabel();
            this.radLabel20 = new Telerik.WinControls.UI.RadLabel();
            this.radLabel19 = new Telerik.WinControls.UI.RadLabel();
            this.calculate = new Telerik.WinControls.UI.RadButton();
            this.fullPaymentDisc = new Telerik.WinControls.UI.RadTextBox();
            this.radLabel18 = new Telerik.WinControls.UI.RadLabel();
            this.radLabel17 = new Telerik.WinControls.UI.RadLabel();
            this.radLabel12 = new Telerik.WinControls.UI.RadLabel();
            this.radLabel11 = new Telerik.WinControls.UI.RadLabel();
            this.radLabel13 = new Telerik.WinControls.UI.RadLabel();
            this.radLabel10 = new Telerik.WinControls.UI.RadLabel();
            this.subTotal = new Telerik.WinControls.UI.RadTextBox();
            this.discountbyAmountSubTotal = new Telerik.WinControls.UI.RadTextBox();
            this.enrollmentFee = new Telerik.WinControls.UI.RadTextBox();
            this.discountByAmount = new Telerik.WinControls.UI.RadTextBox();
            this.radLabel14 = new Telerik.WinControls.UI.RadLabel();
            this.radLabel9 = new Telerik.WinControls.UI.RadLabel();
            this.scholarshipDiscount = new Telerik.WinControls.UI.RadLabel();
            this.radLabel5 = new Telerik.WinControls.UI.RadLabel();
            this.radLabel15 = new Telerik.WinControls.UI.RadLabel();
            this.radLabel25 = new Telerik.WinControls.UI.RadLabel();
            this.printPreviewDialog1 = new System.Windows.Forms.PrintPreviewDialog();
            this.radPrintDocument1 = new Telerik.WinControls.UI.RadPrintDocument();
            ((System.ComponentModel.ISupportInitialize)(this.radPanel1)).BeginInit();
            this.radPanel1.SuspendLayout();
            ((System.ComponentModel.ISupportInitialize)(this.btnCancel)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.btnPrint)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.gvAssessment)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.gvAssessment.MasterTemplate)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.radLabel1)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.radLabel2)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.radLabel3)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.radLabel4)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.tuitionFee)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.discountPercent)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.radLabel8)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.radPanel2)).BeginInit();
            this.radPanel2.SuspendLayout();
            ((System.ComponentModel.ISupportInitialize)(this.lblSectionVal)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.lblSection)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.TuitionDet)).BeginInit();
            this.TuitionDet.SuspendLayout();
            ((System.ComponentModel.ISupportInitialize)(this.radLabel36)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.radLabel35)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.lblDet3Val)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.radLabel34)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.lblDet2Val)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.radLabel33)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.lblDet1Val)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.lblDet3)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.lblDet2)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.lblDet1)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.radLabel7)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.lblDetTotalVal)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.lblDetTotal)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.enrTotalTuitionFee)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.txtGradeLevel)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.txtName)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.txtIDnum)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.txtSY)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.Total)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.radLabel6)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.totalLessDiscount)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.totalLessbyDiscount)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.radLabel16)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.radLabel27)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.radLabel31)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.radLabel29)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.txtDate)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.radLabel32)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.radLabel30)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.radLabel28)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.radLabel26)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.radLabel24)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.radLabel23)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.radLabel22)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.radLabel21)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.radLabel20)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.radLabel19)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.calculate)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.fullPaymentDisc)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.radLabel18)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.radLabel17)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.radLabel12)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.radLabel11)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.radLabel13)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.radLabel10)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.subTotal)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.discountbyAmountSubTotal)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.enrollmentFee)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.discountByAmount)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.radLabel14)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.radLabel9)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.scholarshipDiscount)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.radLabel5)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.radLabel15)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.radLabel25)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this)).BeginInit();
            this.SuspendLayout();
            // 
            // radPanel1
            // 
            this.radPanel1.Controls.Add(this.btnCancel);
            this.radPanel1.Controls.Add(this.btnPrint);
            this.radPanel1.Dock = System.Windows.Forms.DockStyle.Bottom;
            this.radPanel1.Location = new System.Drawing.Point(0, 251);
            this.radPanel1.Name = "radPanel1";
            this.radPanel1.Size = new System.Drawing.Size(694, 35);
            this.radPanel1.TabIndex = 0;
            // 
            // btnCancel
            // 
            this.btnCancel.DialogResult = System.Windows.Forms.DialogResult.Cancel;
            this.btnCancel.Location = new System.Drawing.Point(568, 5);
            this.btnCancel.Name = "btnCancel";
            this.btnCancel.Size = new System.Drawing.Size(110, 24);
            this.btnCancel.TabIndex = 1;
            this.btnCancel.Text = "Cancel";
            this.btnCancel.Click += new System.EventHandler(this.btnCancel_Click);
            // 
            // btnPrint
            // 
            this.btnPrint.Location = new System.Drawing.Point(452, 5);
            this.btnPrint.Name = "btnPrint";
            this.btnPrint.Size = new System.Drawing.Size(110, 24);
            this.btnPrint.TabIndex = 0;
            this.btnPrint.Text = "Print Assessment";
            this.btnPrint.Click += new System.EventHandler(this.btnPrint_Click);
            // 
            // gvAssessment
            // 
            this.gvAssessment.Location = new System.Drawing.Point(3, 133);
            // 
            // 
            // 
            this.gvAssessment.MasterTemplate.AllowAddNewRow = false;
            this.gvAssessment.MasterTemplate.AllowDeleteRow = false;
            this.gvAssessment.MasterTemplate.AllowDragToGroup = false;
            this.gvAssessment.MasterTemplate.AllowEditRow = false;
            gridViewTextBoxColumn1.FieldName = "FeeDescription";
            gridViewTextBoxColumn1.HeaderText = "Fee";
            gridViewTextBoxColumn1.Name = "FeeDescription";
            gridViewTextBoxColumn1.Width = 400;
            gridViewTextBoxColumn2.FieldName = "Amount";
            gridViewTextBoxColumn2.HeaderText = "Amount";
            gridViewTextBoxColumn2.Name = "Amount";
            gridViewTextBoxColumn2.TextAlignment = System.Drawing.ContentAlignment.MiddleRight;
            gridViewTextBoxColumn2.Width = 235;
            this.gvAssessment.MasterTemplate.Columns.AddRange(new Telerik.WinControls.UI.GridViewDataColumn[] {
            gridViewTextBoxColumn1,
            gridViewTextBoxColumn2});
            this.gvAssessment.MasterTemplate.EnableGrouping = false;
            this.gvAssessment.Name = "gvAssessment";
            this.gvAssessment.PrintStyle.BorderColor = System.Drawing.Color.Transparent;
            this.gvAssessment.Size = new System.Drawing.Size(688, 114);
            this.gvAssessment.TabIndex = 0;
            this.gvAssessment.Text = "radGridView1";
            // 
            // radLabel1
            // 
            this.radLabel1.Location = new System.Drawing.Point(21, 62);
            this.radLabel1.Name = "radLabel1";
            this.radLabel1.Size = new System.Drawing.Size(86, 18);
            this.radLabel1.TabIndex = 1;
            this.radLabel1.Text = "Student ID No. :";
            // 
            // radLabel2
            // 
            this.radLabel2.Location = new System.Drawing.Point(296, 62);
            this.radLabel2.Name = "radLabel2";
            this.radLabel2.Size = new System.Drawing.Size(67, 18);
            this.radLabel2.TabIndex = 3;
            this.radLabel2.Text = "Grade Level:";
            // 
            // radLabel3
            // 
            this.radLabel3.Location = new System.Drawing.Point(21, 88);
            this.radLabel3.Name = "radLabel3";
            this.radLabel3.Size = new System.Drawing.Size(81, 18);
            this.radLabel3.TabIndex = 5;
            this.radLabel3.Text = "Student Name:";
            // 
            // radLabel4
            // 
            this.radLabel4.Font = new System.Drawing.Font("Segoe UI", 8.25F, System.Drawing.FontStyle.Bold);
            this.radLabel4.Location = new System.Drawing.Point(32, 113);
            this.radLabel4.Name = "radLabel4";
            this.radLabel4.Size = new System.Drawing.Size(92, 18);
            this.radLabel4.TabIndex = 7;
            this.radLabel4.Text = "FEE/S ASSESSED";
            // 
            // tuitionFee
            // 
            this.tuitionFee.Location = new System.Drawing.Point(152, 255);
            this.tuitionFee.Name = "tuitionFee";
            this.tuitionFee.RightToLeft = System.Windows.Forms.RightToLeft.Yes;
            this.tuitionFee.Size = new System.Drawing.Size(89, 20);
            this.tuitionFee.TabIndex = 9;
            // 
            // discountPercent
            // 
            this.discountPercent.Location = new System.Drawing.Point(208, 278);
            this.discountPercent.Name = "discountPercent";
            this.discountPercent.RightToLeft = System.Windows.Forms.RightToLeft.Yes;
            this.discountPercent.Size = new System.Drawing.Size(33, 20);
            this.discountPercent.TabIndex = 13;
            this.discountPercent.TextChanged += new System.EventHandler(this.radTextBox4_TextChanged);
            // 
            // radLabel8
            // 
            this.radLabel8.Location = new System.Drawing.Point(21, 36);
            this.radLabel8.Name = "radLabel8";
            this.radLabel8.Size = new System.Drawing.Size(67, 18);
            this.radLabel8.TabIndex = 16;
            this.radLabel8.Text = "School Year:";
            // 
            // radPanel2
            // 
            this.radPanel2.BackColor = System.Drawing.Color.White;
            this.radPanel2.Controls.Add(this.lblSectionVal);
            this.radPanel2.Controls.Add(this.lblSection);
            this.radPanel2.Controls.Add(this.TuitionDet);
            this.radPanel2.Controls.Add(this.enrTotalTuitionFee);
            this.radPanel2.Controls.Add(this.txtGradeLevel);
            this.radPanel2.Controls.Add(this.txtName);
            this.radPanel2.Controls.Add(this.txtIDnum);
            this.radPanel2.Controls.Add(this.txtSY);
            this.radPanel2.Controls.Add(this.Total);
            this.radPanel2.Controls.Add(this.radLabel6);
            this.radPanel2.Controls.Add(this.totalLessDiscount);
            this.radPanel2.Controls.Add(this.totalLessbyDiscount);
            this.radPanel2.Controls.Add(this.radLabel16);
            this.radPanel2.Controls.Add(this.radLabel27);
            this.radPanel2.Controls.Add(this.radLabel31);
            this.radPanel2.Controls.Add(this.radLabel29);
            this.radPanel2.Controls.Add(this.txtDate);
            this.radPanel2.Controls.Add(this.radLabel32);
            this.radPanel2.Controls.Add(this.radLabel30);
            this.radPanel2.Controls.Add(this.radLabel28);
            this.radPanel2.Controls.Add(this.radLabel26);
            this.radPanel2.Controls.Add(this.radLabel24);
            this.radPanel2.Controls.Add(this.radLabel23);
            this.radPanel2.Controls.Add(this.radLabel22);
            this.radPanel2.Controls.Add(this.radLabel21);
            this.radPanel2.Controls.Add(this.radLabel20);
            this.radPanel2.Controls.Add(this.radLabel19);
            this.radPanel2.Controls.Add(this.calculate);
            this.radPanel2.Controls.Add(this.fullPaymentDisc);
            this.radPanel2.Controls.Add(this.radLabel18);
            this.radPanel2.Controls.Add(this.radLabel17);
            this.radPanel2.Controls.Add(this.radLabel12);
            this.radPanel2.Controls.Add(this.radLabel11);
            this.radPanel2.Controls.Add(this.radLabel13);
            this.radPanel2.Controls.Add(this.radLabel10);
            this.radPanel2.Controls.Add(this.subTotal);
            this.radPanel2.Controls.Add(this.discountbyAmountSubTotal);
            this.radPanel2.Controls.Add(this.enrollmentFee);
            this.radPanel2.Controls.Add(this.discountByAmount);
            this.radPanel2.Controls.Add(this.radLabel14);
            this.radPanel2.Controls.Add(this.radLabel9);
            this.radPanel2.Controls.Add(this.scholarshipDiscount);
            this.radPanel2.Controls.Add(this.radLabel8);
            this.radPanel2.Controls.Add(this.discountPercent);
            this.radPanel2.Controls.Add(this.tuitionFee);
            this.radPanel2.Controls.Add(this.radLabel5);
            this.radPanel2.Controls.Add(this.radLabel4);
            this.radPanel2.Controls.Add(this.radLabel3);
            this.radPanel2.Controls.Add(this.radLabel2);
            this.radPanel2.Controls.Add(this.radLabel1);
            this.radPanel2.Controls.Add(this.gvAssessment);
            this.radPanel2.Controls.Add(this.radLabel15);
            this.radPanel2.Controls.Add(this.radLabel25);
            this.radPanel2.Dock = System.Windows.Forms.DockStyle.Top;
            this.radPanel2.Location = new System.Drawing.Point(0, 0);
            this.radPanel2.Name = "radPanel2";
            this.radPanel2.Size = new System.Drawing.Size(694, 361);
            this.radPanel2.TabIndex = 1;
            // 
            // lblSectionVal
            // 
            this.lblSectionVal.Font = new System.Drawing.Font("Segoe UI", 8.25F, System.Drawing.FontStyle.Bold);
            this.lblSectionVal.Location = new System.Drawing.Point(369, 88);
            this.lblSectionVal.Name = "lblSectionVal";
            this.lblSectionVal.Size = new System.Drawing.Size(2, 2);
            this.lblSectionVal.TabIndex = 46;
            // 
            // lblSection
            // 
            this.lblSection.Location = new System.Drawing.Point(296, 88);
            this.lblSection.Name = "lblSection";
            this.lblSection.Size = new System.Drawing.Size(45, 18);
            this.lblSection.TabIndex = 45;
            this.lblSection.Text = "Section:";
            // 
            // TuitionDet
            // 
            this.TuitionDet.BackColor = System.Drawing.Color.White;
            this.TuitionDet.Controls.Add(this.radLabel36);
            this.TuitionDet.Controls.Add(this.radLabel35);
            this.TuitionDet.Controls.Add(this.lblDet3Val);
            this.TuitionDet.Controls.Add(this.radLabel34);
            this.TuitionDet.Controls.Add(this.lblDet2Val);
            this.TuitionDet.Controls.Add(this.radLabel33);
            this.TuitionDet.Controls.Add(this.lblDet1Val);
            this.TuitionDet.Controls.Add(this.lblDet3);
            this.TuitionDet.Controls.Add(this.lblDet2);
            this.TuitionDet.Controls.Add(this.lblDet1);
            this.TuitionDet.Controls.Add(this.radLabel7);
            this.TuitionDet.Controls.Add(this.lblDetTotalVal);
            this.TuitionDet.Controls.Add(this.lblDetTotal);
            this.TuitionDet.Location = new System.Drawing.Point(3, 251);
            this.TuitionDet.Name = "TuitionDet";
            this.TuitionDet.Size = new System.Drawing.Size(688, 105);
            this.TuitionDet.TabIndex = 2;
            this.TuitionDet.Visible = false;
            // 
            // radLabel36
            // 
            this.radLabel36.Font = new System.Drawing.Font("Segoe UI", 8.25F, System.Drawing.FontStyle.Bold);
            this.radLabel36.Location = new System.Drawing.Point(95, 79);
            this.radLabel36.Name = "radLabel36";
            this.radLabel36.Size = new System.Drawing.Size(2, 2);
            this.radLabel36.TabIndex = 27;
            // 
            // radLabel35
            // 
            this.radLabel35.Font = new System.Drawing.Font("Segoe UI", 8.25F, System.Drawing.FontStyle.Bold);
            this.radLabel35.Location = new System.Drawing.Point(95, 59);
            this.radLabel35.Name = "radLabel35";
            this.radLabel35.Size = new System.Drawing.Size(2, 2);
            this.radLabel35.TabIndex = 26;
            // 
            // lblDet3Val
            // 
            this.lblDet3Val.Font = new System.Drawing.Font("Segoe UI", 8.25F, System.Drawing.FontStyle.Bold);
            this.lblDet3Val.Location = new System.Drawing.Point(110, 59);
            this.lblDet3Val.Name = "lblDet3Val";
            this.lblDet3Val.Size = new System.Drawing.Size(2, 2);
            this.lblDet3Val.TabIndex = 26;
            // 
            // radLabel34
            // 
            this.radLabel34.Font = new System.Drawing.Font("Segoe UI", 8.25F, System.Drawing.FontStyle.Bold);
            this.radLabel34.Location = new System.Drawing.Point(95, 40);
            this.radLabel34.Name = "radLabel34";
            this.radLabel34.Size = new System.Drawing.Size(2, 2);
            this.radLabel34.TabIndex = 25;
            // 
            // lblDet2Val
            // 
            this.lblDet2Val.Font = new System.Drawing.Font("Segoe UI", 8.25F, System.Drawing.FontStyle.Bold);
            this.lblDet2Val.Location = new System.Drawing.Point(110, 40);
            this.lblDet2Val.Name = "lblDet2Val";
            this.lblDet2Val.Size = new System.Drawing.Size(2, 2);
            this.lblDet2Val.TabIndex = 25;
            // 
            // radLabel33
            // 
            this.radLabel33.Font = new System.Drawing.Font("Segoe UI", 8.25F, System.Drawing.FontStyle.Bold);
            this.radLabel33.Location = new System.Drawing.Point(95, 21);
            this.radLabel33.Name = "radLabel33";
            this.radLabel33.Size = new System.Drawing.Size(2, 2);
            this.radLabel33.TabIndex = 24;
            // 
            // lblDet1Val
            // 
            this.lblDet1Val.Font = new System.Drawing.Font("Segoe UI", 8.25F, System.Drawing.FontStyle.Bold);
            this.lblDet1Val.Location = new System.Drawing.Point(110, 21);
            this.lblDet1Val.Name = "lblDet1Val";
            this.lblDet1Val.Size = new System.Drawing.Size(2, 2);
            this.lblDet1Val.TabIndex = 24;
            // 
            // lblDet3
            // 
            this.lblDet3.Font = new System.Drawing.Font("Segoe UI", 8.25F, System.Drawing.FontStyle.Bold);
            this.lblDet3.Location = new System.Drawing.Point(18, 59);
            this.lblDet3.Name = "lblDet3";
            this.lblDet3.Size = new System.Drawing.Size(83, 18);
            this.lblDet3.TabIndex = 22;
            this.lblDet3.Text = "Third Grading:";
            // 
            // lblDet2
            // 
            this.lblDet2.Font = new System.Drawing.Font("Segoe UI", 8.25F, System.Drawing.FontStyle.Bold);
            this.lblDet2.Location = new System.Drawing.Point(18, 40);
            this.lblDet2.Name = "lblDet2";
            this.lblDet2.Size = new System.Drawing.Size(94, 18);
            this.lblDet2.TabIndex = 21;
            this.lblDet2.Text = "Second Grading:";
            // 
            // lblDet1
            // 
            this.lblDet1.Font = new System.Drawing.Font("Segoe UI", 8.25F, System.Drawing.FontStyle.Bold);
            this.lblDet1.Location = new System.Drawing.Point(18, 21);
            this.lblDet1.Name = "lblDet1";
            this.lblDet1.Size = new System.Drawing.Size(78, 18);
            this.lblDet1.TabIndex = 20;
            this.lblDet1.Text = "First Grading:";
            // 
            // radLabel7
            // 
            this.radLabel7.Font = new System.Drawing.Font("Segoe UI", 8.25F, System.Drawing.FontStyle.Bold);
            this.radLabel7.Location = new System.Drawing.Point(372, 7);
            this.radLabel7.Name = "radLabel7";
            this.radLabel7.Size = new System.Drawing.Size(2, 2);
            this.radLabel7.TabIndex = 19;
            // 
            // lblDetTotalVal
            // 
            this.lblDetTotalVal.Font = new System.Drawing.Font("Segoe UI", 8.25F, System.Drawing.FontStyle.Bold);
            this.lblDetTotalVal.Location = new System.Drawing.Point(561, 7);
            this.lblDetTotalVal.Name = "lblDetTotalVal";
            this.lblDetTotalVal.Size = new System.Drawing.Size(2, 2);
            this.lblDetTotalVal.TabIndex = 19;
            // 
            // lblDetTotal
            // 
            this.lblDetTotal.Font = new System.Drawing.Font("Segoe UI", 8.25F, System.Drawing.FontStyle.Bold);
            this.lblDetTotal.Location = new System.Drawing.Point(519, 7);
            this.lblDetTotal.Name = "lblDetTotal";
            this.lblDetTotal.Size = new System.Drawing.Size(40, 18);
            this.lblDetTotal.TabIndex = 18;
            this.lblDetTotal.Text = " Total:";
            // 
            // enrTotalTuitionFee
            // 
            this.enrTotalTuitionFee.Location = new System.Drawing.Point(362, 276);
            this.enrTotalTuitionFee.Name = "enrTotalTuitionFee";
            this.enrTotalTuitionFee.RightToLeft = System.Windows.Forms.RightToLeft.Yes;
            this.enrTotalTuitionFee.Size = new System.Drawing.Size(91, 20);
            this.enrTotalTuitionFee.TabIndex = 17;
            // 
            // txtGradeLevel
            // 
            this.txtGradeLevel.Font = new System.Drawing.Font("Segoe UI", 8.25F, System.Drawing.FontStyle.Bold);
            this.txtGradeLevel.Location = new System.Drawing.Point(369, 62);
            this.txtGradeLevel.Name = "txtGradeLevel";
            this.txtGradeLevel.Size = new System.Drawing.Size(2, 2);
            this.txtGradeLevel.TabIndex = 44;
            // 
            // txtName
            // 
            this.txtName.Font = new System.Drawing.Font("Segoe UI", 8.25F, System.Drawing.FontStyle.Bold);
            this.txtName.Location = new System.Drawing.Point(114, 88);
            this.txtName.Name = "txtName";
            this.txtName.Size = new System.Drawing.Size(2, 2);
            this.txtName.TabIndex = 43;
            // 
            // txtIDnum
            // 
            this.txtIDnum.Font = new System.Drawing.Font("Segoe UI", 8.25F, System.Drawing.FontStyle.Bold);
            this.txtIDnum.Location = new System.Drawing.Point(114, 62);
            this.txtIDnum.Name = "txtIDnum";
            this.txtIDnum.Size = new System.Drawing.Size(2, 2);
            this.txtIDnum.TabIndex = 42;
            // 
            // txtSY
            // 
            this.txtSY.Font = new System.Drawing.Font("Segoe UI", 8.25F, System.Drawing.FontStyle.Bold);
            this.txtSY.Location = new System.Drawing.Point(114, 36);
            this.txtSY.Name = "txtSY";
            this.txtSY.Size = new System.Drawing.Size(2, 2);
            this.txtSY.TabIndex = 41;
            // 
            // Total
            // 
            this.Total.Font = new System.Drawing.Font("Segoe UI", 8.25F, System.Drawing.FontStyle.Bold);
            this.Total.Location = new System.Drawing.Point(589, 307);
            this.Total.Name = "Total";
            this.Total.Size = new System.Drawing.Size(2, 2);
            this.Total.TabIndex = 21;
            // 
            // radLabel6
            // 
            this.radLabel6.Font = new System.Drawing.Font("Segoe UI", 12F, System.Drawing.FontStyle.Bold);
            this.radLabel6.Location = new System.Drawing.Point(177, 324);
            this.radLabel6.Name = "radLabel6";
            this.radLabel6.Size = new System.Drawing.Size(14, 25);
            this.radLabel6.TabIndex = 14;
            this.radLabel6.Text = "-";
            // 
            // totalLessDiscount
            // 
            this.totalLessDiscount.Location = new System.Drawing.Point(165, 301);
            this.totalLessDiscount.Name = "totalLessDiscount";
            this.totalLessDiscount.RightToLeft = System.Windows.Forms.RightToLeft.Yes;
            this.totalLessDiscount.Size = new System.Drawing.Size(76, 20);
            this.totalLessDiscount.TabIndex = 11;
            // 
            // totalLessbyDiscount
            // 
            this.totalLessbyDiscount.Font = new System.Drawing.Font("Segoe UI", 8.25F, System.Drawing.FontStyle.Bold);
            this.totalLessbyDiscount.Location = new System.Drawing.Point(21, 302);
            this.totalLessbyDiscount.Name = "totalLessbyDiscount";
            this.totalLessbyDiscount.Size = new System.Drawing.Size(128, 18);
            this.totalLessbyDiscount.TabIndex = 10;
            this.totalLessbyDiscount.Text = "Total Less by Discount:";
            // 
            // radLabel16
            // 
            this.radLabel16.Font = new System.Drawing.Font("Segoe UI", 12F, System.Drawing.FontStyle.Bold);
            this.radLabel16.Location = new System.Drawing.Point(188, 275);
            this.radLabel16.Name = "radLabel16";
            this.radLabel16.Size = new System.Drawing.Size(14, 25);
            this.radLabel16.TabIndex = 13;
            this.radLabel16.Text = "-";
            // 
            // radLabel27
            // 
            this.radLabel27.AutoSize = false;
            this.radLabel27.Font = new System.Drawing.Font("Segoe UI", 8.25F, System.Drawing.FontStyle.Underline);
            this.radLabel27.Location = new System.Drawing.Point(3, 521);
            this.radLabel27.Name = "radLabel27";
            this.radLabel27.Size = new System.Drawing.Size(166, 18);
            this.radLabel27.TabIndex = 34;
            this.radLabel27.Text = "________________________________";
            this.radLabel27.TextAlignment = System.Drawing.ContentAlignment.MiddleCenter;
            // 
            // radLabel31
            // 
            this.radLabel31.AutoSize = false;
            this.radLabel31.Font = new System.Drawing.Font("Segoe UI", 8.25F, System.Drawing.FontStyle.Underline);
            this.radLabel31.Location = new System.Drawing.Point(512, 535);
            this.radLabel31.Name = "radLabel31";
            this.radLabel31.Size = new System.Drawing.Size(166, 18);
            this.radLabel31.TabIndex = 38;
            this.radLabel31.Text = "________________________________";
            this.radLabel31.TextAlignment = System.Drawing.ContentAlignment.MiddleCenter;
            // 
            // radLabel29
            // 
            this.radLabel29.AutoSize = false;
            this.radLabel29.Font = new System.Drawing.Font("Segoe UI", 8.25F, System.Drawing.FontStyle.Underline);
            this.radLabel29.Location = new System.Drawing.Point(512, 496);
            this.radLabel29.Name = "radLabel29";
            this.radLabel29.Size = new System.Drawing.Size(166, 18);
            this.radLabel29.TabIndex = 36;
            this.radLabel29.Text = "________________________________";
            this.radLabel29.TextAlignment = System.Drawing.ContentAlignment.MiddleCenter;
            // 
            // txtDate
            // 
            this.txtDate.AutoSize = false;
            this.txtDate.Location = new System.Drawing.Point(518, 36);
            this.txtDate.Name = "txtDate";
            this.txtDate.Size = new System.Drawing.Size(165, 18);
            this.txtDate.TabIndex = 40;
            this.txtDate.Text = "Date:";
            this.txtDate.Visible = false;
            // 
            // radLabel32
            // 
            this.radLabel32.AutoSize = false;
            this.radLabel32.Font = new System.Drawing.Font("Segoe UI", 8.25F);
            this.radLabel32.Location = new System.Drawing.Point(515, 549);
            this.radLabel32.Name = "radLabel32";
            this.radLabel32.Size = new System.Drawing.Size(160, 18);
            this.radLabel32.TabIndex = 37;
            this.radLabel32.Text = "Signature of Parent/Guardian";
            this.radLabel32.TextAlignment = System.Drawing.ContentAlignment.MiddleCenter;
            // 
            // radLabel30
            // 
            this.radLabel30.AutoSize = false;
            this.radLabel30.Font = new System.Drawing.Font("Segoe UI", 8.25F);
            this.radLabel30.Location = new System.Drawing.Point(515, 510);
            this.radLabel30.Name = "radLabel30";
            this.radLabel30.Size = new System.Drawing.Size(160, 18);
            this.radLabel30.TabIndex = 35;
            this.radLabel30.Text = "Signature of Student";
            this.radLabel30.TextAlignment = System.Drawing.ContentAlignment.MiddleCenter;
            // 
            // radLabel28
            // 
            this.radLabel28.AutoSize = false;
            this.radLabel28.Font = new System.Drawing.Font("Segoe UI", 8.25F);
            this.radLabel28.Location = new System.Drawing.Point(6, 535);
            this.radLabel28.Name = "radLabel28";
            this.radLabel28.Size = new System.Drawing.Size(160, 18);
            this.radLabel28.TabIndex = 33;
            this.radLabel28.Text = "Registrar/Authorized Rep.";
            this.radLabel28.TextAlignment = System.Drawing.ContentAlignment.MiddleCenter;
            // 
            // radLabel26
            // 
            this.radLabel26.AutoSize = false;
            this.radLabel26.Font = new System.Drawing.Font("Segoe UI", 8.25F);
            this.radLabel26.Location = new System.Drawing.Point(3, 493);
            this.radLabel26.Name = "radLabel26";
            this.radLabel26.Size = new System.Drawing.Size(85, 21);
            this.radLabel26.TabIndex = 32;
            this.radLabel26.Text = "APPROVED:";
            // 
            // radLabel24
            // 
            this.radLabel24.AutoSize = false;
            this.radLabel24.Font = new System.Drawing.Font("Segoe UI", 8.25F);
            this.radLabel24.Location = new System.Drawing.Point(3, 423);
            this.radLabel24.Name = "radLabel24";
            this.radLabel24.Size = new System.Drawing.Size(696, 48);
            this.radLabel24.TabIndex = 30;
            this.radLabel24.Text = resources.GetString("radLabel24.Text");
            // 
            // radLabel23
            // 
            this.radLabel23.AutoSize = false;
            this.radLabel23.Font = new System.Drawing.Font("Segoe UI", 8.25F, System.Drawing.FontStyle.Bold);
            this.radLabel23.Location = new System.Drawing.Point(3, 399);
            this.radLabel23.Name = "radLabel23";
            this.radLabel23.Size = new System.Drawing.Size(696, 18);
            this.radLabel23.TabIndex = 29;
            this.radLabel23.Text = "TO THE ENROLLING STUDENT";
            this.radLabel23.TextAlignment = System.Drawing.ContentAlignment.MiddleCenter;
            // 
            // radLabel22
            // 
            this.radLabel22.AutoSize = false;
            this.radLabel22.Font = new System.Drawing.Font("Segoe UI", 8.25F, System.Drawing.FontStyle.Bold);
            this.radLabel22.Location = new System.Drawing.Point(3, 375);
            this.radLabel22.Name = "radLabel22";
            this.radLabel22.Size = new System.Drawing.Size(131, 18);
            this.radLabel22.TabIndex = 28;
            this.radLabel22.Text = "IMPORTANT";
            this.radLabel22.TextAlignment = System.Drawing.ContentAlignment.MiddleLeft;
            // 
            // radLabel21
            // 
            this.radLabel21.AutoSize = false;
            this.radLabel21.Font = new System.Drawing.Font("Segoe UI", 8.25F, System.Drawing.FontStyle.Underline);
            this.radLabel21.Location = new System.Drawing.Point(549, 361);
            this.radLabel21.Name = "radLabel21";
            this.radLabel21.Size = new System.Drawing.Size(137, 18);
            this.radLabel21.TabIndex = 27;
            this.radLabel21.Text = "___________________________";
            this.radLabel21.TextAlignment = System.Drawing.ContentAlignment.MiddleCenter;
            // 
            // radLabel20
            // 
            this.radLabel20.AutoSize = false;
            this.radLabel20.Font = new System.Drawing.Font("Segoe UI", 8.25F);
            this.radLabel20.Location = new System.Drawing.Point(552, 375);
            this.radLabel20.Name = "radLabel20";
            this.radLabel20.Size = new System.Drawing.Size(131, 18);
            this.radLabel20.TabIndex = 26;
            this.radLabel20.Text = "Cashier\'s Signature";
            this.radLabel20.TextAlignment = System.Drawing.ContentAlignment.MiddleCenter;
            // 
            // radLabel19
            // 
            this.radLabel19.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
            this.radLabel19.AutoSize = false;
            this.radLabel19.Font = new System.Drawing.Font("Segoe UI", 8.25F, System.Drawing.FontStyle.Bold);
            this.radLabel19.Location = new System.Drawing.Point(8, 12);
            this.radLabel19.Name = "radLabel19";
            this.radLabel19.Size = new System.Drawing.Size(682, 18);
            this.radLabel19.TabIndex = 25;
            this.radLabel19.Text = "ASSESSMENT OF FEES";
            this.radLabel19.TextAlignment = System.Drawing.ContentAlignment.MiddleCenter;
            // 
            // calculate
            // 
            this.calculate.Location = new System.Drawing.Point(576, 331);
            this.calculate.Name = "calculate";
            this.calculate.Size = new System.Drawing.Size(110, 24);
            this.calculate.TabIndex = 24;
            this.calculate.Text = "Calculate";
            this.calculate.Click += new System.EventHandler(this.calculate_Click);
            // 
            // fullPaymentDisc
            // 
            this.fullPaymentDisc.Location = new System.Drawing.Point(192, 327);
            this.fullPaymentDisc.Name = "fullPaymentDisc";
            this.fullPaymentDisc.RightToLeft = System.Windows.Forms.RightToLeft.Yes;
            this.fullPaymentDisc.Size = new System.Drawing.Size(49, 20);
            this.fullPaymentDisc.TabIndex = 10;
            // 
            // radLabel18
            // 
            this.radLabel18.Font = new System.Drawing.Font("Segoe UI", 8.25F, System.Drawing.FontStyle.Bold);
            this.radLabel18.Location = new System.Drawing.Point(3, 328);
            this.radLabel18.Name = "radLabel18";
            this.radLabel18.Size = new System.Drawing.Size(175, 18);
            this.radLabel18.TabIndex = 14;
            this.radLabel18.Text = "Full Payment Discount Amount:";
            // 
            // radLabel17
            // 
            this.radLabel17.Font = new System.Drawing.Font("Segoe UI", 12F, System.Drawing.FontStyle.Bold);
            this.radLabel17.Location = new System.Drawing.Point(575, 271);
            this.radLabel17.Name = "radLabel17";
            this.radLabel17.Size = new System.Drawing.Size(14, 25);
            this.radLabel17.TabIndex = 11;
            this.radLabel17.Text = "-";
            // 
            // radLabel12
            // 
            this.radLabel12.Font = new System.Drawing.Font("Segoe UI", 8.25F, System.Drawing.FontStyle.Bold);
            this.radLabel12.Location = new System.Drawing.Point(518, 307);
            this.radLabel12.Name = "radLabel12";
            this.radLabel12.Size = new System.Drawing.Size(37, 18);
            this.radLabel12.TabIndex = 20;
            this.radLabel12.Text = "Total:";
            // 
            // radLabel11
            // 
            this.radLabel11.Font = new System.Drawing.Font("Segoe UI", 8.25F, System.Drawing.FontStyle.Bold);
            this.radLabel11.Location = new System.Drawing.Point(286, 309);
            this.radLabel11.Name = "radLabel11";
            this.radLabel11.Size = new System.Drawing.Size(60, 18);
            this.radLabel11.TabIndex = 16;
            this.radLabel11.Text = "Sub Total:";
            // 
            // radLabel13
            // 
            this.radLabel13.Font = new System.Drawing.Font("Segoe UI", 8.25F, System.Drawing.FontStyle.Bold);
            this.radLabel13.Location = new System.Drawing.Point(459, 277);
            this.radLabel13.Name = "radLabel13";
            this.radLabel13.Size = new System.Drawing.Size(119, 18);
            this.radLabel13.TabIndex = 21;
            this.radLabel13.Text = "Discount by Amount:";
            // 
            // radLabel10
            // 
            this.radLabel10.Font = new System.Drawing.Font("Segoe UI", 8.25F, System.Drawing.FontStyle.Bold);
            this.radLabel10.Location = new System.Drawing.Point(247, 276);
            this.radLabel10.Name = "radLabel10";
            this.radLabel10.Size = new System.Drawing.Size(99, 18);
            this.radLabel10.TabIndex = 16;
            this.radLabel10.Text = "Total Tuition Fee:";
            // 
            // subTotal
            // 
            this.subTotal.Location = new System.Drawing.Point(362, 307);
            this.subTotal.Name = "subTotal";
            this.subTotal.RightToLeft = System.Windows.Forms.RightToLeft.Yes;
            this.subTotal.Size = new System.Drawing.Size(91, 20);
            this.subTotal.TabIndex = 17;
            // 
            // discountbyAmountSubTotal
            // 
            this.discountbyAmountSubTotal.Location = new System.Drawing.Point(589, 251);
            this.discountbyAmountSubTotal.Name = "discountbyAmountSubTotal";
            this.discountbyAmountSubTotal.RightToLeft = System.Windows.Forms.RightToLeft.Yes;
            this.discountbyAmountSubTotal.Size = new System.Drawing.Size(93, 20);
            this.discountbyAmountSubTotal.TabIndex = 19;
            // 
            // enrollmentFee
            // 
            this.enrollmentFee.Location = new System.Drawing.Point(362, 253);
            this.enrollmentFee.Name = "enrollmentFee";
            this.enrollmentFee.RightToLeft = System.Windows.Forms.RightToLeft.Yes;
            this.enrollmentFee.Size = new System.Drawing.Size(91, 20);
            this.enrollmentFee.TabIndex = 11;
            // 
            // discountByAmount
            // 
            this.discountByAmount.Location = new System.Drawing.Point(589, 274);
            this.discountByAmount.Name = "discountByAmount";
            this.discountByAmount.RightToLeft = System.Windows.Forms.RightToLeft.Yes;
            this.discountByAmount.Size = new System.Drawing.Size(93, 20);
            this.discountByAmount.TabIndex = 23;
            // 
            // radLabel14
            // 
            this.radLabel14.Font = new System.Drawing.Font("Segoe UI", 8.25F, System.Drawing.FontStyle.Bold);
            this.radLabel14.Location = new System.Drawing.Point(518, 253);
            this.radLabel14.Name = "radLabel14";
            this.radLabel14.Size = new System.Drawing.Size(60, 18);
            this.radLabel14.TabIndex = 18;
            this.radLabel14.Text = "Sub Total:";
            // 
            // radLabel9
            // 
            this.radLabel9.Font = new System.Drawing.Font("Segoe UI", 8.25F, System.Drawing.FontStyle.Bold);
            this.radLabel9.Location = new System.Drawing.Point(257, 255);
            this.radLabel9.Name = "radLabel9";
            this.radLabel9.Size = new System.Drawing.Size(89, 18);
            this.radLabel9.TabIndex = 10;
            this.radLabel9.Text = "Enrollment Fee:";
            // 
            // scholarshipDiscount
            // 
            this.scholarshipDiscount.Font = new System.Drawing.Font("Segoe UI", 8.25F, System.Drawing.FontStyle.Bold);
            this.scholarshipDiscount.Location = new System.Drawing.Point(47, 281);
            this.scholarshipDiscount.Name = "scholarshipDiscount";
            this.scholarshipDiscount.Size = new System.Drawing.Size(78, 18);
            this.scholarshipDiscount.TabIndex = 9;
            this.scholarshipDiscount.Text = "Discount (%):";
            // 
            // radLabel5
            // 
            this.radLabel5.Font = new System.Drawing.Font("Segoe UI", 8.25F, System.Drawing.FontStyle.Bold);
            this.radLabel5.Location = new System.Drawing.Point(56, 257);
            this.radLabel5.Name = "radLabel5";
            this.radLabel5.Size = new System.Drawing.Size(69, 18);
            this.radLabel5.TabIndex = 8;
            this.radLabel5.Text = "Tuition Fee:";
            // 
            // radLabel15
            // 
            this.radLabel15.Font = new System.Drawing.Font("Segoe UI", 12F, System.Drawing.FontStyle.Bold);
            this.radLabel15.Location = new System.Drawing.Point(344, 272);
            this.radLabel15.Name = "radLabel15";
            this.radLabel15.Size = new System.Drawing.Size(19, 25);
            this.radLabel15.TabIndex = 9;
            this.radLabel15.Text = "+";
            // 
            // radLabel25
            // 
            this.radLabel25.AutoSize = false;
            this.radLabel25.Font = new System.Drawing.Font("Segoe UI", 8.25F);
            this.radLabel25.Location = new System.Drawing.Point(3, 467);
            this.radLabel25.Name = "radLabel25";
            this.radLabel25.Size = new System.Drawing.Size(696, 21);
            this.radLabel25.TabIndex = 31;
            this.radLabel25.Text = "     As proof that you have read the condition and agreed to it. Please sign on t" +
    "he space indicated below.";
            // 
            // printPreviewDialog1
            // 
            this.printPreviewDialog1.AutoScrollMargin = new System.Drawing.Size(0, 0);
            this.printPreviewDialog1.AutoScrollMinSize = new System.Drawing.Size(0, 0);
            this.printPreviewDialog1.ClientSize = new System.Drawing.Size(400, 300);
            this.printPreviewDialog1.Enabled = true;
            this.printPreviewDialog1.Icon = ((System.Drawing.Icon)(resources.GetObject("printPreviewDialog1.Icon")));
            this.printPreviewDialog1.Name = "printPreviewDialog1";
            this.printPreviewDialog1.Visible = false;
            // 
            // radPrintDocument1
            // 
            this.radPrintDocument1.FooterFont = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.radPrintDocument1.HeaderFont = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.radPrintDocument1.Watermark = radPrintWatermark1;
            // 
            // AssessStudent
            // 
            this.AcceptButton = this.btnPrint;
            this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
            this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
            this.CancelButton = this.btnCancel;
            this.ClientSize = new System.Drawing.Size(694, 286);
            this.Controls.Add(this.radPanel1);
            this.Controls.Add(this.radPanel2);
            this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedSingle;
            this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
            this.Name = "AssessStudent";
            // 
            // 
            // 
            this.RootElement.ApplyShapeToControl = true;
            this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
            this.Text = "Assess Student";
            this.Load += new System.EventHandler(this.AssessStudent_Load);
            ((System.ComponentModel.ISupportInitialize)(this.radPanel1)).EndInit();
            this.radPanel1.ResumeLayout(false);
            ((System.ComponentModel.ISupportInitialize)(this.btnCancel)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.btnPrint)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.gvAssessment.MasterTemplate)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.gvAssessment)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.radLabel1)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.radLabel2)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.radLabel3)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.radLabel4)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.tuitionFee)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.discountPercent)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.radLabel8)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.radPanel2)).EndInit();
            this.radPanel2.ResumeLayout(false);
            this.radPanel2.PerformLayout();
            ((System.ComponentModel.ISupportInitialize)(this.lblSectionVal)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.lblSection)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.TuitionDet)).EndInit();
            this.TuitionDet.ResumeLayout(false);
            this.TuitionDet.PerformLayout();
            ((System.ComponentModel.ISupportInitialize)(this.radLabel36)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.radLabel35)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.lblDet3Val)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.radLabel34)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.lblDet2Val)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.radLabel33)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.lblDet1Val)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.lblDet3)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.lblDet2)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.lblDet1)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.radLabel7)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.lblDetTotalVal)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.lblDetTotal)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.enrTotalTuitionFee)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.txtGradeLevel)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.txtName)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.txtIDnum)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.txtSY)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.Total)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.radLabel6)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.totalLessDiscount)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.totalLessbyDiscount)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.radLabel16)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.radLabel27)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.radLabel31)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.radLabel29)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.txtDate)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.radLabel32)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.radLabel30)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.radLabel28)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.radLabel26)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.radLabel24)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.radLabel23)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.radLabel22)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.radLabel21)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.radLabel20)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.radLabel19)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.calculate)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.fullPaymentDisc)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.radLabel18)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.radLabel17)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.radLabel12)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.radLabel11)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.radLabel13)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.radLabel10)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.subTotal)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.discountbyAmountSubTotal)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.enrollmentFee)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.discountByAmount)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.radLabel14)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.radLabel9)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.scholarshipDiscount)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.radLabel5)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.radLabel15)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.radLabel25)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this)).EndInit();
            this.ResumeLayout(false);

        }
コード例 #17
0
ファイル: GridReport.Designer.cs プロジェクト: RazenRyne/eSAR
        /// <summary>
        /// Required method for Designer support - do not modify
        /// the contents of this method with the code editor.
        /// </summary>
        private void InitializeComponent()
        {
            Telerik.WinControls.UI.GridViewTextBoxColumn gridViewTextBoxColumn1 = new Telerik.WinControls.UI.GridViewTextBoxColumn();
            Telerik.WinControls.UI.GridViewTextBoxColumn gridViewTextBoxColumn2 = new Telerik.WinControls.UI.GridViewTextBoxColumn();
            Telerik.WinControls.UI.GridViewTextBoxColumn gridViewTextBoxColumn3 = new Telerik.WinControls.UI.GridViewTextBoxColumn();
            Telerik.WinControls.UI.GridViewTextBoxColumn gridViewTextBoxColumn4 = new Telerik.WinControls.UI.GridViewTextBoxColumn();
            Telerik.WinControls.UI.GridViewTextBoxColumn gridViewTextBoxColumn5 = new Telerik.WinControls.UI.GridViewTextBoxColumn();
            Telerik.WinControls.UI.GridViewTextBoxColumn gridViewTextBoxColumn6 = new Telerik.WinControls.UI.GridViewTextBoxColumn();
            Telerik.WinControls.UI.GridViewTextBoxColumn gridViewTextBoxColumn7 = new Telerik.WinControls.UI.GridViewTextBoxColumn();
            Telerik.WinControls.UI.GridViewTextBoxColumn gridViewTextBoxColumn8 = new Telerik.WinControls.UI.GridViewTextBoxColumn();
            Telerik.WinControls.UI.GridViewTextBoxColumn gridViewTextBoxColumn9 = new Telerik.WinControls.UI.GridViewTextBoxColumn();
            System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(GridReport));
            Telerik.WinControls.UI.RadPrintWatermark radPrintWatermark1 = new Telerik.WinControls.UI.RadPrintWatermark();
            this.gridView = new Telerik.WinControls.UI.RadGridView();
            this.radPanel1 = new Telerik.WinControls.UI.RadPanel();
            this.btnPrint = new Telerik.WinControls.UI.RadButton();
            this.btnClose = new Telerik.WinControls.UI.RadButton();
            this.printPreviewDialog1 = new System.Windows.Forms.PrintPreviewDialog();
            this.radPrintDocument1 = new Telerik.WinControls.UI.RadPrintDocument();
            ((System.ComponentModel.ISupportInitialize)(this.gridView)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.gridView.MasterTemplate)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.radPanel1)).BeginInit();
            this.radPanel1.SuspendLayout();
            ((System.ComponentModel.ISupportInitialize)(this.btnPrint)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.btnClose)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this)).BeginInit();
            this.SuspendLayout();
            // 
            // gridView
            // 
            this.gridView.Dock = System.Windows.Forms.DockStyle.Fill;
            this.gridView.GroupExpandAnimationType = Telerik.WinControls.UI.GridExpandAnimationType.Slide;
            this.gridView.Location = new System.Drawing.Point(0, 0);
            // 
            // 
            // 
            this.gridView.MasterTemplate.AllowAddNewRow = false;
            this.gridView.MasterTemplate.AllowDeleteRow = false;
            this.gridView.MasterTemplate.AllowEditRow = false;
            this.gridView.MasterTemplate.AutoExpandGroups = true;
            gridViewTextBoxColumn1.FieldName = "StudentId";
            gridViewTextBoxColumn1.HeaderText = "Student ID";
            gridViewTextBoxColumn1.Name = "StudentID";
            gridViewTextBoxColumn1.Width = 100;
            gridViewTextBoxColumn2.FieldName = "StudentName";
            gridViewTextBoxColumn2.HeaderText = "Name";
            gridViewTextBoxColumn2.Name = "Name";
            gridViewTextBoxColumn2.Width = 200;
            gridViewTextBoxColumn3.FieldName = "student.Gender";
            gridViewTextBoxColumn3.HeaderText = "Gender";
            gridViewTextBoxColumn3.Name = "Gender";
            gridViewTextBoxColumn3.TextAlignment = System.Drawing.ContentAlignment.MiddleCenter;
            gridViewTextBoxColumn3.Width = 75;
            gridViewTextBoxColumn4.FieldName = "student.DOB";
            gridViewTextBoxColumn4.HeaderText = "Date of Birth";
            gridViewTextBoxColumn4.Name = "DOB";
            gridViewTextBoxColumn4.Width = 150;
            gridViewTextBoxColumn5.FieldName = "student.Religion";
            gridViewTextBoxColumn5.HeaderText = "Religion";
            gridViewTextBoxColumn5.Name = "Religion";
            gridViewTextBoxColumn5.Width = 100;
            gridViewTextBoxColumn6.FieldName = "student.GradeLevel";
            gridViewTextBoxColumn6.HeaderText = "Grade Level";
            gridViewTextBoxColumn6.Name = "GradeLevel";
            gridViewTextBoxColumn6.TextAlignment = System.Drawing.ContentAlignment.MiddleCenter;
            gridViewTextBoxColumn6.Width = 75;
            gridViewTextBoxColumn7.FieldName = "student.Section";
            gridViewTextBoxColumn7.HeaderText = "Section";
            gridViewTextBoxColumn7.Name = "Section";
            gridViewTextBoxColumn7.Width = 100;
            gridViewTextBoxColumn8.FieldName = "student.Average";
            gridViewTextBoxColumn8.HeaderText = "Prev. Ave.";
            gridViewTextBoxColumn8.Name = "Average";
            gridViewTextBoxColumn8.TextAlignment = System.Drawing.ContentAlignment.MiddleRight;
            gridViewTextBoxColumn8.Width = 75;
            gridViewTextBoxColumn9.FieldName = "SY";
            gridViewTextBoxColumn9.HeaderText = "SY Enrolled";
            gridViewTextBoxColumn9.Name = "SY";
            gridViewTextBoxColumn9.Width = 75;
            this.gridView.MasterTemplate.Columns.AddRange(new Telerik.WinControls.UI.GridViewDataColumn[] {
            gridViewTextBoxColumn1,
            gridViewTextBoxColumn2,
            gridViewTextBoxColumn3,
            gridViewTextBoxColumn4,
            gridViewTextBoxColumn5,
            gridViewTextBoxColumn6,
            gridViewTextBoxColumn7,
            gridViewTextBoxColumn8,
            gridViewTextBoxColumn9});
            this.gridView.MasterTemplate.EnablePaging = true;
            this.gridView.MasterTemplate.PageSize = 10;
            this.gridView.MasterTemplate.ShowGroupedColumns = true;
            this.gridView.Name = "gridView";
            this.gridView.Size = new System.Drawing.Size(830, 540);
            this.gridView.TabIndex = 0;
            this.gridView.Text = "radGridView1";
            // 
            // radPanel1
            // 
            this.radPanel1.Controls.Add(this.btnPrint);
            this.radPanel1.Controls.Add(this.btnClose);
            this.radPanel1.Dock = System.Windows.Forms.DockStyle.Bottom;
            this.radPanel1.Location = new System.Drawing.Point(0, 540);
            this.radPanel1.Name = "radPanel1";
            this.radPanel1.Size = new System.Drawing.Size(830, 51);
            this.radPanel1.TabIndex = 1;
            // 
            // btnPrint
            // 
            this.btnPrint.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
            this.btnPrint.Location = new System.Drawing.Point(660, 15);
            this.btnPrint.Name = "btnPrint";
            this.btnPrint.Size = new System.Drawing.Size(76, 24);
            this.btnPrint.TabIndex = 1;
            this.btnPrint.Text = "Print";
            this.btnPrint.Click += new System.EventHandler(this.btnPrint_Click);
            // 
            // btnClose
            // 
            this.btnClose.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
            this.btnClose.DialogResult = System.Windows.Forms.DialogResult.Cancel;
            this.btnClose.Location = new System.Drawing.Point(742, 15);
            this.btnClose.Name = "btnClose";
            this.btnClose.Size = new System.Drawing.Size(76, 24);
            this.btnClose.TabIndex = 0;
            this.btnClose.Text = "Close";
            this.btnClose.Click += new System.EventHandler(this.btnClose_Click);
            // 
            // printPreviewDialog1
            // 
            this.printPreviewDialog1.AutoScrollMargin = new System.Drawing.Size(0, 0);
            this.printPreviewDialog1.AutoScrollMinSize = new System.Drawing.Size(0, 0);
            this.printPreviewDialog1.ClientSize = new System.Drawing.Size(400, 300);
            this.printPreviewDialog1.Enabled = true;
            this.printPreviewDialog1.Icon = ((System.Drawing.Icon)(resources.GetObject("printPreviewDialog1.Icon")));
            this.printPreviewDialog1.Name = "printPreviewDialog1";
            this.printPreviewDialog1.Visible = false;
            // 
            // radPrintDocument1
            // 
            this.radPrintDocument1.FooterFont = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.radPrintDocument1.HeaderFont = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.radPrintDocument1.Watermark = radPrintWatermark1;
            // 
            // GridReport
            // 
            this.AcceptButton = this.btnPrint;
            this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
            this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
            this.CancelButton = this.btnClose;
            this.ClientSize = new System.Drawing.Size(830, 591);
            this.Controls.Add(this.gridView);
            this.Controls.Add(this.radPanel1);
            this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedSingle;
            this.MaximizeBox = false;
            this.MinimizeBox = false;
            this.Name = "GridReport";
            // 
            // 
            // 
            this.RootElement.ApplyShapeToControl = true;
            this.ShowIcon = false;
            this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
            this.Text = "Grid Report";
            this.ThemeName = "ControlDefault";
            this.Load += new System.EventHandler(this.GridReport_Load);
            ((System.ComponentModel.ISupportInitialize)(this.gridView.MasterTemplate)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.gridView)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.radPanel1)).EndInit();
            this.radPanel1.ResumeLayout(false);
            ((System.ComponentModel.ISupportInitialize)(this.btnPrint)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.btnClose)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this)).EndInit();
            this.ResumeLayout(false);

        }
コード例 #18
0
        /// <summary>
        /// Required method for Designer support - do not modify
        /// the contents of this method with the code editor.
        /// </summary>
        private void InitializeComponent()
        {
            Telerik.WinControls.UI.RadPrintWatermark radPrintWatermark1 = new Telerik.WinControls.UI.RadPrintWatermark();
            this.ddlPersonChoose = new Telerik.WinControls.UI.RadDropDownList();
            this.ddlSexChoose = new Telerik.WinControls.UI.RadDropDownList();
            this.bSaveAsPdfDocument = new Telerik.WinControls.UI.RadButton();
            this.bCancel = new Telerik.WinControls.UI.RadButton();
            this.bSaveAsDocument = new Telerik.WinControls.UI.RadButton();
            this.printDocument = new Telerik.WinControls.UI.RadPrintDocument();
            this.saveDialog = new System.Windows.Forms.SaveFileDialog();
            ((System.ComponentModel.ISupportInitialize)(this.ddlPersonChoose)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.ddlSexChoose)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.bSaveAsPdfDocument)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.bCancel)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.bSaveAsDocument)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this)).BeginInit();
            this.SuspendLayout();
            // 
            // ddlPersonChoose
            // 
            this.ddlPersonChoose.DefaultItemsCountInDropDown = 12;
            this.ddlPersonChoose.Location = new System.Drawing.Point(54, 70);
            this.ddlPersonChoose.Name = "ddlPersonChoose";
            this.ddlPersonChoose.NullText = "<Выберите персонажа>";
            this.ddlPersonChoose.Size = new System.Drawing.Size(185, 20);
            this.ddlPersonChoose.TabIndex = 0;
            this.ddlPersonChoose.SelectedValueChanged += new System.EventHandler(this.ddlPersonChoose_SelectedValueChanged);
            // 
            // ddlSexChoose
            // 
            this.ddlSexChoose.Location = new System.Drawing.Point(313, 70);
            this.ddlSexChoose.Name = "ddlSexChoose";
            this.ddlSexChoose.NullText = "<Выберите пол>";
            this.ddlSexChoose.Size = new System.Drawing.Size(125, 20);
            this.ddlSexChoose.TabIndex = 1;
            // 
            // bSaveAsPdfDocument
            // 
            this.bSaveAsPdfDocument.Location = new System.Drawing.Point(189, 463);
            this.bSaveAsPdfDocument.Name = "bSaveAsPdfDocument";
            this.bSaveAsPdfDocument.Size = new System.Drawing.Size(110, 24);
            this.bSaveAsPdfDocument.TabIndex = 2;
            this.bSaveAsPdfDocument.Text = "Сохранить в pdf";
            this.bSaveAsPdfDocument.Click += new System.EventHandler(this.bSaveAsPdfDocument_Click);
            // 
            // bCancel
            // 
            this.bCancel.Location = new System.Drawing.Point(328, 463);
            this.bCancel.Name = "bCancel";
            this.bCancel.Size = new System.Drawing.Size(110, 24);
            this.bCancel.TabIndex = 3;
            this.bCancel.Text = "Выйти";
            this.bCancel.Click += new System.EventHandler(this.bCancel_Click);
            // 
            // bSaveAsDocument
            // 
            this.bSaveAsDocument.Location = new System.Drawing.Point(44, 463);
            this.bSaveAsDocument.Name = "bSaveAsDocument";
            this.bSaveAsDocument.Size = new System.Drawing.Size(110, 24);
            this.bSaveAsDocument.TabIndex = 4;
            this.bSaveAsDocument.Text = "Сохранить в  docx";
            this.bSaveAsDocument.Click += new System.EventHandler(this.bSaveAsDocument_Click);
            // 
            // printDocument
            // 
            this.printDocument.FooterFont = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(204)));
            this.printDocument.HeaderFont = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(204)));
            this.printDocument.Watermark = radPrintWatermark1;
            // 
            // saveDialog
            // 
            this.saveDialog.DefaultExt = "docx";
            this.saveDialog.Filter = "Documents|*.docx|PDF file|*.pdf";
            // 
            // PrintResultForm
            // 
            this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
            this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
            this.ClientSize = new System.Drawing.Size(491, 527);
            this.Controls.Add(this.bSaveAsDocument);
            this.Controls.Add(this.bCancel);
            this.Controls.Add(this.bSaveAsPdfDocument);
            this.Controls.Add(this.ddlSexChoose);
            this.Controls.Add(this.ddlPersonChoose);
            this.Name = "PrintResultForm";
            // 
            // 
            // 
            this.RootElement.ApplyShapeToControl = true;
            this.Text = "Печать результата";
            this.ThemeName = "ControlDefault";
            this.FormClosed += new System.Windows.Forms.FormClosedEventHandler(this.PrintResultForm_FormClosed);
            this.Load += new System.EventHandler(this.PrintResultForm_Load);
            ((System.ComponentModel.ISupportInitialize)(this.ddlPersonChoose)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.ddlSexChoose)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.bSaveAsPdfDocument)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.bCancel)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.bSaveAsDocument)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this)).EndInit();
            this.ResumeLayout(false);
            this.PerformLayout();

        }
コード例 #19
0
        /// <summary> 
        /// Required method for Designer support - do not modify 
        /// the contents of this method with the code editor.
        /// </summary>
        private void InitializeComponent()
        {
            Telerik.WinControls.UI.RadPrintWatermark radPrintWatermark1 = new Telerik.WinControls.UI.RadPrintWatermark();
            this.SearchGrid = new Telerik.WinControls.UI.RadGridView();
            this.btnSearch = new Telerik.WinControls.UI.RadButton();
            this.ddlHospital = new Telerik.WinControls.UI.RadDropDownList();
            this.radLabel11 = new Telerik.WinControls.UI.RadLabel();
            this.btnPrint = new Telerik.WinControls.UI.RadButton();
            this.radLabel17 = new Telerik.WinControls.UI.RadLabel();
            this.ddlOpertaion = new Telerik.WinControls.UI.RadDropDownList();
            this.radLabel1 = new Telerik.WinControls.UI.RadLabel();
            this.radPrintDocument1 = new Telerik.WinControls.UI.RadPrintDocument();
            this.btnRefresh = new Telerik.WinControls.UI.RadButton();
            ((System.ComponentModel.ISupportInitialize)(this.SearchGrid)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.SearchGrid.MasterTemplate)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.btnSearch)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.ddlHospital)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.radLabel11)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.btnPrint)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.radLabel17)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.ddlOpertaion)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.radLabel1)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.btnRefresh)).BeginInit();
            this.SuspendLayout();
            // 
            // SearchGrid
            // 
            this.SearchGrid.AutoScroll = true;
            this.SearchGrid.Location = new System.Drawing.Point(20, 105);
            // 
            // SearchGrid
            // 
            this.SearchGrid.MasterTemplate.AllowAddNewRow = false;
            this.SearchGrid.MasterTemplate.AllowCellContextMenu = false;
            this.SearchGrid.MasterTemplate.AllowColumnHeaderContextMenu = false;
            this.SearchGrid.MasterTemplate.AllowDeleteRow = false;
            this.SearchGrid.MasterTemplate.AllowDragToGroup = false;
            this.SearchGrid.MasterTemplate.AllowEditRow = false;
            this.SearchGrid.MasterTemplate.EnableAlternatingRowColor = true;
            this.SearchGrid.MasterTemplate.EnableFiltering = true;
            this.SearchGrid.Name = "SearchGrid";
            this.SearchGrid.ReadOnly = true;
            this.SearchGrid.ShowGroupPanel = false;
            this.SearchGrid.ShowItemToolTips = false;
            this.SearchGrid.Size = new System.Drawing.Size(857, 480);
            this.SearchGrid.TabIndex = 33;
            this.SearchGrid.Text = "radGridView1";
            this.SearchGrid.ThemeName = "TelerikMetroBlue";
            // 
            // btnSearch
            // 
            this.btnSearch.Font = new System.Drawing.Font("Segoe UI", 9F, System.Drawing.FontStyle.Bold);
            this.btnSearch.Location = new System.Drawing.Point(509, 63);
            this.btnSearch.Name = "btnSearch";
            this.btnSearch.Size = new System.Drawing.Size(130, 24);
            this.btnSearch.TabIndex = 32;
            this.btnSearch.Text = "Search";
            this.btnSearch.ThemeName = "TelerikMetroBlue";
            this.btnSearch.Click += new System.EventHandler(this.btnSearch_Click);
            // 
            // ddlHospital
            // 
            this.ddlHospital.AllowShowFocusCues = false;
            this.ddlHospital.AutoCompleteDisplayMember = null;
            this.ddlHospital.AutoCompleteValueMember = null;
            this.ddlHospital.Location = new System.Drawing.Point(240, 63);
            this.ddlHospital.Name = "ddlHospital";
            this.ddlHospital.Size = new System.Drawing.Size(200, 22);
            this.ddlHospital.TabIndex = 31;
            this.ddlHospital.ThemeName = "TelerikMetroBlue";
            // 
            // radLabel11
            // 
            this.radLabel11.Font = new System.Drawing.Font("Segoe UI", 11.25F);
            this.radLabel11.Location = new System.Drawing.Point(240, 33);
            this.radLabel11.Name = "radLabel11";
            this.radLabel11.Size = new System.Drawing.Size(106, 24);
            this.radLabel11.TabIndex = 30;
            this.radLabel11.Text = "Hospital/Clinic";
            // 
            // btnPrint
            // 
            this.btnPrint.Font = new System.Drawing.Font("Segoe UI", 9F, System.Drawing.FontStyle.Bold);
            this.btnPrint.Location = new System.Drawing.Point(901, 105);
            this.btnPrint.Name = "btnPrint";
            this.btnPrint.Size = new System.Drawing.Size(102, 24);
            this.btnPrint.TabIndex = 33;
            this.btnPrint.Text = "Print";
            this.btnPrint.ThemeName = "TelerikMetroBlue";
            this.btnPrint.Click += new System.EventHandler(this.btnPrint_Click);
            // 
            // radLabel17
            // 
            this.radLabel17.Font = new System.Drawing.Font("Segoe UI", 11.25F);
            this.radLabel17.ForeColor = System.Drawing.Color.Red;
            this.radLabel17.Location = new System.Drawing.Point(145, 33);
            this.radLabel17.Name = "radLabel17";
            this.radLabel17.Size = new System.Drawing.Size(14, 24);
            this.radLabel17.TabIndex = 36;
            this.radLabel17.Text = "*";
            // 
            // ddlOpertaion
            // 
            this.ddlOpertaion.AllowShowFocusCues = false;
            this.ddlOpertaion.AutoCompleteDisplayMember = null;
            this.ddlOpertaion.AutoCompleteValueMember = null;
            this.ddlOpertaion.Location = new System.Drawing.Point(20, 63);
            this.ddlOpertaion.Name = "ddlOpertaion";
            this.ddlOpertaion.Size = new System.Drawing.Size(200, 22);
            this.ddlOpertaion.TabIndex = 35;
            this.ddlOpertaion.ThemeName = "TelerikMetroBlue";
            // 
            // radLabel1
            // 
            this.radLabel1.Font = new System.Drawing.Font("Segoe UI", 11.25F);
            this.radLabel1.Location = new System.Drawing.Point(20, 33);
            this.radLabel1.Name = "radLabel1";
            this.radLabel1.Size = new System.Drawing.Size(119, 24);
            this.radLabel1.TabIndex = 34;
            this.radLabel1.Text = "Operation name";
            // 
            // radPrintDocument1
            // 
            this.radPrintDocument1.AssociatedObject = this.SearchGrid;
            this.radPrintDocument1.FooterFont = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.radPrintDocument1.HeaderFont = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.radPrintDocument1.Watermark = radPrintWatermark1;
            // 
            // btnRefresh
            // 
            this.btnRefresh.Font = new System.Drawing.Font("Segoe UI", 9F, System.Drawing.FontStyle.Bold);
            this.btnRefresh.Location = new System.Drawing.Point(901, 63);
            this.btnRefresh.Name = "btnRefresh";
            this.btnRefresh.Size = new System.Drawing.Size(102, 24);
            this.btnRefresh.TabIndex = 88;
            this.btnRefresh.Text = "Refresh";
            this.btnRefresh.ThemeName = "TelerikMetroBlue";
            this.btnRefresh.Click += new System.EventHandler(this.btnRefresh_Click);
            // 
            // LogBook
            // 
            this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
            this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
            this.BackColor = System.Drawing.SystemColors.Window;
            this.Controls.Add(this.btnRefresh);
            this.Controls.Add(this.radLabel17);
            this.Controls.Add(this.ddlOpertaion);
            this.Controls.Add(this.radLabel1);
            this.Controls.Add(this.btnPrint);
            this.Controls.Add(this.SearchGrid);
            this.Controls.Add(this.btnSearch);
            this.Controls.Add(this.ddlHospital);
            this.Controls.Add(this.radLabel11);
            this.Name = "LogBook";
            this.Size = new System.Drawing.Size(1300, 600);
            ((System.ComponentModel.ISupportInitialize)(this.SearchGrid.MasterTemplate)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.SearchGrid)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.btnSearch)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.ddlHospital)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.radLabel11)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.btnPrint)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.radLabel17)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.ddlOpertaion)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.radLabel1)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.btnRefresh)).EndInit();
            this.ResumeLayout(false);
            this.PerformLayout();

        }
コード例 #20
0
        /// <summary>
        /// Required method for Designer support - do not modify
        /// the contents of this method with the code editor.
        /// </summary>
        private void InitializeComponent()
        {
            Telerik.WinControls.UI.GridViewTextBoxColumn       gridViewTextBoxColumn1       = new Telerik.WinControls.UI.GridViewTextBoxColumn();
            Telerik.WinControls.UI.GridViewTextBoxColumn       gridViewTextBoxColumn2       = new Telerik.WinControls.UI.GridViewTextBoxColumn();
            Telerik.WinControls.UI.GridViewDateTimeColumn      gridViewDateTimeColumn1      = new Telerik.WinControls.UI.GridViewDateTimeColumn();
            Telerik.WinControls.UI.GridViewComboBoxColumn      gridViewComboBoxColumn1      = new Telerik.WinControls.UI.GridViewComboBoxColumn();
            Telerik.WinControls.UI.GridViewTextBoxColumn       gridViewTextBoxColumn3       = new Telerik.WinControls.UI.GridViewTextBoxColumn();
            Telerik.WinControls.UI.GridViewDateTimeColumn      gridViewDateTimeColumn2      = new Telerik.WinControls.UI.GridViewDateTimeColumn();
            Telerik.WinControls.UI.ConditionalFormattingObject conditionalFormattingObject1 = new Telerik.WinControls.UI.ConditionalFormattingObject();
            Telerik.WinControls.UI.GridViewMaskBoxColumn       gridViewMaskBoxColumn1       = new Telerik.WinControls.UI.GridViewMaskBoxColumn();
            Telerik.WinControls.UI.ConditionalFormattingObject conditionalFormattingObject2 = new Telerik.WinControls.UI.ConditionalFormattingObject();
            Telerik.WinControls.UI.GridViewCommandColumn       gridViewCommandColumn1       = new Telerik.WinControls.UI.GridViewCommandColumn();
            Telerik.WinControls.UI.GridViewCommandColumn       gridViewCommandColumn2       = new Telerik.WinControls.UI.GridViewCommandColumn();
            Telerik.WinControls.Data.SortDescriptor            sortDescriptor1         = new Telerik.WinControls.Data.SortDescriptor();
            Telerik.WinControls.UI.GridViewTextBoxColumn       gridViewTextBoxColumn4  = new Telerik.WinControls.UI.GridViewTextBoxColumn();
            Telerik.WinControls.UI.GridViewTextBoxColumn       gridViewTextBoxColumn5  = new Telerik.WinControls.UI.GridViewTextBoxColumn();
            Telerik.WinControls.UI.GridViewDateTimeColumn      gridViewDateTimeColumn3 = new Telerik.WinControls.UI.GridViewDateTimeColumn();
            Telerik.WinControls.UI.GridViewComboBoxColumn      gridViewComboBoxColumn2 = new Telerik.WinControls.UI.GridViewComboBoxColumn();
            Telerik.WinControls.UI.GridViewTextBoxColumn       gridViewTextBoxColumn6  = new Telerik.WinControls.UI.GridViewTextBoxColumn();
            Telerik.WinControls.UI.GridViewCommandColumn       gridViewCommandColumn3  = new Telerik.WinControls.UI.GridViewCommandColumn();
            Telerik.WinControls.UI.GridViewCommandColumn       gridViewCommandColumn4  = new Telerik.WinControls.UI.GridViewCommandColumn();
            Telerik.WinControls.Data.SortDescriptor            sortDescriptor2         = new Telerik.WinControls.Data.SortDescriptor();
            Telerik.WinControls.UI.RadPrintWatermark           radPrintWatermark1      = new Telerik.WinControls.UI.RadPrintWatermark();
            System.ComponentModel.ComponentResourceManager     resources = new System.ComponentModel.ComponentResourceManager(typeof(MainForm));
            this.statusStrip          = new Telerik.WinControls.UI.RadStatusStrip();
            this.statusNumOfEmloyees  = new Telerik.WinControls.UI.RadLabelElement();
            this.statusOnVacation     = new Telerik.WinControls.UI.RadLabelElement();
            this.pageView             = new Telerik.WinControls.UI.RadPageView();
            this.pageWorkers          = new Telerik.WinControls.UI.RadPageViewPage();
            this.gridViewEmployees    = new Telerik.WinControls.UI.RadGridView();
            this.pageFired            = new Telerik.WinControls.UI.RadPageViewPage();
            this.gridViewFired        = new Telerik.WinControls.UI.RadGridView();
            this.menuHolidaysCalendar = new Telerik.WinControls.UI.RadMenuItem();
            this.menuMain             = new Telerik.WinControls.UI.RadMenu();
            this.menuItemMain         = new Telerik.WinControls.UI.RadMenuItem();
            this.menuSeparator1       = new Telerik.WinControls.UI.RadMenuSeparatorItem();
            this.menuPrintMobiles     = new Telerik.WinControls.UI.RadMenuItem();
            this.menuPrintBirthdates  = new Telerik.WinControls.UI.RadMenuItem();
            this.printDocumentRad     = new Telerik.WinControls.UI.RadPrintDocument();
            ((System.ComponentModel.ISupportInitialize)(this.statusStrip)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.pageView)).BeginInit();
            this.pageView.SuspendLayout();
            this.pageWorkers.SuspendLayout();
            ((System.ComponentModel.ISupportInitialize)(this.gridViewEmployees)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.gridViewEmployees.MasterTemplate)).BeginInit();
            this.pageFired.SuspendLayout();
            ((System.ComponentModel.ISupportInitialize)(this.gridViewFired)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.gridViewFired.MasterTemplate)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.menuMain)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this)).BeginInit();
            this.SuspendLayout();
            //
            // statusStrip
            //
            this.statusStrip.Items.AddRange(new Telerik.WinControls.RadItem[] {
                this.statusNumOfEmloyees,
                this.statusOnVacation
            });
            this.statusStrip.Location = new System.Drawing.Point(0, 542);
            this.statusStrip.Name     = "statusStrip";
            this.statusStrip.Size     = new System.Drawing.Size(951, 24);
            this.statusStrip.TabIndex = 2;
            this.statusStrip.Text     = "radStatusStrip1";
            //
            // statusNumOfEmloyees
            //
            this.statusNumOfEmloyees.AccessibleDescription = "statusLabel";
            this.statusNumOfEmloyees.AccessibleName        = "statusLabel";
            this.statusNumOfEmloyees.Name = "statusNumOfEmloyees";
            this.statusStrip.SetSpring(this.statusNumOfEmloyees, false);
            this.statusNumOfEmloyees.Text       = "NumberOfEmpl";
            this.statusNumOfEmloyees.TextWrap   = true;
            this.statusNumOfEmloyees.Visibility = Telerik.WinControls.ElementVisibility.Visible;
            //
            // statusOnVacation
            //
            this.statusOnVacation.AccessibleDescription = "statusLabel2";
            this.statusOnVacation.AccessibleName        = "statusLabel2";
            this.statusOnVacation.Name = "statusOnVacation";
            this.statusStrip.SetSpring(this.statusOnVacation, false);
            this.statusOnVacation.Text        = "NumberOfOnVacation";
            this.statusOnVacation.TextWrap    = true;
            this.statusOnVacation.ToolTipText = "WTF man";
            this.statusOnVacation.Visibility  = Telerik.WinControls.ElementVisibility.Visible;
            //
            // pageView
            //
            this.pageView.Controls.Add(this.pageWorkers);
            this.pageView.Controls.Add(this.pageFired);
            this.pageView.Dock         = System.Windows.Forms.DockStyle.Fill;
            this.pageView.Location     = new System.Drawing.Point(0, 20);
            this.pageView.Name         = "pageView";
            this.pageView.SelectedPage = this.pageWorkers;
            this.pageView.Size         = new System.Drawing.Size(951, 522);
            this.pageView.TabIndex     = 4;
            this.pageView.Text         = "radPageView1";
            ((Telerik.WinControls.UI.RadPageViewStripElement)(this.pageView.GetChildAt(0))).StripScrollingAnimation = Telerik.WinControls.RadEasingType.InOutQuad;
            ((Telerik.WinControls.UI.RadPageViewStripElement)(this.pageView.GetChildAt(0))).StripButtons            = Telerik.WinControls.UI.StripViewButtons.None;
            ((Telerik.WinControls.UI.StripViewButtonsPanel)(this.pageView.GetChildAt(0).GetChildAt(0).GetChildAt(1))).Visibility = Telerik.WinControls.ElementVisibility.Collapsed;
            ((Telerik.WinControls.UI.RadPageViewStripButtonElement)(this.pageView.GetChildAt(0).GetChildAt(0).GetChildAt(1).GetChildAt(0))).Enabled    = false;
            ((Telerik.WinControls.UI.RadPageViewStripButtonElement)(this.pageView.GetChildAt(0).GetChildAt(0).GetChildAt(1).GetChildAt(0))).Visibility = Telerik.WinControls.ElementVisibility.Visible;
            ((Telerik.WinControls.UI.RadPageViewStripButtonElement)(this.pageView.GetChildAt(0).GetChildAt(0).GetChildAt(1).GetChildAt(1))).Enabled    = false;
            ((Telerik.WinControls.UI.RadPageViewStripButtonElement)(this.pageView.GetChildAt(0).GetChildAt(0).GetChildAt(1).GetChildAt(1))).Visibility = Telerik.WinControls.ElementVisibility.Visible;
            ((Telerik.WinControls.UI.RadPageViewStripButtonElement)(this.pageView.GetChildAt(0).GetChildAt(0).GetChildAt(1).GetChildAt(2))).Visibility = Telerik.WinControls.ElementVisibility.Visible;
            ((Telerik.WinControls.UI.RadPageViewStripButtonElement)(this.pageView.GetChildAt(0).GetChildAt(0).GetChildAt(1).GetChildAt(3))).Visibility = Telerik.WinControls.ElementVisibility.Visible;
            //
            // pageWorkers
            //
// TODO: Code generation for '' failed because of Exception 'Invalid Primitive Type: System.IntPtr. Consider using CodeObjectCreateExpression.'.
            this.pageWorkers.Controls.Add(this.gridViewEmployees);
            this.pageWorkers.Location = new System.Drawing.Point(10, 37);
            this.pageWorkers.Name     = "pageWorkers";
            this.pageWorkers.Size     = new System.Drawing.Size(930, 474);
            this.pageWorkers.Text     = "Работающие";
            //
            // gridViewEmployees
            //
            this.gridViewEmployees.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(191)))), ((int)(((byte)(219)))), ((int)(((byte)(255)))));
            this.gridViewEmployees.Cursor    = System.Windows.Forms.Cursors.Default;
            this.gridViewEmployees.Dock      = System.Windows.Forms.DockStyle.Fill;
            this.gridViewEmployees.Font      = new System.Drawing.Font("Segoe UI", 8.25F);
            this.gridViewEmployees.ForeColor = System.Drawing.Color.Black;
            this.gridViewEmployees.ImeMode   = System.Windows.Forms.ImeMode.NoControl;
            this.gridViewEmployees.Location  = new System.Drawing.Point(0, 0);
            //
            // gridViewEmployees
            //
            this.gridViewEmployees.MasterTemplate.AddNewRowPosition   = Telerik.WinControls.UI.SystemRowPosition.Bottom;
            this.gridViewEmployees.MasterTemplate.AutoGenerateColumns = false;
            this.gridViewEmployees.MasterTemplate.AutoSizeColumnsMode = Telerik.WinControls.UI.GridViewAutoSizeColumnsMode.Fill;
            gridViewTextBoxColumn1.EnableExpressionEditor             = false;
            gridViewTextBoxColumn1.HeaderText              = "ID";
            gridViewTextBoxColumn1.IsVisible               = false;
            gridViewTextBoxColumn1.Name                    = "colID";
            gridViewTextBoxColumn1.ReadOnly                = true;
            gridViewTextBoxColumn2.EnableExpressionEditor  = false;
            gridViewTextBoxColumn2.HeaderText              = "ФИО";
            gridViewTextBoxColumn2.MinWidth                = 200;
            gridViewTextBoxColumn2.Name                    = "colName";
            gridViewTextBoxColumn2.SortOrder               = Telerik.WinControls.UI.RadSortOrder.Ascending;
            gridViewTextBoxColumn2.Width                   = 205;
            gridViewDateTimeColumn1.EnableExpressionEditor = false;
            gridViewDateTimeColumn1.FilteringMode          = Telerik.WinControls.UI.GridViewTimeFilteringMode.Date;
            gridViewDateTimeColumn1.Format                 = System.Windows.Forms.DateTimePickerFormat.Custom;
            gridViewDateTimeColumn1.FormatString           = "{0:D}";
            gridViewDateTimeColumn1.HeaderText             = "Дата приема";
            gridViewDateTimeColumn1.MinWidth               = 105;
            gridViewDateTimeColumn1.Name                   = "colHireDate";
            gridViewDateTimeColumn1.Width                  = 107;
            gridViewComboBoxColumn1.EnableExpressionEditor = false;
            gridViewComboBoxColumn1.HeaderText             = "Тип занятости";
            gridViewComboBoxColumn1.MinWidth               = 80;
            gridViewComboBoxColumn1.Name                   = "colAccType";
            gridViewComboBoxColumn1.Width                  = 82;
            gridViewTextBoxColumn3.EnableExpressionEditor  = false;
            gridViewTextBoxColumn3.HeaderText              = "Кол-во оставшихся дней отпуска";
            gridViewTextBoxColumn3.MaxWidth                = 200;
            gridViewTextBoxColumn3.MinWidth                = 180;
            gridViewTextBoxColumn3.Name                    = "colVacationLeft";
            gridViewTextBoxColumn3.ReadOnly                = true;
            gridViewTextBoxColumn3.Width                   = 184;
            conditionalFormattingObject1.CellBackColor     = System.Drawing.Color.Empty;
            conditionalFormattingObject1.CellForeColor     = System.Drawing.Color.Red;
            conditionalFormattingObject1.ConditionType     = Telerik.WinControls.UI.ConditionTypes.GreaterOrEqual;
            conditionalFormattingObject1.Name              = "BirthdayNotSet";
            conditionalFormattingObject1.RowBackColor      = System.Drawing.Color.Empty;
            conditionalFormattingObject1.RowForeColor      = System.Drawing.Color.Empty;
            conditionalFormattingObject1.TValue1           = "1.01.2000";
            gridViewDateTimeColumn2.ConditionalFormattingObjectList.Add(conditionalFormattingObject1);
            gridViewDateTimeColumn2.EnableExpressionEditor = false;
            gridViewDateTimeColumn2.Format             = System.Windows.Forms.DateTimePickerFormat.Short;
            gridViewDateTimeColumn2.FormatString       = "{0:dd.MM.yyyy}";
            gridViewDateTimeColumn2.HeaderText         = "День рождения";
            gridViewDateTimeColumn2.MaxWidth           = 130;
            gridViewDateTimeColumn2.MinWidth           = 90;
            gridViewDateTimeColumn2.Name               = "colBirthDate";
            gridViewDateTimeColumn2.Width              = 92;
            conditionalFormattingObject2.CellBackColor = System.Drawing.Color.Empty;
            conditionalFormattingObject2.CellForeColor = System.Drawing.Color.Red;
            conditionalFormattingObject2.Name          = "MobileNotSet";
            conditionalFormattingObject2.RowBackColor  = System.Drawing.Color.Empty;
            conditionalFormattingObject2.RowForeColor  = System.Drawing.Color.Empty;
            conditionalFormattingObject2.TValue1       = "(000)000-00-00";
            gridViewMaskBoxColumn1.ConditionalFormattingObjectList.Add(conditionalFormattingObject2);
            gridViewMaskBoxColumn1.EnableExpressionEditor = false;
            gridViewMaskBoxColumn1.FieldName              = "Мобильный";
            gridViewMaskBoxColumn1.HeaderText             = "Мобильный";
            gridViewMaskBoxColumn1.Mask                   = "(###) ###-##-##";
            gridViewMaskBoxColumn1.MaskType               = Telerik.WinControls.UI.MaskType.Standard;
            gridViewMaskBoxColumn1.MaxWidth               = 130;
            gridViewMaskBoxColumn1.MinWidth               = 100;
            gridViewMaskBoxColumn1.Name                   = "colMobile";
            gridViewMaskBoxColumn1.Width                  = 102;
            gridViewCommandColumn1.DefaultText            = "Добавить...";
            gridViewCommandColumn1.EnableExpressionEditor = false;
            gridViewCommandColumn1.HeaderText             = "Отпуск";
            gridViewCommandColumn1.MinWidth               = 70;
            gridViewCommandColumn1.Name                   = "colAddVacation";
            gridViewCommandColumn1.UseDefaultText         = true;
            gridViewCommandColumn1.Width                  = 72;
            gridViewCommandColumn2.DefaultText            = "Просмотр";
            gridViewCommandColumn2.EnableExpressionEditor = false;
            gridViewCommandColumn2.HeaderText             = "Инфо";
            gridViewCommandColumn2.MinWidth               = 70;
            gridViewCommandColumn2.Name                   = "colView";
            gridViewCommandColumn2.UseDefaultText         = true;
            gridViewCommandColumn2.Width                  = 72;
            this.gridViewEmployees.MasterTemplate.Columns.AddRange(new Telerik.WinControls.UI.GridViewDataColumn[] {
                gridViewTextBoxColumn1,
                gridViewTextBoxColumn2,
                gridViewDateTimeColumn1,
                gridViewComboBoxColumn1,
                gridViewTextBoxColumn3,
                gridViewDateTimeColumn2,
                gridViewMaskBoxColumn1,
                gridViewCommandColumn1,
                gridViewCommandColumn2
            });
            sortDescriptor1.PropertyName = "colName";
            this.gridViewEmployees.MasterTemplate.SortDescriptors.AddRange(new Telerik.WinControls.Data.SortDescriptor[] {
                sortDescriptor1
            });
            this.gridViewEmployees.Name = "gridViewEmployees";
            this.gridViewEmployees.NewRowEnterKeyMode = Telerik.WinControls.UI.RadGridViewNewRowEnterKeyMode.EnterMovesToNextCell;
            this.gridViewEmployees.RightToLeft        = System.Windows.Forms.RightToLeft.No;
            this.gridViewEmployees.Size     = new System.Drawing.Size(930, 474);
            this.gridViewEmployees.TabIndex = 1;
            this.gridViewEmployees.UseScrollbarsInHierarchy = true;
            this.gridViewEmployees.UserAddingRow           += new Telerik.WinControls.UI.GridViewRowCancelEventHandler(this.gridViewEmployees_UserAddingRow);
            this.gridViewEmployees.UserDeletingRow         += new Telerik.WinControls.UI.GridViewRowCancelEventHandler(this.gridViewEmployees_UserDeletingRow);
            this.gridViewEmployees.CellValueChanged        += new Telerik.WinControls.UI.GridViewCellEventHandler(this.gridViewEmployees_CellValueChanged);
            this.gridViewEmployees.CommandCellClick        += new Telerik.WinControls.UI.CommandCellClickEventHandler(this.MasterTemplate_CommandCellClick);
            //
            // pageFired
            //
// TODO: Code generation for '' failed because of Exception 'Invalid Primitive Type: System.IntPtr. Consider using CodeObjectCreateExpression.'.
            this.pageFired.Controls.Add(this.gridViewFired);
            this.pageFired.Location = new System.Drawing.Point(10, 37);
            this.pageFired.Name     = "pageFired";
            this.pageFired.Size     = new System.Drawing.Size(930, 474);
            this.pageFired.Text     = "Уволенные";
            //
            // gridViewFired
            //
            this.gridViewFired.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(191)))), ((int)(((byte)(219)))), ((int)(((byte)(255)))));
            this.gridViewFired.Cursor    = System.Windows.Forms.Cursors.Default;
            this.gridViewFired.Dock      = System.Windows.Forms.DockStyle.Fill;
            this.gridViewFired.Font      = new System.Drawing.Font("Segoe UI", 8.25F);
            this.gridViewFired.ForeColor = System.Drawing.Color.Black;
            this.gridViewFired.ImeMode   = System.Windows.Forms.ImeMode.NoControl;
            this.gridViewFired.Location  = new System.Drawing.Point(0, 0);
            //
            //
            //
            this.gridViewFired.MasterTemplate.AddNewRowPosition   = Telerik.WinControls.UI.SystemRowPosition.Bottom;
            this.gridViewFired.MasterTemplate.AutoGenerateColumns = false;
            this.gridViewFired.MasterTemplate.AutoSizeColumnsMode = Telerik.WinControls.UI.GridViewAutoSizeColumnsMode.Fill;
            gridViewTextBoxColumn4.EnableExpressionEditor         = false;
            gridViewTextBoxColumn4.HeaderText              = "ID";
            gridViewTextBoxColumn4.IsVisible               = false;
            gridViewTextBoxColumn4.Name                    = "colID";
            gridViewTextBoxColumn4.ReadOnly                = true;
            gridViewTextBoxColumn5.EnableExpressionEditor  = false;
            gridViewTextBoxColumn5.HeaderText              = "ФИО";
            gridViewTextBoxColumn5.Name                    = "colName";
            gridViewTextBoxColumn5.Width                   = 268;
            gridViewDateTimeColumn3.EnableExpressionEditor = false;
            gridViewDateTimeColumn3.FilteringMode          = Telerik.WinControls.UI.GridViewTimeFilteringMode.Date;
            gridViewDateTimeColumn3.Format                 = System.Windows.Forms.DateTimePickerFormat.Custom;
            gridViewDateTimeColumn3.FormatString           = "{0:D}";
            gridViewDateTimeColumn3.HeaderText             = "Дата приема";
            gridViewDateTimeColumn3.Name                   = "colHireDate";
            gridViewDateTimeColumn3.Width                  = 146;
            gridViewComboBoxColumn2.EnableExpressionEditor = false;
            gridViewComboBoxColumn2.HeaderText             = "Тип занятости";
            gridViewComboBoxColumn2.Name                   = "colAccType";
            gridViewComboBoxColumn2.Width                  = 115;
            gridViewTextBoxColumn6.EnableExpressionEditor  = false;
            gridViewTextBoxColumn6.HeaderText              = "Кол-во оставшихся дней отпуска";
            gridViewTextBoxColumn6.Name                    = "colVacationLeft";
            gridViewTextBoxColumn6.ReadOnly                = true;
            gridViewTextBoxColumn6.Width                   = 227;
            gridViewCommandColumn3.DefaultText             = "Добавить...";
            gridViewCommandColumn3.EnableExpressionEditor  = false;
            gridViewCommandColumn3.HeaderText              = "Отпуск";
            gridViewCommandColumn3.Name                    = "colAddVacation";
            gridViewCommandColumn3.UseDefaultText          = true;
            gridViewCommandColumn3.Width                   = 87;
            gridViewCommandColumn4.DefaultText             = "Просмотр";
            gridViewCommandColumn4.EnableExpressionEditor  = false;
            gridViewCommandColumn4.HeaderText              = "Инфо";
            gridViewCommandColumn4.Name                    = "colView";
            gridViewCommandColumn4.UseDefaultText          = true;
            gridViewCommandColumn4.Width                   = 71;
            this.gridViewFired.MasterTemplate.Columns.AddRange(new Telerik.WinControls.UI.GridViewDataColumn[] {
                gridViewTextBoxColumn4,
                gridViewTextBoxColumn5,
                gridViewDateTimeColumn3,
                gridViewComboBoxColumn2,
                gridViewTextBoxColumn6,
                gridViewCommandColumn3,
                gridViewCommandColumn4
            });
            sortDescriptor2.PropertyName = "colButton";
            this.gridViewFired.MasterTemplate.SortDescriptors.AddRange(new Telerik.WinControls.Data.SortDescriptor[] {
                sortDescriptor2
            });
            this.gridViewFired.Name = "gridViewFired";
            this.gridViewFired.NewRowEnterKeyMode = Telerik.WinControls.UI.RadGridViewNewRowEnterKeyMode.EnterMovesToNextCell;
            this.gridViewFired.RightToLeft        = System.Windows.Forms.RightToLeft.No;
            this.gridViewFired.Size              = new System.Drawing.Size(930, 474);
            this.gridViewFired.TabIndex          = 1;
            this.gridViewFired.CommandCellClick += new Telerik.WinControls.UI.CommandCellClickEventHandler(this.MasterTemplate_CommandCellClick);
            //
            // menuHolidaysCalendar
            //
            this.menuHolidaysCalendar.AccessibleDescription = "Календарь выходных";
            this.menuHolidaysCalendar.AccessibleName        = "Календарь выходных";
            this.menuHolidaysCalendar.Name       = "menuHolidaysCalendar";
            this.menuHolidaysCalendar.Text       = "Календарь выходных";
            this.menuHolidaysCalendar.Visibility = Telerik.WinControls.ElementVisibility.Visible;
            this.menuHolidaysCalendar.Click     += new System.EventHandler(this.menuHolidaysCalendar_Click);
            //
            // menuMain
            //
            this.menuMain.Items.AddRange(new Telerik.WinControls.RadItem[] {
                this.menuItemMain
            });
            this.menuMain.Location = new System.Drawing.Point(0, 0);
            this.menuMain.Name     = "menuMain";
            this.menuMain.Size     = new System.Drawing.Size(951, 20);
            this.menuMain.TabIndex = 1;
            this.menuMain.Text     = "radMenu1";
            //
            // menuItemMain
            //
            this.menuItemMain.AccessibleDescription = "Меню";
            this.menuItemMain.AccessibleName        = "Меню";
            this.menuItemMain.Items.AddRange(new Telerik.WinControls.RadItem[] {
                this.menuHolidaysCalendar,
                this.menuSeparator1,
                this.menuPrintMobiles,
                this.menuPrintBirthdates
            });
            this.menuItemMain.Name       = "menuItemMain";
            this.menuItemMain.Text       = "Меню";
            this.menuItemMain.Visibility = Telerik.WinControls.ElementVisibility.Visible;
            //
            // menuSeparator1
            //
            this.menuSeparator1.AccessibleDescription = "menuSeparator1";
            this.menuSeparator1.AccessibleName        = "menuSeparator1";
            this.menuSeparator1.Name       = "menuSeparator1";
            this.menuSeparator1.Text       = "menuSeparator1";
            this.menuSeparator1.Visibility = Telerik.WinControls.ElementVisibility.Visible;
            //
            // menuPrintMobiles
            //
            this.menuPrintMobiles.AccessibleDescription = "Печать телефонов";
            this.menuPrintMobiles.AccessibleName        = "Печать телефонов";
            this.menuPrintMobiles.Name       = "menuPrintMobiles";
            this.menuPrintMobiles.Text       = "Печать телефонов";
            this.menuPrintMobiles.Visibility = Telerik.WinControls.ElementVisibility.Visible;
            this.menuPrintMobiles.Click     += new System.EventHandler(this.menuPrintMobiles_Click);
            //
            // menuPrintBirthdates
            //
            this.menuPrintBirthdates.AccessibleDescription = "menuPrintBirthdates";
            this.menuPrintBirthdates.AccessibleName        = "menuPrintBirthdates";
            this.menuPrintBirthdates.Name       = "menuPrintBirthdates";
            this.menuPrintBirthdates.Text       = "Печать ДР";
            this.menuPrintBirthdates.Visibility = Telerik.WinControls.ElementVisibility.Visible;
            this.menuPrintBirthdates.Click     += new System.EventHandler(this.menuPrintBirthdates_Click);
            //
            // printDocumentRad
            //
            this.printDocumentRad.AssociatedObject = this.gridViewEmployees;
            this.printDocumentRad.FooterFont       = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(204)));
            this.printDocumentRad.HeaderFont       = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(204)));
            this.printDocumentRad.LeftFooter       = "Left1";
            this.printDocumentRad.LeftHeader       = "Left2";
            this.printDocumentRad.MiddleFooter     = "Mid1";
            this.printDocumentRad.MiddleHeader     = "Mid2";
            this.printDocumentRad.RightFooter      = "Rightr1";
            this.printDocumentRad.RightHeader      = "Right2";
            this.printDocumentRad.Watermark        = radPrintWatermark1;
            //
            // MainForm
            //
            this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
            this.AutoScaleMode       = System.Windows.Forms.AutoScaleMode.Font;
            this.ClientSize          = new System.Drawing.Size(951, 566);
            this.Controls.Add(this.pageView);
            this.Controls.Add(this.statusStrip);
            this.Controls.Add(this.menuMain);
            this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
            this.Name = "MainForm";
            //
            //
            //
            this.RootElement.ApplyShapeToControl = true;
            this.Text        = "Расчет отпусков";
            this.ThemeName   = "ControlDefault";
            this.FormClosed += new System.Windows.Forms.FormClosedEventHandler(this.MainForm_FormClosed);
            this.Load       += new System.EventHandler(this.MainForm_Load);
            ((System.ComponentModel.ISupportInitialize)(this.statusStrip)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.pageView)).EndInit();
            this.pageView.ResumeLayout(false);
            this.pageWorkers.ResumeLayout(false);
            ((System.ComponentModel.ISupportInitialize)(this.gridViewEmployees.MasterTemplate)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.gridViewEmployees)).EndInit();
            this.pageFired.ResumeLayout(false);
            ((System.ComponentModel.ISupportInitialize)(this.gridViewFired.MasterTemplate)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.gridViewFired)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.menuMain)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this)).EndInit();
            this.ResumeLayout(false);
            this.PerformLayout();
        }
コード例 #21
0
ファイル: BarChart.Designer.cs プロジェクト: dansalan/DCFIv5
        /// <summary>
        /// Required method for Designer support - do not modify
        /// the contents of this method with the code editor.
        /// </summary>
        private void InitializeComponent()
        {
            Telerik.WinControls.UI.CartesianArea cartesianArea2 = new Telerik.WinControls.UI.CartesianArea();
            System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(BarChart));
            Telerik.WinControls.UI.RadPrintWatermark radPrintWatermark2 = new Telerik.WinControls.UI.RadPrintWatermark();
            this.radPanel1 = new Telerik.WinControls.UI.RadPanel();
            this.cmbGradeLevel = new Telerik.WinControls.UI.RadDropDownList();
            this.lblGradeLevel = new Telerik.WinControls.UI.RadLabel();
            this.btnPrint = new Telerik.WinControls.UI.RadButton();
            this.btnClose = new Telerik.WinControls.UI.RadButton();
            this.radChartView1 = new Telerik.WinControls.UI.RadChartView();
            this.printPreviewDialog1 = new System.Windows.Forms.PrintPreviewDialog();
            this.radPrintDocument1 = new Telerik.WinControls.UI.RadPrintDocument();
            ((System.ComponentModel.ISupportInitialize)(this.radPanel1)).BeginInit();
            this.radPanel1.SuspendLayout();
            ((System.ComponentModel.ISupportInitialize)(this.cmbGradeLevel)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.lblGradeLevel)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.btnPrint)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.btnClose)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.radChartView1)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this)).BeginInit();
            this.SuspendLayout();
            // 
            // radPanel1
            // 
            this.radPanel1.Controls.Add(this.cmbGradeLevel);
            this.radPanel1.Controls.Add(this.lblGradeLevel);
            this.radPanel1.Controls.Add(this.btnPrint);
            this.radPanel1.Controls.Add(this.btnClose);
            this.radPanel1.Dock = System.Windows.Forms.DockStyle.Bottom;
            this.radPanel1.Location = new System.Drawing.Point(0, 547);
            this.radPanel1.Name = "radPanel1";
            this.radPanel1.Size = new System.Drawing.Size(1284, 51);
            this.radPanel1.TabIndex = 2;
            // 
            // cmbGradeLevel
            // 
            this.cmbGradeLevel.DataMember = "Description";
            this.cmbGradeLevel.DisplayMember = "Description";
            this.cmbGradeLevel.Location = new System.Drawing.Point(115, 15);
            this.cmbGradeLevel.Name = "cmbGradeLevel";
            this.cmbGradeLevel.Size = new System.Drawing.Size(103, 20);
            this.cmbGradeLevel.TabIndex = 63;
            this.cmbGradeLevel.ValueMember = "GradeLev";
            this.cmbGradeLevel.Visible = false;
            this.cmbGradeLevel.SelectedValueChanged += new System.EventHandler(this.cmbGradeLevel_SelectedValueChanged);
            // 
            // lblGradeLevel
            // 
            this.lblGradeLevel.Location = new System.Drawing.Point(12, 15);
            this.lblGradeLevel.Name = "lblGradeLevel";
            this.lblGradeLevel.Size = new System.Drawing.Size(97, 18);
            this.lblGradeLevel.TabIndex = 62;
            this.lblGradeLevel.Text = "Select Grade Level";
            this.lblGradeLevel.Visible = false;
            // 
            // btnPrint
            // 
            this.btnPrint.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
            this.btnPrint.Location = new System.Drawing.Point(1114, 15);
            this.btnPrint.Name = "btnPrint";
            this.btnPrint.Size = new System.Drawing.Size(76, 24);
            this.btnPrint.TabIndex = 1;
            this.btnPrint.Text = "Print";
            this.btnPrint.Click += new System.EventHandler(this.btnPrint_Click);
            // 
            // btnClose
            // 
            this.btnClose.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
            this.btnClose.Location = new System.Drawing.Point(1196, 15);
            this.btnClose.Name = "btnClose";
            this.btnClose.Size = new System.Drawing.Size(76, 24);
            this.btnClose.TabIndex = 0;
            this.btnClose.Text = "Close";
            this.btnClose.Click += new System.EventHandler(this.btnClose_Click);
            // 
            // radChartView1
            // 
            this.radChartView1.AreaDesign = cartesianArea2;
            this.radChartView1.Dock = System.Windows.Forms.DockStyle.Fill;
            this.radChartView1.Location = new System.Drawing.Point(0, 0);
            this.radChartView1.Name = "radChartView1";
            this.radChartView1.ShowGrid = false;
            this.radChartView1.Size = new System.Drawing.Size(1284, 547);
            this.radChartView1.TabIndex = 3;
            this.radChartView1.Text = "radChartView1";
            // 
            // printPreviewDialog1
            // 
            this.printPreviewDialog1.AutoScrollMargin = new System.Drawing.Size(0, 0);
            this.printPreviewDialog1.AutoScrollMinSize = new System.Drawing.Size(0, 0);
            this.printPreviewDialog1.ClientSize = new System.Drawing.Size(400, 300);
            this.printPreviewDialog1.Enabled = true;
            this.printPreviewDialog1.Icon = ((System.Drawing.Icon)(resources.GetObject("printPreviewDialog1.Icon")));
            this.printPreviewDialog1.Name = "printPreviewDialog1";
            this.printPreviewDialog1.Visible = false;
            // 
            // radPrintDocument1
            // 
            this.radPrintDocument1.FooterFont = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.radPrintDocument1.HeaderFont = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.radPrintDocument1.Watermark = radPrintWatermark2;
            // 
            // BarChart
            // 
            this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
            this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
            this.ClientSize = new System.Drawing.Size(1284, 598);
            this.Controls.Add(this.radChartView1);
            this.Controls.Add(this.radPanel1);
            this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedSingle;
            this.Name = "BarChart";
            // 
            // 
            // 
            this.RootElement.ApplyShapeToControl = true;
            this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
            this.Text = "Bar Graph";
            this.ThemeName = "ControlDefault";
            this.Load += new System.EventHandler(this.BarChart_Load);
            ((System.ComponentModel.ISupportInitialize)(this.radPanel1)).EndInit();
            this.radPanel1.ResumeLayout(false);
            this.radPanel1.PerformLayout();
            ((System.ComponentModel.ISupportInitialize)(this.cmbGradeLevel)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.lblGradeLevel)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.btnPrint)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.btnClose)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.radChartView1)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this)).EndInit();
            this.ResumeLayout(false);

        }
コード例 #22
0
        /// <summary>
        /// Required method for Designer support - do not modify
        /// the contents of this method with the code editor.
        /// </summary>
        private void InitializeComponent()
        {
            Telerik.WinControls.UI.GridViewTextBoxColumn gridViewTextBoxColumn1 = new Telerik.WinControls.UI.GridViewTextBoxColumn();
            Telerik.WinControls.UI.GridViewTextBoxColumn gridViewTextBoxColumn2 = new Telerik.WinControls.UI.GridViewTextBoxColumn();
            Telerik.WinControls.UI.GridViewTextBoxColumn gridViewTextBoxColumn3 = new Telerik.WinControls.UI.GridViewTextBoxColumn();
            Telerik.WinControls.UI.GridViewTextBoxColumn gridViewTextBoxColumn4 = new Telerik.WinControls.UI.GridViewTextBoxColumn();
            Telerik.WinControls.UI.GridViewTextBoxColumn gridViewTextBoxColumn5 = new Telerik.WinControls.UI.GridViewTextBoxColumn();
            Telerik.WinControls.UI.GridViewTextBoxColumn gridViewTextBoxColumn6 = new Telerik.WinControls.UI.GridViewTextBoxColumn();
            Telerik.WinControls.UI.GridViewTextBoxColumn gridViewTextBoxColumn7 = new Telerik.WinControls.UI.GridViewTextBoxColumn();
            Telerik.WinControls.UI.RadPrintWatermark radPrintWatermark1 = new Telerik.WinControls.UI.RadPrintWatermark();
            System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(PaymentReport));
            this.radPanel1 = new Telerik.WinControls.UI.RadPanel();
            this.gridView = new Telerik.WinControls.UI.RadGridView();
            this.radPanel2 = new Telerik.WinControls.UI.RadPanel();
            this.btnPrint = new Telerik.WinControls.UI.RadButton();
            this.btnClose = new Telerik.WinControls.UI.RadButton();
            this.radPrintDocument1 = new Telerik.WinControls.UI.RadPrintDocument();
            this.printPreviewDialog1 = new System.Windows.Forms.PrintPreviewDialog();
            ((System.ComponentModel.ISupportInitialize)(this.radPanel1)).BeginInit();
            this.radPanel1.SuspendLayout();
            ((System.ComponentModel.ISupportInitialize)(this.gridView)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.gridView.MasterTemplate)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.radPanel2)).BeginInit();
            this.radPanel2.SuspendLayout();
            ((System.ComponentModel.ISupportInitialize)(this.btnPrint)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.btnClose)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this)).BeginInit();
            this.SuspendLayout();
            // 
            // radPanel1
            // 
            this.radPanel1.Controls.Add(this.gridView);
            this.radPanel1.Controls.Add(this.radPanel2);
            this.radPanel1.Dock = System.Windows.Forms.DockStyle.Fill;
            this.radPanel1.Location = new System.Drawing.Point(0, 0);
            this.radPanel1.Name = "radPanel1";
            this.radPanel1.Size = new System.Drawing.Size(763, 597);
            this.radPanel1.TabIndex = 5;
            // 
            // gridView
            // 
            this.gridView.Dock = System.Windows.Forms.DockStyle.Fill;
            this.gridView.Location = new System.Drawing.Point(0, 0);
            // 
            // 
            // 
            this.gridView.MasterTemplate.AllowAddNewRow = false;
            this.gridView.MasterTemplate.AllowDeleteRow = false;
            this.gridView.MasterTemplate.AllowEditRow = false;
            this.gridView.MasterTemplate.AutoExpandGroups = true;
            gridViewTextBoxColumn1.FieldName = "StudentId";
            gridViewTextBoxColumn1.HeaderText = "StudentID";
            gridViewTextBoxColumn1.IsVisible = false;
            gridViewTextBoxColumn1.Name = "StudentID";
            gridViewTextBoxColumn2.FieldName = "StudentName";
            gridViewTextBoxColumn2.HeaderText = "Student";
            gridViewTextBoxColumn2.Name = "Student";
            gridViewTextBoxColumn2.Width = 150;
            gridViewTextBoxColumn3.FieldName = "ORNo";
            gridViewTextBoxColumn3.HeaderText = "OR No.";
            gridViewTextBoxColumn3.Name = "ORNo";
            gridViewTextBoxColumn3.Width = 100;
            gridViewTextBoxColumn4.FieldName = "PaidToName";
            gridViewTextBoxColumn4.HeaderText = "Paid To";
            gridViewTextBoxColumn4.Name = "PaidToName";
            gridViewTextBoxColumn4.Width = 100;
            gridViewTextBoxColumn5.FieldName = "PaidAt";
            gridViewTextBoxColumn5.HeaderText = "Paid At";
            gridViewTextBoxColumn5.Name = "PaidAt";
            gridViewTextBoxColumn5.Width = 100;
            gridViewTextBoxColumn6.FieldName = "SettlementFor";
            gridViewTextBoxColumn6.HeaderText = "Settlement For";
            gridViewTextBoxColumn6.Name = "SettlementFor";
            gridViewTextBoxColumn6.Width = 150;
            gridViewTextBoxColumn7.FieldName = "Amount";
            gridViewTextBoxColumn7.HeaderText = "Amount";
            gridViewTextBoxColumn7.Name = "Amount";
            gridViewTextBoxColumn7.TextAlignment = System.Drawing.ContentAlignment.MiddleRight;
            gridViewTextBoxColumn7.Width = 100;
            this.gridView.MasterTemplate.Columns.AddRange(new Telerik.WinControls.UI.GridViewDataColumn[] {
            gridViewTextBoxColumn1,
            gridViewTextBoxColumn2,
            gridViewTextBoxColumn3,
            gridViewTextBoxColumn4,
            gridViewTextBoxColumn5,
            gridViewTextBoxColumn6,
            gridViewTextBoxColumn7});
            this.gridView.MasterTemplate.ShowGroupedColumns = true;
            this.gridView.Name = "gridView";
            this.gridView.Size = new System.Drawing.Size(763, 546);
            this.gridView.TabIndex = 4;
            this.gridView.Text = "radGridView1";
            // 
            // radPanel2
            // 
            this.radPanel2.Controls.Add(this.btnPrint);
            this.radPanel2.Controls.Add(this.btnClose);
            this.radPanel2.Dock = System.Windows.Forms.DockStyle.Bottom;
            this.radPanel2.Location = new System.Drawing.Point(0, 546);
            this.radPanel2.Name = "radPanel2";
            this.radPanel2.Size = new System.Drawing.Size(763, 51);
            this.radPanel2.TabIndex = 3;
            // 
            // btnPrint
            // 
            this.btnPrint.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
            this.btnPrint.Location = new System.Drawing.Point(593, 15);
            this.btnPrint.Name = "btnPrint";
            this.btnPrint.Size = new System.Drawing.Size(76, 24);
            this.btnPrint.TabIndex = 1;
            this.btnPrint.Text = "Print";
            this.btnPrint.Click += new System.EventHandler(this.btnPrint_Click);
            // 
            // btnClose
            // 
            this.btnClose.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
            this.btnClose.Location = new System.Drawing.Point(675, 15);
            this.btnClose.Name = "btnClose";
            this.btnClose.Size = new System.Drawing.Size(76, 24);
            this.btnClose.TabIndex = 0;
            this.btnClose.Text = "Close";
            this.btnClose.Click += new System.EventHandler(this.btnClose_Click);
            // 
            // radPrintDocument1
            // 
            this.radPrintDocument1.FooterFont = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.radPrintDocument1.HeaderFont = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.radPrintDocument1.Watermark = radPrintWatermark1;
            // 
            // printPreviewDialog1
            // 
            this.printPreviewDialog1.AutoScrollMargin = new System.Drawing.Size(0, 0);
            this.printPreviewDialog1.AutoScrollMinSize = new System.Drawing.Size(0, 0);
            this.printPreviewDialog1.ClientSize = new System.Drawing.Size(400, 300);
            this.printPreviewDialog1.Enabled = true;
            this.printPreviewDialog1.Icon = ((System.Drawing.Icon)(resources.GetObject("printPreviewDialog1.Icon")));
            this.printPreviewDialog1.Name = "printPreviewDialog1";
            this.printPreviewDialog1.Visible = false;
            // 
            // PaymentReport
            // 
            this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
            this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
            this.ClientSize = new System.Drawing.Size(763, 597);
            this.Controls.Add(this.radPanel1);
            this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedSingle;
            this.MaximizeBox = false;
            this.MinimizeBox = false;
            this.Name = "PaymentReport";
            // 
            // 
            // 
            this.RootElement.ApplyShapeToControl = true;
            this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
            this.Text = "Attendance";
            this.ThemeName = "ControlDefault";
            this.Load += new System.EventHandler(this.PaymentReport_Load);
            ((System.ComponentModel.ISupportInitialize)(this.radPanel1)).EndInit();
            this.radPanel1.ResumeLayout(false);
            ((System.ComponentModel.ISupportInitialize)(this.gridView.MasterTemplate)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.gridView)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.radPanel2)).EndInit();
            this.radPanel2.ResumeLayout(false);
            ((System.ComponentModel.ISupportInitialize)(this.btnPrint)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.btnClose)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this)).EndInit();
            this.ResumeLayout(false);

        }
コード例 #23
0
        /// <summary>
        /// Required method for Designer support - do not modify
        /// the contents of this method with the code editor.
        /// </summary>
        private void InitializeComponent()
        {
            Telerik.WinControls.UI.RadListDataItem radListDataItem1 = new Telerik.WinControls.UI.RadListDataItem();
            Telerik.WinControls.UI.RadListDataItem radListDataItem2 = new Telerik.WinControls.UI.RadListDataItem();
            Telerik.WinControls.UI.RadListDataItem radListDataItem3 = new Telerik.WinControls.UI.RadListDataItem();
            Telerik.WinControls.UI.RadListDataItem radListDataItem4 = new Telerik.WinControls.UI.RadListDataItem();
            Telerik.WinControls.UI.RadListDataItem radListDataItem5 = new Telerik.WinControls.UI.RadListDataItem();
            Telerik.WinControls.UI.RadListDataItem radListDataItem6 = new Telerik.WinControls.UI.RadListDataItem();
            Telerik.WinControls.UI.GridViewTextBoxColumn gridViewTextBoxColumn1 = new Telerik.WinControls.UI.GridViewTextBoxColumn();
            Telerik.WinControls.UI.GridViewTextBoxColumn gridViewTextBoxColumn2 = new Telerik.WinControls.UI.GridViewTextBoxColumn();
            Telerik.WinControls.UI.GridViewTextBoxColumn gridViewTextBoxColumn3 = new Telerik.WinControls.UI.GridViewTextBoxColumn();
            Telerik.WinControls.UI.GridViewTextBoxColumn gridViewTextBoxColumn4 = new Telerik.WinControls.UI.GridViewTextBoxColumn();
            Telerik.WinControls.UI.GridViewTextBoxColumn gridViewTextBoxColumn5 = new Telerik.WinControls.UI.GridViewTextBoxColumn();
            Telerik.WinControls.UI.GridViewTextBoxColumn gridViewTextBoxColumn6 = new Telerik.WinControls.UI.GridViewTextBoxColumn();
            Telerik.WinControls.UI.GridViewTextBoxColumn gridViewTextBoxColumn7 = new Telerik.WinControls.UI.GridViewTextBoxColumn();
            Telerik.WinControls.UI.GridViewTextBoxColumn gridViewTextBoxColumn8 = new Telerik.WinControls.UI.GridViewTextBoxColumn();
            Telerik.WinControls.UI.GridViewTextBoxColumn gridViewTextBoxColumn9 = new Telerik.WinControls.UI.GridViewTextBoxColumn();
            Telerik.WinControls.UI.RadPrintWatermark radPrintWatermark1 = new Telerik.WinControls.UI.RadPrintWatermark();
            System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(frmQuarterlyGrading));
            this.radPanel1 = new Telerik.WinControls.UI.RadPanel();
            this.cmbQuarter = new Telerik.WinControls.UI.RadDropDownList();
            this.radLabel7 = new Telerik.WinControls.UI.RadLabel();
            this.txtTimeslotInfo = new Telerik.WinControls.UI.RadTextBox();
            this.radLabel6 = new Telerik.WinControls.UI.RadLabel();
            this.txtDescription = new Telerik.WinControls.UI.RadTextBox();
            this.radLabel5 = new Telerik.WinControls.UI.RadLabel();
            this.txtSubjectCode = new Telerik.WinControls.UI.RadTextBox();
            this.radLabel4 = new Telerik.WinControls.UI.RadLabel();
            this.gvGrades = new Telerik.WinControls.UI.RadGridView();
            this.txtTeacherName = new Telerik.WinControls.UI.RadTextBox();
            this.txtTeacherId = new Telerik.WinControls.UI.RadTextBox();
            this.txtSy = new Telerik.WinControls.UI.RadTextBox();
            this.radLabel3 = new Telerik.WinControls.UI.RadLabel();
            this.radLabel2 = new Telerik.WinControls.UI.RadLabel();
            this.radLabel1 = new Telerik.WinControls.UI.RadLabel();
            this.radPanel2 = new Telerik.WinControls.UI.RadPanel();
            this.btnUnlock = new Telerik.WinControls.UI.RadButton();
            this.btnPrint = new Telerik.WinControls.UI.RadButton();
            this.btnCancel = new Telerik.WinControls.UI.RadButton();
            this.btnLock = new Telerik.WinControls.UI.RadButton();
            this.btnSave = new Telerik.WinControls.UI.RadButton();
            this.radPrintDocument1 = new Telerik.WinControls.UI.RadPrintDocument();
            this.printPreviewDialog1 = new System.Windows.Forms.PrintPreviewDialog();
            ((System.ComponentModel.ISupportInitialize)(this.radPanel1)).BeginInit();
            this.radPanel1.SuspendLayout();
            ((System.ComponentModel.ISupportInitialize)(this.cmbQuarter)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.radLabel7)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.txtTimeslotInfo)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.radLabel6)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.txtDescription)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.radLabel5)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.txtSubjectCode)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.radLabel4)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.gvGrades)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.gvGrades.MasterTemplate)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.txtTeacherName)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.txtTeacherId)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.txtSy)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.radLabel3)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.radLabel2)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.radLabel1)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.radPanel2)).BeginInit();
            this.radPanel2.SuspendLayout();
            ((System.ComponentModel.ISupportInitialize)(this.btnUnlock)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.btnPrint)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.btnCancel)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.btnLock)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.btnSave)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this)).BeginInit();
            this.SuspendLayout();
            // 
            // radPanel1
            // 
            this.radPanel1.Controls.Add(this.cmbQuarter);
            this.radPanel1.Controls.Add(this.radLabel7);
            this.radPanel1.Controls.Add(this.txtTimeslotInfo);
            this.radPanel1.Controls.Add(this.radLabel6);
            this.radPanel1.Controls.Add(this.txtDescription);
            this.radPanel1.Controls.Add(this.radLabel5);
            this.radPanel1.Controls.Add(this.txtSubjectCode);
            this.radPanel1.Controls.Add(this.radLabel4);
            this.radPanel1.Controls.Add(this.gvGrades);
            this.radPanel1.Controls.Add(this.txtTeacherName);
            this.radPanel1.Controls.Add(this.txtTeacherId);
            this.radPanel1.Controls.Add(this.txtSy);
            this.radPanel1.Controls.Add(this.radLabel3);
            this.radPanel1.Controls.Add(this.radLabel2);
            this.radPanel1.Controls.Add(this.radLabel1);
            this.radPanel1.Dock = System.Windows.Forms.DockStyle.Top;
            this.radPanel1.Location = new System.Drawing.Point(0, 0);
            this.radPanel1.Name = "radPanel1";
            this.radPanel1.Size = new System.Drawing.Size(790, 545);
            this.radPanel1.TabIndex = 0;
            // 
            // cmbQuarter
            // 
            this.cmbQuarter.DisplayMember = "Description";
            radListDataItem1.Text = "All";
            radListDataItem2.Text = "First Quarter";
            radListDataItem3.Text = "Second Quarter";
            radListDataItem4.Text = "Third Quarter";
            radListDataItem5.Text = "Fourth Quarter";
            radListDataItem6.Text = "Final Rating";
            this.cmbQuarter.Items.Add(radListDataItem1);
            this.cmbQuarter.Items.Add(radListDataItem2);
            this.cmbQuarter.Items.Add(radListDataItem3);
            this.cmbQuarter.Items.Add(radListDataItem4);
            this.cmbQuarter.Items.Add(radListDataItem5);
            this.cmbQuarter.Items.Add(radListDataItem6);
            this.cmbQuarter.Location = new System.Drawing.Point(651, 92);
            this.cmbQuarter.Name = "cmbQuarter";
            this.cmbQuarter.Size = new System.Drawing.Size(108, 20);
            this.cmbQuarter.TabIndex = 18;
            this.cmbQuarter.ValueMember = "GradeLev";
            this.cmbQuarter.SelectedIndexChanged += new Telerik.WinControls.UI.Data.PositionChangedEventHandler(this.cmbQuarter_SelectedIndexChanged);
            // 
            // radLabel7
            // 
            this.radLabel7.Location = new System.Drawing.Point(605, 94);
            this.radLabel7.Name = "radLabel7";
            this.radLabel7.Size = new System.Drawing.Size(47, 18);
            this.radLabel7.TabIndex = 17;
            this.radLabel7.Text = "Quarter:";
            // 
            // txtTimeslotInfo
            // 
            this.txtTimeslotInfo.Location = new System.Drawing.Point(103, 91);
            this.txtTimeslotInfo.Name = "txtTimeslotInfo";
            this.txtTimeslotInfo.Size = new System.Drawing.Size(471, 20);
            this.txtTimeslotInfo.TabIndex = 16;
            // 
            // radLabel6
            // 
            this.radLabel6.Location = new System.Drawing.Point(40, 91);
            this.radLabel6.Name = "radLabel6";
            this.radLabel6.Size = new System.Drawing.Size(54, 18);
            this.radLabel6.TabIndex = 15;
            this.radLabel6.Text = "Schedule:";
            // 
            // txtDescription
            // 
            this.txtDescription.Location = new System.Drawing.Point(309, 62);
            this.txtDescription.Name = "txtDescription";
            this.txtDescription.Size = new System.Drawing.Size(265, 20);
            this.txtDescription.TabIndex = 14;
            // 
            // radLabel5
            // 
            this.radLabel5.Location = new System.Drawing.Point(226, 64);
            this.radLabel5.Name = "radLabel5";
            this.radLabel5.Size = new System.Drawing.Size(69, 18);
            this.radLabel5.TabIndex = 13;
            this.radLabel5.Text = "Description :";
            // 
            // txtSubjectCode
            // 
            this.txtSubjectCode.Location = new System.Drawing.Point(103, 64);
            this.txtSubjectCode.Name = "txtSubjectCode";
            this.txtSubjectCode.Size = new System.Drawing.Size(100, 20);
            this.txtSubjectCode.TabIndex = 12;
            // 
            // radLabel4
            // 
            this.radLabel4.Location = new System.Drawing.Point(20, 66);
            this.radLabel4.Name = "radLabel4";
            this.radLabel4.Size = new System.Drawing.Size(78, 18);
            this.radLabel4.TabIndex = 11;
            this.radLabel4.Text = "Subject Code :";
            // 
            // gvGrades
            // 
            this.gvGrades.Location = new System.Drawing.Point(3, 117);
            // 
            // 
            // 
            this.gvGrades.MasterTemplate.AllowAddNewRow = false;
            this.gvGrades.MasterTemplate.AllowDragToGroup = false;
            this.gvGrades.MasterTemplate.AutoExpandGroups = true;
            gridViewTextBoxColumn1.FieldName = "StudentId";
            gridViewTextBoxColumn1.HeaderText = "ID Num";
            gridViewTextBoxColumn1.Name = "StudentId";
            gridViewTextBoxColumn1.ReadOnly = true;
            gridViewTextBoxColumn1.Width = 80;
            gridViewTextBoxColumn2.FieldName = "StudentName";
            gridViewTextBoxColumn2.HeaderText = "Student Name";
            gridViewTextBoxColumn2.Name = "StudentName";
            gridViewTextBoxColumn2.ReadOnly = true;
            gridViewTextBoxColumn2.Width = 200;
            gridViewTextBoxColumn3.FieldName = "FirstPeriodicRating";
            gridViewTextBoxColumn3.HeaderText = "1ST Q";
            gridViewTextBoxColumn3.IsVisible = false;
            gridViewTextBoxColumn3.Name = "FirstPeriodicRating";
            gridViewTextBoxColumn4.FieldName = "SecondPeriodicRating";
            gridViewTextBoxColumn4.HeaderText = "2ND Q";
            gridViewTextBoxColumn4.IsVisible = false;
            gridViewTextBoxColumn4.Name = "SecondPeriodicRating";
            gridViewTextBoxColumn5.FieldName = "ThirdPeriodicRating";
            gridViewTextBoxColumn5.HeaderText = "3RD Q";
            gridViewTextBoxColumn5.IsVisible = false;
            gridViewTextBoxColumn5.Name = "ThirdPeriodicRating";
            gridViewTextBoxColumn6.FieldName = "FourthPeriodicRating";
            gridViewTextBoxColumn6.HeaderText = "4TH Q";
            gridViewTextBoxColumn6.IsVisible = false;
            gridViewTextBoxColumn6.Name = "FourthPeriodicRating";
            gridViewTextBoxColumn7.FieldName = "FinalRating";
            gridViewTextBoxColumn7.HeaderText = "Final Grade";
            gridViewTextBoxColumn7.IsVisible = false;
            gridViewTextBoxColumn7.Name = "FinalRating";
            gridViewTextBoxColumn7.ReadOnly = true;
            gridViewTextBoxColumn8.FieldName = "Proficiency";
            gridViewTextBoxColumn8.HeaderText = "Prof.";
            gridViewTextBoxColumn8.IsVisible = false;
            gridViewTextBoxColumn8.Name = "Proficiency";
            gridViewTextBoxColumn8.ReadOnly = true;
            gridViewTextBoxColumn9.FieldName = "Remarks";
            gridViewTextBoxColumn9.HeaderText = "Remarks";
            gridViewTextBoxColumn9.IsVisible = false;
            gridViewTextBoxColumn9.Name = "Remarks";
            gridViewTextBoxColumn9.Width = 150;
            this.gvGrades.MasterTemplate.Columns.AddRange(new Telerik.WinControls.UI.GridViewDataColumn[] {
            gridViewTextBoxColumn1,
            gridViewTextBoxColumn2,
            gridViewTextBoxColumn3,
            gridViewTextBoxColumn4,
            gridViewTextBoxColumn5,
            gridViewTextBoxColumn6,
            gridViewTextBoxColumn7,
            gridViewTextBoxColumn8,
            gridViewTextBoxColumn9});
            this.gvGrades.MasterTemplate.EnableGrouping = false;
            this.gvGrades.Name = "gvGrades";
            this.gvGrades.Size = new System.Drawing.Size(775, 422);
            this.gvGrades.TabIndex = 10;
            this.gvGrades.CellValueChanged += new Telerik.WinControls.UI.GridViewCellEventHandler(this.gvGrades_CellValueChanged);
            // 
            // txtTeacherName
            // 
            this.txtTeacherName.Location = new System.Drawing.Point(309, 36);
            this.txtTeacherName.Name = "txtTeacherName";
            this.txtTeacherName.Size = new System.Drawing.Size(265, 20);
            this.txtTeacherName.TabIndex = 5;
            // 
            // txtTeacherId
            // 
            this.txtTeacherId.Location = new System.Drawing.Point(103, 37);
            this.txtTeacherId.Name = "txtTeacherId";
            this.txtTeacherId.Size = new System.Drawing.Size(100, 20);
            this.txtTeacherId.TabIndex = 4;
            // 
            // txtSy
            // 
            this.txtSy.Location = new System.Drawing.Point(103, 12);
            this.txtSy.Name = "txtSy";
            this.txtSy.Size = new System.Drawing.Size(100, 20);
            this.txtSy.TabIndex = 3;
            // 
            // radLabel3
            // 
            this.radLabel3.Location = new System.Drawing.Point(32, 12);
            this.radLabel3.Name = "radLabel3";
            this.radLabel3.Size = new System.Drawing.Size(67, 18);
            this.radLabel3.TabIndex = 2;
            this.radLabel3.Text = "School Year:";
            // 
            // radLabel2
            // 
            this.radLabel2.Location = new System.Drawing.Point(222, 38);
            this.radLabel2.Name = "radLabel2";
            this.radLabel2.Size = new System.Drawing.Size(81, 18);
            this.radLabel2.TabIndex = 1;
            this.radLabel2.Text = "Teacher Name:";
            // 
            // radLabel1
            // 
            this.radLabel1.Location = new System.Drawing.Point(9, 39);
            this.radLabel1.Name = "radLabel1";
            this.radLabel1.Size = new System.Drawing.Size(90, 18);
            this.radLabel1.TabIndex = 0;
            this.radLabel1.Text = "Teacher ID Num:";
            // 
            // radPanel2
            // 
            this.radPanel2.Controls.Add(this.btnUnlock);
            this.radPanel2.Controls.Add(this.btnPrint);
            this.radPanel2.Controls.Add(this.btnCancel);
            this.radPanel2.Controls.Add(this.btnLock);
            this.radPanel2.Controls.Add(this.btnSave);
            this.radPanel2.Dock = System.Windows.Forms.DockStyle.Bottom;
            this.radPanel2.Location = new System.Drawing.Point(0, 545);
            this.radPanel2.Name = "radPanel2";
            this.radPanel2.Size = new System.Drawing.Size(790, 42);
            this.radPanel2.TabIndex = 1;
            // 
            // btnUnlock
            // 
            this.btnUnlock.Location = new System.Drawing.Point(17, 6);
            this.btnUnlock.Name = "btnUnlock";
            this.btnUnlock.Size = new System.Drawing.Size(77, 24);
            this.btnUnlock.TabIndex = 5;
            this.btnUnlock.Text = "UNLOCK";
            this.btnUnlock.Click += new System.EventHandler(this.btnUnlock_Click);
            // 
            // btnPrint
            // 
            this.btnPrint.Location = new System.Drawing.Point(621, 6);
            this.btnPrint.Name = "btnPrint";
            this.btnPrint.Size = new System.Drawing.Size(77, 24);
            this.btnPrint.TabIndex = 4;
            this.btnPrint.Text = "Print";
            this.btnPrint.Click += new System.EventHandler(this.btnPrint_Click);
            // 
            // btnCancel
            // 
            this.btnCancel.DialogResult = System.Windows.Forms.DialogResult.Cancel;
            this.btnCancel.Location = new System.Drawing.Point(701, 6);
            this.btnCancel.Name = "btnCancel";
            this.btnCancel.Size = new System.Drawing.Size(77, 24);
            this.btnCancel.TabIndex = 3;
            this.btnCancel.Text = "Cancel";
            this.btnCancel.Click += new System.EventHandler(this.btnCancel_Click);
            // 
            // btnLock
            // 
            this.btnLock.Location = new System.Drawing.Point(540, 6);
            this.btnLock.Name = "btnLock";
            this.btnLock.Size = new System.Drawing.Size(77, 24);
            this.btnLock.TabIndex = 1;
            this.btnLock.Text = "Lock";
            this.btnLock.Click += new System.EventHandler(this.btnLock_Click);
            // 
            // btnSave
            // 
            this.btnSave.Location = new System.Drawing.Point(459, 6);
            this.btnSave.Name = "btnSave";
            this.btnSave.Size = new System.Drawing.Size(77, 24);
            this.btnSave.TabIndex = 0;
            this.btnSave.Text = "Save";
            this.btnSave.Click += new System.EventHandler(this.btnSave_Click);
            // 
            // radPrintDocument1
            // 
            this.radPrintDocument1.FooterFont = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.radPrintDocument1.HeaderFont = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.radPrintDocument1.Watermark = radPrintWatermark1;
            // 
            // printPreviewDialog1
            // 
            this.printPreviewDialog1.AutoScrollMargin = new System.Drawing.Size(0, 0);
            this.printPreviewDialog1.AutoScrollMinSize = new System.Drawing.Size(0, 0);
            this.printPreviewDialog1.ClientSize = new System.Drawing.Size(400, 300);
            this.printPreviewDialog1.Enabled = true;
            this.printPreviewDialog1.Icon = ((System.Drawing.Icon)(resources.GetObject("printPreviewDialog1.Icon")));
            this.printPreviewDialog1.Name = "printPreviewDialog1";
            this.printPreviewDialog1.Visible = false;
            // 
            // frmQuarterlyGrading
            // 
            this.AcceptButton = this.btnSave;
            this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
            this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
            this.CancelButton = this.btnCancel;
            this.ClientSize = new System.Drawing.Size(790, 587);
            this.Controls.Add(this.radPanel2);
            this.Controls.Add(this.radPanel1);
            this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedSingle;
            this.MaximizeBox = false;
            this.Name = "frmQuarterlyGrading";
            // 
            // 
            // 
            this.RootElement.ApplyShapeToControl = true;
            this.ShowIcon = false;
            this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
            this.Text = "Quarterly Grading for Subjects";
            this.ThemeName = "ControlDefault";
            this.Load += new System.EventHandler(this.frmQuarterlyGrading_Load);
            ((System.ComponentModel.ISupportInitialize)(this.radPanel1)).EndInit();
            this.radPanel1.ResumeLayout(false);
            this.radPanel1.PerformLayout();
            ((System.ComponentModel.ISupportInitialize)(this.cmbQuarter)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.radLabel7)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.txtTimeslotInfo)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.radLabel6)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.txtDescription)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.radLabel5)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.txtSubjectCode)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.radLabel4)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.gvGrades.MasterTemplate)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.gvGrades)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.txtTeacherName)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.txtTeacherId)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.txtSy)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.radLabel3)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.radLabel2)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.radLabel1)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.radPanel2)).EndInit();
            this.radPanel2.ResumeLayout(false);
            ((System.ComponentModel.ISupportInitialize)(this.btnUnlock)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.btnPrint)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.btnCancel)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.btnLock)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.btnSave)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this)).EndInit();
            this.ResumeLayout(false);

        }
コード例 #24
0
 /// <summary>
 /// Required method for Designer support - do not modify
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     Telerik.WinControls.UI.GridViewTextBoxColumn   gridViewTextBoxColumn1 = new Telerik.WinControls.UI.GridViewTextBoxColumn();
     Telerik.WinControls.UI.GridViewTextBoxColumn   gridViewTextBoxColumn2 = new Telerik.WinControls.UI.GridViewTextBoxColumn();
     Telerik.WinControls.UI.GridViewTextBoxColumn   gridViewTextBoxColumn3 = new Telerik.WinControls.UI.GridViewTextBoxColumn();
     Telerik.WinControls.UI.GridViewTextBoxColumn   gridViewTextBoxColumn4 = new Telerik.WinControls.UI.GridViewTextBoxColumn();
     Telerik.WinControls.UI.GridViewTextBoxColumn   gridViewTextBoxColumn5 = new Telerik.WinControls.UI.GridViewTextBoxColumn();
     Telerik.WinControls.UI.GridViewTextBoxColumn   gridViewTextBoxColumn6 = new Telerik.WinControls.UI.GridViewTextBoxColumn();
     Telerik.WinControls.UI.GridViewTextBoxColumn   gridViewTextBoxColumn7 = new Telerik.WinControls.UI.GridViewTextBoxColumn();
     Telerik.WinControls.UI.GridViewTextBoxColumn   gridViewTextBoxColumn8 = new Telerik.WinControls.UI.GridViewTextBoxColumn();
     Telerik.WinControls.UI.GridViewTextBoxColumn   gridViewTextBoxColumn9 = new Telerik.WinControls.UI.GridViewTextBoxColumn();
     System.ComponentModel.ComponentResourceManager resources          = new System.ComponentModel.ComponentResourceManager(typeof(GridReport));
     Telerik.WinControls.UI.RadPrintWatermark       radPrintWatermark1 = new Telerik.WinControls.UI.RadPrintWatermark();
     this.gridView            = new Telerik.WinControls.UI.RadGridView();
     this.radPanel1           = new Telerik.WinControls.UI.RadPanel();
     this.btnPrint            = new Telerik.WinControls.UI.RadButton();
     this.btnClose            = new Telerik.WinControls.UI.RadButton();
     this.printPreviewDialog1 = new System.Windows.Forms.PrintPreviewDialog();
     this.radPrintDocument1   = new Telerik.WinControls.UI.RadPrintDocument();
     ((System.ComponentModel.ISupportInitialize)(this.gridView)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.gridView.MasterTemplate)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.radPanel1)).BeginInit();
     this.radPanel1.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.btnPrint)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.btnClose)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this)).BeginInit();
     this.SuspendLayout();
     //
     // gridView
     //
     this.gridView.Dock = System.Windows.Forms.DockStyle.Fill;
     this.gridView.GroupExpandAnimationType = Telerik.WinControls.UI.GridExpandAnimationType.Slide;
     this.gridView.Location = new System.Drawing.Point(0, 0);
     //
     //
     //
     this.gridView.MasterTemplate.AllowAddNewRow   = false;
     this.gridView.MasterTemplate.AllowDeleteRow   = false;
     this.gridView.MasterTemplate.AllowEditRow     = false;
     this.gridView.MasterTemplate.AutoExpandGroups = true;
     gridViewTextBoxColumn1.FieldName     = "StudentId";
     gridViewTextBoxColumn1.HeaderText    = "Student ID";
     gridViewTextBoxColumn1.Name          = "StudentID";
     gridViewTextBoxColumn1.Width         = 100;
     gridViewTextBoxColumn2.FieldName     = "StudentName";
     gridViewTextBoxColumn2.HeaderText    = "Name";
     gridViewTextBoxColumn2.Name          = "Name";
     gridViewTextBoxColumn2.Width         = 200;
     gridViewTextBoxColumn3.FieldName     = "student.Gender";
     gridViewTextBoxColumn3.HeaderText    = "Gender";
     gridViewTextBoxColumn3.Name          = "Gender";
     gridViewTextBoxColumn3.TextAlignment = System.Drawing.ContentAlignment.MiddleCenter;
     gridViewTextBoxColumn3.Width         = 75;
     gridViewTextBoxColumn4.FieldName     = "student.DOB";
     gridViewTextBoxColumn4.HeaderText    = "Date of Birth";
     gridViewTextBoxColumn4.Name          = "DOB";
     gridViewTextBoxColumn4.Width         = 150;
     gridViewTextBoxColumn5.FieldName     = "student.Religion";
     gridViewTextBoxColumn5.HeaderText    = "Religion";
     gridViewTextBoxColumn5.Name          = "Religion";
     gridViewTextBoxColumn5.Width         = 100;
     gridViewTextBoxColumn6.FieldName     = "student.GradeLevel";
     gridViewTextBoxColumn6.HeaderText    = "Grade Level";
     gridViewTextBoxColumn6.Name          = "GradeLevel";
     gridViewTextBoxColumn6.TextAlignment = System.Drawing.ContentAlignment.MiddleCenter;
     gridViewTextBoxColumn6.Width         = 75;
     gridViewTextBoxColumn7.FieldName     = "student.Section";
     gridViewTextBoxColumn7.HeaderText    = "Section";
     gridViewTextBoxColumn7.Name          = "Section";
     gridViewTextBoxColumn7.Width         = 100;
     gridViewTextBoxColumn8.FieldName     = "student.Average";
     gridViewTextBoxColumn8.HeaderText    = "Prev. Ave.";
     gridViewTextBoxColumn8.Name          = "Average";
     gridViewTextBoxColumn8.TextAlignment = System.Drawing.ContentAlignment.MiddleRight;
     gridViewTextBoxColumn8.Width         = 75;
     gridViewTextBoxColumn9.FieldName     = "SY";
     gridViewTextBoxColumn9.HeaderText    = "SY Enrolled";
     gridViewTextBoxColumn9.Name          = "SY";
     gridViewTextBoxColumn9.Width         = 75;
     this.gridView.MasterTemplate.Columns.AddRange(new Telerik.WinControls.UI.GridViewDataColumn[] {
         gridViewTextBoxColumn1,
         gridViewTextBoxColumn2,
         gridViewTextBoxColumn3,
         gridViewTextBoxColumn4,
         gridViewTextBoxColumn5,
         gridViewTextBoxColumn6,
         gridViewTextBoxColumn7,
         gridViewTextBoxColumn8,
         gridViewTextBoxColumn9
     });
     this.gridView.MasterTemplate.EnablePaging       = true;
     this.gridView.MasterTemplate.PageSize           = 10;
     this.gridView.MasterTemplate.ShowGroupedColumns = true;
     this.gridView.Name     = "gridView";
     this.gridView.Size     = new System.Drawing.Size(830, 540);
     this.gridView.TabIndex = 0;
     this.gridView.Text     = "radGridView1";
     //
     // radPanel1
     //
     this.radPanel1.Controls.Add(this.btnPrint);
     this.radPanel1.Controls.Add(this.btnClose);
     this.radPanel1.Dock     = System.Windows.Forms.DockStyle.Bottom;
     this.radPanel1.Location = new System.Drawing.Point(0, 540);
     this.radPanel1.Name     = "radPanel1";
     this.radPanel1.Size     = new System.Drawing.Size(830, 51);
     this.radPanel1.TabIndex = 1;
     //
     // btnPrint
     //
     this.btnPrint.Anchor   = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
     this.btnPrint.Location = new System.Drawing.Point(660, 15);
     this.btnPrint.Name     = "btnPrint";
     this.btnPrint.Size     = new System.Drawing.Size(76, 24);
     this.btnPrint.TabIndex = 1;
     this.btnPrint.Text     = "Print";
     this.btnPrint.Click   += new System.EventHandler(this.btnPrint_Click);
     //
     // btnClose
     //
     this.btnClose.Anchor       = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
     this.btnClose.DialogResult = System.Windows.Forms.DialogResult.Cancel;
     this.btnClose.Location     = new System.Drawing.Point(742, 15);
     this.btnClose.Name         = "btnClose";
     this.btnClose.Size         = new System.Drawing.Size(76, 24);
     this.btnClose.TabIndex     = 0;
     this.btnClose.Text         = "Close";
     this.btnClose.Click       += new System.EventHandler(this.btnClose_Click);
     //
     // printPreviewDialog1
     //
     this.printPreviewDialog1.AutoScrollMargin  = new System.Drawing.Size(0, 0);
     this.printPreviewDialog1.AutoScrollMinSize = new System.Drawing.Size(0, 0);
     this.printPreviewDialog1.ClientSize        = new System.Drawing.Size(400, 300);
     this.printPreviewDialog1.Enabled           = true;
     this.printPreviewDialog1.Icon    = ((System.Drawing.Icon)(resources.GetObject("printPreviewDialog1.Icon")));
     this.printPreviewDialog1.Name    = "printPreviewDialog1";
     this.printPreviewDialog1.Visible = false;
     //
     // radPrintDocument1
     //
     this.radPrintDocument1.FooterFont = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.radPrintDocument1.HeaderFont = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.radPrintDocument1.Watermark  = radPrintWatermark1;
     //
     // GridReport
     //
     this.AcceptButton        = this.btnPrint;
     this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
     this.AutoScaleMode       = System.Windows.Forms.AutoScaleMode.Font;
     this.CancelButton        = this.btnClose;
     this.ClientSize          = new System.Drawing.Size(830, 591);
     this.Controls.Add(this.gridView);
     this.Controls.Add(this.radPanel1);
     this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedSingle;
     this.MaximizeBox     = false;
     this.MinimizeBox     = false;
     this.Name            = "GridReport";
     //
     //
     //
     this.RootElement.ApplyShapeToControl = true;
     this.ShowIcon      = false;
     this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
     this.Text          = "Grid Report";
     this.ThemeName     = "ControlDefault";
     this.Load         += new System.EventHandler(this.GridReport_Load);
     ((System.ComponentModel.ISupportInitialize)(this.gridView.MasterTemplate)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.gridView)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.radPanel1)).EndInit();
     this.radPanel1.ResumeLayout(false);
     ((System.ComponentModel.ISupportInitialize)(this.btnPrint)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.btnClose)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this)).EndInit();
     this.ResumeLayout(false);
 }
コード例 #25
0
 /// <summary>
 /// Required method for Designer support - do not modify
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     Telerik.WinControls.UI.GridViewTextBoxColumn   gridViewTextBoxColumn1 = new Telerik.WinControls.UI.GridViewTextBoxColumn();
     Telerik.WinControls.UI.GridViewTextBoxColumn   gridViewTextBoxColumn2 = new Telerik.WinControls.UI.GridViewTextBoxColumn();
     Telerik.WinControls.UI.GridViewTextBoxColumn   gridViewTextBoxColumn3 = new Telerik.WinControls.UI.GridViewTextBoxColumn();
     Telerik.WinControls.UI.GridViewTextBoxColumn   gridViewTextBoxColumn4 = new Telerik.WinControls.UI.GridViewTextBoxColumn();
     Telerik.WinControls.UI.GridViewTextBoxColumn   gridViewTextBoxColumn5 = new Telerik.WinControls.UI.GridViewTextBoxColumn();
     Telerik.WinControls.UI.GridViewTextBoxColumn   gridViewTextBoxColumn6 = new Telerik.WinControls.UI.GridViewTextBoxColumn();
     Telerik.WinControls.UI.GridViewTextBoxColumn   gridViewTextBoxColumn7 = new Telerik.WinControls.UI.GridViewTextBoxColumn();
     Telerik.WinControls.UI.GridViewTextBoxColumn   gridViewTextBoxColumn8 = new Telerik.WinControls.UI.GridViewTextBoxColumn();
     Telerik.WinControls.UI.RadPrintWatermark       radPrintWatermark1     = new Telerik.WinControls.UI.RadPrintWatermark();
     System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(frmTeacherLoad));
     this.radPanel1           = new Telerik.WinControls.UI.RadPanel();
     this.gvSubjects          = new Telerik.WinControls.UI.RadGridView();
     this.radPanel2           = new Telerik.WinControls.UI.RadPanel();
     this.btnAddGrade         = new Telerik.WinControls.UI.RadButton();
     this.btnPrint            = new Telerik.WinControls.UI.RadButton();
     this.radPrintDocument1   = new Telerik.WinControls.UI.RadPrintDocument();
     this.printPreviewDialog1 = new System.Windows.Forms.PrintPreviewDialog();
     ((System.ComponentModel.ISupportInitialize)(this.radPanel1)).BeginInit();
     this.radPanel1.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.gvSubjects)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.gvSubjects.MasterTemplate)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.radPanel2)).BeginInit();
     this.radPanel2.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.btnAddGrade)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.btnPrint)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this)).BeginInit();
     this.SuspendLayout();
     //
     // radPanel1
     //
     this.radPanel1.Controls.Add(this.gvSubjects);
     this.radPanel1.Dock     = System.Windows.Forms.DockStyle.Top;
     this.radPanel1.Location = new System.Drawing.Point(0, 0);
     this.radPanel1.Name     = "radPanel1";
     this.radPanel1.Size     = new System.Drawing.Size(1061, 407);
     this.radPanel1.TabIndex = 1;
     //
     // gvSubjects
     //
     this.gvSubjects.Dock     = System.Windows.Forms.DockStyle.Fill;
     this.gvSubjects.Location = new System.Drawing.Point(0, 0);
     //
     //
     //
     this.gvSubjects.MasterTemplate.AllowAddNewRow   = false;
     this.gvSubjects.MasterTemplate.AllowDragToGroup = false;
     this.gvSubjects.MasterTemplate.AllowEditRow     = false;
     this.gvSubjects.MasterTemplate.AutoExpandGroups = true;
     gridViewTextBoxColumn1.FieldName  = "SubjectCode";
     gridViewTextBoxColumn1.HeaderText = "Subject Code";
     gridViewTextBoxColumn1.Name       = "SubjectCode";
     gridViewTextBoxColumn1.Width      = 74;
     gridViewTextBoxColumn2.FieldName  = "SubjectDescription";
     gridViewTextBoxColumn2.HeaderText = "Description";
     gridViewTextBoxColumn2.Name       = "SubjectDescription";
     gridViewTextBoxColumn2.Width      = 200;
     gridViewTextBoxColumn3.FieldName  = "Section";
     gridViewTextBoxColumn3.HeaderText = "Section";
     gridViewTextBoxColumn3.Name       = "Section";
     gridViewTextBoxColumn3.Width      = 70;
     gridViewTextBoxColumn4.FieldName  = "SubjectAssignments";
     gridViewTextBoxColumn4.HeaderText = "SubjectAssignments";
     gridViewTextBoxColumn4.IsVisible  = false;
     gridViewTextBoxColumn4.Name       = "SubjectAssignments";
     gridViewTextBoxColumn5.FieldName  = "TimeslotInfo";
     gridViewTextBoxColumn5.HeaderText = "Class Schedule";
     gridViewTextBoxColumn5.Name       = "TimeslotInfo";
     gridViewTextBoxColumn5.Width      = 475;
     gridViewTextBoxColumn6.FieldName  = "RoomCode";
     gridViewTextBoxColumn6.HeaderText = "Room";
     gridViewTextBoxColumn6.Name       = "RoomCode";
     gridViewTextBoxColumn6.Width      = 70;
     gridViewTextBoxColumn7.FieldName  = "TeacherName";
     gridViewTextBoxColumn7.HeaderText = "Teacher";
     gridViewTextBoxColumn7.Name       = "TeacherName";
     gridViewTextBoxColumn7.Width      = 150;
     gridViewTextBoxColumn8.FieldName  = "TeacherId";
     gridViewTextBoxColumn8.HeaderText = "column1";
     gridViewTextBoxColumn8.IsVisible  = false;
     gridViewTextBoxColumn8.Name       = "TeacherId";
     this.gvSubjects.MasterTemplate.Columns.AddRange(new Telerik.WinControls.UI.GridViewDataColumn[] {
         gridViewTextBoxColumn1,
         gridViewTextBoxColumn2,
         gridViewTextBoxColumn3,
         gridViewTextBoxColumn4,
         gridViewTextBoxColumn5,
         gridViewTextBoxColumn6,
         gridViewTextBoxColumn7,
         gridViewTextBoxColumn8
     });
     this.gvSubjects.MasterTemplate.VerticalScrollState = Telerik.WinControls.UI.ScrollState.AlwaysShow;
     this.gvSubjects.Name              = "gvSubjects";
     this.gvSubjects.Size              = new System.Drawing.Size(1061, 407);
     this.gvSubjects.TabIndex          = 10;
     this.gvSubjects.SelectionChanged += new System.EventHandler(this.gvSubjects_SelectionChanged);
     //
     // radPanel2
     //
     this.radPanel2.Controls.Add(this.btnAddGrade);
     this.radPanel2.Controls.Add(this.btnPrint);
     this.radPanel2.Dock     = System.Windows.Forms.DockStyle.Bottom;
     this.radPanel2.Location = new System.Drawing.Point(0, 413);
     this.radPanel2.Name     = "radPanel2";
     this.radPanel2.Size     = new System.Drawing.Size(1061, 43);
     this.radPanel2.TabIndex = 3;
     //
     // btnAddGrade
     //
     this.btnAddGrade.Anchor   = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
     this.btnAddGrade.Location = new System.Drawing.Point(877, 7);
     this.btnAddGrade.Name     = "btnAddGrade";
     this.btnAddGrade.Size     = new System.Drawing.Size(83, 24);
     this.btnAddGrade.TabIndex = 4;
     this.btnAddGrade.Text     = "Add Grade";
     this.btnAddGrade.Click   += new System.EventHandler(this.btnAddGrade_Click);
     //
     // btnPrint
     //
     this.btnPrint.Anchor   = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
     this.btnPrint.Location = new System.Drawing.Point(966, 7);
     this.btnPrint.Name     = "btnPrint";
     this.btnPrint.Size     = new System.Drawing.Size(83, 24);
     this.btnPrint.TabIndex = 5;
     this.btnPrint.Text     = "Print";
     this.btnPrint.Click   += new System.EventHandler(this.btnPrint_Click);
     //
     // radPrintDocument1
     //
     this.radPrintDocument1.FooterFont = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.radPrintDocument1.HeaderFont = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.radPrintDocument1.Watermark  = radPrintWatermark1;
     //
     // printPreviewDialog1
     //
     this.printPreviewDialog1.AutoScrollMargin  = new System.Drawing.Size(0, 0);
     this.printPreviewDialog1.AutoScrollMinSize = new System.Drawing.Size(0, 0);
     this.printPreviewDialog1.ClientSize        = new System.Drawing.Size(400, 300);
     this.printPreviewDialog1.Enabled           = true;
     this.printPreviewDialog1.Icon    = ((System.Drawing.Icon)(resources.GetObject("printPreviewDialog1.Icon")));
     this.printPreviewDialog1.Name    = "printPreviewDialog1";
     this.printPreviewDialog1.Visible = false;
     //
     // frmTeacherLoad
     //
     this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
     this.AutoScaleMode       = System.Windows.Forms.AutoScaleMode.Font;
     this.ClientSize          = new System.Drawing.Size(1061, 456);
     this.Controls.Add(this.radPanel2);
     this.Controls.Add(this.radPanel1);
     this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedSingle;
     this.MaximizeBox     = false;
     this.Name            = "frmTeacherLoad";
     //
     //
     //
     this.RootElement.ApplyShapeToControl = true;
     this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
     this.Text          = "List of Subjects Load";
     this.Load         += new System.EventHandler(this.frmTeacherLoad_Load);
     ((System.ComponentModel.ISupportInitialize)(this.radPanel1)).EndInit();
     this.radPanel1.ResumeLayout(false);
     ((System.ComponentModel.ISupportInitialize)(this.gvSubjects.MasterTemplate)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.gvSubjects)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.radPanel2)).EndInit();
     this.radPanel2.ResumeLayout(false);
     ((System.ComponentModel.ISupportInitialize)(this.btnAddGrade)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.btnPrint)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this)).EndInit();
     this.ResumeLayout(false);
 }
コード例 #26
0
        /// <summary> 
        /// Required method for Designer support - do not modify 
        /// the contents of this method with the code editor.
        /// </summary>
        private void InitializeComponent()
        {
            Telerik.WinControls.UI.RadPrintWatermark radPrintWatermark1 = new Telerik.WinControls.UI.RadPrintWatermark();
            this.btnRefresh = new Telerik.WinControls.UI.RadButton();
            this.btnPrint = new Telerik.WinControls.UI.RadButton();
            this.docPrintPhoto = new Telerik.WinControls.RichTextBox.RadRichTextBox();
            this.btnInsert = new Telerik.WinControls.UI.RadButton();
            this.listPhotos = new Telerik.WinControls.UI.RadListControl();
            this.printDocument1 = new System.Drawing.Printing.PrintDocument();
            this.radPrintDocument1 = new Telerik.WinControls.UI.RadPrintDocument();
            this.radButton1 = new Telerik.WinControls.UI.RadButton();
            this.btnOpenFolder = new Telerik.WinControls.UI.RadButton();
            this.btnAdd = new Telerik.WinControls.UI.RadButton();
            this.browsePhoto = new Telerik.WinControls.UI.RadBrowseEditor();
            ((System.ComponentModel.ISupportInitialize)(this.btnRefresh)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.btnPrint)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.docPrintPhoto)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.btnInsert)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.listPhotos)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.radButton1)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.btnOpenFolder)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.btnAdd)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.browsePhoto)).BeginInit();
            this.SuspendLayout();
            // 
            // btnRefresh
            // 
            this.btnRefresh.Font = new System.Drawing.Font("Segoe UI", 9F, System.Drawing.FontStyle.Bold);
            this.btnRefresh.Location = new System.Drawing.Point(1148, 68);
            this.btnRefresh.Name = "btnRefresh";
            this.btnRefresh.Size = new System.Drawing.Size(83, 22);
            this.btnRefresh.TabIndex = 8;
            this.btnRefresh.Text = "Refresh";
            this.btnRefresh.ThemeName = "TelerikMetroBlue";
            this.btnRefresh.Click += new System.EventHandler(this.btnRefresh_Click);
            // 
            // btnPrint
            // 
            this.btnPrint.Font = new System.Drawing.Font("Segoe UI", 9F, System.Drawing.FontStyle.Bold);
            this.btnPrint.Location = new System.Drawing.Point(1148, 106);
            this.btnPrint.Name = "btnPrint";
            this.btnPrint.Size = new System.Drawing.Size(83, 22);
            this.btnPrint.TabIndex = 9;
            this.btnPrint.Text = "Print";
            this.btnPrint.ThemeName = "TelerikMetroBlue";
            this.btnPrint.Click += new System.EventHandler(this.btnPrint_Click);
            // 
            // docPrintPhoto
            // 
            this.docPrintPhoto.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Zoom;
            this.docPrintPhoto.HyperlinkToolTipFormatString = null;
            this.docPrintPhoto.LayoutMode = Telerik.WinControls.RichTextBox.Model.DocumentLayoutMode.Paged;
            this.docPrintPhoto.Location = new System.Drawing.Point(277, 30);
            this.docPrintPhoto.Name = "docPrintPhoto";
            this.docPrintPhoto.Size = new System.Drawing.Size(865, 538);
            this.docPrintPhoto.TabIndex = 10;
            this.docPrintPhoto.ThemeName = "TelerikMetroBlue";
            // 
            // btnInsert
            // 
            this.btnInsert.Font = new System.Drawing.Font("Segoe UI", 9F, System.Drawing.FontStyle.Bold);
            this.btnInsert.Location = new System.Drawing.Point(1148, 30);
            this.btnInsert.Name = "btnInsert";
            this.btnInsert.Size = new System.Drawing.Size(83, 22);
            this.btnInsert.TabIndex = 7;
            this.btnInsert.Text = "Insert";
            this.btnInsert.ThemeName = "TelerikMetroBlue";
            this.btnInsert.Click += new System.EventHandler(this.btnInsert_Click);
            // 
            // listPhotos
            // 
            this.listPhotos.AutoScroll = true;
            this.listPhotos.AutoSizeItems = true;
            this.listPhotos.EnableKineticScrolling = true;
            this.listPhotos.ItemHeight = 50;
            this.listPhotos.Location = new System.Drawing.Point(33, 30);
            this.listPhotos.Name = "listPhotos";
            this.listPhotos.Size = new System.Drawing.Size(238, 479);
            this.listPhotos.TabIndex = 6;
            this.listPhotos.ThemeName = "TelerikMetroBlue";
            this.listPhotos.ItemDataBound += new Telerik.WinControls.UI.ListItemDataBoundEventHandler(this.listPhotos_ItemDataBound);
            // 
            // radPrintDocument1
            // 
            this.radPrintDocument1.FooterFont = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.radPrintDocument1.HeaderFont = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.radPrintDocument1.Watermark = radPrintWatermark1;
            // 
            // radButton1
            // 
            this.radButton1.Font = new System.Drawing.Font("Segoe UI", 9F, System.Drawing.FontStyle.Bold);
            this.radButton1.Location = new System.Drawing.Point(195, 543);
            this.radButton1.Name = "radButton1";
            this.radButton1.Size = new System.Drawing.Size(77, 22);
            this.radButton1.TabIndex = 14;
            this.radButton1.Text = "Refresh";
            this.radButton1.ThemeName = "TelerikMetroBlue";
            this.radButton1.Click += new System.EventHandler(this.radButton1_Click);
            // 
            // btnOpenFolder
            // 
            this.btnOpenFolder.Font = new System.Drawing.Font("Segoe UI", 9F, System.Drawing.FontStyle.Bold);
            this.btnOpenFolder.Location = new System.Drawing.Point(95, 543);
            this.btnOpenFolder.Name = "btnOpenFolder";
            this.btnOpenFolder.Size = new System.Drawing.Size(94, 22);
            this.btnOpenFolder.TabIndex = 13;
            this.btnOpenFolder.Text = "Open Folder";
            this.btnOpenFolder.ThemeName = "TelerikMetroBlue";
            this.btnOpenFolder.Click += new System.EventHandler(this.btnOpenFolder_Click);
            // 
            // btnAdd
            // 
            this.btnAdd.Font = new System.Drawing.Font("Segoe UI", 9F, System.Drawing.FontStyle.Bold);
            this.btnAdd.Location = new System.Drawing.Point(33, 543);
            this.btnAdd.Name = "btnAdd";
            this.btnAdd.Size = new System.Drawing.Size(56, 22);
            this.btnAdd.TabIndex = 11;
            this.btnAdd.Text = "Add";
            this.btnAdd.ThemeName = "TelerikMetroBlue";
            this.btnAdd.Click += new System.EventHandler(this.btnAdd_Click);
            // 
            // browsePhoto
            // 
            this.browsePhoto.Location = new System.Drawing.Point(33, 515);
            this.browsePhoto.Name = "browsePhoto";
            this.browsePhoto.Size = new System.Drawing.Size(239, 23);
            this.browsePhoto.TabIndex = 12;
            this.browsePhoto.ThemeName = "TelerikMetroBlue";
            // 
            // Charts
            // 
            this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
            this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
            this.BackColor = System.Drawing.SystemColors.Window;
            this.Controls.Add(this.radButton1);
            this.Controls.Add(this.btnOpenFolder);
            this.Controls.Add(this.btnAdd);
            this.Controls.Add(this.browsePhoto);
            this.Controls.Add(this.btnRefresh);
            this.Controls.Add(this.btnPrint);
            this.Controls.Add(this.docPrintPhoto);
            this.Controls.Add(this.btnInsert);
            this.Controls.Add(this.listPhotos);
            this.Name = "Charts";
            this.Size = new System.Drawing.Size(1300, 600);
            this.Load += new System.EventHandler(this.Charts_Load);
            ((System.ComponentModel.ISupportInitialize)(this.btnRefresh)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.btnPrint)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.docPrintPhoto)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.btnInsert)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.listPhotos)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.radButton1)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.btnOpenFolder)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.btnAdd)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.browsePhoto)).EndInit();
            this.ResumeLayout(false);
            this.PerformLayout();

        }
コード例 #27
0
 /// <summary>
 /// Required method for Designer support - do not modify
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     Telerik.WinControls.UI.ListViewDataItem        listViewDataItem1    = new Telerik.WinControls.UI.ListViewDataItem("excel");
     Telerik.WinControls.UI.ListViewDataItem        listViewDataItem2    = new Telerik.WinControls.UI.ListViewDataItem("clv");
     Telerik.WinControls.UI.ListViewDataItem        listViewDataItem3    = new Telerik.WinControls.UI.ListViewDataItem("html");
     Telerik.WinControls.UI.ListViewDataItem        listViewDataItem4    = new Telerik.WinControls.UI.ListViewDataItem("pdf");
     Telerik.WinControls.UI.TableViewDefinition     tableViewDefinition4 = new Telerik.WinControls.UI.TableViewDefinition();
     Telerik.WinControls.UI.GridViewRelation        gridViewRelation1    = new Telerik.WinControls.UI.GridViewRelation();
     System.ComponentModel.ComponentResourceManager resources            = new System.ComponentModel.ComponentResourceManager(typeof(ReportProject));
     Telerik.WinControls.UI.TableViewDefinition     tableViewDefinition1 = new Telerik.WinControls.UI.TableViewDefinition();
     Telerik.WinControls.UI.TableViewDefinition     tableViewDefinition2 = new Telerik.WinControls.UI.TableViewDefinition();
     Telerik.WinControls.UI.TableViewDefinition     tableViewDefinition3 = new Telerik.WinControls.UI.TableViewDefinition();
     Telerik.WinControls.UI.RadPrintWatermark       radPrintWatermark1   = new Telerik.WinControls.UI.RadPrintWatermark();
     this.ListViewOption         = new Telerik.WinControls.UI.RadListView();
     this.radGridView1           = new Telerik.WinControls.UI.RadGridView();
     this.gridViewTemplate1      = new Telerik.WinControls.UI.GridViewTemplate();
     this.gridViewTemplate2      = new Telerik.WinControls.UI.GridViewTemplate();
     this.gridViewTemplate3      = new Telerik.WinControls.UI.GridViewTemplate();
     this.btn_printPerview       = new Telerik.WinControls.UI.RadButton();
     this.btn_printSetting       = new Telerik.WinControls.UI.RadButton();
     this.btn_export             = new Telerik.WinControls.UI.RadButton();
     this.btn_print              = new Telerik.WinControls.UI.RadButton();
     this.saveFileDialog         = new System.Windows.Forms.SaveFileDialog();
     this.radPrintDocument1      = new Telerik.WinControls.UI.RadPrintDocument();
     this.materialTealTheme1     = new Telerik.WinControls.Themes.MaterialTealTheme();
     this.fluentTheme1           = new Telerik.WinControls.Themes.FluentTheme();
     this.crystalTheme1          = new Telerik.WinControls.Themes.CrystalTheme();
     this.office2007SilverTheme1 = new Telerik.WinControls.Themes.Office2007SilverTheme();
     ((System.ComponentModel.ISupportInitialize)(this.ListViewOption)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.radGridView1)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.radGridView1.MasterTemplate)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.gridViewTemplate1)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.gridViewTemplate2)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.gridViewTemplate3)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.btn_printPerview)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.btn_printSetting)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.btn_export)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.btn_print)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this)).BeginInit();
     this.SuspendLayout();
     //
     // ListViewOption
     //
     this.ListViewOption.GroupItemSize = new System.Drawing.Size(200, 36);
     listViewDataItem1.Text            = "excel";
     listViewDataItem2.Text            = "clv";
     listViewDataItem3.Text            = "html";
     listViewDataItem4.Text            = "pdf";
     this.ListViewOption.Items.AddRange(new Telerik.WinControls.UI.ListViewDataItem[] {
         listViewDataItem1,
         listViewDataItem2,
         listViewDataItem3,
         listViewDataItem4
     });
     this.ListViewOption.ItemSize              = new System.Drawing.Size(200, 36);
     this.ListViewOption.Location              = new System.Drawing.Point(871, 62);
     this.ListViewOption.Name                  = "ListViewOption";
     this.ListViewOption.Size                  = new System.Drawing.Size(113, 158);
     this.ListViewOption.TabIndex              = 10;
     this.ListViewOption.ThemeName             = "MaterialTeal";
     this.ListViewOption.SelectedIndexChanged += new System.EventHandler(this.radListBox1_SelectedIndexChanged);
     //
     // radGridView1
     //
     this.radGridView1.Location = new System.Drawing.Point(27, 62);
     //
     //
     //
     this.radGridView1.MasterTemplate.AllowAddNewRow = false;
     this.radGridView1.MasterTemplate.Templates.AddRange(new Telerik.WinControls.UI.GridViewTemplate[] {
         this.gridViewTemplate1,
         this.gridViewTemplate2,
         this.gridViewTemplate3
     });
     this.radGridView1.MasterTemplate.ViewDefinition = tableViewDefinition4;
     this.radGridView1.Name              = "radGridView1";
     this.radGridView1.Padding           = new System.Windows.Forms.Padding(0, 0, 0, 1);
     this.radGridView1.ReadOnly          = true;
     gridViewRelation1.ChildColumnNames  = ((System.Collections.Specialized.StringCollection)(resources.GetObject("gridViewRelation1.ChildColumnNames")));
     gridViewRelation1.ParentColumnNames = ((System.Collections.Specialized.StringCollection)(resources.GetObject("gridViewRelation1.ParentColumnNames")));
     this.radGridView1.Relations.AddRange(new Telerik.WinControls.UI.GridViewRelation[] {
         gridViewRelation1
     });
     this.radGridView1.Size      = new System.Drawing.Size(823, 507);
     this.radGridView1.TabIndex  = 9;
     this.radGridView1.ThemeName = "MaterialTeal";
     //
     // gridViewTemplate1
     //
     this.gridViewTemplate1.ViewDefinition = tableViewDefinition1;
     //
     // gridViewTemplate2
     //
     this.gridViewTemplate2.ViewDefinition = tableViewDefinition2;
     //
     // gridViewTemplate3
     //
     this.gridViewTemplate3.ViewDefinition = tableViewDefinition3;
     //
     // btn_printPerview
     //
     this.btn_printPerview.Location  = new System.Drawing.Point(192, 13);
     this.btn_printPerview.Name      = "btn_printPerview";
     this.btn_printPerview.Size      = new System.Drawing.Size(127, 37);
     this.btn_printPerview.TabIndex  = 6;
     this.btn_printPerview.Text      = "printPerview";
     this.btn_printPerview.ThemeName = "MaterialTeal";
     this.btn_printPerview.Click    += new System.EventHandler(this.radButtonPrintPreview_Click);
     //
     // btn_printSetting
     //
     this.btn_printSetting.Location  = new System.Drawing.Point(340, 13);
     this.btn_printSetting.Name      = "btn_printSetting";
     this.btn_printSetting.Size      = new System.Drawing.Size(116, 37);
     this.btn_printSetting.TabIndex  = 7;
     this.btn_printSetting.Text      = "printSetting";
     this.btn_printSetting.ThemeName = "MaterialTeal";
     this.btn_printSetting.Click    += new System.EventHandler(this.radButtonPrintSettings_Click);
     //
     // btn_export
     //
     this.btn_export.Location  = new System.Drawing.Point(872, 260);
     this.btn_export.Name      = "btn_export";
     this.btn_export.Size      = new System.Drawing.Size(116, 51);
     this.btn_export.TabIndex  = 8;
     this.btn_export.Text      = "export";
     this.btn_export.ThemeName = "MaterialTeal";
     this.btn_export.Click    += new System.EventHandler(this.radButtonExport_Click);
     //
     // btn_print
     //
     this.btn_print.Location  = new System.Drawing.Point(57, 12);
     this.btn_print.Name      = "btn_print";
     this.btn_print.Size      = new System.Drawing.Size(116, 38);
     this.btn_print.TabIndex  = 5;
     this.btn_print.Text      = "print";
     this.btn_print.ThemeName = "MaterialTeal";
     this.btn_print.Click    += new System.EventHandler(this.radButtonPrint_Click);
     //
     // radPrintDocument1
     //
     this.radPrintDocument1.FooterFont = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(177)));
     this.radPrintDocument1.HeaderFont = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(177)));
     this.radPrintDocument1.Watermark  = radPrintWatermark1;
     //
     // ReportProject
     //
     this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
     this.AutoScaleMode       = System.Windows.Forms.AutoScaleMode.Font;
     this.ClientSize          = new System.Drawing.Size(1030, 581);
     this.Controls.Add(this.ListViewOption);
     this.Controls.Add(this.radGridView1);
     this.Controls.Add(this.btn_printPerview);
     this.Controls.Add(this.btn_printSetting);
     this.Controls.Add(this.btn_export);
     this.Controls.Add(this.btn_print);
     this.Name = "ReportProject";
     //
     //
     //
     this.RootElement.ApplyShapeToControl = true;
     this.Text      = "ReportProject";
     this.ThemeName = "MaterialTeal";
     ((System.ComponentModel.ISupportInitialize)(this.ListViewOption)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.radGridView1.MasterTemplate)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.radGridView1)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.gridViewTemplate1)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.gridViewTemplate2)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.gridViewTemplate3)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.btn_printPerview)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.btn_printSetting)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.btn_export)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.btn_print)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this)).EndInit();
     this.ResumeLayout(false);
 }
コード例 #28
0
 /// <summary>
 /// Required method for Designer support - do not modify
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     Telerik.WinControls.UI.GridViewTextBoxColumn   gridViewTextBoxColumn1 = new Telerik.WinControls.UI.GridViewTextBoxColumn();
     Telerik.WinControls.UI.GridViewTextBoxColumn   gridViewTextBoxColumn2 = new Telerik.WinControls.UI.GridViewTextBoxColumn();
     Telerik.WinControls.UI.GridViewTextBoxColumn   gridViewTextBoxColumn3 = new Telerik.WinControls.UI.GridViewTextBoxColumn();
     Telerik.WinControls.UI.GridViewTextBoxColumn   gridViewTextBoxColumn4 = new Telerik.WinControls.UI.GridViewTextBoxColumn();
     Telerik.WinControls.UI.GridViewTextBoxColumn   gridViewTextBoxColumn5 = new Telerik.WinControls.UI.GridViewTextBoxColumn();
     System.ComponentModel.ComponentResourceManager resources          = new System.ComponentModel.ComponentResourceManager(typeof(frmAdvisersLoad));
     Telerik.WinControls.UI.RadPrintWatermark       radPrintWatermark1 = new Telerik.WinControls.UI.RadPrintWatermark();
     this.gvGradeSection      = new Telerik.WinControls.UI.RadGridView();
     this.radPanel2           = new Telerik.WinControls.UI.RadPanel();
     this.btnAddGrades        = new Telerik.WinControls.UI.RadButton();
     this.btnPrint            = new Telerik.WinControls.UI.RadButton();
     this.printPreviewDialog1 = new System.Windows.Forms.PrintPreviewDialog();
     this.radPrintDocument1   = new Telerik.WinControls.UI.RadPrintDocument();
     ((System.ComponentModel.ISupportInitialize)(this.gvGradeSection)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.gvGradeSection.MasterTemplate)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.radPanel2)).BeginInit();
     this.radPanel2.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.btnAddGrades)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.btnPrint)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this)).BeginInit();
     this.SuspendLayout();
     //
     // gvGradeSection
     //
     this.gvGradeSection.Dock     = System.Windows.Forms.DockStyle.Fill;
     this.gvGradeSection.Location = new System.Drawing.Point(0, 0);
     //
     //
     //
     this.gvGradeSection.MasterTemplate.AllowAddNewRow     = false;
     this.gvGradeSection.MasterTemplate.AllowColumnReorder = false;
     this.gvGradeSection.MasterTemplate.AllowDeleteRow     = false;
     this.gvGradeSection.MasterTemplate.AllowDragToGroup   = false;
     this.gvGradeSection.MasterTemplate.AllowEditRow       = false;
     this.gvGradeSection.MasterTemplate.AllowSearchRow     = true;
     gridViewTextBoxColumn1.FieldName  = "GradeLevel";
     gridViewTextBoxColumn1.HeaderText = "Grade Level";
     gridViewTextBoxColumn1.Name       = "GradeLevel";
     gridViewTextBoxColumn1.Width      = 100;
     gridViewTextBoxColumn2.FieldName  = "Section";
     gridViewTextBoxColumn2.HeaderText = "Section";
     gridViewTextBoxColumn2.Name       = "Section";
     gridViewTextBoxColumn2.Width      = 150;
     gridViewTextBoxColumn3.FieldName  = "HomeRoom.RoomCode";
     gridViewTextBoxColumn3.HeaderText = "Home Room";
     gridViewTextBoxColumn3.Name       = "HomeRoom";
     gridViewTextBoxColumn3.Width      = 100;
     gridViewTextBoxColumn4.FieldName  = "TeacherName";
     gridViewTextBoxColumn4.HeaderText = "Adviser";
     gridViewTextBoxColumn4.Name       = "TeacherName";
     gridViewTextBoxColumn4.Width      = 200;
     gridViewTextBoxColumn5.FieldName  = "GradeSectionCode";
     gridViewTextBoxColumn5.HeaderText = "column1";
     gridViewTextBoxColumn5.IsVisible  = false;
     gridViewTextBoxColumn5.Name       = "GradeSectionCode";
     this.gvGradeSection.MasterTemplate.Columns.AddRange(new Telerik.WinControls.UI.GridViewDataColumn[] {
         gridViewTextBoxColumn1,
         gridViewTextBoxColumn2,
         gridViewTextBoxColumn3,
         gridViewTextBoxColumn4,
         gridViewTextBoxColumn5
     });
     this.gvGradeSection.MasterTemplate.EnableGrouping = false;
     this.gvGradeSection.Name              = "gvGradeSection";
     this.gvGradeSection.ReadOnly          = true;
     this.gvGradeSection.Size              = new System.Drawing.Size(800, 410);
     this.gvGradeSection.TabIndex          = 2;
     this.gvGradeSection.SelectionChanged += new System.EventHandler(this.gvGradeSection_SelectionChanged);
     //
     // radPanel2
     //
     this.radPanel2.Controls.Add(this.btnPrint);
     this.radPanel2.Controls.Add(this.btnAddGrades);
     this.radPanel2.Dock     = System.Windows.Forms.DockStyle.Bottom;
     this.radPanel2.Location = new System.Drawing.Point(0, 410);
     this.radPanel2.Name     = "radPanel2";
     this.radPanel2.Size     = new System.Drawing.Size(800, 39);
     this.radPanel2.TabIndex = 4;
     //
     // btnAddGrades
     //
     this.btnAddGrades.Anchor   = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
     this.btnAddGrades.Location = new System.Drawing.Point(628, 6);
     this.btnAddGrades.Name     = "btnAddGrades";
     this.btnAddGrades.Size     = new System.Drawing.Size(77, 24);
     this.btnAddGrades.TabIndex = 0;
     this.btnAddGrades.Text     = "Add Grades";
     this.btnAddGrades.Click   += new System.EventHandler(this.btnAddGrades_Click);
     //
     // btnPrint
     //
     this.btnPrint.Anchor   = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
     this.btnPrint.Location = new System.Drawing.Point(711, 6);
     this.btnPrint.Name     = "btnPrint";
     this.btnPrint.Size     = new System.Drawing.Size(77, 24);
     this.btnPrint.TabIndex = 5;
     this.btnPrint.Text     = "Print";
     this.btnPrint.Click   += new System.EventHandler(this.btnPrint_Click);
     //
     // printPreviewDialog1
     //
     this.printPreviewDialog1.AutoScrollMargin  = new System.Drawing.Size(0, 0);
     this.printPreviewDialog1.AutoScrollMinSize = new System.Drawing.Size(0, 0);
     this.printPreviewDialog1.ClientSize        = new System.Drawing.Size(400, 300);
     this.printPreviewDialog1.Enabled           = true;
     this.printPreviewDialog1.Icon    = ((System.Drawing.Icon)(resources.GetObject("printPreviewDialog1.Icon")));
     this.printPreviewDialog1.Name    = "printPreviewDialog1";
     this.printPreviewDialog1.Visible = false;
     //
     // radPrintDocument1
     //
     this.radPrintDocument1.FooterFont = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.radPrintDocument1.HeaderFont = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.radPrintDocument1.Watermark  = radPrintWatermark1;
     //
     // frmAdvisersLoad
     //
     this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
     this.AutoScaleMode       = System.Windows.Forms.AutoScaleMode.Font;
     this.ClientSize          = new System.Drawing.Size(800, 449);
     this.Controls.Add(this.gvGradeSection);
     this.Controls.Add(this.radPanel2);
     this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedSingle;
     this.Name            = "frmAdvisersLoad";
     //
     //
     //
     this.RootElement.ApplyShapeToControl = true;
     this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
     this.Text          = "List of Advisory Classes";
     this.Load         += new System.EventHandler(this.frmAdvisersLoad_Load);
     ((System.ComponentModel.ISupportInitialize)(this.gvGradeSection.MasterTemplate)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.gvGradeSection)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.radPanel2)).EndInit();
     this.radPanel2.ResumeLayout(false);
     ((System.ComponentModel.ISupportInitialize)(this.btnAddGrades)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.btnPrint)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this)).EndInit();
     this.ResumeLayout(false);
 }
コード例 #29
0
        /// <summary>
        /// Required method for Designer support - do not modify
        /// the contents of this method with the code editor.
        /// </summary>
        private void InitializeComponent()
        {
            Telerik.WinControls.UI.GridViewTextBoxColumn gridViewTextBoxColumn1 = new Telerik.WinControls.UI.GridViewTextBoxColumn();
            Telerik.WinControls.UI.GridViewTextBoxColumn gridViewTextBoxColumn2 = new Telerik.WinControls.UI.GridViewTextBoxColumn();
            Telerik.WinControls.UI.GridViewTextBoxColumn gridViewTextBoxColumn3 = new Telerik.WinControls.UI.GridViewTextBoxColumn();
            Telerik.WinControls.UI.GridViewTextBoxColumn gridViewTextBoxColumn4 = new Telerik.WinControls.UI.GridViewTextBoxColumn();
            Telerik.WinControls.UI.GridViewTextBoxColumn gridViewTextBoxColumn5 = new Telerik.WinControls.UI.GridViewTextBoxColumn();
            Telerik.WinControls.UI.GridViewTextBoxColumn gridViewTextBoxColumn6 = new Telerik.WinControls.UI.GridViewTextBoxColumn();
            Telerik.WinControls.UI.GridViewTextBoxColumn gridViewTextBoxColumn7 = new Telerik.WinControls.UI.GridViewTextBoxColumn();
            Telerik.WinControls.UI.GridViewTextBoxColumn gridViewTextBoxColumn8 = new Telerik.WinControls.UI.GridViewTextBoxColumn();
            Telerik.WinControls.UI.RadPrintWatermark radPrintWatermark1 = new Telerik.WinControls.UI.RadPrintWatermark();
            System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(frmTeacherLoad));
            this.radPanel1 = new Telerik.WinControls.UI.RadPanel();
            this.gvSubjects = new Telerik.WinControls.UI.RadGridView();
            this.radPanel2 = new Telerik.WinControls.UI.RadPanel();
            this.btnAddGrade = new Telerik.WinControls.UI.RadButton();
            this.btnPrint = new Telerik.WinControls.UI.RadButton();
            this.radPrintDocument1 = new Telerik.WinControls.UI.RadPrintDocument();
            this.printPreviewDialog1 = new System.Windows.Forms.PrintPreviewDialog();
            ((System.ComponentModel.ISupportInitialize)(this.radPanel1)).BeginInit();
            this.radPanel1.SuspendLayout();
            ((System.ComponentModel.ISupportInitialize)(this.gvSubjects)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.gvSubjects.MasterTemplate)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.radPanel2)).BeginInit();
            this.radPanel2.SuspendLayout();
            ((System.ComponentModel.ISupportInitialize)(this.btnAddGrade)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.btnPrint)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this)).BeginInit();
            this.SuspendLayout();
            // 
            // radPanel1
            // 
            this.radPanel1.Controls.Add(this.gvSubjects);
            this.radPanel1.Dock = System.Windows.Forms.DockStyle.Top;
            this.radPanel1.Location = new System.Drawing.Point(0, 0);
            this.radPanel1.Name = "radPanel1";
            this.radPanel1.Size = new System.Drawing.Size(1061, 407);
            this.radPanel1.TabIndex = 1;
            // 
            // gvSubjects
            // 
            this.gvSubjects.Dock = System.Windows.Forms.DockStyle.Fill;
            this.gvSubjects.Location = new System.Drawing.Point(0, 0);
            // 
            // 
            // 
            this.gvSubjects.MasterTemplate.AllowAddNewRow = false;
            this.gvSubjects.MasterTemplate.AllowDragToGroup = false;
            this.gvSubjects.MasterTemplate.AllowEditRow = false;
            this.gvSubjects.MasterTemplate.AutoExpandGroups = true;
            gridViewTextBoxColumn1.FieldName = "SubjectCode";
            gridViewTextBoxColumn1.HeaderText = "Subject Code";
            gridViewTextBoxColumn1.Name = "SubjectCode";
            gridViewTextBoxColumn1.Width = 74;
            gridViewTextBoxColumn2.FieldName = "SubjectDescription";
            gridViewTextBoxColumn2.HeaderText = "Description";
            gridViewTextBoxColumn2.Name = "SubjectDescription";
            gridViewTextBoxColumn2.Width = 200;
            gridViewTextBoxColumn3.FieldName = "Section";
            gridViewTextBoxColumn3.HeaderText = "Section";
            gridViewTextBoxColumn3.Name = "Section";
            gridViewTextBoxColumn3.Width = 70;
            gridViewTextBoxColumn4.FieldName = "SubjectAssignments";
            gridViewTextBoxColumn4.HeaderText = "SubjectAssignments";
            gridViewTextBoxColumn4.IsVisible = false;
            gridViewTextBoxColumn4.Name = "SubjectAssignments";
            gridViewTextBoxColumn5.FieldName = "TimeslotInfo";
            gridViewTextBoxColumn5.HeaderText = "Class Schedule";
            gridViewTextBoxColumn5.Name = "TimeslotInfo";
            gridViewTextBoxColumn5.Width = 475;
            gridViewTextBoxColumn6.FieldName = "RoomCode";
            gridViewTextBoxColumn6.HeaderText = "Room";
            gridViewTextBoxColumn6.Name = "RoomCode";
            gridViewTextBoxColumn6.Width = 70;
            gridViewTextBoxColumn7.FieldName = "TeacherName";
            gridViewTextBoxColumn7.HeaderText = "Teacher";
            gridViewTextBoxColumn7.Name = "TeacherName";
            gridViewTextBoxColumn7.Width = 150;
            gridViewTextBoxColumn8.FieldName = "TeacherId";
            gridViewTextBoxColumn8.HeaderText = "column1";
            gridViewTextBoxColumn8.IsVisible = false;
            gridViewTextBoxColumn8.Name = "TeacherId";
            this.gvSubjects.MasterTemplate.Columns.AddRange(new Telerik.WinControls.UI.GridViewDataColumn[] {
            gridViewTextBoxColumn1,
            gridViewTextBoxColumn2,
            gridViewTextBoxColumn3,
            gridViewTextBoxColumn4,
            gridViewTextBoxColumn5,
            gridViewTextBoxColumn6,
            gridViewTextBoxColumn7,
            gridViewTextBoxColumn8});
            this.gvSubjects.MasterTemplate.VerticalScrollState = Telerik.WinControls.UI.ScrollState.AlwaysShow;
            this.gvSubjects.Name = "gvSubjects";
            this.gvSubjects.Size = new System.Drawing.Size(1061, 407);
            this.gvSubjects.TabIndex = 10;
            this.gvSubjects.SelectionChanged += new System.EventHandler(this.gvSubjects_SelectionChanged);
            // 
            // radPanel2
            // 
            this.radPanel2.Controls.Add(this.btnAddGrade);
            this.radPanel2.Controls.Add(this.btnPrint);
            this.radPanel2.Dock = System.Windows.Forms.DockStyle.Bottom;
            this.radPanel2.Location = new System.Drawing.Point(0, 413);
            this.radPanel2.Name = "radPanel2";
            this.radPanel2.Size = new System.Drawing.Size(1061, 43);
            this.radPanel2.TabIndex = 3;
            // 
            // btnAddGrade
            // 
            this.btnAddGrade.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
            this.btnAddGrade.Location = new System.Drawing.Point(877, 7);
            this.btnAddGrade.Name = "btnAddGrade";
            this.btnAddGrade.Size = new System.Drawing.Size(83, 24);
            this.btnAddGrade.TabIndex = 4;
            this.btnAddGrade.Text = "Add Grade";
            this.btnAddGrade.Click += new System.EventHandler(this.btnAddGrade_Click);
            // 
            // btnPrint
            // 
            this.btnPrint.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
            this.btnPrint.Location = new System.Drawing.Point(966, 7);
            this.btnPrint.Name = "btnPrint";
            this.btnPrint.Size = new System.Drawing.Size(83, 24);
            this.btnPrint.TabIndex = 5;
            this.btnPrint.Text = "Print";
            this.btnPrint.Click += new System.EventHandler(this.btnPrint_Click);
            // 
            // radPrintDocument1
            // 
            this.radPrintDocument1.FooterFont = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.radPrintDocument1.HeaderFont = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.radPrintDocument1.Watermark = radPrintWatermark1;
            // 
            // printPreviewDialog1
            // 
            this.printPreviewDialog1.AutoScrollMargin = new System.Drawing.Size(0, 0);
            this.printPreviewDialog1.AutoScrollMinSize = new System.Drawing.Size(0, 0);
            this.printPreviewDialog1.ClientSize = new System.Drawing.Size(400, 300);
            this.printPreviewDialog1.Enabled = true;
            this.printPreviewDialog1.Icon = ((System.Drawing.Icon)(resources.GetObject("printPreviewDialog1.Icon")));
            this.printPreviewDialog1.Name = "printPreviewDialog1";
            this.printPreviewDialog1.Visible = false;
            // 
            // frmTeacherLoad
            // 
            this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
            this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
            this.ClientSize = new System.Drawing.Size(1061, 456);
            this.Controls.Add(this.radPanel2);
            this.Controls.Add(this.radPanel1);
            this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedSingle;
            this.MaximizeBox = false;
            this.Name = "frmTeacherLoad";
            // 
            // 
            // 
            this.RootElement.ApplyShapeToControl = true;
            this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
            this.Text = "List of Subjects Load";
            this.Load += new System.EventHandler(this.frmTeacherLoad_Load);
            ((System.ComponentModel.ISupportInitialize)(this.radPanel1)).EndInit();
            this.radPanel1.ResumeLayout(false);
            ((System.ComponentModel.ISupportInitialize)(this.gvSubjects.MasterTemplate)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.gvSubjects)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.radPanel2)).EndInit();
            this.radPanel2.ResumeLayout(false);
            ((System.ComponentModel.ISupportInitialize)(this.btnAddGrade)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.btnPrint)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this)).EndInit();
            this.ResumeLayout(false);

        }
コード例 #30
0
 /// <summary>
 /// Required method for Designer support - do not modify
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     this.components = new System.ComponentModel.Container();
     System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(Form1));
     Telerik.WinControls.UI.GridViewDecimalColumn   gridViewDecimalColumn1  = new Telerik.WinControls.UI.GridViewDecimalColumn();
     Telerik.WinControls.UI.GridViewTextBoxColumn   gridViewTextBoxColumn1  = new Telerik.WinControls.UI.GridViewTextBoxColumn();
     Telerik.WinControls.UI.GridViewTextBoxColumn   gridViewTextBoxColumn2  = new Telerik.WinControls.UI.GridViewTextBoxColumn();
     Telerik.WinControls.UI.GridViewTextBoxColumn   gridViewTextBoxColumn3  = new Telerik.WinControls.UI.GridViewTextBoxColumn();
     Telerik.WinControls.UI.GridViewTextBoxColumn   gridViewTextBoxColumn4  = new Telerik.WinControls.UI.GridViewTextBoxColumn();
     Telerik.WinControls.UI.GridViewDateTimeColumn  gridViewDateTimeColumn1 = new Telerik.WinControls.UI.GridViewDateTimeColumn();
     Telerik.WinControls.UI.GridViewDateTimeColumn  gridViewDateTimeColumn2 = new Telerik.WinControls.UI.GridViewDateTimeColumn();
     Telerik.WinControls.UI.GridViewTextBoxColumn   gridViewTextBoxColumn5  = new Telerik.WinControls.UI.GridViewTextBoxColumn();
     Telerik.WinControls.UI.GridViewImageColumn     gridViewImageColumn1    = new Telerik.WinControls.UI.GridViewImageColumn();
     Telerik.WinControls.UI.GridViewTextBoxColumn   gridViewTextBoxColumn6  = new Telerik.WinControls.UI.GridViewTextBoxColumn();
     Telerik.WinControls.UI.GridViewTextBoxColumn   gridViewTextBoxColumn7  = new Telerik.WinControls.UI.GridViewTextBoxColumn();
     Telerik.WinControls.UI.GridViewTextBoxColumn   gridViewTextBoxColumn8  = new Telerik.WinControls.UI.GridViewTextBoxColumn();
     Telerik.WinControls.UI.GridViewTextBoxColumn   gridViewTextBoxColumn9  = new Telerik.WinControls.UI.GridViewTextBoxColumn();
     Telerik.WinControls.UI.GridViewTextBoxColumn   gridViewTextBoxColumn10 = new Telerik.WinControls.UI.GridViewTextBoxColumn();
     Telerik.WinControls.UI.GridViewTextBoxColumn   gridViewTextBoxColumn11 = new Telerik.WinControls.UI.GridViewTextBoxColumn();
     Telerik.WinControls.UI.GridViewTextBoxColumn   gridViewTextBoxColumn12 = new Telerik.WinControls.UI.GridViewTextBoxColumn();
     Telerik.WinControls.UI.GridViewDecimalColumn   gridViewDecimalColumn2  = new Telerik.WinControls.UI.GridViewDecimalColumn();
     Telerik.WinControls.UI.RadPrintWatermark       radPrintWatermark1      = new Telerik.WinControls.UI.RadPrintWatermark();
     this.radGridView1               = new Telerik.WinControls.UI.RadGridView();
     this.employeesBindingSource     = new System.Windows.Forms.BindingSource(this.components);
     this.northwindDataSet           = new Telerik.Examples.WinControls.DataSources.NorthwindDataSet();
     this.radRadioButtonTable        = new Telerik.WinControls.UI.RadRadioButton();
     this.radRadioButtonHtml         = new Telerik.WinControls.UI.RadRadioButton();
     this.radRadioButtonColumnGroups = new Telerik.WinControls.UI.RadRadioButton();
     this.radButtonPrint             = new Telerik.WinControls.UI.RadButton();
     this.radButtonPrintPreview      = new Telerik.WinControls.UI.RadButton();
     this.radButtonPrintSettings     = new Telerik.WinControls.UI.RadButton();
     this.radPrintDocument1          = new Telerik.WinControls.UI.RadPrintDocument();
     this.radGroupBox1               = new Telerik.WinControls.UI.RadGroupBox();
     this.employeesTableAdapter      = new Telerik.Examples.WinControls.DataSources.NorthwindDataSetTableAdapters.EmployeesTableAdapter();
     ((System.ComponentModel.ISupportInitialize)(this.settingsPanel)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.radGridView1)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.employeesBindingSource)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.northwindDataSet)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.radRadioButtonTable)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.radRadioButtonHtml)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.radRadioButtonColumnGroups)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.radButtonPrint)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.radButtonPrintPreview)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.radButtonPrintSettings)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.radGroupBox1)).BeginInit();
     this.SuspendLayout();
     //
     // settingsPanel
     //
     this.settingsPanel.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.settingsPanel.AutoScroll = true;
     this.settingsPanel.BackColor  = System.Drawing.Color.Transparent;
     this.settingsPanel.Controls.Add(this.radGroupBox1);
     this.settingsPanel.Controls.Add(this.radButtonPrint);
     this.settingsPanel.Controls.Add(this.radButtonPrintPreview);
     this.settingsPanel.Controls.Add(this.radButtonPrintSettings);
     this.settingsPanel.ForeColor = System.Drawing.SystemColors.ControlText;
     this.settingsPanel.Location  = new System.Drawing.Point(381, 90);
     this.settingsPanel.Name      = "settingsPanel";
     this.settingsPanel.Size      = new System.Drawing.Size(261, 354);
     this.settingsPanel.TabIndex  = 0;
     this.settingsPanel.Visible   = false;
     //
     // radGridView1
     //
     this.radGridView1.Dock     = System.Windows.Forms.DockStyle.Fill;
     this.radGridView1.Location = new System.Drawing.Point(0, 0);
     //
     // radGridView1
     //
     this.radGridView1.MasterTemplate.AllowAddNewRow   = false;
     this.radGridView1.MasterTemplate.AutoExpandGroups = true;
     gridViewDecimalColumn1.DataType         = typeof(int);
     gridViewDecimalColumn1.FieldName        = "EmployeeID";
     gridViewDecimalColumn1.HeaderText       = "EmployeeID";
     gridViewDecimalColumn1.IsAutoGenerated  = true;
     gridViewDecimalColumn1.IsVisible        = false;
     gridViewDecimalColumn1.Name             = "EmployeeID";
     gridViewTextBoxColumn1.FieldName        = "TitleOfCourtesy";
     gridViewTextBoxColumn1.HeaderText       = "TitleOfCourtesy";
     gridViewTextBoxColumn1.IsAutoGenerated  = true;
     gridViewTextBoxColumn1.Name             = "TitleOfCourtesy";
     gridViewTextBoxColumn2.FieldName        = "FirstName";
     gridViewTextBoxColumn2.HeaderText       = "FirstName";
     gridViewTextBoxColumn2.IsAutoGenerated  = true;
     gridViewTextBoxColumn2.Name             = "FirstName";
     gridViewTextBoxColumn2.Width            = 100;
     gridViewTextBoxColumn3.FieldName        = "LastName";
     gridViewTextBoxColumn3.HeaderText       = "LastName";
     gridViewTextBoxColumn3.IsAutoGenerated  = true;
     gridViewTextBoxColumn3.Name             = "LastName";
     gridViewTextBoxColumn3.Width            = 100;
     gridViewTextBoxColumn4.FieldName        = "Title";
     gridViewTextBoxColumn4.HeaderText       = "Title";
     gridViewTextBoxColumn4.IsAutoGenerated  = true;
     gridViewTextBoxColumn4.Name             = "Title";
     gridViewTextBoxColumn4.Width            = 80;
     gridViewDateTimeColumn1.FieldName       = "BirthDate";
     gridViewDateTimeColumn1.HeaderText      = "BirthDate";
     gridViewDateTimeColumn1.IsAutoGenerated = true;
     gridViewDateTimeColumn1.IsVisible       = false;
     gridViewDateTimeColumn1.Name            = "BirthDate";
     gridViewDateTimeColumn2.FieldName       = "HireDate";
     gridViewDateTimeColumn2.HeaderText      = "HireDate";
     gridViewDateTimeColumn2.IsAutoGenerated = true;
     gridViewDateTimeColumn2.IsVisible       = false;
     gridViewDateTimeColumn2.Name            = "HireDate";
     gridViewTextBoxColumn5.FieldName        = "Country";
     gridViewTextBoxColumn5.HeaderText       = "Country";
     gridViewTextBoxColumn5.IsAutoGenerated  = true;
     gridViewTextBoxColumn5.Name             = "Country";
     gridViewImageColumn1.DataType           = typeof(byte[]);
     gridViewImageColumn1.FieldName          = "Photo";
     gridViewImageColumn1.HeaderText         = "Photo";
     gridViewImageColumn1.IsAutoGenerated    = true;
     gridViewImageColumn1.IsVisible          = false;
     gridViewImageColumn1.Name               = "Photo";
     gridViewTextBoxColumn6.FieldName        = "Address";
     gridViewTextBoxColumn6.HeaderText       = "Address";
     gridViewTextBoxColumn6.IsAutoGenerated  = true;
     gridViewTextBoxColumn6.Name             = "Address";
     gridViewTextBoxColumn6.Width            = 150;
     gridViewTextBoxColumn7.FieldName        = "City";
     gridViewTextBoxColumn7.HeaderText       = "City";
     gridViewTextBoxColumn7.IsAutoGenerated  = true;
     gridViewTextBoxColumn7.IsVisible        = false;
     gridViewTextBoxColumn7.Name             = "City";
     gridViewTextBoxColumn8.FieldName        = "Region";
     gridViewTextBoxColumn8.HeaderText       = "Region";
     gridViewTextBoxColumn8.IsAutoGenerated  = true;
     gridViewTextBoxColumn8.IsVisible        = false;
     gridViewTextBoxColumn8.Name             = "Region";
     gridViewTextBoxColumn9.FieldName        = "PostalCode";
     gridViewTextBoxColumn9.HeaderText       = "PostalCode";
     gridViewTextBoxColumn9.IsAutoGenerated  = true;
     gridViewTextBoxColumn9.IsVisible        = false;
     gridViewTextBoxColumn9.Name             = "PostalCode";
     gridViewTextBoxColumn10.FieldName       = "HomePhone";
     gridViewTextBoxColumn10.HeaderText      = "Phone";
     gridViewTextBoxColumn10.IsAutoGenerated = true;
     gridViewTextBoxColumn10.Name            = "HomePhone";
     gridViewTextBoxColumn10.Width           = 80;
     gridViewTextBoxColumn11.FieldName       = "Extension";
     gridViewTextBoxColumn11.HeaderText      = "Extension";
     gridViewTextBoxColumn11.IsAutoGenerated = true;
     gridViewTextBoxColumn11.IsVisible       = false;
     gridViewTextBoxColumn11.Name            = "Extension";
     gridViewTextBoxColumn12.FieldName       = "Notes";
     gridViewTextBoxColumn12.HeaderText      = "Notes";
     gridViewTextBoxColumn12.IsAutoGenerated = true;
     gridViewTextBoxColumn12.IsVisible       = false;
     gridViewTextBoxColumn12.Name            = "Notes";
     gridViewDecimalColumn2.DataType         = typeof(int);
     gridViewDecimalColumn2.FieldName        = "ReportsTo";
     gridViewDecimalColumn2.HeaderText       = "ReportsTo";
     gridViewDecimalColumn2.IsAutoGenerated  = true;
     gridViewDecimalColumn2.IsVisible        = false;
     gridViewDecimalColumn2.Name             = "ReportsTo";
     this.radGridView1.MasterTemplate.Columns.AddRange(new Telerik.WinControls.UI.GridViewDataColumn[] {
         gridViewDecimalColumn1,
         gridViewTextBoxColumn1,
         gridViewTextBoxColumn2,
         gridViewTextBoxColumn3,
         gridViewTextBoxColumn4,
         gridViewDateTimeColumn1,
         gridViewDateTimeColumn2,
         gridViewTextBoxColumn5,
         gridViewImageColumn1,
         gridViewTextBoxColumn6,
         gridViewTextBoxColumn7,
         gridViewTextBoxColumn8,
         gridViewTextBoxColumn9,
         gridViewTextBoxColumn10,
         gridViewTextBoxColumn11,
         gridViewTextBoxColumn12,
         gridViewDecimalColumn2
     });
     this.radGridView1.MasterTemplate.DataSource = this.employeesBindingSource;
     this.radGridView1.Name     = "radGridView1";
     this.radGridView1.Size     = new System.Drawing.Size(1317, 732);
     this.radGridView1.TabIndex = 0;
     this.radGridView1.Text     = "radGridView1";
     //
     // employeesBindingSource
     //
     this.employeesBindingSource.DataMember = "Employees";
     this.employeesBindingSource.DataSource = this.northwindDataSet;
     //
     // northwindDataSet
     //
     this.northwindDataSet.DataSetName             = "NorthwindDataSet";
     this.northwindDataSet.SchemaSerializationMode = System.Data.SchemaSerializationMode.IncludeSchema;
     //
     // radRadioButtonTable
     //
     this.radRadioButtonTable.Location            = new System.Drawing.Point(5, 21);
     this.radRadioButtonTable.Name                = "radRadioButtonTable";
     this.radRadioButtonTable.TabIndex            = 1;
     this.radRadioButtonTable.Text                = "Table";
     this.radRadioButtonTable.ToggleStateChanged += new Telerik.WinControls.UI.StateChangedEventHandler(this.radRadioTable_ToggleStateChanged);
     //
     // radRadioButtonHtml
     //
     this.radRadioButtonHtml.Location            = new System.Drawing.Point(5, 45);
     this.radRadioButtonHtml.Name                = "radRadioButtonHtml";
     this.radRadioButtonHtml.TabIndex            = 1;
     this.radRadioButtonHtml.TabStop             = true;
     this.radRadioButtonHtml.Text                = "HTML";
     this.radRadioButtonHtml.ToggleStateChanged += new Telerik.WinControls.UI.StateChangedEventHandler(this.radRadioTable_ToggleStateChanged);
     //
     // radRadioButtonColumnGroups
     //
     this.radRadioButtonColumnGroups.Location            = new System.Drawing.Point(5, 69);
     this.radRadioButtonColumnGroups.Name                = "radRadioButtonColumnGroups";
     this.radRadioButtonColumnGroups.TabIndex            = 1;
     this.radRadioButtonColumnGroups.Text                = "Column groups";
     this.radRadioButtonColumnGroups.ToggleState         = Telerik.WinControls.Enumerations.ToggleState.On;
     this.radRadioButtonColumnGroups.ToggleStateChanged += new Telerik.WinControls.UI.StateChangedEventHandler(this.radRadioTable_ToggleStateChanged);
     //
     // radButtonPrint
     //
     this.radButtonPrint.Location = new System.Drawing.Point(24, 173);
     this.radButtonPrint.Name     = "radButtonPrint";
     this.radButtonPrint.TabIndex = 2;
     this.radButtonPrint.Text     = "Print";
     this.radButtonPrint.Click   += new System.EventHandler(this.radButtonPrint_Click);
     //
     // radButtonPrintPreview
     //
     this.radButtonPrintPreview.Location = new System.Drawing.Point(25, 203);
     this.radButtonPrintPreview.Name     = "radButtonPrintPreview";
     this.radButtonPrintPreview.TabIndex = 2;
     this.radButtonPrintPreview.Text     = "Print preview";
     this.radButtonPrintPreview.Click   += new System.EventHandler(this.radButtonPrintPreview_Click);
     //
     // radButtonPrintSettings
     //
     this.radButtonPrintSettings.Location = new System.Drawing.Point(25, 233);
     this.radButtonPrintSettings.Name     = "radButtonPrintSettings";
     this.radButtonPrintSettings.TabIndex = 2;
     this.radButtonPrintSettings.Text     = "Print settings";
     this.radButtonPrintSettings.Click   += new System.EventHandler(this.radButtonPrintSettings_Click);
     //
     // radPrintDocument1
     //
     this.radPrintDocument1.AssociatedObject = this.radGridView1;
     this.radPrintDocument1.FooterFont       = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.radPrintDocument1.HeaderFont       = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     radPrintWatermark1.Font          = new System.Drawing.Font("Microsoft Sans Serif", 144F);
     radPrintWatermark1.ImageOpacity  = ((byte)(127));
     radPrintWatermark1.Pages         = null;
     radPrintWatermark1.Text          = null;
     radPrintWatermark1.TextAngle     = 0F;
     radPrintWatermark1.TextOpacity   = ((byte)(127));
     this.radPrintDocument1.Watermark = radPrintWatermark1;
     //
     // radGroupBox1
     //
     this.radGroupBox1.AccessibleRole = System.Windows.Forms.AccessibleRole.Grouping;
     this.radGroupBox1.Controls.Add(this.radRadioButtonTable);
     this.radGroupBox1.Controls.Add(this.radRadioButtonColumnGroups);
     this.radGroupBox1.Controls.Add(this.radRadioButtonHtml);
     this.radGroupBox1.FooterImageIndex = -1;
     this.radGroupBox1.FooterImageKey   = "";
     this.radGroupBox1.HeaderImageIndex = -1;
     this.radGroupBox1.HeaderImageKey   = "";
     this.radGroupBox1.HeaderMargin     = new System.Windows.Forms.Padding(0);
     this.radGroupBox1.HeaderText       = "Print style";
     this.radGroupBox1.Location         = new System.Drawing.Point(24, 50);
     this.radGroupBox1.Name             = "radGroupBox1";
     this.radGroupBox1.Padding          = new System.Windows.Forms.Padding(2, 18, 2, 2);
     //
     //
     //
     this.radGroupBox1.RootElement.Padding = new System.Windows.Forms.Padding(2, 18, 2, 2);
     this.radGroupBox1.Size     = new System.Drawing.Size(130, 100);
     this.radGroupBox1.TabIndex = 3;
     this.radGroupBox1.Text     = "Print style";
     //
     // employeesTableAdapter
     //
     this.employeesTableAdapter.ClearBeforeFill = true;
     //
     // Form1
     //
     this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
     this.AutoScaleMode       = System.Windows.Forms.AutoScaleMode.Font;
     this.Controls.Add(this.radGridView1);
     this.Name = "Form1";
     this.Size = new System.Drawing.Size(1317, 732);
     ((System.ComponentModel.ISupportInitialize)(this.settingsPanel)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.radGridView1)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.employeesBindingSource)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.northwindDataSet)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.radRadioButtonTable)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.radRadioButtonHtml)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.radRadioButtonColumnGroups)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.radButtonPrint)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.radButtonPrintPreview)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.radButtonPrintSettings)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.radGroupBox1)).EndInit();
     this.ResumeLayout(false);
 }