예제 #1
0
 private void InitializeComponent()
 {
     this.dtPicker          = new System.Windows.Forms.DateTimePicker();
     this.txbVenue_Name     = new AppUI.TextBoxEx();
     this.txbVenue_Activity = new AppUI.TextBoxEx();
     this.txbVenue_Town     = new AppUI.TextBoxEx();
     this.txbSpeakerName    = new AppUI.TextBoxEx();
     this.txbTitle          = new AppUI.TextBoxEx();
     this.txbKeyText        = new AppUI.TextBoxEx();
     this.txbHymn           = new AppUI.TextBoxEx();
     this.splitContainer    = new System.Windows.Forms.SplitContainer();
     this.txbTheme          = new AppUI.TextBoxEx();
     this.cmbxSeries        = new System.Windows.Forms.ComboBox();
     this.lblSeries         = new System.Windows.Forms.Label();
     this.btnSave           = new System.Windows.Forms.Button();
     this.rtbContent        = new AppUI.RichTextBoxPro();
     ((System.ComponentModel.ISupportInitialize)(this.splitContainer)).BeginInit();
     this.splitContainer.Panel1.SuspendLayout();
     this.splitContainer.Panel2.SuspendLayout();
     this.splitContainer.SuspendLayout();
     this.SuspendLayout();
     //
     // dtPicker
     //
     this.dtPicker.Location = new System.Drawing.Point(12, 12);
     this.dtPicker.Name     = "dtPicker";
     this.dtPicker.Size     = new System.Drawing.Size(250, 20);
     this.dtPicker.TabIndex = 0;
     //
     // txbVenue_Name
     //
     this.txbVenue_Name.AutoCompleteMode   = System.Windows.Forms.AutoCompleteMode.SuggestAppend;
     this.txbVenue_Name.AutoCompleteSource = System.Windows.Forms.AutoCompleteSource.CustomSource;
     this.txbVenue_Name.ForeColor          = System.Drawing.Color.Gray;
     this.txbVenue_Name.Location           = new System.Drawing.Point(12, 38);
     this.txbVenue_Name.MaxLength          = 30;
     this.txbVenue_Name.Name      = "txbVenue_Name";
     this.txbVenue_Name.Size      = new System.Drawing.Size(250, 20);
     this.txbVenue_Name.TabIndex  = 1;
     this.txbVenue_Name.Text      = "Venue";
     this.txbVenue_Name.Watermark = "Venue";
     //
     // txbVenue_Activity
     //
     this.txbVenue_Activity.AutoCompleteMode   = System.Windows.Forms.AutoCompleteMode.SuggestAppend;
     this.txbVenue_Activity.AutoCompleteSource = System.Windows.Forms.AutoCompleteSource.CustomSource;
     this.txbVenue_Activity.ForeColor          = System.Drawing.Color.Gray;
     this.txbVenue_Activity.Location           = new System.Drawing.Point(12, 64);
     this.txbVenue_Activity.MaxLength          = 50;
     this.txbVenue_Activity.Name      = "txbVenue_Activity";
     this.txbVenue_Activity.Size      = new System.Drawing.Size(250, 20);
     this.txbVenue_Activity.TabIndex  = 2;
     this.txbVenue_Activity.Text      = "Activity";
     this.txbVenue_Activity.Watermark = "Activity";
     //
     // txbVenue_Town
     //
     this.txbVenue_Town.AutoCompleteMode   = System.Windows.Forms.AutoCompleteMode.SuggestAppend;
     this.txbVenue_Town.AutoCompleteSource = System.Windows.Forms.AutoCompleteSource.CustomSource;
     this.txbVenue_Town.ForeColor          = System.Drawing.Color.Gray;
     this.txbVenue_Town.Location           = new System.Drawing.Point(12, 90);
     this.txbVenue_Town.MaxLength          = 30;
     this.txbVenue_Town.Name      = "txbVenue_Town";
     this.txbVenue_Town.Size      = new System.Drawing.Size(250, 20);
     this.txbVenue_Town.TabIndex  = 3;
     this.txbVenue_Town.Text      = "Town";
     this.txbVenue_Town.Watermark = "Town";
     //
     // txbSpeakerName
     //
     this.txbSpeakerName.AutoCompleteMode   = System.Windows.Forms.AutoCompleteMode.SuggestAppend;
     this.txbSpeakerName.AutoCompleteSource = System.Windows.Forms.AutoCompleteSource.CustomSource;
     this.txbSpeakerName.ForeColor          = System.Drawing.Color.Gray;
     this.txbSpeakerName.Location           = new System.Drawing.Point(268, 38);
     this.txbSpeakerName.MaxLength          = 50;
     this.txbSpeakerName.Name      = "txbSpeakerName";
     this.txbSpeakerName.Size      = new System.Drawing.Size(300, 20);
     this.txbSpeakerName.TabIndex  = 5;
     this.txbSpeakerName.Text      = "Speaker";
     this.txbSpeakerName.Watermark = "Speaker";
     //
     // txbTitle
     //
     this.txbTitle.AutoCompleteMode = System.Windows.Forms.AutoCompleteMode.SuggestAppend;
     this.txbTitle.ForeColor        = System.Drawing.Color.Gray;
     this.txbTitle.Location         = new System.Drawing.Point(268, 64);
     this.txbTitle.MaxLength        = 50;
     this.txbTitle.Name             = "txbTitle";
     this.txbTitle.Size             = new System.Drawing.Size(195, 20);
     this.txbTitle.TabIndex         = 6;
     this.txbTitle.Text             = "Title";
     this.txbTitle.Watermark        = "Title";
     //
     // txbKeyText
     //
     this.txbKeyText.ForeColor = System.Drawing.Color.Gray;
     this.txbKeyText.Location  = new System.Drawing.Point(268, 90);
     this.txbKeyText.MaxLength = 20;
     this.txbKeyText.Name      = "txbKeyText";
     this.txbKeyText.Size      = new System.Drawing.Size(148, 20);
     this.txbKeyText.TabIndex  = 8;
     this.txbKeyText.Text      = "Key text";
     this.txbKeyText.Watermark = "Key text";
     //
     // txbHymn
     //
     this.txbHymn.ForeColor = System.Drawing.Color.Gray;
     this.txbHymn.Location  = new System.Drawing.Point(420, 90);
     this.txbHymn.MaxLength = 50;
     this.txbHymn.Name      = "txbHymn";
     this.txbHymn.Size      = new System.Drawing.Size(148, 20);
     this.txbHymn.TabIndex  = 9;
     this.txbHymn.Text      = "Hymn";
     this.txbHymn.Watermark = "Hymn";
     //
     // splitContainer
     //
     this.splitContainer.Dock            = System.Windows.Forms.DockStyle.Fill;
     this.splitContainer.IsSplitterFixed = true;
     this.splitContainer.Location        = new System.Drawing.Point(0, 0);
     this.splitContainer.MinimumSize     = new System.Drawing.Size(528, 462);
     this.splitContainer.Name            = "splitContainer";
     this.splitContainer.Orientation     = System.Windows.Forms.Orientation.Horizontal;
     //
     // splitContainer.Panel1
     //
     this.splitContainer.Panel1.Controls.Add(this.txbTheme);
     this.splitContainer.Panel1.Controls.Add(this.cmbxSeries);
     this.splitContainer.Panel1.Controls.Add(this.lblSeries);
     this.splitContainer.Panel1.Controls.Add(this.btnSave);
     this.splitContainer.Panel1.Controls.Add(this.txbSpeakerName);
     this.splitContainer.Panel1.Controls.Add(this.dtPicker);
     this.splitContainer.Panel1.Controls.Add(this.txbHymn);
     this.splitContainer.Panel1.Controls.Add(this.txbVenue_Name);
     this.splitContainer.Panel1.Controls.Add(this.txbKeyText);
     this.splitContainer.Panel1.Controls.Add(this.txbVenue_Activity);
     this.splitContainer.Panel1.Controls.Add(this.txbTitle);
     this.splitContainer.Panel1.Controls.Add(this.txbVenue_Town);
     //
     // splitContainer.Panel2
     //
     this.splitContainer.Panel2.Controls.Add(this.rtbContent);
     this.splitContainer.Size             = new System.Drawing.Size(684, 462);
     this.splitContainer.SplitterDistance = 122;
     this.splitContainer.SplitterWidth    = 1;
     this.splitContainer.TabIndex         = 9;
     //
     // txbTheme
     //
     this.txbTheme.AutoCompleteMode   = System.Windows.Forms.AutoCompleteMode.SuggestAppend;
     this.txbTheme.AutoCompleteSource = System.Windows.Forms.AutoCompleteSource.CustomSource;
     this.txbTheme.ForeColor          = System.Drawing.Color.Gray;
     this.txbTheme.Location           = new System.Drawing.Point(468, 64);
     this.txbTheme.Name      = "txbTheme";
     this.txbTheme.Size      = new System.Drawing.Size(100, 20);
     this.txbTheme.TabIndex  = 7;
     this.txbTheme.Text      = "Theme";
     this.txbTheme.Watermark = "Theme";
     //
     // cmbxSeries
     //
     this.cmbxSeries.FormattingEnabled = true;
     this.cmbxSeries.Location          = new System.Drawing.Point(313, 11);
     this.cmbxSeries.MaxDropDownItems  = 100;
     this.cmbxSeries.Name     = "cmbxSeries";
     this.cmbxSeries.Size     = new System.Drawing.Size(255, 21);
     this.cmbxSeries.TabIndex = 4;
     //
     // lblSeries
     //
     this.lblSeries.AutoSize = true;
     this.lblSeries.Location = new System.Drawing.Point(268, 15);
     this.lblSeries.Name     = "lblSeries";
     this.lblSeries.Size     = new System.Drawing.Size(39, 13);
     this.lblSeries.TabIndex = 11;
     this.lblSeries.Text     = "Series:";
     //
     // btnSave
     //
     this.btnSave.FlatStyle = System.Windows.Forms.FlatStyle.Popup;
     this.btnSave.Location  = new System.Drawing.Point(574, 11);
     this.btnSave.Name      = "btnSave";
     this.btnSave.Size      = new System.Drawing.Size(98, 98);
     this.btnSave.TabIndex  = 10;
     this.btnSave.Text      = "Save";
     this.btnSave.UseVisualStyleBackColor = true;
     this.btnSave.Click += new System.EventHandler(this.Save_Click);
     //
     // rtbContent
     //
     this.rtbContent.Dock     = System.Windows.Forms.DockStyle.Fill;
     this.rtbContent.Location = new System.Drawing.Point(0, 0);
     this.rtbContent.Name     = "rtbContent";
     this.rtbContent.Rtf      = "{\\rtf1\\ansi\\ansicpg1252\\deff0\\deflang1033{\\fonttbl{\\f0\\fnil\\fcharset0 Times New R" +
                                "oman;}}\r\n\\viewkind4\\uc1\\pard\\f0\\fs41\\par\r\n}\r\n";
     this.rtbContent.Size     = new System.Drawing.Size(684, 339);
     this.rtbContent.TabIndex = 9;
     //
     // SermonViewNew
     //
     this.ClientSize = new System.Drawing.Size(684, 462);
     this.ControlBox = false;
     this.Controls.Add(this.splitContainer);
     this.DoubleBuffered  = true;
     this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.None;
     this.MaximizeBox     = false;
     this.MinimizeBox     = false;
     this.MinimumSize     = new System.Drawing.Size(684, 462);
     this.Name            = "SermonViewNew";
     this.ShowIcon        = false;
     this.ShowInTaskbar   = false;
     this.SizeGripStyle   = System.Windows.Forms.SizeGripStyle.Hide;
     this.StartPosition   = System.Windows.Forms.FormStartPosition.Manual;
     this.Text            = "New Sermon";
     this.splitContainer.Panel1.ResumeLayout(false);
     this.splitContainer.Panel1.PerformLayout();
     this.splitContainer.Panel2.ResumeLayout(false);
     ((System.ComponentModel.ISupportInitialize)(this.splitContainer)).EndInit();
     this.splitContainer.ResumeLayout(false);
     this.ResumeLayout(false);
 }
