コード例 #1
0
        void PreferenceAdd_ControlCancelled(object sender)
        {
            PreferenceEdit1.Clear();

            btnAddNewPreference.Visible = true;
            pnlGrids.Visible            = true;
            divEdit.Visible             = false;
        }
コード例 #2
0
        void PreferenceAdd_ControlSaved(object sender, ControlSavedEventArgs e)
        {
            PreferenceEdit1.Clear();
            BindGrids();

            btnAddNewPreference.Visible = true;
            pnlGrids.Visible            = true;
            divEdit.Visible             = false;
            lblFeedback.Text            = string.Format("Preference saved: {0}", DateTime.Now);
        }