示例#1
0
 private void pageadmin_Load(object sender, EventArgs e)
 {
     Kuozhan.Setobj(this.contextMenuStrip1, datasize.Language);
     this.colListBox1.Itemheight      = 20;
     this.colListBox1.itemeditenabled = true;
     this.colListBox1.listborderwidth = 0;
 }
示例#2
0
 private void FromOpen(string message, string title, MessageBoxButtons mb, Color color)
 {
     this.InitializeComponent();
     this.checkbox1 = this.checkBox1;
     this.thismb    = mb;
     this.Language();
     Kuozhan.Setobj(this.contextMenuStrip1, datasize.Language);
     this.labelX3.Text = title;
     this.label1.Text  = message;
     this.panelEx2.Style.BackColor1.Color = color;
     this.panelEx2.Style.BackColor2.Color = color;
     if (this.thismb == MessageBoxButtons.OK)
     {
         this.p0.Visible = false;
         this.p1.Visible = false;
         this.p2.Text    = "确定".Language();
     }
     else if (this.thismb == MessageBoxButtons.YesNo)
     {
         this.p0.Visible = false;
         this.p1.Text    = "是".Language();
         this.p2.Text    = "否".Language();
     }
     else
     {
         this.p0.Visible = true;
         this.p0.Text    = "是".Language();
         this.p1.Text    = "否".Language();
         this.p2.Text    = "取消".Language();
     }
 }
示例#3
0
文件: objattoo.cs 项目: skyclub66/HMI
 private void objatt_Load(object sender, EventArgs e)
 {
     this.textBox1.ContextMenuStrip = this.contextMenuStrip1;
     Kuozhan.Setobj(this.contextMenuStrip1, datasize.Language);
     this.textBox1.ShowEOLMarkers  = false;
     this.textBox1.Encoding        = Encoding.Default;
     this.textBox1.ShowSpaces      = false;
     this.textBox1.ShowTabs        = false;
     this.textBox1.ShowVRuler      = false;
     this.textBox1.TabIndent       = 2;
     this.textBox1.ShowLineNumbers = false;
     this.textBox1.Text            = "";
     this.codehigset();
 }
示例#4
0
 public picadmin()
 {
     this.InitializeComponent();
     Kuozhan.Setobj(this.contextMenuStrip1, datasize.Language);
 }