コード例 #1
0
 private void OnAddExistingAuthorButton_Clicked(object sender, EventArgs e)
 {
     using (var dlg = new AuthorsListing())
     {
         dlg.ShowDialog();
     }
 }
コード例 #2
0
        private void OnAddExistingAuthorButton_Clicked(object sender, EventArgs e)
        {
            using (var dlg = new AuthorsListing())
            {
                dlg.ShowDialog();
            }

            this.txtAuthor.Text = BookListPropertiesClass.AuthorsNameCurrent.Trim();
        }
コード例 #3
0
        private void OnDisplayAllAuthorsMenuItem_Clicked(object sender, EventArgs e)
        {
            using (var dlg = new AuthorsListing())
            {
                dlg.ShowDialog();

                if (dlg.DialogResult == this.DialogResult.OK)
            }
        }
コード例 #4
0
        private void SelectAuthorButtonClicked(object sender, System.EventArgs e)
        {
            using (var win = new AuthorsListing())
            {
                win.ShowDialog();
            }

            if (string.IsNullOrEmpty(BookListPropertiesClass.AuthorsNameCurrent)) return;
            this.txtAuthorName.Text = BookListPropertiesClass.AuthorsNameCurrent;
        }
コード例 #5
0
        private void OnDisplayAllAuthorsMenuItem_Clicked(object sender, EventArgs e)
        {
            BookListPropertiesClass.AuthorsNameCurrent = string.Empty;
            using (var dlg = new AuthorsListing())
            {
                dlg.ShowDialog();
            }

            if (!string.IsNullOrEmpty(BookListPropertiesClass.AuthorsNameCurrent))
            {
                this.LoadUnformattedData();
            }
        }
コード例 #6
0
        private void OnDisplayAllAuthorsMenuItem_Clicked(object sender, EventArgs e)
        {
            using (var dlg = new AuthorsListing())
            {
                dlg.ShowDialog();
            }

            if (string.IsNullOrEmpty(BookListPropertiesClass.AuthorsNameCurrent))
            {
                return;
            }

            this.LoadUnformattedData();

            this.btnFirst.PerformClick();
        }