示例#1
0
 //修改配置
 private void barButtonItem10_ItemClick(object sender, ItemClickEventArgs e)
 {
     if (CurUser == "admin") {
         var vw = new ConfigView();
         this.Visible = false;
         vw.ShowDialog();
         this.Visible = true;
     }
 }
示例#2
0
 //更改配置
 private void labelControl1_Click(object sender, EventArgs e)
 {
     var vw = new ConfigView();
     this.Visible = false;
     vw.ShowDialog();
     this.Visible = true;
 }