private void showHideWorkDone() { int selectedRow; if (createEntyDataGrid.SelectedRows.Count > 0) { selectedRow = createEntyDataGrid.CurrentRow.Index; string employeeType = Conversions.ToString(createEntyDataGrid.Rows[selectedRow].Cells[4].Value); if (shiftTypeComboBox.SelectedIndex > -1) { if (employeeType.Equals("Crew") & shiftTypeComboBox.SelectedItem.Equals("Piece Work")) { Panel2.Show(); } else if (employeeType.Equals("Crew") & shiftTypeComboBox.SelectedItem.Equals("Hourly") & clockOutCheckBox.Checked) { Panel2.Show(); } else { Panel2.Hide(); } } } }
protected void btnSave_Click(object sender, EventArgs e) { OnlineSchoolEntities km = new OnlineSchoolEntities(); Week week = (from k in km.Weeks where k.Id == 1 select k).FirstOrDefault(); // week.startDate = Convert.ToDateTime(txtStartDate.Text); if (MyDate.getDateCulture() == "ar-EG") { week.startDate = DateTime.ParseExact(txtStartDate.Text, "yyyy/MM/dd", new CultureInfo("ar-EG")); } else { week.startDate = MyDate.convertHijriToGregorian(txtStartDate.Text); } for (int i = 2; i <= 21; ++i) { var lblname = "lblDateWeek" + (i); Label lbl = (Label)Panel2.FindControl(lblname); DropDownList ddl = (DropDownList)Panel2.FindControl("DropDownList" + i); week = (from k in km.Weeks where k.Id == i select k).FirstOrDefault(); if (MyDate.getDateCulture() == "ar-EG") { week.startDate = DateTime.ParseExact(lbl.Text, "yyyy/MM/dd", new CultureInfo("ar-EG")); } else { week.startDate = MyDate.convertHijriToGregorian(lbl.Text); } week.type = int.Parse(ddl.SelectedValue); } km.SaveChanges(); }
public void GoAnotherCamera() { if (flag == false) { camera1.SetActive(false); camera2.SetActive(true); flag = true; Debug.Log("Переключение на камеру 2"); btLeftRotate.SetActive(false); btRightRotate.SetActive(false); Panel1.SetActive(false); Panel2.SetActive(false); } else { camera2.SetActive(false); camera1.SetActive(true); flag = false; Debug.Log("Переключение на камеру 1"); btLeftRotate.SetActive(true); btRightRotate.SetActive(true); Panel1.SetActive(true); Panel2.SetActive(true); } }
void Start() { SoundManager.instance.BgmApply(Bgm.RuleEditor); Panel2.SetActive(false); Panel3.SetActive(false); Panel4.SetActive(false); }
public void UpdatePanel() { Panel2.Invoke(new UpdatePanelDelegate(delegate() { Panel2.Invalidate(); })); }
private void MainTimer_Tick(object sender, EventArgs e) { Panel1.Invalidate(); Panel2.Invalidate(); Panel3.Invalidate(); Panel4.Invalidate(); }
/// <summary> /// Initialization and setup method /// </summary> /// <param name="name"></param> private void InitializeContainer(string name) { //Basic setup Name = name; IsSplitterFixed = true; SplitterDistance = 40; TabIndex = 0; //Location and Margin Location = new Point(0, 0); Margin = new Padding(2); Size = new Size(780, 749); //Orientation and other settings Dock = DockStyle.Fill; FixedPanel = FixedPanel.Panel1; Orientation = Orientation.Horizontal; //Suspended Layout Panel1.SuspendLayout(); Panel2.SuspendLayout(); SuspendLayout(); //Resume Layout Panel1.ResumeLayout(false); Panel2.ResumeLayout(false); Panel2.PerformLayout(); ResumeLayout(false); }
//对绑定已经勾选的评审人 private void BindSelectReviewer() { string myid = chId; string check_select = "select CM_PID from TBCM_PSVIEW where CM_ID='" + myid + "' and CM_PIDTYPE!='0'"; DataTable sele = DBCallCommon.GetDTUsingSqlText(check_select); for (int i = 0; i < 6; i++) { if (i != 1) { { CheckBoxList ck = (CheckBoxList)Panel2.FindControl("cki" + i.ToString()); for (int j = 0; j < sele.Rows.Count; j++) { for (int k = 0; k < ck.Items.Count; k++) { if (ck.Items[k].Value == sele.Rows[j][0].ToString()) { ck.Items[k].Selected = true; } } } } } } }
public void MD() { if (Mathf.Abs(T2.rectTransform.localPosition.x - _timeFill) < T2.rectTransform.rect.width / 2) { Score += 1; } else { if (Score > 0) { Score -= 1; } } ScoreText.text = Score.ToString(); Tryings -= 1; if (Tryings == 0) { un1.gameObject.SetActive(false); if (Score > 4) { Panel1.SetActive(true); } else { Panel2.SetActive(true); } } _timeFill = T1.rectTransform.position.x + T1.rectTransform.rect.width / 2; _timeBar.rectTransform.localPosition = new Vector2(_timeFill, _timeBar.rectTransform.localPosition.y); T2.rectTransform.localPosition = new Vector2(Random.Range(-150, 150), T2.rectTransform.localPosition.y); T2.rectTransform.sizeDelta -= new Vector2(Random.Range(T2.rectTransform.rect.width / 40, T2.rectTransform.rect.width / 5), 0); }
private void BindSelectReviewer() { string csr = HidCSR.Value; string[] str = csr.Split(','); for (int i = 0; i < 6; i++) { if (i != 1)//没有采购部 { { CheckBoxList ck = (CheckBoxList)Panel2.FindControl("cki" + i.ToString()); for (int j = 0; j < str.Length; j++) { for (int k = 0; k < ck.Items.Count; k++) { if (ck.Items[k].Value == str[j].ToString()) { ck.Items[k].Selected = true; } } } } } } }
private void OnDisconnectedFromPhoton() { Debug.Log("Disconnected Lobby"); Panel2.SetActive(false); }
private void bindReviewer() { List <string> list = new List <string>(); foreach (Control item in Panel2.Controls) { list.Add(item.ID); } int count = 0; for (int i = 0; i < 6; i++) { CheckBoxList ck = (CheckBoxList)Panel2.FindControl("cki" + i.ToString()); Label lb = (Label)Panel2.FindControl("dep" + i.ToString()); if (ck != null) { for (int j = 0; j < ck.Items.Count; j++) { if (ck.Items[j].Selected == true) { reviewer.Add(lb.Text + ck.Items[j].Value.ToString(), ck.Items[j].Value.ToString());//字典,绑定部门领导的编号 count++; } } } } }
protected override void Dispose(bool disposing) { Panel1.Dispose(); Panel2.Dispose(); base.Dispose(disposing); }
private void Bokabtn_Click(object sender, EventArgs e) { seattable.Visible = true; panel3.Visible = true; string query = "Select * from Booked where((Date = '" + date_box.Text.Trim() + "') and(Station = '" + dest_from.Value.Trim() + "'))"; con = new SqlConnection(c.con); cmd = new SqlCommand(); con.Open(); cmd.Connection = con; cmd.CommandText = query; dr = cmd.ExecuteReader(); if (dr.HasRows == true) { while (dr.Read()) { for (int j = 1; j <= 31; j++) { string s = "s" + j; if (dr[s.ToString()].ToString() == "b") { ImageButton img = (ImageButton)Panel2.FindControl(s.ToString()); img.ImageUrl = "../images/booked_seat_img.gif"; img.Enabled = false; } } } } }
private void ChildBloons_Button_Click(object sender, EventArgs e) { if (Panel3.Visible == true) { Panel3.Hide(); if (SwitchPanel.Text == "Page 2") { Panel1.Show(); } else if (SwitchPanel.Text == "Page 1") { Panel2.Show(); } ChildBloons_Button.Text = "Child Bloons"; } else { Panel1.Hide(); Panel2.Hide(); Panel3.Show(); if (SwitchPanel.Text == "Page 2") { ChildBloons_Button.Text = "Page 1"; } else if (SwitchPanel.Text == "Page 1") { ChildBloons_Button.Text = "Page 2"; } } }
public void UpdatePanel() { Panel2.Invoke(new UpdatePanelDelegate(delegate() { this.TopMost = checkBox1.Checked; if (Mirror.Checked) { lock (this) { if (bitmap != null) { bitmap.RotateFlip(RotateFlipType.RotateNoneFlipX); } } } if (nearMode.Checked) { Camera.nearMode = true; Camera.updateMode = true; } else { Camera.nearMode = false; Camera.updateMode = true; } Panel2.Invalidate(); })); }
/// <summary> /// Initialization and setup method /// </summary> /// <param name="name"></param> private void InitializeSplitContainer(string name) { Name = name; Dock = DockStyle.Fill; FixedPanel = FixedPanel.Panel1; IsSplitterFixed = true; Location = new System.Drawing.Point(0, 0); Margin = new Padding(6); Orientation = Orientation.Horizontal; Size = new System.Drawing.Size(334, 411); SplitterDistance = 80; TabIndex = 24; Panel1.SuspendLayout(); Panel2.SuspendLayout(); SuspendLayout(); Panel1.ResumeLayout(false); Panel2.ResumeLayout(false); ResumeLayout(false); }
protected void tab2_activate(object sender, DirectEventArgs e) { Panel2.Loader.SuspendScripting(); Panel2.Loader.Url = "TempPatient_Sch1.aspx"; Panel2.Loader.DisableCaching = true; Panel2.LoadContent(); }
private void OnJoinedLobby() { Debug.Log("On Joined Lobby"); Panel1.SetActive(false); Panel2.SetActive(true); }
private void loadAspxFile(String url) { Panel2.Loader.SuspendScripting(); Panel2.Loader.Url = url; Panel2.Loader.DisableCaching = true; Panel2.LoadContent(); }
public void UpdatePanel() { Panel2.Invoke(new UpdatePanelDelegate(delegate() { Panel2.BackgroundImage = null; Panel2.Invalidate(); })); }
public void OpenPanel() { if (Panel != null) { bool isActive = Panel.activeSelf; Panel.SetActive(true); Panel2.SetActive(false); } }
public void instanciar() { instanciado = true; SeInstancio = 1; PlayerPrefs.SetInt("instanciado", SeInstancio); PlayerPrefs.SetInt("Avatar", AvatarSelect); PlayerPrefs.SetString("NombreUser", getNameUser.text); Panel.SetActive(false); Panel2.SetActive(false); }
public void changePanel() { bool panelActive = Panel.activeSelf; bool panel2Active = Panel2.activeSelf; if (Panel != null && Panel2 != null) { Panel.SetActive(!panelActive); Panel2.SetActive(!panel2Active); } }
public override void Focus() { if (!Panel1Collapsed) { Panel1.Focus(); } else { Panel2.Focus(); } }
private void Update() //Checks every frame { if (Input.GetMouseButtonDown(1)) //Check if Right Click is pressed { Panel.SetActive(false); Panel2.SetActive(false); //Set panels to not active AttackB.interactable = true; //Enable Attack Button CastB.interactable = true; //Enable Cast Button FuriteB.interactable = true; //Enable Furite Button RunB.interactable = true; //Enable Run Button } }
/// <summary> /// Sets interface screens according to given input /// </summary> /// <param name="step"></param> public void SetInterface(int step) { if (step == 0) { Intro.SetActive(true); Intro.SetActive(true); CloseBtn.SetActive(false); Panel1.SetActive(false); Panel2.SetActive(false); Panel3.SetActive(false); PanelOver.SetActive(false); } else if (step == 1) { Intro.SetActive(false); CloseBtn.SetActive(true); Panel1.SetActive(true); Settings1.SetActive(false); Panel2.SetActive(false); Panel3.SetActive(false); PanelOver.SetActive(false); } else if (step == 2) { Intro.SetActive(false); CloseBtn.SetActive(true); Panel1.SetActive(false); Panel2.SetActive(true); Settings2.SetActive(false); Panel3.SetActive(false); PanelOver.SetActive(false); } else if (step == 3) { Intro.SetActive(false); CloseBtn.SetActive(true); Panel1.SetActive(false); Panel2.SetActive(false); Panel3.SetActive(true); PanelOver.SetActive(false); } else if (step == 4) { Intro.SetActive(false); CloseBtn.SetActive(true); Panel1.SetActive(false); Panel2.SetActive(false); Panel3.SetActive(false); PanelOver.SetActive(true); } }
public void Draw(SpriteBatch spriteBatch, GraphicsDeviceManager graphics) { graphics.GraphicsDevice.Clear(Color.CornflowerBlue); spriteBatch.Draw(background, new Vector2(0, 0), Color.White); TennisBall.Draw(spriteBatch); Panel.Draw(spriteBatch); Panel1.Draw(spriteBatch); Panel2.Draw(spriteBatch); EndBlock.Draw(spriteBatch); gui.Draw(spriteBatch); spriteBatch.Draw(cursorTexture, cursorRectangle, Color.White); }
protected void generatePDF(string userid) { StringBuilder sb = new StringBuilder(); StringWriter tw = new StringWriter(sb); HtmlTextWriter hw = new HtmlTextWriter(tw); ///This is the panel from the webform Panel2.RenderControl(hw); string htmlDisplayText = sb.ToString(); string pdfFilename = "invoice1_" + userid + ".pdf"; string fullpath = "~/invoices/" + pdfFilename; converttopdf(htmlDisplayText, Server.MapPath(fullpath)); }
protected void Upload_1(object sender, EventArgs e) { // upload file asp.net 元件 string userID = Request.LogonUserIdentity.Name.Split('\\')[1].Trim().ToUpper(); string csvPath = Server.MapPath("~/Files/") + Path.GetFileName(FileUpload_ASP.PostedFile.FileName); //讀檔 FileUpload_ASP.SaveAs(csvPath); //temp file DataTable dt = new DataTable(); _msg = ""; dt.Columns.AddRange(new DataColumn[10] { new DataColumn("Customer_ID", typeof(string)), new DataColumn("Category", typeof(string)), new DataColumn("Part", typeof(string)), new DataColumn("Part_Id", typeof(string)), new DataColumn("Yield_Impact_Item", typeof(string)), new DataColumn("Key_Module", typeof(string)), new DataColumn("Data_Source", typeof(string)), new DataColumn("Critical_Item", typeof(string)), new DataColumn("EDA_Item", typeof(string)), new DataColumn("MAIN_ID", typeof(string)) }); string csvData = File.ReadAllText(csvPath); foreach (string row in csvData.Split('\n')) //讀csv檔 { if (!string.IsNullOrEmpty(row)) { dt.Rows.Add(); int i = 0; foreach (string cell in row.Split(',')) { dt.Rows[dt.Rows.Count - 1][i] = cell; i++; } } } Mailmaxid = DBProcess_sign.maxID(); int countID = int.Parse(Mailmaxid.Rows[0][0].ToString()) + 1; for (int i = 1; i < dt.Rows.Count; i++) //匯入資料庫,剃除表頭 { DBProcess_sign.Upload_Data(countID + i, dt.Rows[i]["Customer_ID"].ToString().Trim(), dt.Rows[i]["Category"].ToString().Trim(), dt.Rows[i]["Part"].ToString().Trim(), dt.Rows[i]["Part_Id"].ToString().Trim(), dt.Rows[i]["Yield_Impact_Item"].ToString().Trim(), dt.Rows[i]["Key_Module"].ToString().Trim(), dt.Rows[i]["Data_Source"].ToString().Trim(), dt.Rows[i]["Critical_Item"].ToString().Trim(), dt.Rows[i]["EDA_Item"].ToString().Trim(), dt.Rows[i]["MAIN_ID"].ToString().Trim(), userID, ref _msg); if (_msg != "") { X.MessageBox.Alert("提示", "Import data was error format problem ").Show(); Groceries.Delfile(csvPath); break; } } X.MessageBox.Alert("提示", "共 " + dt.Rows.Count + "筆,更新完畢。").Show(); System.Threading.Thread.Sleep(300); Groceries.Delfile(csvPath); Panel2.Reload(); Panel1.Reload(); }
private void InitializeComponent(bool shownCloseButton) { this.lbl_Content = new Label2(); this.pictureBox1 = new System.Windows.Forms.PictureBox(); this.panelControl1 = new Panel2(); ((System.ComponentModel.ISupportInitialize)(this.pictureBox1)).BeginInit(); #if DEVEXPRESS ((System.ComponentModel.ISupportInitialize)(this.panelControl1)).BeginInit(); #endif this.panelControl1.SuspendLayout(); this.SuspendLayout(); // // lbl_Content // #if DEVEXPRESS this.lbl_Content.Appearance.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center; this.lbl_Content.Appearance.TextOptions.VAlignment = DevExpress.Utils.VertAlignment.Center; this.lbl_Content.AutoSizeMode = LabelAutoSizeMode.None; #else this.lbl_Content.TextAlign = ContentAlignment.MiddleCenter; this.lbl_Content.AutoSize = false; #endif this.lbl_Content.Dock = System.Windows.Forms.DockStyle.Fill; this.lbl_Content.Location = new System.Drawing.Point(3, 75); this.lbl_Content.Name = "lbl_Content"; this.lbl_Content.TabIndex = 0; // // pictureBox1 // this.pictureBox1.Image = WaitImage; //Properties.Resources.WaitingPanel; this.pictureBox1.Name = "pictureBox1"; this.pictureBox1.TabIndex = 1; this.pictureBox1.TabStop = false; this.pictureBox1.Height = WaitImage.Height + 5; this.pictureBox1.Dock = DockStyle.Top; this.pictureBox1.SizeMode = PictureBoxSizeMode.CenterImage; // // panelControl1 // this.panelControl1.Controls.Add(this.lbl_Content); this.panelControl1.Controls.Add(this.pictureBox1); this.panelControl1.Dock = System.Windows.Forms.DockStyle.Fill; this.panelControl1.Location = new System.Drawing.Point(0, 0); this.panelControl1.Name = "panelControl1"; this.panelControl1.Size = new System.Drawing.Size(335, 109); this.panelControl1.TabIndex = 1; // // WaitingForm // this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F); this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; this.ClientSize = new System.Drawing.Size(300, 75); if (shownCloseButton) { Label closeLabel = new Label(); closeLabel.AutoSize = false; var image = CloseImage; closeLabel.Size = image.Size; closeLabel.Location = new System.Drawing.Point(this.Width - 30, 1); closeLabel.Image = image; closeLabel.ImageAlign = ContentAlignment.MiddleCenter; closeLabel.Click += new EventHandler(closeLabel_Click); this.Controls.Add(closeLabel); } this.Controls.Add(this.panelControl1); this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.None; this.MaximizeBox = false; this.Name = "WaitingForm"; this.ShowIcon = false; this.ShowInTaskbar = false; this.StartPosition = System.Windows.Forms.FormStartPosition.CenterParent; this.Text = "正在准备中..."; // this.TopMost = true; ((System.ComponentModel.ISupportInitialize)(this.pictureBox1)).EndInit(); #if DEVEXPRESS ((System.ComponentModel.ISupportInitialize)(this.panelControl1)).EndInit(); #endif this.panelControl1.ResumeLayout(false); this.ResumeLayout(false); }
private void InitializeComponent(Control owner) { this.lbl_Caption = new Label2(); this.pic_Icon = new Picture2(); this.panel_Footer = new Panel2(); this.check_DonotShow = new Check2(); this.simpleButton3 = new Button2(); this.simpleButton2 = new Button2(); this.simpleButton1 = new Button2(); this.panel_Content = new Panel2(); this.txt_Content = new Rich2(); this.panel_Caption = new Panel2(); #if DEVEXPRESS ((System.ComponentModel.ISupportInitialize)(this.panel_Caption)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.pic_Icon.Properties)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.panel_Footer)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.check_DonotShow.Properties)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.panel_Content)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.txt_Content.Properties)).BeginInit(); #endif this.panel_Caption.SuspendLayout(); this.panel_Footer.SuspendLayout(); this.panel_Content.SuspendLayout(); this.check_DonotShow.SuspendLayout(); this.SuspendLayout(); #if DEVEXPRESS var noBorder = DevExpress.XtraEditors.Controls.BorderStyles.NoBorder; #else var noBorder = BorderStyle.None; #endif // // panel_Caption // this.panel_Caption.BorderStyle = noBorder; this.panel_Caption.Controls.Add(this.lbl_Caption); this.panel_Caption.Controls.Add(this.pic_Icon); this.panel_Caption.Dock = System.Windows.Forms.DockStyle.Top; this.panel_Caption.Location = new System.Drawing.Point(8, 8); this.panel_Caption.Name = "panel_Caption"; this.panel_Caption.Size = new System.Drawing.Size(478, 64); this.panel_Caption.TabIndex = 0; // // lbl_Caption // #if DEVEXPRESS this.lbl_Caption.AllowHtmlString = true; this.lbl_Caption.Appearance.Font = new System.Drawing.Font("Tahoma", 12F, System.Drawing.FontStyle.Bold); this.lbl_Caption.Appearance.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(51)))), ((int)(((byte)(153))))); this.lbl_Caption.Appearance.Options.UseFont = true; this.lbl_Caption.Appearance.Options.UseForeColor = true; this.lbl_Caption.AutoSizeMode = DevExpress.XtraEditors.LabelAutoSizeMode.None; #else this.lbl_Caption.Font = new System.Drawing.Font("Tahoma", 12F, System.Drawing.FontStyle.Bold); this.lbl_Caption.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(51)))), ((int)(((byte)(153))))); this.lbl_Caption.TextAlign = ContentAlignment.MiddleLeft; this.lbl_Caption.AutoSize = false; #endif this.lbl_Caption.Dock = System.Windows.Forms.DockStyle.Right; this.lbl_Caption.Location = new System.Drawing.Point(64, 0); this.lbl_Caption.Name = "lbl_Caption"; this.lbl_Caption.Size = new System.Drawing.Size(414, 64); this.lbl_Caption.TabIndex = 1; this.lbl_Caption.Text = "标题"; // // pic_Icon // this.pic_Icon.Location = new System.Drawing.Point(14, 14); this.pic_Icon.Name = "pic_Icon"; #if DEVEXPRESS this.pic_Icon.Properties.Appearance.BackColor = System.Drawing.Color.Transparent; this.pic_Icon.Properties.Appearance.Options.UseBackColor = true; this.pic_Icon.Properties.BorderStyle = noBorder; this.pic_Icon.Properties.ShowMenu = false; #else this.pic_Icon.BackColor = System.Drawing.Color.Transparent; this.pic_Icon.BorderStyle = noBorder; #endif this.pic_Icon.Size = new System.Drawing.Size(36, 36); this.pic_Icon.TabIndex = 0; // // panel_Footer // this.panel_Footer.BorderStyle = noBorder; this.panel_Footer.Controls.Add(this.check_DonotShow); this.panel_Footer.Controls.Add(this.simpleButton3); this.panel_Footer.Controls.Add(this.simpleButton2); this.panel_Footer.Controls.Add(this.simpleButton1); this.panel_Footer.Dock = System.Windows.Forms.DockStyle.Bottom; this.panel_Footer.Location = new System.Drawing.Point(8, 143); this.panel_Footer.Name = "panel_Footer"; this.panel_Footer.Size = new System.Drawing.Size(478, 35); this.panel_Footer.TabIndex = 1; // // check_DonotShow // this.check_DonotShow.Location = new System.Drawing.Point(3, 7); this.check_DonotShow.Name = "check_DonotShow"; #if DEVEXPRESS this.check_DonotShow.Properties.Caption = "不再显示"; #else this.check_DonotShow.Text = "不再显示"; #endif this.check_DonotShow.AutoSize = true; this.check_DonotShow.Size = new System.Drawing.Size(75, 19); this.check_DonotShow.TabIndex = 3; // // simpleButton3 // this.simpleButton3.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right))); this.simpleButton3.Location = new System.Drawing.Point(234, 6); this.simpleButton3.Name = "simpleButton3"; this.simpleButton3.Size = new System.Drawing.Size(75, 25); this.simpleButton3.TabIndex = 2; this.simpleButton3.Text = "Three"; // // simpleButton2 // this.simpleButton2.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right))); this.simpleButton2.Location = new System.Drawing.Point(315, 6); this.simpleButton2.Name = "simpleButton2"; this.simpleButton2.Size = new System.Drawing.Size(75, 25); this.simpleButton2.TabIndex = 1; this.simpleButton2.Text = "Tow"; // // simpleButton1 // this.simpleButton1.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right))); this.simpleButton1.Location = new System.Drawing.Point(396, 6); this.simpleButton1.Name = "simpleButton1"; this.simpleButton1.Size = new System.Drawing.Size(75, 25); this.simpleButton1.TabIndex = 0; this.simpleButton1.Text = "One"; // // panel_Content // #if DEVEXPRESS this.panel_Content.Appearance.BackColor = System.Drawing.Color.White; this.panel_Content.Appearance.Options.UseBackColor = true; #else this.panel_Content.BackColor = System.Drawing.Color.White; #endif this.panel_Content.BorderStyle = noBorder; this.panel_Content.Controls.Add(this.txt_Content); this.panel_Content.Dock = System.Windows.Forms.DockStyle.Fill; this.panel_Content.Location = new System.Drawing.Point(8, 72); this.panel_Content.Name = "panel_Content"; this.panel_Content.Padding = new System.Windows.Forms.Padding(32, 24, 32, 24); this.panel_Content.Size = new System.Drawing.Size(478, 71); this.panel_Content.TabIndex = 2; // // txt_Content // this.txt_Content.Dock = System.Windows.Forms.DockStyle.Fill; this.txt_Content.Location = new System.Drawing.Point(32, 24); this.txt_Content.Name = "txt_Content"; #if DEVEXPRESS this.txt_Content.EditValue = ""; this.txt_Content.Properties.Appearance.BackColor = System.Drawing.SystemColors.Window; this.txt_Content.Properties.Appearance.Font = new System.Drawing.Font("新宋体", 9F); this.txt_Content.Properties.Appearance.Options.UseBackColor = true; this.txt_Content.Properties.Appearance.Options.UseFont = true; this.txt_Content.Properties.BorderStyle = DevExpress.XtraEditors.Controls.BorderStyles.NoBorder; this.txt_Content.Properties.ReadOnly = true; #else this.txt_Content.Dock = System.Windows.Forms.DockStyle.Fill; this.txt_Content.Text = ""; this.txt_Content.Location = new System.Drawing.Point(32, 24); this.txt_Content.Name = "txt_Content"; this.txt_Content.BackColor = System.Drawing.SystemColors.Window; this.txt_Content.Font = new System.Drawing.Font("新宋体", 9F); this.txt_Content.BorderStyle = BorderStyle.None; this.txt_Content.ReadOnly = true; #endif this.txt_Content.Size = new System.Drawing.Size(414, 23); this.txt_Content.TabIndex = 2; this.txt_Content.Enter += new System.EventHandler(this.txt_Content_Enter); this.txt_Content.KeyDown += new System.Windows.Forms.KeyEventHandler(this.txt_Content_KeyDown); this.txt_Content.Leave += new System.EventHandler(this.txt_Content_Leave); // // MessageBoxForm // this.AcceptButton = this.simpleButton1; this.AutoScaleDimensions = new System.Drawing.SizeF(7F, 14F); this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; this.ClientSize = new System.Drawing.Size(494, 186); this.Controls.Add(this.panel_Content); this.Controls.Add(this.panel_Footer); this.Controls.Add(this.panel_Caption); this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedDialog; this.MaximizeBox = false; this.MinimizeBox = false; this.Name = "MessageBoxForm"; this.Padding = new System.Windows.Forms.Padding(8); this.ShowIcon = false; this.ShowInTaskbar = false; this.StartPosition = (owner == null) ? System.Windows.Forms.FormStartPosition.CenterScreen : FormStartPosition.CenterParent; #if DEVEXPRESS this.LookAndFeel.SkinName = "Money Twins"; ((System.ComponentModel.ISupportInitialize)(this.panel_Caption)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.pic_Icon.Properties)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.panel_Footer)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.check_DonotShow.Properties)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.panel_Content)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.txt_Content.Properties)).EndInit(); #endif this.panel_Caption.ResumeLayout(false); this.panel_Footer.ResumeLayout(false); this.check_DonotShow.ResumeLayout(false); this.panel_Content.ResumeLayout(false); this.ResumeLayout(false); }