private void DisplayWinTile(window_tile_postit wt) { if ((_indexLeft + wt.Width + 5) >= this.Width) { _indexTop += _indexHeight + 5; _indexLeft = 0; } wt.Top = _indexTop; wt.Left = _indexLeft + 5; wt.Visible = true; wt.Invalidate(); _indexLeft += wt.Width; }
public void Test_ToolsUtilitiescustom_window() { try { window_black wb = new window_black(); window_classic wc = new window_classic(); window_dialog wd = new window_dialog(); window_jarvis wj = new window_jarvis(); window_popup wp = new window_popup(); window_tile_postit wtp = new window_tile_postit(); window_tile_round_border wt = new window_tile_round_border(); Assert.IsTrue(true); } catch (Exception exp) { Assert.Fail(exp.Message); } }