Inheritance: GladeDialog
Exemple #1
0
 public void on_mnuPostMemo_activate(object o, EventArgs e)
 {
     EditMemoDialog editMemoDialog = new EditMemoDialog(Gui.MainWindow.Window);
     if (editMemoDialog.Run() != (int)ResponseType.Cancel) {
         // XXX: UpdateMemoList();
     }
 }
Exemple #2
0
 public void on_mnuEditMemo_activate(object o, EventArgs e)
 {
     EditMemoDialog w = new EditMemoDialog (null, selectedMemo);
     if (w.Run() != (int)ResponseType.Cancel) {
         // XXX: UpdateMemoList();
      }
 }
Exemple #3
0
        public void on_mnuPostMemo_activate(object o, EventArgs e)
        {
            EditMemoDialog editMemoDialog = new EditMemoDialog(Gui.MainWindow.Window);

            if (editMemoDialog.Run() != (int)ResponseType.Cancel)
            {
                // XXX: UpdateMemoList();
            }
        }
Exemple #4
0
        public void on_mnuEditMemo_activate(object o, EventArgs e)
        {
            EditMemoDialog w = new EditMemoDialog(null, selectedMemo);

            if (w.Run() != (int)ResponseType.Cancel)
            {
                // XXX: UpdateMemoList();
            }
        }
        private void PostMemo_Activated(object sender, EventArgs args)
        {
            EditMemoDialog w = new EditMemoDialog(Gui.MainWindow.Window);

            if (w.Run() == (int)ResponseType.Ok)
            {
                MemosPage.Instance.UpdateMemoList();
                Gui.MainWindow.SelectedPage = MemosPage.Instance;
            }
        }
 private void PostMemo_Activated(object sender, EventArgs args)
 {
     EditMemoDialog w = new EditMemoDialog(Gui.MainWindow.Window);
     if (w.Run() == (int)ResponseType.Ok) {
         MemosPage.Instance.UpdateMemoList();
         Gui.MainWindow.SelectedPage = MemosPage.Instance;
     }
 }