示例#1
0
        private void 增加ToolStripMenuItem_Click(object sender, EventArgs e)
        {
            if (uid == "")
            {
                MessageBox.Show("请先选择变电站", "提示", MessageBoxButtons.OK, MessageBoxIcon.Information);
                return;
            }
            frmImgAdd f = new frmImgAdd();

            f.Uid = uid;
            if (f.ShowDialog() == DialogResult.OK)
            {
                LoadData(uid);
            }
        }
示例#2
0
 private void 增加ToolStripMenuItem_Click(object sender, EventArgs e)
 {
     if(uid==""){
         MessageBox.Show("请先选择变电站","提示",MessageBoxButtons.OK,MessageBoxIcon.Information);
         return;
     }
     frmImgAdd f = new frmImgAdd();
     f.Uid = uid;
     if (f.ShowDialog() == DialogResult.OK)
     {
         LoadData(uid);
     }
 }