示例#1
0
        private void btnEdit_Click(object sender, RoutedEventArgs e)
        {
            Notice obj = gv.SelectedItem as Notice;

            if (obj != null)
            {
                NoticeForm frm = new NoticeForm(obj, getData);

                Tools.OpenWindow("系统通告-编辑", frm, null);
            }
        }
示例#2
0
        public void OnCellDoubleClick(object sender, RadRoutedEventArgs e)
        {
            Notice obj = gv.SelectedItem as Notice;

            if (obj != null)
            {
                NoticeForm frm = new NoticeForm(obj, getData);

                Tools.OpenWindow("系统通告-编辑", frm, null);
            }
        }
示例#3
0
        private void btnAdd_Click(object sender, RoutedEventArgs e)
        {
            NoticeForm frm = new NoticeForm(getData);

            Tools.OpenWindow("系统通告-新增", frm, null);
        }