예제 #2
0
 private void InitializeComponent()
 {
     this.dtStartDate  = new System.Windows.Forms.DateTimePicker();
     this.dtEndDate    = new System.Windows.Forms.DateTimePicker();
     this.lblStartDate = new System.Windows.Forms.Label();
     this.lblEndDate   = new System.Windows.Forms.Label();
     this.btnSave      = new System.Windows.Forms.Button();
     this.txbSpeaker   = new AppUI.TextBoxEx();
     this.txbTheme     = new AppUI.TextBoxEx();
     this.txbVenue     = new AppUI.TextBoxEx();
     this.txbTown      = new AppUI.TextBoxEx();
     this.txbActivity  = new AppUI.TextBoxEx();
     this.SuspendLayout();
     //
     // dtStartDate
     //
     this.dtStartDate.Location = new System.Drawing.Point(72, 12);
     this.dtStartDate.Name     = "dtStartDate";
     this.dtStartDate.Size     = new System.Drawing.Size(200, 20);
     this.dtStartDate.TabIndex = 1;
     //
     // dtEndDate
     //
     this.dtEndDate.Location = new System.Drawing.Point(72, 38);
     this.dtEndDate.Name     = "dtEndDate";
     this.dtEndDate.Size     = new System.Drawing.Size(200, 20);
     this.dtEndDate.TabIndex = 2;
     //
     // lblStartDate
     //
     this.lblStartDate.AutoSize = true;
     this.lblStartDate.Location = new System.Drawing.Point(12, 16);
     this.lblStartDate.Name     = "lblStartDate";
     this.lblStartDate.Size     = new System.Drawing.Size(56, 13);
     this.lblStartDate.TabIndex = 3;
     this.lblStartDate.Text     = "Start date:";
     //
     // lblEndDate
     //
     this.lblEndDate.AutoSize = true;
     this.lblEndDate.Location = new System.Drawing.Point(12, 42);
     this.lblEndDate.Name     = "lblEndDate";
     this.lblEndDate.Size     = new System.Drawing.Size(53, 13);
     this.lblEndDate.TabIndex = 4;
     this.lblEndDate.Text     = "End date:";
     //
     // btnSave
     //
     this.btnSave.Cursor   = System.Windows.Forms.Cursors.Hand;
     this.btnSave.Location = new System.Drawing.Point(105, 205);
     this.btnSave.Name     = "btnSave";
     this.btnSave.Size     = new System.Drawing.Size(75, 23);
     this.btnSave.TabIndex = 10;
     this.btnSave.Text     = "Save";
     this.btnSave.UseVisualStyleBackColor = true;
     this.btnSave.Click += new System.EventHandler(this.Save_Click);
     //
     // txbSpeaker
     //
     this.txbSpeaker.AutoCompleteMode   = System.Windows.Forms.AutoCompleteMode.SuggestAppend;
     this.txbSpeaker.AutoCompleteSource = System.Windows.Forms.AutoCompleteSource.CustomSource;
     this.txbSpeaker.ForeColor          = System.Drawing.Color.Gray;
     this.txbSpeaker.Location           = new System.Drawing.Point(12, 75);
     this.txbSpeaker.Name      = "txbSpeaker";
     this.txbSpeaker.Size      = new System.Drawing.Size(260, 20);
     this.txbSpeaker.TabIndex  = 11;
     this.txbSpeaker.Text      = "Speaker";
     this.txbSpeaker.Watermark = "Speaker";
     //
     // txbTheme
     //
     this.txbTheme.ForeColor = System.Drawing.Color.Gray;
     this.txbTheme.Location  = new System.Drawing.Point(12, 101);
     this.txbTheme.Name      = "txbTheme";
     this.txbTheme.Size      = new System.Drawing.Size(260, 20);
     this.txbTheme.TabIndex  = 12;
     this.txbTheme.Text      = "Theme";
     this.txbTheme.Watermark = "Theme";
     //
     // txbVenue
     //
     this.txbVenue.AutoCompleteMode   = System.Windows.Forms.AutoCompleteMode.SuggestAppend;
     this.txbVenue.AutoCompleteSource = System.Windows.Forms.AutoCompleteSource.CustomSource;
     this.txbVenue.ForeColor          = System.Drawing.Color.Gray;
     this.txbVenue.Location           = new System.Drawing.Point(12, 128);
     this.txbVenue.Name      = "txbVenue";
     this.txbVenue.Size      = new System.Drawing.Size(260, 20);
     this.txbVenue.TabIndex  = 13;
     this.txbVenue.Text      = "Venue";
     this.txbVenue.Watermark = "Venue";
     //
     // txbTown
     //
     this.txbTown.AutoCompleteMode   = System.Windows.Forms.AutoCompleteMode.SuggestAppend;
     this.txbTown.AutoCompleteSource = System.Windows.Forms.AutoCompleteSource.CustomSource;
     this.txbTown.ForeColor          = System.Drawing.Color.Gray;
     this.txbTown.Location           = new System.Drawing.Point(12, 153);
     this.txbTown.Name      = "txbTown";
     this.txbTown.Size      = new System.Drawing.Size(260, 20);
     this.txbTown.TabIndex  = 14;
     this.txbTown.Text      = "Town";
     this.txbTown.Watermark = "Town";
     //
     // txbActivity
     //
     this.txbActivity.AutoCompleteMode   = System.Windows.Forms.AutoCompleteMode.SuggestAppend;
     this.txbActivity.AutoCompleteSource = System.Windows.Forms.AutoCompleteSource.CustomSource;
     this.txbActivity.ForeColor          = System.Drawing.Color.Gray;
     this.txbActivity.Location           = new System.Drawing.Point(12, 180);
     this.txbActivity.Name      = "txbActivity";
     this.txbActivity.Size      = new System.Drawing.Size(260, 20);
     this.txbActivity.TabIndex  = 15;
     this.txbActivity.Text      = "Activity";
     this.txbActivity.Watermark = "Activity";
     //
     // Series
     //
     this.ClientSize = new System.Drawing.Size(284, 236);
     this.Controls.Add(this.txbActivity);
     this.Controls.Add(this.txbTown);
     this.Controls.Add(this.txbVenue);
     this.Controls.Add(this.txbTheme);
     this.Controls.Add(this.txbSpeaker);
     this.Controls.Add(this.btnSave);
     this.Controls.Add(this.lblEndDate);
     this.Controls.Add(this.lblStartDate);
     this.Controls.Add(this.dtEndDate);
     this.Controls.Add(this.dtStartDate);
     this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedToolWindow;
     this.Name            = "Series";
     this.StartPosition   = System.Windows.Forms.FormStartPosition.CenterParent;
     this.Text            = "Create a series of studies...";
     this.ResumeLayout(false);
     this.PerformLayout();
 }