Example #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;
     }
 }
Example #2
0
 //更改配置
 private void labelControl1_Click(object sender, EventArgs e)
 {
     var vw = new ConfigView();
     this.Visible = false;
     vw.ShowDialog();
     this.Visible = true;
 }