예제 #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);
        }